/* [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','4579',jdecode('Herzlich+Willkommen'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','58924',jdecode('Ferienhof+Krusenhoff'),jdecode(''),'/58924.html','true',[],''],
	['PAGE','18328',jdecode('Unser+Bauernhof'),jdecode(''),'/18328.html','true',[],''],
	['PAGE','18355',jdecode('Ferienhaus+Ole+Peerstall'),jdecode(''),'/18355.html','true',[],''],
	['PAGE','18382',jdecode('Ferienhaus+Rehblick'),jdecode(''),'/18382.html','true',[],''],
	['PAGE','18409',jdecode('Ferienhaus+Knusperh%C3%A4uschen'),jdecode(''),'/18409.html','true',[],''],
	['PAGE','18436',jdecode('Ferienwohnung+Bachstelzennest'),jdecode(''),'/18436.html','true',[],''],
	['PAGE','18490',jdecode('Ferienwohnung+Sonnenuntergang'),jdecode(''),'/18490.html','true',[],''],
	['PAGE','18463',jdecode('Ferienwohnung+Waldblick'),jdecode(''),'/18463.html','true',[],''],
	['PAGE','55327',jdecode('Freizeitangebote'),jdecode(''),'/55327.html','true',[],''],
	['PAGE','55401',jdecode('Reiseziele'),jdecode(''),'/55401.html','true',[],''],
	['PAGE','31207',jdecode('Preise'),jdecode(''),'/31207/home.html','true',[ 
		['PAGE','31730',jdecode('Anfrage'),jdecode(''),'/31207/31730.html','false',[],'']
	],''],
	['PAGE','54757',jdecode('Kontakt+und+Impressum'),jdecode(''),'/54757.html','true',[],''],
	['PAGE','57652',jdecode('Anfrageformular'),jdecode(''),'/57652.html','true',[],''],
	['PAGE','54792',jdecode('Anfahrt'),jdecode(''),'/54792.html','true',[],''],
	['PAGE','54845',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/54845.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Roses02';
theSitetree.paletteFamily='657C21';
theSitetree.keyvisualId='11024';
theSitetree.keyvisualName='kv_11024.jpg';
theSitetree.fontsetId='32070';
theSitetree.graphicsetId='13762';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='657C21';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roses02',
				paletteFamily: 	'657C21',
				keyvisualId: 	'11024',
				keyvisualName: 	'kv_11024.jpg',
				fontsetId: 		'32070',
				graphicsetId: 	'13762',
				contentColor: 	'FFFFFF',
				contentBGColor: '657C21',
				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['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '54792',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-44911021']={
webappId:    '1008',
documentId:  '57652',
internalId:  '44911021',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '54845',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100505-223141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18328',
internalId:  '',
customField: '20100414-191227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54845',
internalId:  '',
customField: '20070115-205523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54792',
internalId:  '',
customField: '20060909-210958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58924',
internalId:  '',
customField: '20100418-185455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18355',
internalId:  '',
customField: '20091116-182306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18382',
internalId:  '',
customField: '20081228-160213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18409',
internalId:  '',
customField: '20100226-163721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18436',
internalId:  '',
customField: '20081228-160538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18490',
internalId:  '',
customField: '20081228-160730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18463',
internalId:  '',
customField: '20081228-160910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31207',
internalId:  '',
customField: '20101111-160530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31730',
internalId:  '',
customField: '20041212-195007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54757',
internalId:  '',
customField: '20081124-105623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57652',
internalId:  '',
customField: '20080210-224646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55327',
internalId:  '',
customField: '20100505-223754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55401',
internalId:  '',
customField: '20100226-170848'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INVV3K';
var companyName   = 'Urlaub+auf+dem+Bauernhof';
var htmlTitle	  = 'Heideurlaub';
var metaKeywords  = 'L%C3%BCneburger+Heide%2C+Bauernhofurlaub%2C+Urlaub+auf+dem+Bauernhof%2C+Familienurlaub%2C+Familie%2C+Urlaub+mit+Kindern%2C+Reiten%2C+Landurlaub%2C+Ponys%2C+Pferde%2C+Tiere%2C+Wellness%2CSport%2CNaturschutzgebiet%2C+Ferienwohnung%2C+Ferienhaus%2C+Ferienh%C3%A4user%2C+Zimmer%2C+Heideurlaub%2C+Ferienwohnungen%2C+Monteure%2C+Monteur%2C+Mont%C3%B6re%2C+Zimmer+f%C3%BCr+Monteure%2C+Unterkunft%2C+Zimmer%2C+Langzeitvermietung%2C+Kurzzeitvermietung%2C+Bauernhof%2C+Ferienwohnungen%2C+Gruppenhaus%2C+Heuhotel%2C+Bauernhofferien%2C+Betriebsfeiern%2C+Familienfeiern%2C+Schullandheim%2C+Gruppen%2C+Bauerhofurlaub%2C+Streichelzoo%2C+Appartment%2C+Appartement%2C+Pension%2C+Heidepark%2C+Heide%2C+Park%2C+Naturschutzpark%2C+Serengeti%2C+Kinder%2C+Ferienlager%2C+Jugendreisen%2C+Klassenfahrten%2C+Ferienfreizeiten%2C+Jugendcamps%2C+Schneverdingen%2C+Bispingen%2C+Munster%2C+Neuenkirchen%2C+Behringen%2C+Wilseder+Berg%2C+Hodenhagen%2C+Spielzeugmuseum%2C+Vogelpark%2C+Walsrode%2C+Greifvogelgehege%2C+Heidemuseum%2C+Verden%2C+Wilsede%2C+Kartbahn%2C+Freilichtmuseum%2C+Kiekeberg%2C+Museumsdorf%2C+H%C3%B6sseringen%2C+Panzermuseum%2C+Wildpark%2C+Schwarze+Berge%2C+Lueneburg%2C+Lueneburger%2C+Hoesseringen%2C+Vieh%2C+Wellness%2C+Bremen';
var metaContents  = 'Familienurlaub%2C+Bauernhofurlaub%2C+Urlaub+auf+dem+Bauernhof%2C+Heideurlaub%2C+g%C3%BCnstige+Ferienwohnungen+und+Ferienh%C3%A4user+in+der+L%C3%BCneburger+Heide%2C+Kinder%2C+Tiere+Tieren%2C+Ponys%2C+Pferde%2C+.+Auch+Kurzzeitg%C3%A4ste%2C+Monteure%2C+Messebesucher+willkommen%2C+Alleinlage%2C+++Guite+Verkehrsanbindung+nach+Bremen%2C+Hannover%2C+Hamburg.';
					                                                                    
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 */					                                                            

