/* [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','11238',jdecode('Home'),jdecode(''),'/11238.html','true',[],''],
	['PAGE','39001',jdecode('VERMIETUNG'),jdecode(''),'/39001.html','true',[],''],
	['PAGE','15501',jdecode('Verkaufsobjekte'),jdecode(''),'/15501.html','true',[],''],
	['PAGE','11259',jdecode('Objektsuche'),jdecode(''),'/11259.html','true',[],''],
	['PAGE','11268',jdecode('Preisfindung'),jdecode(''),'/11268.html','true',[],''],
	['PAGE','11277',jdecode('Kostenlos'),jdecode(''),'/11277.html','true',[],''],
	['PAGE','11286',jdecode('Auftrag'),jdecode(''),'/11286.html','true',[],''],
	['PAGE','11295',jdecode('Verkauf'),jdecode(''),'/11295.html','true',[],''],
	['PAGE','11304',jdecode('International'),jdecode(''),'/11304.html','true',[],''],
	['PAGE','11313',jdecode('Kontakt-Email'),jdecode(''),'/11313/home.html','true',[ 
		['PAGE','11601',jdecode('Kontakt-Email+%28Folgeseite%29'),jdecode(''),'/11313/11601.html','false',[],'']
	],''],
	['PAGE','14201',jdecode('+Den+Verkauf+feiern%3A'),jdecode(''),'/14201.html','true',[],''],
	['PAGE','11322',jdecode('Impressum'),jdecode(''),'/11322.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1267';
theSitetree.keyvisualName='alte_moebel.jpg';
theSitetree.fontsetId='192';
theSitetree.graphicsetId='228';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'003399',
				keyvisualId: 	'1267',
				keyvisualName: 	'alte_moebel.jpg',
				fontsetId: 		'192',
				graphicsetId: 	'228',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				a_color: 		'003399',
				b_color: 		'000066',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-5147609']={
webappId:    '1501',
documentId:  '11238',
internalId:  '5147609',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '11238',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inve0g1087e1d9e89']={
webappId:    '1001',
documentId:  '11313',
internalId:  'atoix0inve0g1087e1d9e89',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inve0g1087e1d9e89']={
webappId:    '1001',
documentId:  '11601',
internalId:  'atoix0inve0g1087e1d9e89',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11238',
internalId:  '',
customField: '20100308-192820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20100102-152928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39001',
internalId:  '',
customField: '20100602-130357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11259',
internalId:  '',
customField: '20090614-164758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11268',
internalId:  '',
customField: '20090614-164829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11277',
internalId:  '',
customField: '20090122-180420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11286',
internalId:  '',
customField: '20090614-164910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11295',
internalId:  '',
customField: '20051231-181055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11304',
internalId:  '',
customField: '20090614-185844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11313',
internalId:  '',
customField: '20060113-012318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11601',
internalId:  '',
customField: '20090320-173705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20090614-165035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11322',
internalId:  '',
customField: '20100602-130014'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INVE0G';
var companyName   = 'Seit+40+Jahren+%22BAYERN%22+-+Immobilien%3A';
var htmlTitle	  = 'BAYERN+Haus+Grundbesitz+Kaul+GmbH.%2C+M%C3%BCnchen+T.089%2F546120-90%2C+Fax+-91';
var metaKeywords  = 'M%C3%BCnchen-Immobilien+Bayern-Immoblien+Hausverkauf-M%C3%BCnchen+Wohnungsverkauf-M%C3%BCnchen+Baugrundst%C3%BCck+Eigentumswohnung-M%C3%BCnchen+Vermietung-M%C3%BCnchen';
var metaContents  = 'Willkommen+bei+BAYERN+Haus++Grundbesitz%2C+dem+bayerischen+Immobilienmakler+mit+%C3%BCber+35-j%C3%A4hriger+Immobilien-Erfahrung.+Verkauf+-+H%C3%A4user%2C+Baugrundst%C3%BCcke%2C+Wohnungen+Stadtbereich+M%C3%BCnchen%2C+H%C3%A4user+im+S-Bahnbereich+und+Voralpenland%2C+Marktwertsch%C3%A4tzungen+bei+Verkaufsbeauftragung.++Vermietung++gegflegter+Spitzenobjekte';
					                                                                    
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 */					                                                            
