/* [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','40967',jdecode('Home'),jdecode(''),'/40967/home.html','true',[ 
		['PAGE','41167',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/40967/41167.html','true',[],'']
	],''],
	['PAGE','41176',jdecode('Speisekarten'),jdecode(''),'/41176.html','true',[],''],
	['PAGE','41185',jdecode('Getr%C3%A4nkekarten'),jdecode(''),'/41185.html','true',[],''],
	['PAGE','40996',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40996.html','true',[],''],
	['PAGE','41014',jdecode('Unser+Service'),jdecode(''),'/41014/home.html','true',[ 
		['PAGE','42265',jdecode('Unsere+R%C3%A4ume'),jdecode(''),'/41014/42265.html','true',[],''],
		['PAGE','42274',jdecode('Kaltes+Buffet+auch+au%C3%9Fer+Haus'),jdecode(''),'/41014/42274.html','true',[],'']
	],''],
	['PAGE','43416',jdecode('Bildergalerie'),jdecode(''),'/43416.html','true',[],''],
	['PAGE','41023',jdecode('Kontakt'),jdecode(''),'/41023.html','true',[],''],
	['PAGE','41079',jdecode('G%C3%A4stebuch'),jdecode(''),'/41079/home.html','true',[ 
		['PAGE','41078',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41079/41078.html','true',[],'']
	],''],
	['PAGE','41097',jdecode('Anfahrt'),jdecode(''),'/41097.html','true',[],''],
	['PAGE','41032',jdecode('Impressum'),jdecode(''),'/41032.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B5D3B5';
theSitetree.keyvisualId='1963';
theSitetree.keyvisualName='blumen.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='384';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'B5D3B5',
				keyvisualId: 	'1963',
				keyvisualName: 	'blumen.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'384',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'B5D3B5',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-41079atoix0i7oqa0']={
webappId:    '1002',
documentId:  '41079',
internalId:  '41079atoix0i7oqa0',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41079atoix0i7oqa0']={
webappId:    '1002',
documentId:  '41078',
internalId:  '41079atoix0i7oqa0',
customField: 'action=list'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41097',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-19893906']={
webappId:    '1008',
documentId:  '41023',
internalId:  '19893906',
customField: 'de:DE:'
};
webappMappings['1008']=webappMappings['1008-19894083']={
webappId:    '1008',
documentId:  '41014',
internalId:  '19894083',
customField: 'de:DE:'
};
webappMappings['1008']=webappMappings['1008-20314592']={
webappId:    '1008',
documentId:  '41176',
internalId:  '20314592',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20090219-003813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41032',
internalId:  '',
customField: '20090218-232544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41167',
internalId:  '',
customField: '20090219-003709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41014',
internalId:  '',
customField: '20090320-020443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42265',
internalId:  '',
customField: '20090219-002922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42274',
internalId:  '',
customField: '20090320-020121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43416',
internalId:  '',
customField: '20090320-022606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41176',
internalId:  '',
customField: '20090320-012343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40996',
internalId:  '',
customField: '20060911-171105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41185',
internalId:  '',
customField: '20090320-012318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41023',
internalId:  '',
customField: '20090320-020512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41079',
internalId:  '',
customField: '20060824-102551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41078',
internalId:  '',
customField: '20060824-102551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41097',
internalId:  '',
customField: '20060824-103732'
};
webappMappings['1007']=webappMappings['1007-12021af3e71']={
webappId:    '1007',
documentId:  '43416',
internalId:  '12021af3e71',
customField: 'g.140gqlh2t.q31778m7sl.1s'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7OQA0';
var companyName   = 'Herzlich+Wilkommen';
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 */					                                                            
