/* [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','14201',jdecode('Home'),jdecode(''),'/14201.html','true',[],''],
	['PAGE','17401',jdecode('Das+Ferienhaus'),jdecode(''),'/17401.html','true',[],''],
	['PAGE','14217',jdecode('Die+Wohnung'),jdecode(''),'/14217.html','true',[],''],
	['PAGE','19901',jdecode('Das+Schlafzimmer'),jdecode(''),'/19901.html','true',[],''],
	['PAGE','14222',jdecode('Der+Garten'),jdecode(''),'/14222.html','true',[],''],
	['PAGE','16301',jdecode('Preis+%26+Leistung'),jdecode(''),'/16301.html','true',[],''],
	['PAGE','15902',jdecode('Anfahrt'),jdecode(''),'/15902.html','true',[],''],
	['PAGE','14212',jdecode('Unser+Angebot'),jdecode(''),'/14212.html','true',[],''],
	['PAGE','14242',jdecode('Kontakt'),jdecode(''),'/14242/home.html','true',[ 
		['PAGE','14902',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14242/14902.html','false',[],'']
	],''],
	['PAGE','14227',jdecode('Links'),jdecode(''),'/14227.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Clearline';
theSitetree.paletteFamily='CCAE22';
theSitetree.keyvisualId='3289';
theSitetree.keyvisualName='kv_3289.jpg';
theSitetree.fontsetId='10421';
theSitetree.graphicsetId='10716';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Clearline',
				paletteFamily: 	'CCAE22',
				keyvisualId: 	'3289',
				keyvisualName: 	'kv_3289.jpg',
				fontsetId: 		'10421',
				graphicsetId: 	'10716',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'CCAE22',
				e_color: 		'989696',
				f_color: 		'989696',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20110411-233533'
};
webappMappings['1501']=webappMappings['1501-4854759']={
webappId:    '1501',
documentId:  '14201',
internalId:  '4854759',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14201',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0in2v9g1004885830f']={
webappId:    '1001',
documentId:  '14242',
internalId:  'atoix0in2v9g1004885830f',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2v9g1004885830f']={
webappId:    '1001',
documentId:  '14902',
internalId:  'atoix0in2v9g1004885830f',
customField: 'followUp'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '15902',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17401',
internalId:  '',
customField: '20051108-201232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14217',
internalId:  '',
customField: '20110119-234807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19901',
internalId:  '',
customField: '20051108-193532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14222',
internalId:  '',
customField: '20090824-000124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20110119-234229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15902',
internalId:  '',
customField: '20051108-194640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14212',
internalId:  '',
customField: '20090823-234629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14242',
internalId:  '',
customField: '20051108-195551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14902',
internalId:  '',
customField: '20041117-225217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14227',
internalId:  '',
customField: '20110411-233358'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN2V9G';
var companyName   = 'Ferienhaus+Holler+Deidesheim';
var htmlTitle	  = 'Ferienhaus+Holler+Deidesheim+Pfalz';
var metaKeywords  = 'Ferienwohnung%2C+Ferienhaus%2C+Holler%2C+Deidesheim%2C+Pfalz%2C+Wein%2C+Wandern%2C+Garten%2C+Terrasse%2C+ruhige+Lage%2C+zentrale+Lage%2C+Radfahren%2C+Mountainbike%2C+WM%2C+Kaiserslautern%2C+Fahrradverleih';
var metaContents  = 'Ferienwohnung+in+zentraler+und+trotzdem+ruhiger+Lage+in+Deidesheim+Pfalz.+Wohn-Esszimmer%2C+Schlafzimmer%2C+Bad%2C+Garten%2C+Terrasse.+Nur+2+Minuten+zum+Bahnhof%2C+Stadtpark%2C+Marktplatz%2C+Stadtplatz%2C+Gei%C3%9Fbockbrunnen%2C+Winzergenossenschaft%2C+Weinstuben+und+Restaurants.+Nur+5+Minuten+in+die+Weinberge+und+den+Pf%C3%A4lzer+Wald.+';
					                                                                    
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 */					                                                            

