/* [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('Willkommen'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41887',jdecode('Der+Campingplatz'),jdecode(''),'/41887.html','true',[],''],
	['PAGE','41899',jdecode('Genie%C3%9Fen'),jdecode(''),'/41899.html','true',[],''],
	['PAGE','41874',jdecode('Bewegung+%2B+Umgebung'),jdecode(''),'/41874.html','true',[],''],
	['PAGE','42008',jdecode('Links+'),jdecode(''),'/42008.html','true',[],''],
	['PAGE','42095',jdecode('Diashow+%22Campingleben%22'),jdecode(''),'/42095.html','true',[],''],
	['PAGE','40132',jdecode('Preise'),jdecode(''),'/40132.html','true',[],''],
	['PAGE','42155',jdecode('Dauerplatz+des+Monats'),jdecode(''),'/42155.html','true',[],''],
	['PAGE','40123',jdecode('Lage+%2B+Anfahrt+'),jdecode(''),'/40123.html','true',[],''],
	['PAGE','40186',jdecode('Kontakt+%2B+%C3%96ffnungszeiten'),jdecode(''),'/40186.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='589955';
theSitetree.keyvisualId='7102';
theSitetree.keyvisualName='kv_7102.jpg';
theSitetree.fontsetId='16390';
theSitetree.graphicsetId='12123';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='589955';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'589955',
				keyvisualId: 	'7102',
				keyvisualName: 	'kv_7102.jpg',
				fontsetId: 		'16390',
				graphicsetId: 	'12123',
				contentColor: 	'FFFFFF',
				contentBGColor: '589955',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-f32949e52bcf2839ffb3ea9853b3073b']={
webappId:    '7060',
documentId:  '42095',
internalId:  'f32949e52bcf2839ffb3ea9853b3073b',
customField: 'language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-10dc2bfebdd']={
webappId:    '1007',
documentId:  '41874',
internalId:  '10dc2bfebdd',
customField: 'g.11n1b9fcq.cujlsdg8j7.3o'
};
webappMappings['1007']=webappMappings['1007-10dc7e03e80']={
webappId:    '1007',
documentId:  '41887',
internalId:  '10dc7e03e80',
customField: 'g.11n3t65e9.4721pg2ik5f.3o'
};
webappMappings['1007']=webappMappings['1007-10dc7ebfc63']={
webappId:    '1007',
documentId:  '41899',
internalId:  '10dc7ebfc63',
customField: 'g.11n3u704b.9679l37b0v.3o'
};
webappMappings['1008']=webappMappings['1008-21909416']={
webappId:    '1008',
documentId:  '40186',
internalId:  '21909416',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090214-194306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40132',
internalId:  '',
customField: '20100328-183608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40186',
internalId:  '',
customField: '20100328-183837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40123',
internalId:  '',
customField: '20070115-215048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41887',
internalId:  '',
customField: '20060922-024329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41899',
internalId:  '',
customField: '20070331-200221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41874',
internalId:  '',
customField: '20060922-032912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42008',
internalId:  '',
customField: '20070924-180019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40221',
internalId:  '',
customField: '20070822-185000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40220',
internalId:  '',
customField: '20070822-185000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42095',
internalId:  '',
customField: '20070921-153706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42155',
internalId:  '',
customField: '20070924-193242'
};
webappMappings['1501']=webappMappings['1501-40304197']={
webappId:    '1501',
documentId:  '44',
internalId:  '40304197',
customField: '1501'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INV02A';
var companyName   = '%22Campingplatz+Am+Furlbach%22+-+Die+Perle+in+der+Senne+';
var htmlTitle	  = 'DIE+PERLE+IN+DER+SENNE';
var metaKeywords  = 'Campingplatz+Am+Furlbach%2C+Roswitha+Auster%2C+Natur%2C+Fahrradfahren%2C+Wandern%2C+Angeln%2C+Reiten%2C+Inliner%2C+Ballonfahren%2C+Golf%2C+Erholung%2C+Senne-Landschaft%2C+Senne%2C+Sennesee%2C+Heide-Bl%C3%BCte%2C+Frauen%2C+Hollywood-Safari-Park%2C+Emsquellen%2C+Furlbachtal%2C+Familien%2C+MC-Stadion%2C+Schlo%C3%9F+Holte-Stukenbrock%2C+Dauercamping%2C+Durchganscamping%2C+Naturcampingplatz%2C+Baby-Badewanne%2C+Behinderteneinrichtung%2C+Naturspielpl%C3%A4tze%2C+Biolebensmittel%2C+Laden%2C+Fr%C3%BChst%C3%BCck%2C+Familien%2C+Kultur%2C+Kunst%2C+Archaeologie+in+Oerlinghausen%2C+Museen%2C+Galerien%2C+Kuenstler%2C+Dom+in+Paderborn%2CSparrenburg+in+Bielefeld%2C+Herrmannsdenkmal+in+Detmold%2C+Radfahrkarten%2C+Pollhans-Markt%2C+H%C3%B6velmarkt%2C+Erntedankfest+in+Espeln%2C+Erntedankfest+in+Liemke%2C+Libori-Kirmes+in+Paderborn%2C+EmsErlebniswelt';
var metaContents  = 'Willkommen+auf+dem+Campingplatz+Am+Furlbach.+ERHOLUNG+wird+bei+uns+gro%C3%9F+geschrieben.+NATUR-Liebhaber+erfreuen+sich+an+dem+Gel%C3%A4nde%2C+auf+abwechselungsreichen+Radtouren+und+sch%C3%B6nen+Wanderungen+.';
					                                                                    
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 */					                                                            

