/* [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','41389',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41389/home.html','true',[ 
		['PAGE','41398',jdecode('Unser+Team'),jdecode(''),'/41389/41398.html','true',[],'']
	],''],
	['PAGE','41975',jdecode('Bildergalerien'),jdecode(''),'/41975/home.html','true',[ 
		['PAGE','42106',jdecode('Evis+Leckereien'),jdecode(''),'/41975/42106.html','true',[],''],
		['PAGE','42118',jdecode('Jubil%C3%A4um+2009'),jdecode(''),'/41975/42118.html','true',[],''],
		['PAGE','42130',jdecode('Einblicke'),jdecode(''),'/41975/42130.html','true',[],'']
	],''],
	['PAGE','41431',jdecode('Unser+Angebot'),jdecode(''),'/41431.html','true',[],''],
	['PAGE','41575',jdecode('Kontakt'),jdecode(''),'/41575.html','true',[],''],
	['PAGE','41349',jdecode('G%C3%A4stebuch'),jdecode(''),'/41349/home.html','true',[ 
		['PAGE','41348',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41349/41348.html','true',[],'']
	],''],
	['PAGE','41367',jdecode('Anfahrt'),jdecode(''),'/41367.html','true',[],''],
	['PAGE','41780',jdecode('Links+%26+Downloads'),jdecode(''),'/41780.html','true',[],''],
	['PAGE','41422',jdecode('Impressum'),jdecode(''),'/41422.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Comedy';
theSitetree.paletteFamily='D34848';
theSitetree.keyvisualId='2793';
theSitetree.keyvisualName='tasse.jpg';
theSitetree.fontsetId='10601';
theSitetree.graphicsetId='10721';
theSitetree.contentColor='FAEBEB';
theSitetree.contentBGColor='DB6A6A';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Comedy',
				paletteFamily: 	'D34848',
				keyvisualId: 	'2793',
				keyvisualName: 	'tasse.jpg',
				fontsetId: 		'10601',
				graphicsetId: 	'10721',
				contentColor: 	'FAEBEB',
				contentBGColor: 'DB6A6A',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'BC2E2E',
				e_color: 		'BC2E2E',
				f_color: 		'BC2E2E',
				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['1002']=webappMappings['1002-41349atoix0ir1a2x']={
webappId:    '1002',
documentId:  '41349',
internalId:  '41349atoix0ir1a2x',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41349atoix0ir1a2x']={
webappId:    '1002',
documentId:  '41348',
internalId:  '41349atoix0ir1a2x',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100213-212342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41349',
internalId:  '',
customField: '20080114-150310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41348',
internalId:  '',
customField: '20080114-150310'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41367',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41367',
internalId:  '',
customField: '20080212-082747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41422',
internalId:  '',
customField: '20080306-164223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41389',
internalId:  '',
customField: '20080304-130006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41398',
internalId:  '',
customField: '20100213-184829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41431',
internalId:  '',
customField: '20080218-130224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42106',
internalId:  '',
customField: '20100213-214407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41575',
internalId:  '',
customField: '20080222-154441'
};
webappMappings['1008']=webappMappings['1008-44732652']={
webappId:    '1008',
documentId:  '41575',
internalId:  '44732652',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42118',
internalId:  '',
customField: '20100213-214437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41975',
internalId:  '',
customField: '20100213-214335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41780',
internalId:  '',
customField: '20100213-220203'
};
webappMappings['1007']=webappMappings['1007-126c904799a']={
webappId:    '1007',
documentId:  '42106',
internalId:  '126c904799a',
customField: 'g.14r4g1ft9.k6vars1vi0.1s'
};
webappMappings['1007']=webappMappings['1007-126c908c64c']={
webappId:    '1007',
documentId:  '42118',
internalId:  '126c908c64c',
customField: 'g.14r4gc7u2.3sfb5omo1bu.1s'
};
webappMappings['1007']=webappMappings['1007-126c90c3930']={
webappId:    '1007',
documentId:  '42130',
internalId:  '126c90c3930',
customField: 'g.14r4gis3s.82br8t7ikak.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42130',
internalId:  '',
customField: '20100213-214507'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0IR1A2X';
var companyName   = 'Evis+KuchenEck';
var htmlTitle	  = 'Evis+KucheEck';
var metaKeywords  = 'Bestellen+sie+%C3%BCber+unsere+Homepage+ihre+gew%C3%BCnschten+Leckereien+f%C3%BCr+ihren+festlichen+Anla%C3%9F+oder+besser+noch........Besuchen+sie+uns+doch+einfach+in+K%C3%B6nigsbronn+und+probieren+unsere+hausgemachten+Kuchen+und+Torten+bei+einer+Tasse+Seeberger+Kaffee.';
var metaContents  = 'Willkommen+bei+eviskucheneck.dehier+erfahren+sie+alles+%C3%BCber+unser+neues+Wochenend-Caf%C3%A9+in+K%C3%B6nigsbronn.';
					                                                                    
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 */					                                                            
