/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var theSitetree=[ 
	['PAGE','13727',jdecode('Home'),jdecode(''),'/13727.html','true',[],''],
	['PAGE','179267',jdecode('Meine+Arbeitsweise'),jdecode(''),'/179267.html','true',[],''],
	['PAGE','20101',jdecode('Einzeltraining'),jdecode(''),'/20101.html','true',[],''],
	['PAGE','186967',jdecode('Welpen+u+Junghunde'),jdecode(''),'/186967.html','false',[],''],
	['PAGE','172867',jdecode('Gutschein'),jdecode(''),'/172867.html','true',[],''],
	['PAGE','15006',jdecode('Preise%2FAGB'),jdecode(''),'/15006.html','true',[],''],
	['PAGE','86257',jdecode('News'),jdecode(''),'/86257.html','true',[],''],
	['PAGE','135767',jdecode('Workshops%2F+Kurse'),jdecode(''),'/135767/home.html','true',[ 
		['PAGE','21801',jdecode('Geschicklichkeit'),jdecode(''),'/135767/21801.html','true',[],''],
		['PAGE','122667',jdecode('Nasenarbeit+Gruppe+I'),jdecode(''),'/135767/122667.html','true',[],''],
		['PAGE','122688',jdecode('Nasenarbeit+Gruppe+II'),jdecode(''),'/135767/122688.html','true',[],'']
	],''],
	['PAGE','13738',jdecode('Hund'),jdecode(''),'/13738.html','false',[],''],
	['PAGE','14311',jdecode('Katze'),jdecode(''),'/14311.html','false',[],''],
	['PAGE','142567',jdecode('W%C3%B6lfe'),jdecode(''),'/142567/home.html','true',[ 
		['PAGE','162767',jdecode('Les+Loups+du+Gevaudan'),jdecode(''),'/142567/162767.html','true',[],'']
	],''],
	['PAGE','85057',jdecode('Galerie+%2F+Wissenswertes'),jdecode(''),'/85057.html','true',[],''],
	['PAGE','13733',jdecode('Qualifikation'),jdecode(''),'/13733.html','true',[],''],
	['PAGE','26057',jdecode('Kontakt'),jdecode(''),'/26057.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='E2E5EF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14223';
theSitetree.contentColor='EDF1F8';
theSitetree.contentBGColor='2B3248';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'E2E5EF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14223',
				contentColor: 	'EDF1F8',
				contentBGColor: '2B3248',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13733',
internalId:  '',
customField: '20111114-214324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172867',
internalId:  '',
customField: '20110307-223935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13727',
internalId:  '',
customField: '20111102-125307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26057',
internalId:  '',
customField: '20110310-171203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86257',
internalId:  '',
customField: '20111114-214021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21801',
internalId:  '',
customField: '20080623-155039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13738',
internalId:  '',
customField: '20090204-224749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135767',
internalId:  '',
customField: '20111114-214146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14311',
internalId:  '',
customField: '20090204-225214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142567',
internalId:  '',
customField: '20090206-173715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20101',
internalId:  '',
customField: '20110219-180115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15006',
internalId:  '',
customField: '20110128-133909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122667',
internalId:  '',
customField: '20070713-140100'
};
webappMappings['1008']=webappMappings['1008-45230704']={
webappId:    '1008',
documentId:  '26057',
internalId:  '45230704',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85057',
internalId:  '',
customField: '20101112-142725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '186967',
internalId:  '',
customField: '20111114-214723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179267',
internalId:  '',
customField: '20110307-223833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '162767',
internalId:  '',
customField: '20090206-180502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122688',
internalId:  '',
customField: '20070715-000916'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN3WIS';
var companyName   = '+++++++++++++++MOBILES++TRAINING+++++++++++++Heidi+Kern++++++++++++++++VERHALTENSBERATUNG';
var htmlTitle	  = 'hund-katze-maus';
var metaKeywords  = 'Aggression+%2C+Angst%2C+Zerst%C3%B6rungswut%2C+Unsauberkeit';
var metaContents  = 'Tierpsychologie%2C+Verhaltenstherapie+f%C3%BCr+Hunde+und+Katzen+bei+Ihnen+zuhause+';
					                                                                    
theSitetree.getById = function(id, ar) {												
							if (typeof(ar) == 'undefined')                              
								ar = this;                                              
							for (var i=0; i < ar.length; i++) {                         
								if (ar[i][POS_ID] == id)                                
									return ar[i];                                       
								if (ar[i][POS_CHILDS].length > 0) {                     
									var result=this.getById(id, ar[i][POS_CHILDS]);     
									if (result != null)                                 
										return result;                                  
								}									                    
							}                                                           
							return null;                                                
					  };                                                                
					                                                                    
theSitetree.getParentById = function(id, ar) {                                        
						if (typeof(ar) == 'undefined')                              	
							ar = this;                                             		
						for (var i=0; i < ar.length; i++) {                        		
							for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {   		
								if (ar[i][POS_CHILDS][j][POS_ID] == id) {          		
									// child found                                 		
									return ar[i];                                  		
								}                                                  		
								var result=this.getParentById(id, ar[i][POS_CHILDS]);   
								if (result != null)                                 	
									return result;                                  	
							}                                                       	
						}                                                           	
						return null;                                                	
					 }								                                    
					                                                                    
theSitetree.getName = function(id) {                                                  
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAME];                                      
						return null;	                                                
					  };			                                                    
theSitetree.getNavigationText = function(id) {                                        
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAVIGATIONTEXT];                            
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getHREF = function(id) {                                                  
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_HREF];                                      
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getIsNavigation = function(id) {                                          
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_ISNAVIGATION];                              
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getTemplateName = function(id, lastTemplateName, ar) {             		
	                                                                                 
	if (typeof(lastTemplateName) == 'undefined')                                     
		lastTemplateName = this.topTemplateName;	                                 
	if (typeof(ar) == 'undefined')                                                   
		ar = this;                                                                   
		                                                                             
	for (var i=0; i < ar.length; i++) {                                              
		var actTemplateName = ar[i][POS_TEMPLATENAME];                               
		                                                                             
		if (actTemplateName == '')                                                   
			actTemplateName = lastTemplateName;		                                 
		                                                                             
		if (ar[i][POS_ID] == id) {                                			         
			return actTemplateName;                                                  
		}	                                                                         
		                                                                             
		if (ar[i][POS_CHILDS].length > 0) {                                          
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]); 
			if (result != null)                                                      
				return result;                                                       
		}									                                         
	}                                                                                
	return null;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            

