/* [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','40976',jdecode('Welcome'),jdecode(''),'/40976.html','true',[],''],
	['PAGE','40987',jdecode('Physiotherapie'),jdecode(''),'/40987/home.html','true',[ 
		['PAGE','41005',jdecode('Symptome%2C+Indikationen'),jdecode(''),'/40987/41005.html','true',[],''],
		['PAGE','40996',jdecode('Therapien'),jdecode(''),'/40987/40996.html','true',[],''],
		['PAGE','66241',jdecode('Blutegel-Therapie'),jdecode(''),'/40987/66241.html','true',[],'']
	],''],
	['PAGE','41014',jdecode('Preise'),jdecode(''),'/41014.html','true',[],''],
	['PAGE','41032',jdecode('PHYSIO-RIDING%C2%AE'),jdecode(''),'/41032/home.html','true',[ 
		['PAGE','60641',jdecode('Ausbildung'),jdecode(''),'/41032/60641.html','true',[],''],
		['PAGE','44668',jdecode('Preise'),jdecode(''),'/41032/44668.html','true',[],'']
	],''],
	['PAGE','41023',jdecode('Kurse%2C+Seminare'),jdecode(''),'/41023.html','true',[],''],
	['PAGE','41041',jdecode('Sonnenpferde'),jdecode(''),'/41041.html','true',[],''],
	['PAGE','44619',jdecode('Bilder'),jdecode(''),'/44619/home.html','true',[ 
		['PAGE','60662',jdecode('Patienten-Erfolge'),jdecode(''),'/44619/60662.html','true',[],''],
		['PAGE','44677',jdecode('Pony-Gl%C3%BCck'),jdecode(''),'/44619/44677.html','true',[],''],
		['PAGE','60683',jdecode('Seminare+-+Lernen+mit+Spa%C3%9F'),jdecode(''),'/44619/60683.html','true',[],''],
		['PAGE','44695',jdecode('Wandbilder'),jdecode(''),'/44619/44695.html','true',[],'']
	],''],
	['PAGE','43517',jdecode('Susanne+Wagner'),jdecode(''),'/43517.html','true',[],''],
	['PAGE','41050',jdecode('Impressum%2C+Links'),jdecode(''),'/41050.html','true',[],''],
	['PAGE','50506',jdecode('G%C3%A4stebuch'),jdecode(''),'/50506/home.html','true',[ 
		['PAGE','50501',jdecode('Eintr%C3%A4ge'),jdecode(''),'/50506/50501.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Urlaub11';
theSitetree.paletteFamily='EDDAC4';
theSitetree.keyvisualId='9938';
theSitetree.keyvisualName='kv_9938.jpg';
theSitetree.fontsetId='17869';
theSitetree.graphicsetId='13105';
theSitetree.contentColor='442D13';
theSitetree.contentBGColor='FCF2DB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Urlaub11',
				paletteFamily: 	'EDDAC4',
				keyvisualId: 	'9938',
				keyvisualName: 	'kv_9938.jpg',
				fontsetId: 		'17869',
				graphicsetId: 	'13105',
				contentColor: 	'442D13',
				contentBGColor: 'FCF2DB',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40976',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20110626-142859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40987',
internalId:  '',
customField: '20071204-222113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40996',
internalId:  '',
customField: '20081023-200248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41005',
internalId:  '',
customField: '20080708-214440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41014',
internalId:  '',
customField: '20110418-000156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41023',
internalId:  '',
customField: '20110418-000112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41032',
internalId:  '',
customField: '20110607-210439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41041',
internalId:  '',
customField: '20071204-225849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41050',
internalId:  '',
customField: '20110626-143851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43517',
internalId:  '',
customField: '20110607-204503'
};
webappMappings['7060']=webappMappings['7060-fe03cf535f78127452e81f466f14a16b']={
webappId:    '7060',
documentId:  '44619',
internalId:  'fe03cf535f78127452e81f466f14a16b',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44677',
internalId:  '',
customField: '20081015-100328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44619',
internalId:  '',
customField: '20070715-115254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44695',
internalId:  '',
customField: '20110626-151057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60641',
internalId:  '',
customField: '20091207-233312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44668',
internalId:  '',
customField: '20110417-231337'
};
webappMappings['1002']=webappMappings['1002-50506atoix0i7uore']={
webappId:    '1002',
documentId:  '50506',
internalId:  '50506atoix0i7uore',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-50506atoix0i7uore']={
webappId:    '1002',
documentId:  '50501',
internalId:  '50506atoix0i7uore',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50506',
internalId:  '',
customField: '20071204-232603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50501',
internalId:  '',
customField: '20071204-232603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60662',
internalId:  '',
customField: '20091207-231348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60683',
internalId:  '',
customField: '20090921-233644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66241',
internalId:  '',
customField: '20081231-004328'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7UORE';
var companyName   = 'Sonnentiere.de+-+TierPhysio-Concept+Susanne+Wagner';
var htmlTitle	  = 'TierPhysio-Concept+Susanne+Wagner';
var metaKeywords  = 'Tierphysiotherapie%2C+Susanne+Wagner%2C+Wagner%2C+Tierphysio%2C+Massage%2C+Akupunktur%2C+Physio-Riding%2C+Reituntericht%2C+Pferde%2C+Hunde%2C+Sonnenpferde';
var metaContents  = 'TierPhysio-Concept+Susanne+Wagner.+Tierphysiotherapie+f%C3%BCr+Hunde+und+Pferde%2C+Akupunktur%2C+Physio-Riding%2C+physiotherapeutischer+Reitunterricht%2C+ganzheitliches+Gesundheitskonzept+f%C3%BCr+Tiere.';
					                                                                    
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 */					                                                            

