/* [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','13801',jdecode('Architekturb%C3%BCro'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13858',jdecode('%C3%9Cber+mein+B%C3%BCro'),jdecode(''),'/13858.html','true',[],''],
	['PAGE','13885',jdecode('Planung+%26+Beratung'),jdecode(''),'/13885/home.html','true',[ 
		['PAGE','13912',jdecode('Planungsleistungen'),jdecode(''),'/13885/13912.html','true',[],''],
		['PAGE','13939',jdecode('Altbausanierung'),jdecode(''),'/13885/13939.html','true',[],''],
		['PAGE','13966',jdecode('Denkmalpflege'),jdecode(''),'/13885/13966.html','true',[],''],
		['PAGE','13993',jdecode('Beratung'),jdecode(''),'/13885/13993.html','true',[],'']
	],''],
	['PAGE','14020',jdecode('Referenzobjekte'),jdecode(''),'/14020/home.html','true',[ 
		['PAGE','14047',jdecode('Neubau'),jdecode(''),'/14020/14047.html','true',[],''],
		['PAGE','14074',jdecode('Altbausanierung'),jdecode(''),'/14020/14074.html','true',[],''],
		['PAGE','14101',jdecode('Denkmalpflege'),jdecode(''),'/14020/14101.html','true',[],''],
		['PAGE','14128',jdecode('Innenr%C3%A4ume'),jdecode(''),'/14020/14128.html','true',[],''],
		['PAGE','14155',jdecode('Details'),jdecode(''),'/14020/14155.html','true',[],''],
		['PAGE','14182',jdecode('in+Planung%2Fim+Bau'),jdecode(''),'/14020/14182.html','true',[],'']
	],''],
	['PAGE','14209',jdecode('Aktuelles'),jdecode(''),'/14209.html','true',[],''],
	['PAGE','26393',jdecode('F%C3%B6rdermittel'),jdecode(''),'/26393.html','true',[],''],
	['PAGE','14236',jdecode('Partner'),jdecode(''),'/14236.html','true',[],''],
	['PAGE','14263',jdecode('Kontakt'),jdecode(''),'/14263/home.html','true',[ 
		['PAGE','24198',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14263/24198.html','false',[],'']
	],''],
	['PAGE','25002',jdecode('Anfahrt'),jdecode(''),'/25002.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Simple';
theSitetree.paletteFamily='F9FADA';
theSitetree.keyvisualId='2538';
theSitetree.keyvisualName='bauen.jpg';
theSitetree.fontsetId='10346';
theSitetree.graphicsetId='10460';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='f9fada';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Simple',
				paletteFamily: 	'F9FADA',
				keyvisualId: 	'2538',
				keyvisualName: 	'bauen.jpg',
				fontsetId: 		'10346',
				graphicsetId: 	'10460',
				contentColor: 	'000000',
				contentBGColor: 'f9fada',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'857157',
				e_color: 		'AAAAAA',
				f_color: 		'817E7E',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0invlm0c6694a6d8de8f8b5']={
webappId:    '1001',
documentId:  '14263',
internalId:  'atoix0invlm0c6694a6d8de8f8b5',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invlm0c6694a6d8de8f8b5']={
webappId:    '1001',
documentId:  '24198',
internalId:  'atoix0invlm0c6694a6d8de8f8b5',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '25002',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-1379104']={
webappId:    '1501',
documentId:  '13801',
internalId:  '1379104',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20090223-140530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13858',
internalId:  '',
customField: '20090218-161611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13885',
internalId:  '',
customField: '20081122-134040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13912',
internalId:  '',
customField: '20040130-182404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14020',
internalId:  '',
customField: '20040130-182713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14047',
internalId:  '',
customField: '20040202-090326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14074',
internalId:  '',
customField: '20081123-130638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20040201-183609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14128',
internalId:  '',
customField: '20040201-184024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14155',
internalId:  '',
customField: '20081123-132251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14182',
internalId:  '',
customField: '20081123-135302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14209',
internalId:  '',
customField: '20081123-135658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14236',
internalId:  '',
customField: '20081123-141507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14263',
internalId:  '',
customField: '20090223-140655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25002',
internalId:  '',
customField: '20040202-095658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13939',
internalId:  '',
customField: '20040130-182150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13966',
internalId:  '',
customField: '20040130-181636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13993',
internalId:  '',
customField: '20040130-181924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26393',
internalId:  '',
customField: '20041112-080811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24198',
internalId:  '',
customField: '20040130-185421'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0INVLM0';
var companyName   = 'Dipl.-Ing.+%28FH%29+Joachim+Eifler%2C+Freier+Architekt';
var htmlTitle	  = 'Architekturbuero+Dipl.-Ing.+%28FH%29+Joachim+Eifler%2C+Freier+Architekt%2C+Goerlitz';
var metaKeywords  = 'architekt%2C+architekten%2C+architektur%2C+architekturbuero%2C+bau%2C+bauen%2C+baukosten%2C+bauplanung%2C+bauleitung%2C+bauueberwachung%2C+immobilie%2C+immobilien%2C+projekt%2C+projektleitung%2C+sanierung%2C+raumplanung%2C+consultation%2C+investment%2C+planung%2C+ingenieur%2C+eifler%2C+joachim_eifler%2C+goerlitz%2C+architekten_goerlitz%2C+architekten-goerlitz%2C+bauen_in_goerlitz%2C+bauen_in_goerlitz%2C+ostsachsen%2C+bauen_in_ostsachsen%2C+dresden%2C+bauen_in_dresden%2C+architekten_in_dresden%2C+bauplanung_in_dresden%2C+bausachverstaendiger%2C+bauschaeden%2C+schaeden_an_gebaeuden%2C+denkmalpflege%2C+denkmalpflege_in_goerlitz%2C+denkmalpflege_goerlitz%2C+denkmalpflege_sachsen%2C+hochbau%2C+hochbau_goerlitz%2C+ingenieur_fuer_hochbau%2C+bauingenieur%2C+schlesien%2C+niederschlesien%2C+polen%2C+investieren_in_polen%2C+sachverstaendiger%2C+gutachter%2C+gutachten%2C+altbausanierung%2C+hausbau';
var metaContents  = 'Dipl.-Ing.+%28FH%29+Joachim+Eifler%2C+Freier+Architekt+-+Das+kompetente+Architektur-%2C+Ingenieur-+und+Sachverstaendigenbuero+fuer+Neubau%2C+Altbausanierung+und+Denkmalpflege+in+Goerlitz%2FNiederschlesien';
					                                                                    
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 */					                                                            
