/* [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','14001',jdecode('Home'),jdecode(''),'/14001.html','true',[],''],
	['PAGE','94343',jdecode('WellSportAktiv'),jdecode(''),'/94343.html','true',[],''],
	['PAGE','70901',jdecode('Preise+'),jdecode(''),'/70901.html','true',[],''],
	['PAGE','14631',jdecode('Online-Anfragen'),jdecode(''),'/14631/home.html','true',[ 
		['PAGE','21502',jdecode('Online-Anfragen+%28Folgeseite%29'),jdecode(''),'/14631/21502.html','false',[],'']
	],''],
	['PAGE','14636',jdecode('Online-Buchen'),jdecode(''),'/14636.html','true',[],''],
	['PAGE','14601',jdecode('Ihr+Weg+nach+Bodenmais'),jdecode(''),'/14601.html','true',[],''],
	['PAGE','14621',jdecode('Links'),jdecode(''),'/14621.html','true',[],''],
	['PAGE','98643',jdecode('Bilder'),jdecode(''),'/98643.html','true',[],''],
	['PAGE','101043',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/101043.html','true',[],''],
	['PAGE','101143',jdecode('Impressum'),jdecode(''),'/101143.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='TOI_Freetime_1';
theSitetree.paletteFamily='F0F2F5';
theSitetree.keyvisualId='10590';
theSitetree.keyvisualName='kv_10590.jpg';
theSitetree.fontsetId='31744';
theSitetree.graphicsetId='13508';
theSitetree.contentColor='393E45';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Freetime_1',
				paletteFamily: 	'F0F2F5',
				keyvisualId: 	'10590',
				keyvisualName: 	'kv_10590.jpg',
				fontsetId: 		'31744',
				graphicsetId: 	'13508',
				contentColor: 	'393E45',
				contentBGColor: 'FFFFFF',
				a_color: 		'F0F2F5',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0ineuff10340ce68f3']={
webappId:    '1001',
documentId:  '14631',
internalId:  'atoix0ineuff10340ce68f3',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0ineuff10340ce68f3']={
webappId:    '1001',
documentId:  '21502',
internalId:  'atoix0ineuff10340ce68f3',
customField: 'followUp'
};
webappMappings['1008']=webappMappings['1008-39292038']={
webappId:    '1008',
documentId:  '14636',
internalId:  '39292038',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98643',
internalId:  '',
customField: '20091026-090251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14001',
internalId:  '',
customField: '20100521-085950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14601',
internalId:  '',
customField: '20100519-112142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70901',
internalId:  '',
customField: '20110509-090044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101043',
internalId:  '',
customField: '20100521-091528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14621',
internalId:  '',
customField: '20100521-090245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14631',
internalId:  '',
customField: '20090124-182145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21502',
internalId:  '',
customField: '20050414-150319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14636',
internalId:  '',
customField: '20090124-182220'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '101043',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101143',
internalId:  '',
customField: '20100521-090906'
};
webappMappings['1007']=webappMappings['1007-12197c5843a']={
webappId:    '1007',
documentId:  '98643',
internalId:  '12197c5843a',
customField: 'g.146bp6d8q.c0buflequ.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94343',
internalId:  '',
customField: '20091026-090009'
};
webappMappings['1501']=webappMappings['1501-13984818']={
webappId:    '1501',
documentId:  '14001',
internalId:  '13984818',
customField: '1501'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INEUFF';
var companyName   = 'Wohlf%C3%BChlurlaub+in+Bodenmais';
var htmlTitle	  = 'Wohlf%C3%BChlurlaub+im+G%C3%A4stehaus+Haller+-+Bodenmais%2FBayerischer+Wald';
var metaKeywords  = 'Urlaub%2C+Bodenmais%2C+Ferien%2C+Erholung%2C+Kur%2C+Arbergebiet%2C+Wandern%2C+Wintersport%2C+Glasstrasse%2C+Ostbayern%2C+Niederbayern%2C+Bayrischer+Wald%2C+Bayern%2C+Deutschland%2C+Unterkunft%2C+Pensionen%2C+Zimmer%2C+G%C3%A4stehaus%2C+BedBreakfast%2C+%C3%9Cbernachtung%2C+Zimmer+mit+Fr%C3%BChst%C3%BCck%2C+Kurort%2C+Heilklima%2C+Wellness%2C+preiswert%2C+g%C3%BCnstig%2C+Skifahren%2C+Landschaft%2C+Berge%2C+Einkaufen%2C+Tschechien%2C+Travel%2C+Reise%2C+Unterkunft%2C+Hotel%2C+Ferienwohnung%2C+Privatvermieter%2C+Wald%2C+Ausflug%2C+Kurzurlaub%2C+Sehensw%C3%BCrdigkeiten%2C+Unterbringung%2C+Ferienhaus%2C+Wellness%2C+Bayerischer+Wald%2C+Bayerwald%2C+Bayern%2C+Ostbayern%2C+Niederbayern%2C+buchen%2C+Zimmer%2C+%C3%9Cbernachtung%2C+Harmonie%2C+Kosmetik%2C+Wellness%2C+Wohlf%C3%BChlangebot%2C+Nordic+Walking%2C+Wellnesspaket%2C+Wohlf%C3%BChlpaket%2C+Europa%2C+Deutschland%2C+Niederbayern%2C+Reiki%2C+Breu%C3%9F%2C+Dorn%2C+Fleig%2CBio-Energetik%2C+Reiki%2C+Massage%2C+Kur%2C+Sport%2C+g%C3%BCnstig%2C+g%C3%BCnstig%2C+fair%2C+billig%2C+Angebot%2C+Schn%C3%A4ppchen%2C+preiswert%2C+Nordic+Walking%2C+Beauty%2C+Kosmetik';
var metaContents  = 'Privatpension+in+Bodenmais.+Gem%C3%BCtliche+G%C3%A4stezimmer+mit+Du%2FWC%2FBalkon%2FSAT-TV.+Reichhaltiges+Fr%C3%BChst%C3%BCck.';
					                                                                    
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 */					                                                            

