/* [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('Gasthaus+Rose'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41265',jdecode('Hotel+'),jdecode(''),'/41265/home.html','true',[ 
		['PAGE','42422',jdecode('Blick+ins+G%C3%A4stezimmer'),jdecode(''),'/41265/42422.html','true',[],''],
		['PAGE','42495',jdecode('Die+Familien-Suite'),jdecode(''),'/41265/42495.html','true',[],''],
		['PAGE','41283',jdecode('Preis+%26+Leistung'),jdecode(''),'/41265/41283.html','true',[],''],
		['PAGE','41292',jdecode('Kontakt'),jdecode(''),'/41265/41292.html','true',[],'']
	],''],
	['PAGE','55806',jdecode('Hotelbewertungen'),jdecode(''),'/55806/home.html','true',[ 
		['PAGE','55801',jdecode('Eintr%C3%A4ge'),jdecode(''),'/55806/55801.html','true',[],'']
	],''],
	['PAGE','41274',jdecode('Restaurant'),jdecode(''),'/41274/home.html','true',[ 
		['PAGE','41328',jdecode('Speisenkarte'),jdecode(''),'/41274/41328.html','true',[],''],
		['PAGE','42431',jdecode('Feste+Feiern'),jdecode(''),'/41274/42431.html','true',[],'']
	],''],
	['PAGE','42569',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/42569.html','true',[],''],
	['PAGE','41319',jdecode('Das+Team+vom+Gasthaus+Rose'),jdecode(''),'/41319.html','true',[],''],
	['PAGE','41805',jdecode('Allensbach+hat%C2%B4s'),jdecode(''),'/41805/home.html','true',[ 
		['PAGE','42440',jdecode('Ausflugstipps'),jdecode(''),'/41805/42440.html','true',[],''],
		['PAGE','42449',jdecode('Bodensee-Links'),jdecode(''),'/41805/42449.html','true',[],'']
	],''],
	['PAGE','42462',jdecode('Impressum'),jdecode(''),'/42462.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Wellen';
theSitetree.paletteFamily='CECECE';
theSitetree.keyvisualId='10992';
theSitetree.keyvisualName='kv_10992.jpg';
theSitetree.fontsetId='31926';
theSitetree.graphicsetId='13745';
theSitetree.contentColor='303031';
theSitetree.contentBGColor='CECECE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Wellen',
				paletteFamily: 	'CECECE',
				keyvisualId: 	'10992',
				keyvisualName: 	'kv_10992.jpg',
				fontsetId: 		'31926',
				graphicsetId: 	'13745',
				contentColor: 	'303031',
				contentBGColor: 'CECECE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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['7091']=webappMappings['7091-64913']={
webappId:    '7091',
documentId:  '55806',
internalId:  '64913',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120128-091614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41805',
internalId:  '',
customField: '20090511-083431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20100624-165248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20110605-130928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20120121-121549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20090127-075031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41328',
internalId:  '',
customField: '20110718-074515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20110718-075427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42422',
internalId:  '',
customField: '20100712-082007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42495',
internalId:  '',
customField: '20080218-085308'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '42569',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42569',
internalId:  '',
customField: '20070730-212257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42440',
internalId:  '',
customField: '20110718-081854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55806',
internalId:  '',
customField: '20120202-183658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42431',
internalId:  '',
customField: '20110807-083232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42449',
internalId:  '',
customField: '20100804-165749'
};
webappMappings['1002']=webappMappings['1002-55806atoix0i7tpo3']={
webappId:    '1002',
documentId:  '55806',
internalId:  '55806atoix0i7tpo3',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42462',
internalId:  '',
customField: '20101127-200957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55801',
internalId:  '',
customField: '20111113-102758'
};
webappMappings['1002']=webappMappings['1002-55806atoix0i7tpo3']={
webappId:    '1002',
documentId:  '55801',
internalId:  '55806atoix0i7tpo3',
customField: 'action=list'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7TPO3';
var companyName   = 'Hotel***+Haus+Rose+Komforthotel+-+Restaurant';
var htmlTitle	  = 'Hotel+Caf%C3%A9+Restaurant+Haus+Rose+Allensbach+am+Bodensee';
var metaKeywords  = 'Hotel%2C+G%C3%A4stezimmer%2C+Ferien%2C+Bodensee%2C+Caf%C3%A9%2C+Restaurant%2C+regionale+badische+K%C3%BCche%2C+lecker+Essen%2C+Urlaub%2C+Haus+Rose%2C+Erholung%2C+Frische%2C+Genu%C3%9F%2C+Sauberkeit%2C+Baden%2C+Badeferien%2C+Strandbad%2C+Allensbach%2C+Konstanz%2C+Radolfzell%2C+Bodenseeurlaub%2C+Schmieder+Klinik%2C+Konditorei%2C+Mainau%2C+Radfahren%2C+See%2C+Reichenau%2C+Pf%C3%A4nder%2C+S%C3%A4ntis%2C+familienfreundlich%2C+';
var metaContents  = 'Herzlich+Willkommen+im+Haus+Rose%2C+Ihrem+freundlichen+Caf%C3%A9+Restaurant+und+Hotel%2C+mit+den+gem%C3%BCtlichen+G%C3%A4stezimmer%2C+n%C3%A4he+Bodensee%2C+Bahnhof+und+Schmieder+Klinik.+Ein+Ort+zum+Wohlf%C3%BChlen.+Zimmerreservierung+unter+07533%2F3100.';
					                                                                    
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 */					                                                            

