/* [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','13701',jdecode('Willkommen'),jdecode(''),'/13701/home.html','true',[ 
		['PAGE','19301',jdecode('Umgebung'),jdecode(''),'/13701/19301.html','true',[],''],
		['PAGE','13755',jdecode('Anfahrt'),jdecode(''),'/13701/13755.html','true',[],''],
		['PAGE','13782',jdecode('Preise%2FBuchung'),jdecode(''),'/13701/13782/home.html','true',[ 
			['PAGE','20912',jdecode('Preise%2FBuchung+%28Folgeseite%29'),jdecode(''),'/13701/13782/20912.html','false',[],'']
		],'']
	],''],
	['PAGE','13809',jdecode('Welcome'),jdecode(''),'/13809/home.html','true',[ 
		['PAGE','13836',jdecode('your+rooms'),jdecode(''),'/13809/13836.html','true',[],''],
		['PAGE','13863',jdecode('Map'),jdecode(''),'/13809/13863.html','true',[],''],
		['PAGE','13890',jdecode('Prices%2FBooking'),jdecode(''),'/13809/13890/home.html','true',[ 
			['PAGE','22005',jdecode('Prices%2FBooking+%28follow+up+page%29'),jdecode(''),'/13809/13890/22005.html','false',[],'']
		],'']
	],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Linea';
theSitetree.paletteFamily='FFE64C';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='400';
theSitetree.graphicsetId='449';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Linea',
				paletteFamily: 	'FFE64C',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'400',
				graphicsetId: 	'449',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFE64C',
				c_color: 		'FFA94C',
				d_color: 		'FFDC00',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0invccw40f25c78fd0dbbd9']={
webappId:    '1001',
documentId:  '13782',
internalId:  'atoix0invccw40f25c78fd0dbbd9',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invccw40f25c78fd0dbbd9']={
webappId:    '1001',
documentId:  '20912',
internalId:  'atoix0invccw40f25c78fd0dbbd9',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0invccwc228c3e1b5a3cb81']={
webappId:    '1001',
documentId:  '13890',
internalId:  'atoix0invccwc228c3e1b5a3cb81',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invccwc228c3e1b5a3cb81']={
webappId:    '1001',
documentId:  '22005',
internalId:  'atoix0invccwc228c3e1b5a3cb81',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100307-205750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13782',
internalId:  '',
customField: '20100729-104042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20041112-230833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19301',
internalId:  '',
customField: '20041112-233804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13755',
internalId:  '',
customField: '20100730-141016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20912',
internalId:  '',
customField: '20031206-145652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13809',
internalId:  '',
customField: '20100730-141047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13836',
internalId:  '',
customField: '20040224-233736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13863',
internalId:  '',
customField: '20100730-141343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13890',
internalId:  '',
customField: '20090811-095920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22005',
internalId:  '',
customField: '20031207-121322'
};
var canonHostname = 'c4awrk07.aul.t-online.de';
var accountId     = 'ATOIX0INVCCW';
var companyName   = 'Meine+Homepage';
var htmlTitle	  = 'Bremen+Privatzimmer+Mittendrin';
var metaKeywords  = 'Bremen%2C+Privatzimmer%2C+privat%2C+Zimmer%2C+G%C3%A4stezimmer%2C+G%C3%A4stewohnung%2C+Ferienwohnung%2C+Fewo%2C+%C3%9Cbernachtung%2C+Kurzzeitvermietung%2C+Unterkunft%2C+Zentrum%2C+Monteure%2C+Mitte%2C+Centrum%2C+private%2C+guestrooms%2C+lodging%2C+lounge%2C+apartment%2C+housing%2C+accommodation%2C+mittendrin%2C+Hotelalternative%2C+Bahnhofsn%C3%A4he%2C+Hauptbahnhof%2C+Messe%2C+Seminar%2C+Tagung%2C+Kongress%2C+Stadthalle%2C+Kongresszentrum%2C+Viertel%2C+Theater%2C+Musicaltheater%2C+Urlaub%2C+Reisen%2C+Kurzurlaub%2C+Ausflug%2C+Tourismus%2C+Touristen%2C+Wochenende%2C+Karneval%2C+Werder%2C+Altstadt%2C+citynah%2C+Weserstadion%2C+Kunsthalle%2C+Weser%2C+Glocke%2C+Konzerthaus%2C+Weihnachtsmarkt%2C+Flughafen%2C+Hochschule%2C+Universit%C3%A4t%2C+Space%2C+Park%2C+Center%2C+Universum%2C+bed%2C+breakfast%2C+Appartement';
var metaContents  = 'G%C3%A4stewohnung+bzw.+Privatzimmer+bzw.+Ferienwohnung+als+abgeschlossene+Etage+mit+3+Zimmern%2C+K%C3%BCche+und+Bad+im+Herzen+von+Bremen+in+unmittelbarer+N%C3%A4he+einer+Vielzahl+von+Kultur-+und+Infrastruktureinricht.';
					                                                                    
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 */					                                                            
