/* [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','44',jdecode('Eittinger+Fischerbr%C3%A4u'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41273',jdecode('Aktuelle+Termine'),jdecode(''),'/41273.html','true',[],''],
	['PAGE','41300',jdecode('Geschichte'),jdecode(''),'/41300.html','true',[],''],
	['PAGE','41327',jdecode('Getr%C3%A4nkeangebot'),jdecode(''),'/41327/home.html','true',[ 
		['PAGE','41568',jdecode('Erfrischungsgetr%C3%A4nke'),jdecode(''),'/41327/41568.html','true',[],''],
		['PAGE','42467',jdecode('Cola+%2F+Mineralwasser'),jdecode(''),'/41327/42467.html','true',[],''],
		['PAGE','41577',jdecode('Fremd+-+Biere'),jdecode(''),'/41327/41577.html','true',[],'']
	],''],
	['PAGE','41309',jdecode('Bierherstellung'),jdecode(''),'/41309.html','true',[],''],
	['PAGE','42200',jdecode('Leistungspr%C3%A4mien'),jdecode(''),'/42200.html','true',[],''],
	['PAGE','41336',jdecode('Unser+Br%C3%A4ust%C3%BCberl'),jdecode(''),'/41336/home.html','true',[ 
		['PAGE','43027',jdecode('Unsere+Speisekarte'),jdecode(''),'/41336/43027.html','true',[],'']
	],''],
	['PAGE','41599',jdecode('Gastst%C3%A4tten'),jdecode(''),'/41599.html','true',[],''],
	['PAGE','41282',jdecode('Heimdienst'),jdecode(''),'/41282.html','true',[],''],
	['PAGE','41264',jdecode('Getr%C3%A4nkem%C3%A4rkte'),jdecode(''),'/41264/home.html','true',[ 
		['PAGE','43445',jdecode('Getr%C3%A4nkem%C3%A4rkte+2'),jdecode(''),'/41264/43445.html','true',[],'']
	],''],
	['PAGE','41291',jdecode('Impressum+%2F+Kontakt'),jdecode(''),'/41291/home.html','true',[ 
		['PAGE','42882',jdecode('Impressum+%2F+Kontakt+%28Folgeseite%29'),jdecode(''),'/41291/42882.html','false',[],'']
	],''],
	['PAGE','42143',jdecode('Anfahrt'),jdecode(''),'/42143.html','true',[],''],
	['PAGE','43513',jdecode('G%C3%A4stebuch'),jdecode(''),'/43513/home.html','true',[ 
		['PAGE','43512',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43513/43512.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Evident';
theSitetree.paletteFamily='4C7D51';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10433';
theSitetree.graphicsetId='10775';
theSitetree.contentColor='1F4D23';
theSitetree.contentBGColor='F9F9D6';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Evident',
				paletteFamily: 	'4C7D51',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10433',
				graphicsetId: 	'10775',
				contentColor: 	'1F4D23',
				contentBGColor: 'F9F9D6',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'4C7C50',
				e_color: 		'1F4D23',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42143',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0i7wmkl10bcd9fe7bf']={
webappId:    '1001',
documentId:  '41291',
internalId:  'atoix0i7wmkl10bcd9fe7bf',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0i7wmkl10bcd9fe7bf']={
webappId:    '1001',
documentId:  '42882',
internalId:  'atoix0i7wmkl10bcd9fe7bf',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100428-125019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42143',
internalId:  '',
customField: '20070117-214207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43445',
internalId:  '',
customField: '20091009-101145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41300',
internalId:  '',
customField: '20091015-104235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41327',
internalId:  '',
customField: '20110722-110709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41568',
internalId:  '',
customField: '20110722-112520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42467',
internalId:  '',
customField: '20110722-112032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41577',
internalId:  '',
customField: '20110722-113005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20091015-104534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42200',
internalId:  '',
customField: '20120124-100535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41336',
internalId:  '',
customField: '20101012-105646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41599',
internalId:  '',
customField: '20110904-103755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41273',
internalId:  '',
customField: '20120206-182441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41282',
internalId:  '',
customField: '20110722-111115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41264',
internalId:  '',
customField: '20110721-104135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41291',
internalId:  '',
customField: '20101012-104919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42882',
internalId:  '',
customField: '20060613-154117'
};
webappMappings['1002']=webappMappings['1002-43513atoix0i7wmkl']={
webappId:    '1002',
documentId:  '43513',
internalId:  '43513atoix0i7wmkl',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43027',
internalId:  '',
customField: '20120206-182553'
};
webappMappings['1002']=webappMappings['1002-43513atoix0i7wmkl']={
webappId:    '1002',
documentId:  '43512',
internalId:  '43513atoix0i7wmkl',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43513',
internalId:  '',
customField: '20070120-214928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43512',
internalId:  '',
customField: '20070120-214928'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7WMKL';
var companyName   = 'Eittinger+Fischer+Br%C3%A4u++';
var htmlTitle	  = 'Eittinger+Fischer+Br%C3%A4u';
var metaKeywords  = 'Eitting+Fischer+Br%C3%A4u+Bier+Spezialit%C3%A4ten+Wei%C3%9Fbier+Weisse+Hell+Dunkel+Brauerei';
var metaContents  = '+Eittinger+Fischer+Br%C3%A4u%2C+Bierspezialit%C3%A4ten+aus+dem+Erdinger+Moos';
					                                                                    
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 */					                                                            

