/* [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','11179',jdecode('Home'),jdecode(''),'/11179.html','true',[],''],
	['PAGE','11209',jdecode('Unser+Hotel'),jdecode(''),'/11209/home.html','true',[ 
		['PAGE','11218',jdecode('Die+Zimmer'),jdecode(''),'/11209/11218.html','true',[],''],
		['PAGE','11227',jdecode('Wellness'),jdecode(''),'/11209/11227.html','true',[],'']
	],''],
	['PAGE','11236',jdecode('Preise+%26+Aktionen'),jdecode(''),'/11236.html','true',[],''],
	['PAGE','11245',jdecode('Unsere+Umgebung'),jdecode(''),'/11245.html','true',[],''],
	['PAGE','11254',jdecode('Anfrage'),jdecode(''),'/11254/home.html','true',[ 
		['PAGE','11697',jdecode('Anfrage+%28Folgeseite%29'),jdecode(''),'/11254/11697.html','false',[],'']
	],''],
	['PAGE','11263',jdecode('Kontakt'),jdecode(''),'/11263.html','true',[],''],
	['PAGE','11272',jdecode('Anreise'),jdecode(''),'/11272.html','true',[],''],
	['PAGE','11297',jdecode('Presse+'),jdecode(''),'/11297.html','true',[],''],
	['PAGE','17901',jdecode('Jetzt+Online-Buchen'),jdecode(''),'/17901.html','true',[],''],
	['PAGE','18101',jdecode('Hotel-Stornovrsicherung'),jdecode(''),'/18101.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Padma';
theSitetree.paletteFamily='CC6866';
theSitetree.keyvisualId='1033';
theSitetree.keyvisualName='paar_alt.jpg';
theSitetree.fontsetId='179';
theSitetree.graphicsetId='220';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='9E9D90';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Padma',
				paletteFamily: 	'CC6866',
				keyvisualId: 	'1033',
				keyvisualName: 	'paar_alt.jpg',
				fontsetId: 		'179',
				graphicsetId: 	'220',
				contentColor: 	'FFFFFF',
				contentBGColor: '9E9D90',
				a_color: 		'CC6866',
				b_color: 		'CC0000',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0inzoyy10b4e8c5a10']={
webappId:    '1001',
documentId:  '11254',
internalId:  'atoix0inzoyy10b4e8c5a10',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inzoyy10b4e8c5a10']={
webappId:    '1001',
documentId:  '11697',
internalId:  'atoix0inzoyy10b4e8c5a10',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '11179',
internalId:  '1006',
customField: '1006'
};
webappMappings['7091']=webappMappings['7091-61773']={
webappId:    '7091',
documentId:  '11179',
internalId:  '61773',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11179',
internalId:  '',
customField: '20110805-211546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11209',
internalId:  '',
customField: '20060519-222953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11218',
internalId:  '',
customField: '20060819-120351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11227',
internalId:  '',
customField: '20100326-131950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11236',
internalId:  '',
customField: '20101115-214005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11245',
internalId:  '',
customField: '20060519-233631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11254',
internalId:  '',
customField: '20110805-210543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11697',
internalId:  '',
customField: '20060519-232809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11263',
internalId:  '',
customField: '20060519-232038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11272',
internalId:  '',
customField: '20060519-232441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11297',
internalId:  '',
customField: '20060519-233156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17901',
internalId:  '',
customField: '20110805-212537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20111130-161936'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INZOYY';
var companyName   = 'Hotel-Pension+Kemper';
var htmlTitle	  = 'Hotel-Pension+Kemper';
var metaKeywords  = 'Ihr+Name%2C+Kette%2C+Ketten%2C+Ring%2C+Ringe%2C+Juwel%2C+Edelsteine%2C+Collier%2C+Gold%2C+Silber%2C+Platin%2C+Uhren%2C+Juwelier%2C+Geschenk%2C+Schmuck++';
var metaContents  = 'Willkommen+bei+Ihrem+Juwelier+IhrName%2C+Ihr+Spezialist+fuer+exklusiven+Schmuck+in+Platin%2C+Gold+und+Silber%2C+Diamanten%2C+Edelsteine+und+Perlen+sowie+internationale+Uhrenmarken.++';
					                                                                    
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 */					                                                            

