/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40768',jdecode('Kamerun+Nr.ZWEI'),jdecode(''),'/40768.html','true',[],''],
	['PAGE','40625',jdecode('Kamerun+Nr.+VIER'),jdecode(''),'/40625.html','true',[],''],
	['PAGE','40634',jdecode('Kamerun+Nr.+F%C3%9CNF'),jdecode(''),'/40634.html','true',[],''],
	['PAGE','40991',jdecode('Der+Garten+%2B+Umgebung'),jdecode(''),'/40991.html','true',[],''],
	['PAGE','40652',jdecode('Preis+%26+Leistung'),jdecode(''),'/40652.html','true',[],''],
	['PAGE','40661',jdecode('Online-Anfragen'),jdecode(''),'/40661.html','true',[],''],
	['PAGE','40936',jdecode('Anfahrt'),jdecode(''),'/40936.html','true',[],''],
	['PAGE','40679',jdecode('Impressum'),jdecode(''),'/40679.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Wellen';
theSitetree.paletteFamily='E8BD8F';
theSitetree.keyvisualId='11000';
theSitetree.keyvisualName='kv_11000.jpg';
theSitetree.fontsetId='31926';
theSitetree.graphicsetId='13746';
theSitetree.contentColor='4D301E';
theSitetree.contentBGColor='E8BD8F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Wellen',
				paletteFamily: 	'E8BD8F',
				keyvisualId: 	'11000',
				keyvisualName: 	'kv_11000.jpg',
				fontsetId: 		'31926',
				graphicsetId: 	'13746',
				contentColor: 	'4D301E',
				contentBGColor: 'E8BD8F',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40625',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20090313-114231'
};
webappMappings['1007']=webappMappings['1007-11f611020d5']={
webappId:    '1007',
documentId:  '40991',
internalId:  '11f611020d5',
customField: 'g.13tgf9eij.nspirffoch.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40768',
internalId:  '',
customField: '20091123-171119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40652',
internalId:  '',
customField: '20090726-095333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40661',
internalId:  '',
customField: '20090208-095314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40625',
internalId:  '',
customField: '20091123-171037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40634',
internalId:  '',
customField: '20091123-171210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40679',
internalId:  '',
customField: '20090208-095334'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40936',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40936',
internalId:  '',
customField: '20090207-183003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40991',
internalId:  '',
customField: '20090422-140359'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0IRQIWO';
var companyName   = '*****+Ferienh%C3%A4user+Kamerun+';
var htmlTitle	  = '*****+Sterne+Design+Ferienhaus+Damnatz+Kamerun+am+Elbdeich';
var metaKeywords  = 'Ferienhaus%2C+Ferienwohnung%2C+5Sterne%2C+5+Sterne%2C+*****%2C+DTV%2C+Deutscher+Tourismus+Verband%2C+Deutscher-Tourismus-Verband%2C+Wendland%2C+Elbe%2C+Elbufer%2C+Radfahren%2C+Radwandern%2C+Angeln%2C+Storch%2C+Biber%2C+Fachwerk%2C+Damnatz%2C+Dannenberg%2C+Kamerun%2C+Angler%2C+See%2C+Naturpark%2C+Drawehn%2C+Wendland%2C+Urlaub%2C+Ferien%2C+Ferienhaus%2C+Natur%2C+Biosph%C3%A4renreservat%2C+Kamerun%2C+Radler%2C+Fachwerkstrasse%2C+Rundling%2C+Modern%2C+g%C3%BCnstig%2C+Erholung%2C+Kurzurlaub%2C+Hotel%2C+ausspannen%2C+Hochzeitsreise%2C+Wellness%2C+Fitness%2C+Elde%2C+L%C3%BCneburg%2C+L%C3%BCneburger+Heide%2C+Ferienwohnung%2C+Veranstaltungen%2C+Golf%2C+Golfplatz%2C+Golfpl%C3%A4tze%2C+Wandern%2C+Elbuferstrasse%2C+Niedersachsen%2C+Gastgeber%2C+Elberadweg%2C+Elbdeich%2C+Elbetal%2C+Elbe-Radweg%2C+Elbtalaue-Wendland%2C+Kulturelle+Landpartie';
var metaContents  = 'Exklusiv+eingerichtetes+5*****+Sterne+Ferienhaus+im+Naturpark+Elbufer-Drawehn.Erholung+PUR+am+Elbdeich+%2F+Elberadweg++in+Damnatz+-+Kamerun+gelegen.Niedersachsen+und+Wendland.';
					                                                                    
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 */					                                                            
