/* [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('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','42555',jdecode('Ulmen'),jdecode(''),'/42555.html','true',[],''],
	['PAGE','41207',jdecode('Ausflugsziele'),jdecode(''),'/41207.html','true',[],''],
	['PAGE','41021',jdecode('Preis+%26+Leistung'),jdecode(''),'/41021.html','true',[],''],
	['PAGE','40019',jdecode('Anreise'),jdecode(''),'/40019.html','true',[],''],
	['PAGE','41030',jdecode('Online-Anfragen'),jdecode(''),'/41030/home.html','true',[ 
		['PAGE','41092',jdecode('Online-Anfragen+%28Folgeseite%29'),jdecode(''),'/41030/41092.html','false',[],'']
	],''],
	['PAGE','42276',jdecode('Impressum'),jdecode(''),'/42276.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Meeting';
theSitetree.paletteFamily='BDBDBD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10707';
theSitetree.graphicsetId='10462';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F9F9F9';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Meeting',
				paletteFamily: 	'BDBDBD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10707',
				graphicsetId: 	'10462',
				contentColor: 	'000000',
				contentBGColor: 'F9F9F9',
				a_color: 		'F9F9F9',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40019',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0inf7tj1074c4b54c4']={
webappId:    '1001',
documentId:  '41030',
internalId:  'atoix0inf7tj1074c4b54c4',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inf7tj1074c4b54c4']={
webappId:    '1001',
documentId:  '41092',
internalId:  'atoix0inf7tj1074c4b54c4',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110929-190548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41021',
internalId:  '',
customField: '20110525-154418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42555',
internalId:  '',
customField: '20080823-151648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41207',
internalId:  '',
customField: '20080823-145906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20051101-182213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41092',
internalId:  '',
customField: '20051101-154644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40019',
internalId:  '',
customField: '20051027-202930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42276',
internalId:  '',
customField: '20080114-183947'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INF7TJ';
var companyName   = 'Ferienwohnung++Anja+Jegen';
var htmlTitle	  = 'Ferienwohnung+Ulmen%2C+Vulkaneifel';
var metaKeywords  = 'Ulmen%2C+Ferienwohnung%2C+Vulkaneifel%2C+Ferien%2C+Urlaub%2C+Ulmen%2C+Ferienwohnung%2C+Maar%2C+Ferienwohnung+Eifel%2Cferienwohnung+eifel%2CUlmen%2CDaun%2CCochem+Mosel%2CManderscheid%2Cferienwohnung%2CFerienwohnung%2CEifel%2Ceifel%2CVulkaneifel%2Cvulkaneifel%2Curlaub%2CUrlaub%2CFerien%2Cferien%2Cbadeurlaub%2Cradurlaub%2Cdaun%2Choliday%2C+germany%2C+bed+and+breakfast%2CErholung%2Caccommodation%2Cnuuml%3Brburgring%2Croom%2Crheinland-pfalz%2Cflat%2Cvacation%2Ctravel%2CUlmen%2CRheinland-Pfalz%2CDeutschland%2CFerienhaus%2CFerienhauml%3Buser%2CFerienwohnungen%2CFerien%2Cmieten%2CMieten%2CVermietung%2CFeriendomizil%2CReise%2CFeriendomizile%2CFewo%2CFeha%2CFewos%2CUnterkunft%2CUrlaubsunterkunft%2CFerienunterkunft%2CUnterkuenfte%2CUnterkuuml%3Bnfte%2CFerienhauml%3Buser%2CApartment%2CAppartement%2CSelbstversorger%2Cwohnen%2CWohnung%2Cuuml%3Bbernachten%2Cuebernachten%2CUebernachtung%2CUuml%3Bbernachtung%2CReisen%2Cverreisen%2CQuartier%2CAnwesen%2CHaus%2CHaeuser%2CHauml%3Buser%2CHerberge%2CFlat%2CBungalow%2Cpulvermaar%2Cholzmaar%2Cmaare%2Cruhe%2CKratersee%2CVulkan%2CFamilienurlaub%2CNatur';
var metaContents  = 'Ferienwohnung+Jegen+in+Ulmen%2C+in+der+Vulkaneifel.+Gelegen+am+s%C3%BCd%C3%B6stlichen+Rand+von+Ulmen%2C+in+der+N%C3%A4he+des+Ulmener+Maar.+Jungfernweiher.+Burgruine.';
					                                                                    
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 */					                                                            

