/* [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','10701',jdecode('Willkommen'),jdecode(''),'/10701/home.html','true',[ 
		['PAGE','30510',jdecode('Kontakt'),jdecode(''),'/10701/30510.html','true',[],''],
		['PAGE','31301',jdecode('Tipps+%26+Infos'),jdecode(''),'/10701/31301.html','true',[],''],
		['PAGE','10712',jdecode('Therapien'),jdecode(''),'/10701/10712.html','true',[],''],
		['PAGE','34663',jdecode('Links+%26+Impressum'),jdecode(''),'/10701/34663.html','true',[],'']
	],''],
	['PAGE','34301',jdecode('Aktionen+%26+Seminare'),jdecode(''),'/34301.html','true',[],''],
	['PAGE','11401',jdecode('Honorare'),jdecode(''),'/11401.html','true',[],''],
	['PAGE','67322',jdecode('Anfrageformular'),jdecode(''),'/67322.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Linea';
theSitetree.paletteFamily='4C4C92';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='400';
theSitetree.graphicsetId='448';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Linea',
				paletteFamily: 	'4C4C92',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'400',
				graphicsetId: 	'448',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'4C4C92',
				c_color: 		'4C4C93',
				d_color: 		'000064',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10701',
internalId:  '',
customField: '20111214-123107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34301',
internalId:  '',
customField: '20111214-123941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11401',
internalId:  '',
customField: '20120105-163410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30510',
internalId:  '',
customField: '20120105-163150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31301',
internalId:  '',
customField: '20111129-172030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34663',
internalId:  '',
customField: '20120105-163754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10712',
internalId:  '',
customField: '20101028-163523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67322',
internalId:  '',
customField: '20100829-173959'
};
webappMappings['1008']=webappMappings['1008-41701464']={
webappId:    '1008',
documentId:  '67322',
internalId:  '41701464',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INEOF8';
var companyName   = 'Naturheilkundliche+Pferdepraxis+++Diana+Holderegger';
var htmlTitle	  = 'Naturheilkundliche+Pferdepraxis+Diana+Holderegger';
var metaKeywords  = 'Tierheilpraxis+M%C3%BCnchen%2C+Tierheilpraktiker+Naturheilkunde+Pferd+naturheilpraxis+Pferheilpraxis+Naturheilkundliche+Pferdepraxis+Diana+Holderegger+Pferdeheilkunde+Tierheilpraxis+Tierheilpraktiker+Pferdeheilpraktiker+Klassische+Hom%C3%B6opathie+M%C3%BCnchen+Tierheilkunde++Aromatherapie+Blutegel+Verhalten+Haltung+Beratung+Pferd+Natur+Naturheil+Heilkund+Naturkunde+Pferdeheilpraktik+Pferdeheilpraxis+M%C3%BCnchen+Bayern+S%C3%BCddeutschland+Esslingen+Stuttgart+Oberbayern+Niederbayern+Schwaben+Akupunktur+Tierheilkunde+Tierheil+Gesund+Diagnose+Therapie+nat%C3%BCrlich+sanft++Hund+Pferdenaturheilpraxis+Naturheilpferdepraxis+Heilmethode+TCM+ganzheitlich+holistisch+St%C3%B6rung+Verhaltensst%C3%B6rung+Haltungsoptimierung+reiten+Reitstall+Stall+Pferdestall+Hundepraxis+Hund++Hundheilpraktiker+Hamster++Dozent+Tier-Therapie+naturheilkunde+Pferd+Pferdekunde+pferdespezialist+pferde+heilen+Vortr%C3%A4ge+Seminare+tierheilpraktiker+f%C3%BCr+pferd+Tierheilpraxis+Pferd+M%C3%BCnchen';
var metaContents  = 'Tierheilpraxis+f%C3%BCr+M%C3%BCnchen+und+Bayern%2C+Information+zu+naturheilkundlichen+Behandlungsmethoden%2C+ausf%C3%BChrliche+Untersuchungen+mit+Diagnosefindung+und+Beratung+bzw.+Behandlung%2C+naturheilkundliche+Therapien%3A+klassische+Hom%C3%B6opathie%2C+Humoraltherapien+%28Blutegel%29%2C++Aromatherapie%2C+Akupunktur%2C+manuelle+Lymphdrainage%3B+Beratung+zu+Haltungs-+und+Verhaltensfragen%2C+Dienstleistungen+zum+Wohl+des+Pferdes%3B++Untersuchung+und+Behandlung+von+Hunden%3B+Vortr%C3%A4ge+und+Seminare';
					                                                                    
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 */					                                                            

