/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','1432',jdecode('Osteotherapie'),jdecode(''),'/1432/index.html','true',[ 
		['PAGE','1489',jdecode('Was+ist+Osteotherapie%3F'),jdecode(''),'/1432/1489.html','true',[],''],
		['PAGE','1516',jdecode('Wann+Osteotherapie%3F'),jdecode(''),'/1432/1516.html','true',[],''],
		['PAGE','1543',jdecode('Wichtiges+zur+Behandlung'),jdecode(''),'/1432/1543.html','true',[],'']
	],''],
	['PAGE','1570',jdecode('Pers%C3%B6nliches'),jdecode(''),'/1570.html','true',[],''],
	['PAGE','1651',jdecode('Dienstleistungen'),jdecode(''),'/1651.html','true',[],''],
	['PAGE','1597',jdecode('Kontakt'),jdecode(''),'/1597.html','true',[],''],
	['PAGE','1624',jdecode('Links'),jdecode(''),'/1624.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Animal';
theSitetree.paletteFamily='D59821';
theSitetree.keyvisualId='4295';
theSitetree.keyvisualName='kv_4295.jpg';
theSitetree.fontsetId='10791';
theSitetree.graphicsetId='11214';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F8ECD4';
var theTemplate={
				name: 			'Animal',
				paletteFamily: 	'D59821',
				keyvisualId: 	'4295',
				keyvisualName: 	'kv_4295.jpg',
				fontsetId: 		'10791',
				graphicsetId: 	'11214',
				contentColor: 	'000000',
				contentBGColor: 'F8ECD4',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'D59821',
				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'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1432',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'webomat';
var accountId     = 'Ahp010IN2H89';
var companyName   = 'Pferdeosteopathie+-+Pferdeosteotherapie';
var htmlTitle	  = 'Pferdeosteopathie+-+Pferdeosteotherapie';
var metaKeywords  = 'Pferdeosteopathie%2C+Pferdeosteotherapie%2C+Pferde%2C+Sattel%2C+Reiter%2C+Osteopathie%2C+Osteotherapie%2C+Tierarzt%2C+DIPO%2C+R%EF%BF%BDckenprobleme%2C+Pferdetherapie%2C+Pferdephysiotherapie%2C+Pferd%2C+S%EF%BF%BDttel%2C+DIPO+Trainer%2C+Pferdezahnarzt%2C+Z%EF%BF%BDhne%2C+Sattelunterlagen%2C+Schabracken%2C+Gurten%2C+Sattelgurten%2C+Leuchties%2C+Hundehalsband%2C+Lammfell%2C+Satteldruckmessung%2C+Satteldruck%2C+Reitersitz%2C+Beratung%2C+Horse%2C+Horses%2C+Saddle%2C+rider%2C+Beratung%2C+Behandlung%2C+Therapie%2C+Reiten%2C+Philipp+Karl%2C+Bea+Borell%2C+Hunde%2C+Hundeosteotherapie%2C+Hundeosteopathie%2C+Agility%2C+Physiotharapie%2C+Andrea+Kutsch%2C+Monty+Roberts';
var metaContents  = 'Pferdeosteopathie+-+Pferdeosteotherapie%2C+osteopathiesche+Behandlung%2C+Betreuunng+und+Beratung+beim+Wiederaufbau+von+Pferden+mit+R%EF%BF%BDckenproblemen+%28Osteopathie%2C+Longieren+und+Reiten%29%2C+System+Reiter-Sattel-Pferd%2C+Sattelcheck%2C+Vortr%EF%BF%BDge%2FSeminare%2C+Leuchties%2C+Hundehalsband';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
