/* [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','13701',jdecode('Home'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','69101',jdecode('Pfannkuchen%3F'),jdecode(''),'/69101.html','true',[],''],
	['PAGE','64401',jdecode('Feiern+u.+Feste'),jdecode(''),'/64401.html','true',[],''],
	['PAGE','63101',jdecode('Bilder'),jdecode(''),'/63101.html','true',[],''],
	['PAGE','13707',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/13707.html','true',[],''],
	['PAGE','59501',jdecode('Weinstube'),jdecode(''),'/59501.html','true',[],''],
	['PAGE','13717',jdecode('Speisekarte'),jdecode(''),'/13717.html','true',[],''],
	['PAGE','13727',jdecode('Reservierung'),jdecode(''),'/13727/home.html','true',[ 
		['PAGE','22202',jdecode('Unser+Service+%28Folgeseite%29'),jdecode(''),'/13727/22202.html','true',[],'']
	],''],
	['PAGE','57401',jdecode('London-Taxi'),jdecode(''),'/57401/home.html','true',[ 
		['PAGE','67601',jdecode('Bilder'),jdecode(''),'/57401/67601.html','true',[],'']
	],''],
	['PAGE','22002',jdecode('Anfahrt'),jdecode(''),'/22002.html','true',[],''],
	['PAGE','13752',jdecode('Impressum'),jdecode(''),'/13752.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='936251';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10450';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='936251';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Akropolis',
				paletteFamily: 	'936251',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10450',
				contentColor: 	'FFFFFF',
				contentBGColor: '936251',
				a_color: 		'936251',
				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:  '13701',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '22002',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0ineagr101c480fc23']={
webappId:    '1001',
documentId:  '13727',
internalId:  'atoix0ineagr101c480fc23',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0ineagr101c480fc23']={
webappId:    '1001',
documentId:  '22202',
internalId:  'atoix0ineagr101c480fc23',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69101',
internalId:  '',
customField: '20100515-212845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20100722-205611'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '22002',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13752',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13727',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13717',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13707',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13701',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67601',
internalId:  '',
customField: '20090919-163558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13717',
internalId:  '',
customField: '20100109-124113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13707',
internalId:  '',
customField: '20100722-205854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59501',
internalId:  '',
customField: '20100109-124012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13727',
internalId:  '',
customField: '20070128-185555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22202',
internalId:  '',
customField: '20050130-174302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57401',
internalId:  '',
customField: '20090919-163451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22002',
internalId:  '',
customField: '20081225-162105'
};
webappMappings['7060']=webappMappings['7060-c9efdfa585b45331022b9e1ab0004b7e']={
webappId:    '7060',
documentId:  '67601',
internalId:  'c9efdfa585b45331022b9e1ab0004b7e',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13752',
internalId:  '',
customField: '20070111-211046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64401',
internalId:  '',
customField: '20100722-205805'
};
webappMappings['1007']=webappMappings['1007-11012842c02']={
webappId:    '1007',
documentId:  '63101',
internalId:  '11012842c02',
customField: 'g.12097n60a.5a5drn5thi.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63101',
internalId:  '',
customField: '20081225-160640'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0INEAGR';
var companyName   = 'Pfannkuchenhaus+an+der+Lahn+%22Altes+Eishaus%22';
var htmlTitle	  = 'Pfannkuchenhaus+Gie%C3%9Fen+%22Altes+Eishaus%22+direkt+an+der+Lahn';
var metaKeywords  = 'Gie%C3%9Fen%2C+antik%2C+Pfannkuchen%2C+Eierkuchen%2C+Pfannkuchenhaus%2C+Giessen%2C+Restaurant%2C+Gaststaette%2C+Lahn%2C+romantisch%2C+stimmungsvoll%2C+Kamin%2C+Weinstube%2C+deutscher+Wein%2C+Eishaus%2C+Radfahrer%2C+Wanderer%2C+Ausflug%2C+Bootsfahrer%2C+Weinhaus%2C+Weinspezialist%2C+Feiern%2C+Feierlichkeiten%2C+Feste%2C+antike+Einrichtung';
var metaContents  = 'Das+Pfannkuchenhaus+Altes+Eishaus+in+Gie%C3%9Fen+fuehrt+Sie+durch+sein+antikes+Ambiente+der+vorletzten+Jahrhundertwende.+Vielseitige+Leckereien+um+den+Pfannkuchen+und+den+deutschen+Wein%21+Romantische+Ausstattung%2C+offener+Kamin%2C+grosser+Biergarten%2C';
					                                                                    
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 */					                                                            

