/* [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('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41265',jdecode('Anreise'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41274',jdecode('Unser+Hotel'),jdecode(''),'/41274/home.html','true',[ 
		['PAGE','41283',jdecode('die+Zimmer'),jdecode(''),'/41274/41283.html','true',[],''],
		['PAGE','41292',jdecode('Restaurant'),jdecode(''),'/41274/41292.html','true',[],''],
		['PAGE','41301',jdecode('Service'),jdecode(''),'/41274/41301.html','true',[],'']
	],''],
	['PAGE','73801',jdecode('Pizzeria+au%C3%9Fer+Haus+Karte'),jdecode(''),'/73801.html','true',[],''],
	['PAGE','41310',jdecode('unsere+Umgebung'),jdecode(''),'/41310.html','true',[],''],
	['PAGE','45201',jdecode('unsere+Umgebung+bis+120+km'),jdecode(''),'/45201.html','true',[],''],
	['PAGE','44822',jdecode('Freizeit+%2B++Fitness+'),jdecode(''),'/44822.html','true',[],''],
	['PAGE','48101',jdecode('Wellness'),jdecode(''),'/48101.html','true',[],''],
	['PAGE','41328',jdecode('G%C3%A4stezimmer++Preis+%26+Leistung+'),jdecode(''),'/41328.html','true',[],''],
	['PAGE','41396',jdecode('Anfahrt'),jdecode(''),'/41396.html','true',[],''],
	['PAGE','41612',jdecode('G%C3%A4stebuch'),jdecode(''),'/41612/home.html','true',[ 
		['PAGE','41611',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41612/41611.html','true',[],'']
	],''],
	['PAGE','41319',jdecode('Partner+Links'),jdecode(''),'/41319.html','true',[],''],
	['PAGE','42451',jdecode('NEU%21+Petros+Ideenschmiede'),jdecode(''),'/42451.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Collage';
theSitetree.paletteFamily='F9C116';
theSitetree.keyvisualId='2441';
theSitetree.keyvisualName='bar.jpg';
theSitetree.fontsetId='405';
theSitetree.graphicsetId='459';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Collage',
				paletteFamily: 	'F9C116',
				keyvisualId: 	'2441',
				keyvisualName: 	'bar.jpg',
				fontsetId: 		'405',
				graphicsetId: 	'459',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'F9C116',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41396',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-9864935']={
webappId:    '1501',
documentId:  '44',
internalId:  '9864935',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-41612atoix0i7mg6h']={
webappId:    '1002',
documentId:  '41612',
internalId:  '41612atoix0i7mg6h',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41612atoix0i7mg6h']={
webappId:    '1002',
documentId:  '41611',
internalId:  '41612atoix0i7mg6h',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110214-184500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41612',
internalId:  '',
customField: '20060312-155307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41611',
internalId:  '',
customField: '20100111-223627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20100111-223652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41396',
internalId:  '',
customField: '20100111-223316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48101',
internalId:  '',
customField: '20080318-015316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44822',
internalId:  '',
customField: '20100111-223844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20080319-222422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20080904-142019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20110214-182054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20080319-225533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41301',
internalId:  '',
customField: '20100119-200817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20080318-013308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45201',
internalId:  '',
customField: '20080326-231256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41328',
internalId:  '',
customField: '20110214-184026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42451',
internalId:  '',
customField: '20100308-225143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73801',
internalId:  '',
customField: '20090330-181608'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7MG6H';
var companyName   = 'Essen%2BTrinken+wie+bei+guten+Freunden';
var htmlTitle	  = 'Restaurant%2C+%C3%9Cbernachtungszimmer+und+G%C3%A4stehaus%2CMoteurzimmer%2CMonteurwohnung%2CPrivatpension';
var metaKeywords  = 'il+Porto%2C+Ristorante%2C+Restaurant%2C+Gasthaus%2C+G%C3%A4stehaus%2C+Bed++Brekfest%2C+%C3%9Cbernachtung+in+Privatpension%2CFerienappartment%2C+Monteurzimmer%2C+Monteurwohnung%2C+Familienfeiern%2CTAGUNGEN%2C+Bed++Bike%2C+Deutsche++italienische+K%C3%BCche%2C+Norddeutsche+K%C3%BCche%2C+PIZZA%2C+Pasta%2C+Antipasti%2C+Fleisch%2C+Fischspezialit%C3%A4ten';
var metaContents  = 'Willkommen+bei+Ihrem+Gastwirt+des+Vertrauens%2C+Petro+und+die+Crew+vom+il+Porto%2C++der+Pizzahafen+in+Hamb%C3%BChren%3B+Ihr+Spezialist+fuer+exklusiven+Gaumenschmaus%3B+Das+familier+gef%C3%BChrte+Hotel+liegt+am+Rand+der+L%C3%BCneburger+Heide+in+der+N%C3%A4he+von+Celle.';
					                                                                    
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 */					                                                            

