/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','74592',jdecode('%C3%9Cber+uns'),jdecode(''),'/74592.html','true',[],''],
	['PAGE','33862',jdecode('Zimmer'),jdecode(''),'/33862.html','true',[],''],
	['PAGE','74446',jdecode('Fewo%C2%B4s+%26+H%C3%A4user'),jdecode(''),'/74446/home.html','true',[ 
		['PAGE','74489',jdecode('Ferienhaus+blue'),jdecode(''),'/74446/74489.html','true',[],''],
		['PAGE','74498',jdecode('Ferienhaus+yellow'),jdecode(''),'/74446/74498.html','true',[],''],
		['PAGE','74507',jdecode('Ferienhaus+red'),jdecode(''),'/74446/74507.html','true',[],''],
		['PAGE','74516',jdecode('Ferienwohnungen'),jdecode(''),'/74446/74516.html','true',[],'']
	],''],
	['PAGE','33970',jdecode('Preise'),jdecode(''),'/33970/home.html','true',[ 
		['PAGE','74970',jdecode('Wochenendaktion'),jdecode(''),'/33970/74970.html','true',[],'']
	],''],
	['PAGE','74477',jdecode('Anfrage'),jdecode(''),'/74477.html','true',[],''],
	['PAGE','74455',jdecode('Anfahrt'),jdecode(''),'/74455/home.html','true',[ 
		['PAGE','74467',jdecode('Routenplaner'),jdecode(''),'/74455/74467.html','true',[],'']
	],''],
	['PAGE','34858',jdecode('Anfrage+%2F+Kontakt+%28Folgeseite%29'),jdecode(''),'/34858.html','false',[],''],
	['PAGE','24611',jdecode('Anfrage+%28Folgeseite%29'),jdecode(''),'/24611.html','false',[],''],
	['PAGE','34051',jdecode('Impressum'),jdecode(''),'/34051.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Transfer';
theSitetree.paletteFamily='CC7600';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='383';
theSitetree.graphicsetId='433';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Transfer',
				paletteFamily: 	'CC7600',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'383',
				graphicsetId: 	'433',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'333333',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-687477']={
webappId:    '1501',
documentId:  '4579',
internalId:  '687477',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74477',
internalId:  '',
customField: '20070627-144053'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '74467',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74455',
internalId:  '',
customField: '20070701-114918'
};
webappMappings['1001']=webappMappings['1001-atoix0inv9l17e42980c41ad1e17']={
webappId:    '1001',
documentId:  '34858',
internalId:  'atoix0inv9l17e42980c41ad1e17',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110810-164023'
};
webappMappings['1008']=webappMappings['1008-35832666']={
webappId:    '1008',
documentId:  '74477',
internalId:  '35832666',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33862',
internalId:  '',
customField: '20070602-134714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74446',
internalId:  '',
customField: '20080121-002232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74489',
internalId:  '',
customField: '20070628-210003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74498',
internalId:  '',
customField: '20070628-210411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74507',
internalId:  '',
customField: '20070628-210336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74516',
internalId:  '',
customField: '20071230-231215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74467',
internalId:  '',
customField: '20070625-134103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74592',
internalId:  '',
customField: '20070701-115543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74970',
internalId:  '',
customField: '20100102-001013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33970',
internalId:  '',
customField: '20120102-210013'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '74455',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34858',
internalId:  '',
customField: '20031021-214059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24611',
internalId:  '',
customField: '20031021-130235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34051',
internalId:  '',
customField: '20041207-144408'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INV9L1';
var companyName   = 'Pension+%26+Fewo+Adam';
var htmlTitle	  = 'Pension+%26+Fewo+Adam+in+Magdeburg+%3B+Eine+Adresse+der+Gem%C3%BCtlichkeit';
var metaKeywords  = 'hotel%2Ceinzelzimmer%2Cdoppelzimmer%2Cpension%2Cmagdeburg%2Cunterkunft%2Cm%C3%B6beliert%2Cappartement%2Cmonteurzimmer%2Cunterk%C3%BCnfte%2Cappartment%2Cgasthaus%2Cherberge%2Csachsen-anhalt%2Cwasserstrassenkreuz%2Cradtouren%2Creisen%2Curlaub%2Ctourismus%2Cfreizeit%2Cvereine%2Cjugendweihen%2Cfeiern%2Cwohnen';
var metaContents  = 'Pension+Adam+bietet+Ihren+G%C3%A4sten+Einzel+-sowie+Doppelzimmer%2C+Appartements+und+Ferienh%C3%A4user%2Cm%C3%B6belierte+Wohnungen.%0AAusstattung%3A+TV%2C+DU%2FWC%2C+Telefon%2C+Fax%2C+Parkpl%C3%A4tze%0ASpezial%3A+Bootstouren+zum+Wasserstrassenkreuz%0A';
					                                                                    
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 */					                                                            

