/* [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','40463',jdecode('Service'),jdecode(''),'/40463.html','true',[],''],
	['PAGE','40688',jdecode('Bilder_1%2F10'),jdecode(''),'/40688.html','true',[],''],
	['PAGE','40745',jdecode('Penionsbilder'),jdecode(''),'/40745.html','true',[],''],
	['PAGE','40491',jdecode('Bilder'),jdecode(''),'/40491.html','false',[],''],
	['PAGE','40503',jdecode('Anfahrt'),jdecode(''),'/40503.html','true',[],''],
	['PAGE','40524',jdecode('Unsere+Umgebung'),jdecode(''),'/40524.html','true',[],''],
	['PAGE','40542',jdecode('Links'),jdecode(''),'/40542.html','true',[],''],
	['PAGE','40551',jdecode('Kontakt'),jdecode(''),'/40551.html','true',[],''],
	['PAGE','40650',jdecode('G%C3%A4stebuch'),jdecode(''),'/40650/home.html','true',[ 
		['PAGE','40649',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40650/40649.html','true',[],'']
	],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Saeule';
theSitetree.paletteFamily='FEFDFD';
theSitetree.keyvisualId='10853';
theSitetree.keyvisualName='kv_10853.jpg';
theSitetree.fontsetId='31862';
theSitetree.graphicsetId='13663';
theSitetree.contentColor='353434';
theSitetree.contentBGColor='FEFDFD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Saeule',
				paletteFamily: 	'FEFDFD',
				keyvisualId: 	'10853',
				keyvisualName: 	'kv_10853.jpg',
				fontsetId: 		'31862',
				graphicsetId: 	'13663',
				contentColor: 	'353434',
				contentBGColor: 'FEFDFD',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100609-103505'
};
webappMappings['1007']=webappMappings['1007-11df73f15b0']={
webappId:    '1007',
documentId:  '40491',
internalId:  '11df73f15b0',
customField: 'g.13nrjglm1.9gj5jdl6h.1s'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40503',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40503',
internalId:  '',
customField: '20100720-140827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40491',
internalId:  '',
customField: '20090427-213052'
};
webappMappings['1002']=webappMappings['1002-40650atoix0irjsei']={
webappId:    '1002',
documentId:  '40649',
internalId:  '40650atoix0irjsei',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40463',
internalId:  '',
customField: '20100613-152220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40542',
internalId:  '',
customField: '20100613-151952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40551',
internalId:  '',
customField: '20110225-083152'
};
webappMappings['1002']=webappMappings['1002-40650atoix0irjsei']={
webappId:    '1002',
documentId:  '40650',
internalId:  '40650atoix0irjsei',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40524',
internalId:  '',
customField: '20100613-151840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40650',
internalId:  '',
customField: '20090609-152941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40649',
internalId:  '',
customField: '20090609-152941'
};
webappMappings['1007']=webappMappings['1007-129178a1d7a']={
webappId:    '1007',
documentId:  '40688',
internalId:  '129178a1d7a',
customField: 'g.154bo8t7m.gueofakb5c.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40688',
internalId:  '',
customField: '20100615-093337'
};
webappMappings['1007']=webappMappings['1007-1292cea7cb2']={
webappId:    '1007',
documentId:  '40745',
internalId:  '1292cea7cb2',
customField: 'g.154mef9ve.a9talisaoq.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40745',
internalId:  '',
customField: '20100721-173742'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRJSEI';
var companyName   = 'Pension+Linsel+in+Ebeleben';
var htmlTitle	  = 'Pension+Linsel+in+Ebeleben';
var metaKeywords  = 'Pension%2C+Hotel%2C+Zimmervermietung%2C+%C3%9Cbernachtung%2C+Fr%C3%BChst%C3%BCck%2C+Grillabend%2C+Kochen%2C+Trinken%2C+Essen%2C+Schlafen%2C+Urlaub%2C+Wohnen%2C+Mieten%2C+Doppelzimmer%2C+Einzelzimmel%2C+Parkplatz%2C+Grill%2C+Grillecke%2C+Partyraum%2C+K%C3%BChlschrank%2C+Linsel%2C+Ebeleben%2C+Th%C3%BCringen%2C+Sondershausen%2C+Gundersleben%2C+Almenhausen%2C+Rockstedt%2C+Wiedermuth%2C+Toba%2C+Rockensu%C3%9Fra%2C+Schlotheim%2C+Billenben%2C';
var metaContents  = 'Wilkommen+auf+der+Seite+der+Pension+Linsel.++';
					                                                                    
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 */					                                                            

