/* [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('Startseite'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','36901',jdecode('Unser+Haus'),jdecode(''),'/36901.html','true',[],''],
	['PAGE','24901',jdecode('Die+Zimmer'),jdecode(''),'/24901.html','true',[],''],
	['PAGE','48001',jdecode('Wellnessangebote'),jdecode(''),'/48001.html','true',[],''],
	['PAGE','49701',jdecode('Geschenke+zum+Aufessen'),jdecode(''),'/49701.html','true',[],''],
	['PAGE','38001',jdecode('Unser+Partyservice'),jdecode(''),'/38001.html','true',[],''],
	['PAGE','37801',jdecode('Anfahrt'),jdecode(''),'/37801.html','true',[],''],
	['PAGE','45806',jdecode('G%C3%A4stebuch'),jdecode(''),'/45806/home.html','true',[ 
		['PAGE','45801',jdecode('Eintr%C3%A4ge'),jdecode(''),'/45806/45801.html','true',[],'']
	],''],
	['PAGE','43901',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/43901.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Cater';
theSitetree.paletteFamily='F8D09B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10581';
theSitetree.graphicsetId='10963';
theSitetree.contentColor='751919';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cater',
				paletteFamily: 	'F8D09B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10581',
				graphicsetId: 	'10963',
				contentColor: 	'751919',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'B38C58',
				e_color: 		'B38C58',
				f_color: 		'B38C58',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48001',
internalId:  '',
customField: '20110203-131418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49701',
internalId:  '',
customField: '20110203-132455'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45806',
internalId:  '',
customField: '20071129-020747'
};
webappMappings['1002']=webappMappings['1002-45806atoix0in2my7']={
webappId:    '1002',
documentId:  '45801',
internalId:  '45806atoix0in2my7',
customField: 'action=list'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '37801',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45801',
internalId:  '',
customField: '20071129-020747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110203-133838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36901',
internalId:  '',
customField: '20100422-151535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24901',
internalId:  '',
customField: '20110203-131050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38001',
internalId:  '',
customField: '20110203-131526'
};
webappMappings['1002']=webappMappings['1002-45806atoix0in2my7']={
webappId:    '1002',
documentId:  '45806',
internalId:  '45806atoix0in2my7',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37801',
internalId:  '',
customField: '20060830-213405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43901',
internalId:  '',
customField: '20100422-153648'
};
webappMappings['1008']=webappMappings['1008-35906192']={
webappId:    '1008',
documentId:  '43901',
internalId:  '35906192',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1501']=webappMappings['1501-40004454']={
webappId:    '1501',
documentId:  '4579',
internalId:  '40004454',
customField: '1501'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2MY7';
var companyName   = 'Landgasthof+und+Pension+Schmidt';
var htmlTitle	  = 'Landgasthof++und+Pension+Schmidt+%2C+Ruppersdorf';
var metaKeywords  = 'Landgasthof%2CRestaurant%2CGastst%C3%A4tte%2C+Gasthof%2C+Essen%2C+Trinken%2C+Pension%2C+%C3%9Cbernachten%2C+Partyservice%2C+Ruppersdorf%2C+Remptendorf%2C+Tourismus%2C+Th%C3%BCringen%2C+J%C3%A4ger%2CWandern%2CWellness%2C+Wildwurst%2C+Marmelade';
var metaContents  = '+Wildgerichte++und+Th%C3%BCringer+Kl%C3%B6%C3%9Fe+%2C+Partyservice+%2C+Pension+f%C3%BCr+Wanderer%2C+Jagdg%C3%A4ste%2CWellness';
					                                                                    
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 */					                                                            

