/* [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','40949',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/40949.html','true',[],''],
	['PAGE','41739',jdecode('Termine'),jdecode(''),'/41739.html','true',[],''],
	['PAGE','40985',jdecode('Speisekarte'),jdecode(''),'/40985/home.html','true',[ 
		['PAGE','40994',jdecode('unser+Imbissprogramm'),jdecode(''),'/40985/40994.html','true',[],''],
		['PAGE','41003',jdecode('Gerichte'),jdecode(''),'/40985/41003.html','true',[],''],
		['PAGE','41568',jdecode('Salate-belegte+Brote'),jdecode(''),'/40985/41568.html','true',[],''],
		['PAGE','83601',jdecode('Omeletten'),jdecode(''),'/40985/83601.html','true',[],''],
		['PAGE','41577',jdecode('Schnitzel-Beilagen'),jdecode(''),'/40985/41577.html','true',[],''],
		['PAGE','41595',jdecode('Gegrilltes'),jdecode(''),'/40985/41595.html','true',[],''],
		['PAGE','41604',jdecode('Toastgerichte-Suppen'),jdecode(''),'/40985/41604.html','true',[],''],
		['PAGE','41613',jdecode('Steaks+vom+Schwein'),jdecode(''),'/40985/41613.html','true',[],''],
		['PAGE','44601',jdecode('Saisongerichte'),jdecode(''),'/40985/44601.html','true',[],'']
	],''],
	['PAGE','40976',jdecode('Getr%C3%A4nkekarte'),jdecode(''),'/40976.html','true',[],''],
	['PAGE','41826',jdecode('Fu%C3%9Fball'),jdecode(''),'/41826.html','true',[],''],
	['PAGE','41030',jdecode('Kontakt'),jdecode(''),'/41030.html','true',[],''],
	['PAGE','41540',jdecode('Anfahrt'),jdecode(''),'/41540.html','true',[],''],
	['PAGE','63701',jdecode('Bilder'),jdecode(''),'/63701/home.html','true',[ 
		['PAGE','41681',jdecode('Bilder+von+der+%22Kay%C3%BCte%22'),jdecode(''),'/63701/41681.html','true',[],''],
		['PAGE','63001',jdecode('Brauereibesichtigung'),jdecode(''),'/63701/63001.html','true',[],'']
	],''],
	['PAGE','43778',jdecode('G%C3%A4stebuch'),jdecode(''),'/43778/home.html','true',[ 
		['PAGE','43777',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43778/43777.html','true',[],'']
	],''],
	['PAGE','71501',jdecode('Test'),jdecode(''),'/71501.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='650D0D';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17859';
theSitetree.graphicsetId='12984';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='9D6464';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'650D0D',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17859',
				graphicsetId: 	'12984',
				contentColor: 	'FFFFFF',
				contentBGColor: '9D6464',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'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: '20110223-164254'
};
webappMappings['1007']=webappMappings['1007-125cb804084']={
webappId:    '1007',
documentId:  '41681',
internalId:  '125cb804084',
customField: 'g.14n5ngr75.fkevs66fdb.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41681',
internalId:  '',
customField: '20091226-192715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41568',
internalId:  '',
customField: '20120121-215858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40949',
internalId:  '',
customField: '20120121-220754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20120117-214736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40985',
internalId:  '',
customField: '20100104-194807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40994',
internalId:  '',
customField: '20120117-211523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20120117-215535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44601',
internalId:  '',
customField: '20110912-194020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41577',
internalId:  '',
customField: '20120121-222534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20110620-174736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41595',
internalId:  '',
customField: '20120121-154717'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41540',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41540',
internalId:  '',
customField: '20091225-134646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83601',
internalId:  '',
customField: '20120121-222411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71501',
internalId:  '',
customField: '20110719-162252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41604',
internalId:  '',
customField: '20120117-221347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41613',
internalId:  '',
customField: '20120117-221420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41739',
internalId:  '',
customField: '20120130-120959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41826',
internalId:  '',
customField: '20120206-132113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63001',
internalId:  '',
customField: '20110606-155622'
};
webappMappings['1007']=webappMappings['1007-130653420fb']={
webappId:    '1007',
documentId:  '63001',
internalId:  '130653420fb',
customField: 'g.161iivigt.200i40bq9r.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43778',
internalId:  '',
customField: '20100103-215006'
};
webappMappings['1002']=webappMappings['1002-43778atoix0iri2l5']={
webappId:    '1002',
documentId:  '43777',
internalId:  '43778atoix0iri2l5',
customField: 'action=list'
};
webappMappings['1002']=webappMappings['1002-43778atoix0iri2l5']={
webappId:    '1002',
documentId:  '43778',
internalId:  '43778atoix0iri2l5',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43777',
internalId:  '',
customField: '20100103-215006'
};
webappMappings['7060']=webappMappings['7060-8ecadde460605cf460572076234e941d']={
webappId:    '7060',
documentId:  '71501',
internalId:  '8ecadde460605cf460572076234e941d',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63701',
internalId:  '',
customField: '20111024-192132'
};
webappMappings['1008']=webappMappings['1008-74252951']={
webappId:    '1008',
documentId:  '41826',
internalId:  '74252951',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRI2L5';
var companyName   = 'die+%22Kay%C3%BCte%22+im+Herzen+von+Bad+Meinberg';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

