/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41314',jdecode('Immobilien'),jdecode(''),'/41314/home.html','true',[ 
		['PAGE','41834',jdecode('Links+zu+unseren+Angeboten'),jdecode(''),'/41314/41834.html','true',[],''],
		['PAGE','41565',jdecode('Energiepass'),jdecode(''),'/41314/41565.html','true',[],'']
	],''],
	['PAGE','41332',jdecode('Finanzen'),jdecode(''),'/41332/home.html','true',[ 
		['PAGE','41843',jdecode('Versicherungen'),jdecode(''),'/41332/41843.html','true',[],''],
		['PAGE','41755',jdecode('Finanzierungen+aller+Art...'),jdecode(''),'/41332/41755.html','true',[],'']
	],''],
	['PAGE','41341',jdecode('Recht'),jdecode(''),'/41341/home.html','true',[ 
		['PAGE','41852',jdecode('Schreibdienst+f%C3%BCr+jedermann+wie+z.+B.+Briefe+aller+Art%2C+K%C3%BCndigungen%2C+Bewerbungen+usw.'),jdecode(''),'/41341/41852.html','true',[],''],
		['PAGE','41802',jdecode('Schuldenberatung'),jdecode(''),'/41341/41802.html','true',[],''],
		['PAGE','41820',jdecode('private+Arbeitsvermittlung'),jdecode(''),'/41341/41820.html','true',[],'']
	],''],
	['PAGE','41323',jdecode('Gesundheit'),jdecode(''),'/41323/home.html','true',[ 
		['PAGE','41861',jdecode('Patientenverf%C3%BCgung+und+-information'),jdecode(''),'/41323/41861.html','true',[],'']
	],''],
	['PAGE','41784',jdecode('Produkte'),jdecode(''),'/41784/home.html','true',[ 
		['PAGE','41793',jdecode('Aktuelle+Angebote'),jdecode(''),'/41784/41793.html','true',[],'']
	],''],
	['PAGE','41368',jdecode('Kontakt'),jdecode(''),'/41368.html','true',[],''],
	['PAGE','41952',jdecode('Tag+der+offenen+T%C3%BCr'),jdecode(''),'/41952.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Macao';
theSitetree.paletteFamily='607FB8';
theSitetree.keyvisualId='6471';
theSitetree.keyvisualName='kv_6471.jpg';
theSitetree.fontsetId='11168';
theSitetree.graphicsetId='11976';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A3BAE5';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Macao',
				paletteFamily: 	'607FB8',
				keyvisualId: 	'6471',
				keyvisualName: 	'kv_6471.jpg',
				fontsetId: 		'11168',
				graphicsetId: 	'11976',
				contentColor: 	'000000',
				contentBGColor: 'A3BAE5',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110715-111319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41314',
internalId:  '',
customField: '20101005-185920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41332',
internalId:  '',
customField: '20080302-154826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41368',
internalId:  '',
customField: '20090328-172611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41341',
internalId:  '',
customField: '20101005-190317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41755',
internalId:  '',
customField: '20090130-161519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41323',
internalId:  '',
customField: '20110715-112302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41565',
internalId:  '',
customField: '20080612-072121'
};
webappMappings['1008']=webappMappings['1008-45426504']={
webappId:    '1008',
documentId:  '41368',
internalId:  '45426504',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1501']=webappMappings['1501-45475363']={
webappId:    '1501',
documentId:  '39994',
internalId:  '45475363',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41784',
internalId:  '',
customField: '20101005-190438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41843',
internalId:  '',
customField: '20090130-161325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41834',
internalId:  '',
customField: '20090130-160630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41793',
internalId:  '',
customField: '20100823-125937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41802',
internalId:  '',
customField: '20100823-124431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41820',
internalId:  '',
customField: '20100823-124602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41861',
internalId:  '',
customField: '20090405-133501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41852',
internalId:  '',
customField: '20100823-124148'
};
webappMappings['1007']=webappMappings['1007-12075e787e5']={
webappId:    '1007',
documentId:  '41952',
internalId:  '12075e787e5',
customField: 'g.141qu8p5o.7ig27n4brc9.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41952',
internalId:  '',
customField: '20100825-170931'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRCWD2';
var companyName   = 'WLW+work-life-world+Weil+Leben+leben+ist%21%21%21';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

