/* [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','40967',jdecode('Startseite'),jdecode(''),'/40967.html','true',[],''],
	['PAGE','41669',jdecode('Apartment+++1+ZKBB+++++'),jdecode(''),'/41669.html','true',[],''],
	['PAGE','41802',jdecode('Fewo+Nr.+1+-+2+ZKBB'),jdecode(''),'/41802.html','true',[],''],
	['PAGE','41832',jdecode('Fewo+Nr.+2+-+3+ZKBB'),jdecode(''),'/41832.html','true',[],''],
	['PAGE','42515',jdecode('Fewo+Nr.+3+-+4+ZKBB'),jdecode(''),'/42515.html','true',[],''],
	['PAGE','41565',jdecode('Anreise'),jdecode(''),'/41565.html','true',[],''],
	['PAGE','41005',jdecode('Kontakt+-+AGB'),jdecode(''),'/41005.html','true',[],''],
	['PAGE','60567',jdecode('Hausordnung'),jdecode(''),'/60567.html','true',[],''],
	['PAGE','41499',jdecode('Impressum'),jdecode(''),'/41499.html','true',[],''],
	['PAGE','51301',jdecode('Links'),jdecode(''),'/51301.html','true',[],''],
	['PAGE','60501',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/60501.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='BB9C60';
theSitetree.keyvisualId='2251';
theSitetree.keyvisualName='reise1.jpg';
theSitetree.fontsetId='365';
theSitetree.graphicsetId='417';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='BB9C60';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'BB9C60',
				keyvisualId: 	'2251',
				keyvisualName: 	'reise1.jpg',
				fontsetId: 		'365',
				graphicsetId: 	'417',
				contentColor: 	'000000',
				contentBGColor: 'BB9C60',
				a_color: 		'BB9C60',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40967',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20120211-203535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41499',
internalId:  '',
customField: '20100824-143446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42515',
internalId:  '',
customField: '20101201-195042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41005',
internalId:  '',
customField: '20100824-144647'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41565',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41565',
internalId:  '',
customField: '20100517-164653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41669',
internalId:  '',
customField: '20101201-194845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41832',
internalId:  '',
customField: '20101201-195009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51301',
internalId:  '',
customField: '20100519-195928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41802',
internalId:  '',
customField: '20101201-194927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60501',
internalId:  '',
customField: '20100825-212517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60567',
internalId:  '',
customField: '20100902-214651'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7ISEX';
var companyName   = 'Apartment+Ferienwohnung+Monteurzimmer+';
var htmlTitle	  = 'Ferienwohnung-Monteurunterkunft-Monteurzimmer-Mannheim-Ludwigshafen';
var metaKeywords  = 'Apartment-Ferienwohnung-Mannheim-Monteurwohnung-Monteurunterkunft-Monteurzimmer-Monterurzimmermannheim-Ludwigshafen-Viernheim-Frankenthal-Worms-Lampertheim-Lorsch-Bensheim-Heppenheim-Gernsheim-Darmstadt-Monteurzimmer-Pension-G%C3%A4stehaus-Unterkunft-Monteure-Fewo-Fremdenzimmer-Mannheim-Herberge-Ludwigshafen-Zimmer-Wohnungen-Ferienhaus-preiswerte-%C3%9Cbernachtung-g%C3%BCnstige-billige-Lampertheim-Gro%C3%9Frohrheim-Heppenheim-Ferienwohnungen-Apartments-Appartement-Wohnen-auf-Zeit-kurztfristige-Jugendherberge-Ferien-Urlaub-Wochenendtrip-Doppelzimmer-Einzelzimmer-Mehrbettzimmer-Gruppenreisen-Gruppenunterkunft-Firmenbelegung-Quartier-preiswertes-Zimmer-Mannheim-';
var metaContents  = 'Monteurapartment+ab+15%E2%82%AC+p.+Pers.Ferienwohnung-Monteurwohnung-Monteurzimmer-Monteurunterkunft-+Messewohnung+in+Mannheim-Ludwigshafen-Frankenthal-Viernheim-Lampertheim-Worms-Heppenheim-Bensheim-Gernsheim-Darmstadt';
					                                                                    
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 */					                                                            

