/* [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','11182',jdecode('HOME'),jdecode(''),'/11182.html','true',[],''],
	['PAGE','28601',jdecode('DAS+B%C3%9CRO'),jdecode(''),'/28601.html','true',[],''],
	['PAGE','13401',jdecode('LEISTUNGEN'),jdecode(''),'/13401/home.html','true',[ 
		['PAGE','29101',jdecode('Planung+'),jdecode(''),'/13401/29101.html','true',[],''],
		['PAGE','29122',jdecode('CAD-Dienstleistungen'),jdecode(''),'/13401/29122.html','true',[],''],
		['PAGE','29143',jdecode('Fluchtwegpl%C3%A4ne'),jdecode(''),'/13401/29143.html','true',[],''],
		['PAGE','49301',jdecode('Feuerwehrpl%C3%A4ne'),jdecode(''),'/13401/49301.html','true',[],''],
		['PAGE','29164',jdecode('Plotservice'),jdecode(''),'/13401/29164.html','true',[],'']
	],''],
	['PAGE','13443',jdecode('BLOWER-DOOR-TEST'),jdecode(''),'/13443.html','true',[],''],
	['PAGE','13464',jdecode('REFERENZEN'),jdecode(''),'/13464.html','true',[],''],
	['PAGE','54601',jdecode('DOWNLOADBEREICH'),jdecode(''),'/54601/home.html','true',[ 
		['PAGE','54701',jdecode('Beispielzeichnungen'),jdecode(''),'/54601/54701.html','true',[],''],
		['PAGE','54722',jdecode('Ausschreibungen'),jdecode(''),'/54601/54722.html','true',[],''],
		['PAGE','54743',jdecode('Projektunterlagen'),jdecode(''),'/54601/54743.html','true',[],'']
	],''],
	['PAGE','13485',jdecode('LINKS'),jdecode(''),'/13485.html','true',[],''],
	['PAGE','28701',jdecode('KONTAKT'),jdecode(''),'/28701.html','true',[],''],
	['PAGE','11586',jdecode('ANFAHRT'),jdecode(''),'/11586.html','true',[],''],
	['PAGE','11191',jdecode('IMPRESSUM'),jdecode(''),'/11191.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Straight';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='1535';
theSitetree.keyvisualName='bauen.jpg';
theSitetree.fontsetId='240';
theSitetree.graphicsetId='300';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Straight',
				paletteFamily: 	'000000',
				keyvisualId: 	'1535',
				keyvisualName: 	'bauen.jpg',
				fontsetId: 		'240',
				graphicsetId: 	'300',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'D7D7D7',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-24135687']={
webappId:    '1501',
documentId:  '11182',
internalId:  '24135687',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '11182',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '11586',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-24215154']={
webappId:    '1008',
documentId:  '28701',
internalId:  '24215154',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11182',
internalId:  '',
customField: '20090702-162706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28601',
internalId:  '',
customField: '20081220-184637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13401',
internalId:  '',
customField: '20081220-184909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29101',
internalId:  '',
customField: '20081220-185044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29122',
internalId:  '',
customField: '20081220-185301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29143',
internalId:  '',
customField: '20081220-185241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29164',
internalId:  '',
customField: '20081220-185504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13443',
internalId:  '',
customField: '20081220-185619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13464',
internalId:  '',
customField: '20090702-111140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13485',
internalId:  '',
customField: '20081220-185857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20081220-185951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11586',
internalId:  '',
customField: '20081220-190151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11191',
internalId:  '',
customField: '20081220-190238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49301',
internalId:  '',
customField: '20081220-185355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54601',
internalId:  '',
customField: '20081220-192050'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '54722',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '54743',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54701',
internalId:  '',
customField: '20081220-203017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54722',
internalId:  '',
customField: '20081220-203202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54743',
internalId:  '',
customField: '20081220-203304'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0INLO45';
var companyName   = 'TECHNISCHE+GEB%C3%84UDEAUSR%C3%9CSTUNG';
var htmlTitle	  = 'die+planfabrik+Planungsb%C3%BCro+f%C3%BCr+TGA';
var metaKeywords  = 'Planung+CAD+Heizung+Sanit%C3%A4r+L%C3%BCftung+Fluchtweg+Rettungsplan+Blower-Door';
var metaContents  = 'Planungsb%C3%BCro+f%C3%BCr+Heizung+Sanit%C3%A4r+L%C3%BCftungCAD-Dienstleistungen+ACAD+pit+Fluchtweg+Rettungsplan+Blower-Door';
					                                                                    
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 */					                                                            

