/* [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','40555',jdecode('Unsere+Ferienh%C3%A4user'),jdecode(''),'/40555/home.html','true',[ 
		['PAGE','40564',jdecode('Kamerun+Nr.+ZWEI'),jdecode(''),'/40555/40564.html','true',[],''],
		['PAGE','41028',jdecode('Kamerun+Nr.+VIER'),jdecode(''),'/40555/41028.html','true',[],''],
		['PAGE','41037',jdecode('Kamerun+Nr.+F%C3%9CNF'),jdecode(''),'/40555/41037.html','true',[],'']
	],''],
	['PAGE','40573',jdecode('Der+Garten+und+die+Umgebung'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','40582',jdecode('Preis+%26+Leistung'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','40591',jdecode('Online-Anfragen'),jdecode(''),'/40591.html','true',[],''],
	['PAGE','40745',jdecode('Anfahrt'),jdecode(''),'/40745.html','true',[],''],
	['PAGE','40618',jdecode('Impressum'),jdecode(''),'/40618.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='FliegendeEcke';
theSitetree.paletteFamily='87B0ED';
theSitetree.keyvisualId='11054';
theSitetree.keyvisualName='kv_11054.jpg';
theSitetree.fontsetId='32079';
theSitetree.graphicsetId='13774';
theSitetree.contentColor='FCFDFA';
theSitetree.contentBGColor='87B0ED';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'FliegendeEcke',
				paletteFamily: 	'87B0ED',
				keyvisualId: 	'11054',
				keyvisualName: 	'kv_11054.jpg',
				fontsetId: 		'32079',
				graphicsetId: 	'13774',
				contentColor: 	'FCFDFA',
				contentBGColor: '87B0ED',
				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:  '40564',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20090425-095212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20090813-125702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20090425-094550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20091118-135945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20090726-100056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20080106-123943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41037',
internalId:  '',
customField: '20091118-140130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20080106-124320'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40745',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40745',
internalId:  '',
customField: '20071123-132123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41028',
internalId:  '',
customField: '20091118-140045'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0I7HMA4';
var companyName   = 'Ferienhaus+Kamerun+an+der+Elbe+';
var htmlTitle	  = '5+*****+Sterne+Ferienhaus+Damnatz+-+Kamerun+Nr.+ZWEI';
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+';
var metaContents  = 'Exklusiv+eingerichtetes+5*****+Sterne+Ferienhaus+im+Naturpark+Elbufer-Drawehn.Erholung+PUR+f%C3%BCr++2+Personen+am+Elbdeich+in+Damnatz+-+Kamerun+gelegen.';
					                                                                    
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 */					                                                            
