/* [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','13764',jdecode('Home'),jdecode(''),'/13764.html','true',[],''],
	['PAGE','44585',jdecode('Leistungskatalog'),jdecode(''),'/44585/home.html','true',[ 
		['PAGE','44594',jdecode('WEG'),jdecode(''),'/44585/44594.html','true',[],''],
		['PAGE','44603',jdecode('Mietverwaltung'),jdecode(''),'/44585/44603.html','true',[],''],
		['PAGE','45097',jdecode('Immobilien'),jdecode(''),'/44585/45097.html','true',[],'']
	],''],
	['PAGE','44670',jdecode('Anfrageformular'),jdecode(''),'/44670.html','true',[],''],
	['PAGE','13875',jdecode('Kontakt+%28Impressum%29'),jdecode(''),'/13875/home.html','true',[ 
		['PAGE','39801',jdecode('Bilder'),jdecode(''),'/13875/39801.html','true',[],'']
	],''],
	['PAGE','13929',jdecode('Vermietung+%2F+Verkauf'),jdecode(''),'/13929/home.html','true',[ 
		['PAGE','45544',jdecode('Wohnungen'),jdecode(''),'/13929/45544.html','true',[],''],
		['PAGE','45571',jdecode('H%C3%A4user'),jdecode(''),'/13929/45571.html','true',[],''],
		['PAGE','45639',jdecode('B%C3%BCror%C3%A4ume'),jdecode(''),'/13929/45639.html','true',[],'']
	],''],
	['PAGE','13848',jdecode('Interessante+Links'),jdecode(''),'/13848.html','true',[],''],
	['PAGE','44796',jdecode('Spiegel+Online'),jdecode(''),'/44796.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Elegance';
theSitetree.paletteFamily='EBEFF8';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10402';
theSitetree.graphicsetId='10624';
theSitetree.contentColor='545554';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Elegance',
				paletteFamily: 	'EBEFF8',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10402',
				graphicsetId: 	'10624',
				contentColor: 	'545554',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				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:  '13764',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44594',
internalId:  '',
customField: '20081013-215553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45097',
internalId:  '',
customField: '20090111-225611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45571',
internalId:  '',
customField: '20110912-220523'
};
webappMappings['1501']=webappMappings['1501-709858']={
webappId:    '1501',
documentId:  '13764',
internalId:  '709858',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45544',
internalId:  '',
customField: '20111128-194723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13764',
internalId:  '',
customField: '20100619-225330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44670',
internalId:  '',
customField: '20090228-001240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13848',
internalId:  '',
customField: '20090830-000427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13875',
internalId:  '',
customField: '20110129-013310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39801',
internalId:  '',
customField: '20050213-221327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44585',
internalId:  '',
customField: '20081013-220927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13929',
internalId:  '',
customField: '20110912-220602'
};
webappMappings['7090']=webappMappings['7090-496564']={
webappId:    '7090',
documentId:  '44796',
internalId:  '496564',
customField: 'type:rss-0.91;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44603',
internalId:  '',
customField: '20070521-152543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44796',
internalId:  '',
customField: '20100621-232548'
};
webappMappings['1008']=webappMappings['1008-34149990']={
webappId:    '1008',
documentId:  '44670',
internalId:  '34149990',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45639',
internalId:  '',
customField: '20120114-013540'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INV0ZP';
var companyName   = 'WEG+und+Mietverwaltung%2C+Immobilienvermittlung';
var htmlTitle	  = 'Weiser+Haus-+und+Mietverwaltung';
var metaKeywords  = 'hausverwaltung%2C+Hausverwaltung%2C+mietverwaltung%2C+Mietverwaltung%2C+Holzheim%2C+Weiser%2C+Service%2C+Kunde+ist+K%C3%B6nig%2C+gp-hv%2C+Goeppinger+Hausverwaltung%2C+die+Nummer+1%2C+WEG%2C+Wohnungseigentumsgesetz%2C+Eigent%C3%BCmer%2C+Mieter%2C+gp-hv.eu%2C+gp-hv.de%2C+gp-hv.org%2C+Wir+k%C3%B6nnen+das%2C+Ruhestand%2C+Energieversorgung%2C+verdi%2C+Haus+und+Grund%2C+Mietverein%2C+Betriebskosten%2C+Nebenkosten%2C+Heizkosten%2C+Techem%2C+Mietrecht';
var metaContents  = 'Wir+sind+seit+20+Jahren+in+der+Hausvervaltung+t%C3%A4tig.+Bei+uns+ist+der+Kunde+%28Vermieter%29+K%C3%B6nig.+Nach+Ihren+Vorgaben+verwalten+wir+Ihre+Immobilie%2C+ob+es+Mietwohnungen+oder+Eigentumswohnungen+sind.+';
					                                                                    
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 */					                                                            

