/* [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','4579',jdecode('H%C3%BClsmann%26%23x27%3Bs+Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13701',jdecode('G%C3%A4stehaus'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','13728',jdecode('Ferienwohnung+75m%C2%B2+'),jdecode(''),'/13728.html','true',[],''],
	['PAGE','13755',jdecode('Appartement+45m%C2%B2'),jdecode(''),'/13755.html','true',[],''],
	['PAGE','13782',jdecode('DZ-K%C3%BCche-Bad+25m%C2%B2'),jdecode(''),'/13782.html','true',[],''],
	['PAGE','13836',jdecode('Hund-Katze-Pferd'),jdecode(''),'/13836.html','true',[],''],
	['PAGE','13890',jdecode('Freizeit-Umgebung'),jdecode(''),'/13890.html','true',[],''],
	['PAGE','92259',jdecode('Fotoalbum+%2F+The+Ark'),jdecode(''),'/92259.html','true',[],''],
	['PAGE','13809',jdecode('Weingut+Simon'),jdecode(''),'/13809.html','true',[],''],
	['PAGE','13917',jdecode('Kontakt+%2F+Anfrage'),jdecode(''),'/13917/home.html','true',[ 
		['PAGE','70054',jdecode('Aktuelles+%28Folgeseite%29'),jdecode(''),'/13917/70054.html','false',[],'']
	],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Icon';
theSitetree.paletteFamily='B8AB89';
theSitetree.keyvisualId='3440';
theSitetree.keyvisualName='kv_3440.jpg';
theSitetree.fontsetId='10426';
theSitetree.graphicsetId='10745';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='CAC1A7';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Icon',
				paletteFamily: 	'B8AB89',
				keyvisualId: 	'3440',
				keyvisualName: 	'kv_3440.jpg',
				fontsetId: 		'10426',
				graphicsetId: 	'10745',
				contentColor: 	'FFFFFF',
				contentBGColor: 'CAC1A7',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-105a554d96c']={
webappId:    '1007',
documentId:  '92259',
internalId:  '105a554d96c',
customField: 'g.10mil9mbc.7lphhamc0msqp.6rn80'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100930-152647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13836',
internalId:  '',
customField: '20100930-163804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20100930-135311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13728',
internalId:  '',
customField: '20100930-154110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13755',
internalId:  '',
customField: '20100930-154210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13782',
internalId:  '',
customField: '20100930-154738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13890',
internalId:  '',
customField: '20090210-113001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92259',
internalId:  '',
customField: '20090210-113040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13809',
internalId:  '',
customField: '20070917-155205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13917',
internalId:  '',
customField: '20070928-081242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70054',
internalId:  '',
customField: '20050401-082856'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INVNR5';
var companyName   = 'Herzlich+Willkommen+%27Bei+Christa%27';
var htmlTitle	  = 'Ferienwohnung+in+Bad+Sobernheim+%2F+Steinhardt+bei+Christa+H%C3%BClsmann';
var metaKeywords  = 'Ferienwohnung%2CBad+Sobernheim%2CFerienwohnungen%2CBad%2CSobernheim%2CH%C3%BClsmann%2CSteinhardt%2C%C3%9Cbernachtung%2CWein%2CNahe%2CWeingut%2CWeingut+Simon%2CSimon-Wein%2CAsklepios%2CAsklepios-Klinik%2CKatharina-Schroth-Klinik%2CBei-Christa%2Cbei+Christa%2CChrista+H%C3%BClsmann%2CZimmer%2CFreilichtmuseum%2CDraisinentour%2CDraisine%2CBarfusspfad%2CKreuznach%2CRhein%2CNahewein%2CNaheland%2C4-Sterne%2CG%C3%A4stehaus%2CPension%2CUnterkunft%2CFortbildung%2CKur%2CSkoliose%2CNatur%2CFelke-Kur%2CWald%2CWandern%2CG%C3%A4stezimmer%2CGasthaus%2CAppartement%2CFerienhaus%2CFremdenzimmer%2CSteinhardter+Erbsen%2CAttraktionen%2CFreizeit%2CReiten%2CGarten%2CSauna%2CGrillen%2CRuhe%2CErholung%2CMittelgebirge%2CHaustiere%2CHund%2CKatze%2C+Pferd%2CPony%2CPonys%2CUrlaub%2CEntspannung%2CRheinland-Pfalz%2CMainz%2CRhein%2CNahe%2CGlan%2CSoonwald%2CHunsr%C3%BCck%2CS%C3%BCdwesten%2CAnfahrt%2CBeagle%2CThe+Ark%2CSuedafrika%2CS%C3%BCdafrika%2C+Kapstadt%2C+Kinder%2C+Hilfsprojekt%2C+Schule%2C';
var metaContents  = 'Ferienwohnung+Bei+Christa+H%C3%BClsmann+in+Bad+Sobernheim+-+Steinhardt%2C+Christa+Huelsmann%2C+Flurstr.%2C+Bad+Sobernheim%2C+4+Sterne+Ferienwohnung+%28en%29+in+herrlich+ruhiger+Lage+im+Naheland%2C+zw.+Soonwald%2C+Hunsr%C3%BCck+und+Rhein%2C+Wein+vom+Nahe+-+Weingut+Simon+';
					                                                                    
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 */					                                                            

