/* [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','13776',jdecode('Willkommen'),jdecode(''),'/13776.html','true',[],''],
	['PAGE','14101',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/14101.html','true',[],''],
	['PAGE','14111',jdecode('Leistungen'),jdecode(''),'/14111.html','false',[],''],
	['PAGE','38201',jdecode('Referenzen'),jdecode(''),'/38201.html','false',[],''],
	['PAGE','46801',jdecode('Referenzen'),jdecode(''),'/46801.html','true',[],''],
	['PAGE','26037',jdecode('Aktuelle+Projekte'),jdecode(''),'/26037.html','true',[],''],
	['PAGE','35601',jdecode('Informationen+aktuell'),jdecode(''),'/35601.html','true',[],''],
	['PAGE','43101',jdecode('Energiethemen'),jdecode(''),'/43101.html','true',[],''],
	['PAGE','39101',jdecode('Meinungsumfragen'),jdecode(''),'/39101.html','false',[],''],
	['PAGE','14131',jdecode('Kontakt'),jdecode(''),'/14131/home.html','true',[ 
		['PAGE','28127',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14131/28127.html','false',[],'']
	],''],
	['PAGE','38001',jdecode('Anfahrt'),jdecode(''),'/38001.html','true',[],''],
	['PAGE','20629',jdecode('Links'),jdecode(''),'/20629.html','true',[],''],
	['PAGE','14136',jdecode('Impressum'),jdecode(''),'/14136.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Easy';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='51';
theSitetree.graphicsetId='57';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Easy',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'51',
				graphicsetId: 	'57',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				a_color: 		'003366',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13776',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0in299t105c437d7fe']={
webappId:    '1001',
documentId:  '28127',
internalId:  'atoix0in299t105c437d7fe',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-1484838']={
webappId:    '1501',
documentId:  '13776',
internalId:  '1484838',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0in299t105c437d7fe']={
webappId:    '1001',
documentId:  '14131',
internalId:  'atoix0in299t105c437d7fe',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35601',
internalId:  '',
customField: '20100112-113300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13776',
internalId:  '',
customField: '20061219-102053'
};
webappMappings['7050']=webappMappings['7050-3']={
webappId:    '7050',
documentId:  '35601',
internalId:  '3',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26037',
internalId:  '',
customField: '20111006-112733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20100421-163034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14111',
internalId:  '',
customField: '20060418-214723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14131',
internalId:  '',
customField: '20100112-132219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28127',
internalId:  '',
customField: '20050817-133418'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '38001',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20629',
internalId:  '',
customField: '20100112-115007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14136',
internalId:  '',
customField: '20070315-145640'
};
webappMappings['1007']=webappMappings['1007-1115483a4ef']={
webappId:    '1007',
documentId:  '38201',
internalId:  '1115483a4ef',
customField: 'g.125a852dq.4ujsljv3ovk.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38201',
internalId:  '',
customField: '20091221-151918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38001',
internalId:  '',
customField: '20100112-132236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39101',
internalId:  '',
customField: '20070315-160108'
};
webappMappings['1005']=webappMappings['1005-12621ef965e.09c89a8f']={
webappId:    '1005',
documentId:  '43101',
internalId:  '12621ef965e.09c89a8f',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20100112-114725'
};
webappMappings['7060']=webappMappings['7060-e315f825018eaa7cde61ef6e9878e120']={
webappId:    '7060',
documentId:  '46801',
internalId:  'e315f825018eaa7cde61ef6e9878e120',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46801',
internalId:  '',
customField: '20100112-132056'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN299T';
var companyName   = 'Dipl.-Ing.+Norbert+Olschowski';
var htmlTitle	  = 'Dipl.-Ing.+Norbert+Olschowski';
var metaKeywords  = 'Ingenieur%2C+Bauwesen%2C+Tragwerksplanung%2C+Statik%2C+W%C3%A4rmeschutz%2C+Schallschutz%2C+Bauleitung%2C+Referenzen%2C+Energieberatung%2C+Energieausweis%2C+Energiepass%2C+Castrop-Rauxel';
var metaContents  = 'Leitspruch+und+Vorstellung+des+Ingenieurb%C3%BCros+f%C3%BCr+Bauwesen.+Leistungen+und+Referenzen+werden+dargestellt.+Kontaktaufnahme+einschliesslich+Anfahrt+werden+erm%C3%B6glicht.+Links+zu+Partner+werden+dargestellt.';
					                                                                    
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 */					                                                            

