/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41333',jdecode('Zu+meiner+Person'),jdecode(''),'/41333.html','true',[],''],
	['PAGE','41282',jdecode('Massagen+und+Preise'),jdecode(''),'/41282.html','true',[],''],
	['PAGE','41706',jdecode('Massagen+%22vor+Ort%22'),jdecode(''),'/41706.html','true',[],''],
	['PAGE','42029',jdecode('Sportmassagen'),jdecode(''),'/42029.html','true',[],''],
	['PAGE','41571',jdecode('Wellness+und+Sport'),jdecode(''),'/41571.html','true',[],''],
	['PAGE','41442',jdecode('Rechtliche+Hinweise'),jdecode(''),'/41442.html','true',[],''],
	['PAGE','41398',jdecode('Kontakt+%2F+Anfahrt'),jdecode(''),'/41398.html','true',[],''],
	['PAGE','41655',jdecode('G%C3%A4stebuch'),jdecode(''),'/41655/home.html','true',[ 
		['PAGE','41654',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41655/41654.html','true',[],'']
	],''],
	['PAGE','42356',jdecode('Fotos%2C+Videos+u.v.m.'),jdecode(''),'/42356.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='A95C61';
theSitetree.keyvisualId='1703';
theSitetree.keyvisualName='gewichtheben.jpg';
theSitetree.fontsetId='281';
theSitetree.graphicsetId='345';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A95C61';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'A95C61',
				keyvisualId: 	'1703',
				keyvisualName: 	'gewichtheben.jpg',
				fontsetId: 		'281',
				graphicsetId: 	'345',
				contentColor: 	'000000',
				contentBGColor: 'A95C61',
				a_color: 		'A95C61',
				b_color: 		'7F162D',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-25166655']={
webappId:    '1501',
documentId:  '44',
internalId:  '25166655',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110927-180225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41333',
internalId:  '',
customField: '20111217-150121'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41398',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41442',
internalId:  '',
customField: '20110816-153130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41282',
internalId:  '',
customField: '20110816-152912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41398',
internalId:  '',
customField: '20110816-140701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41571',
internalId:  '',
customField: '20110821-130156'
};
webappMappings['1002']=webappMappings['1002-41655atoix0i7todf']={
webappId:    '1002',
documentId:  '41655',
internalId:  '41655atoix0i7todf',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41655atoix0i7todf']={
webappId:    '1002',
documentId:  '41654',
internalId:  '41655atoix0i7todf',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41655',
internalId:  '',
customField: '20070607-031407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41654',
internalId:  '',
customField: '20070607-031119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41706',
internalId:  '',
customField: '20110822-180144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42029',
internalId:  '',
customField: '20111117-122504'
};
webappMappings['7060']=webappMappings['7060-d185fc0c341c107c2d76041e6cd839b7']={
webappId:    '7060',
documentId:  '42356',
internalId:  'd185fc0c341c107c2d76041e6cd839b7',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42356',
internalId:  '',
customField: '20110730-153826'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7TODF';
var companyName   = 'Sport-+und+Wellnessmassagen';
var htmlTitle	  = 'Sport-+und+Wellnessmassagen+in+Bad+Aibling';
var metaKeywords  = 'Sport+Wellness+Wellnessmassage+Lucas+Bergbauer+Bad+Aibling+Wohlbefinden+Therapeut+Kontakt+Tennis+Urlaub+Kur+Freizeit+Moorbad+Bayern+Mangfalltal+Mangfall+';
var metaContents  = 'Sport-+und+Wellnessmassagen+f%C3%BCr+ihr+Wohlbefinden';
					                                                                    
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 */					                                                            

