/* [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','18101',jdecode('Startseite'),jdecode(''),'/18101.html','true',[],''],
	['PAGE','18107',jdecode('Firmenportrait'),jdecode(''),'/18107.html','true',[],''],
	['PAGE','18112',jdecode('Leistungs%C3%BCbersicht'),jdecode(''),'/18112/home.html','true',[ 
		['PAGE','24201',jdecode('Altlasten'),jdecode(''),'/18112/24201.html','true',[],''],
		['PAGE','24401',jdecode('Baugrund'),jdecode(''),'/18112/24401.html','true',[],''],
		['PAGE','24406',jdecode('Emissionsmessungen'),jdecode(''),'/18112/24406.html','true',[],''],
		['PAGE','24906',jdecode('Beratung+%2F+Consulting'),jdecode(''),'/18112/24906.html','true',[],''],
		['PAGE','25701',jdecode('Umweltlabor'),jdecode(''),'/18112/25701.html','true',[],''],
		['PAGE','24901',jdecode('Wasser+%2F+Abwasser'),jdecode(''),'/18112/24901.html','true',[],''],
		['PAGE','27801',jdecode('Kleinkl%C3%A4ranlagen'),jdecode(''),'/18112/27801.html','true',[],'']
	],''],
	['PAGE','26601',jdecode('Anfragen'),jdecode(''),'/26601/home.html','true',[ 
		['PAGE','26701',jdecode('Lieferung+Kleinkl%C3%A4ranlage'),jdecode(''),'/26601/26701.html','true',[],''],
		['PAGE','26722',jdecode('Wartung+Kleinkl%C3%A4ranlage'),jdecode(''),'/26601/26722.html','true',[],''],
		['PAGE','26743',jdecode('sonstige+Anfragen'),jdecode(''),'/26601/26743.html','true',[],'']
	],''],
	['PAGE','30901',jdecode('Aktionen'),jdecode(''),'/30901.html','true',[],''],
	['PAGE','26901',jdecode('Anfahrt'),jdecode(''),'/26901.html','true',[],''],
	['PAGE','31701',jdecode('Links'),jdecode(''),'/31701.html','true',[],''],
	['PAGE','18122',jdecode('Impressum'),jdecode(''),'/18122.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Cuy';
theSitetree.paletteFamily='F3FAFB';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='385';
theSitetree.graphicsetId='437';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F3FAFB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cuy',
				paletteFamily: 	'F3FAFB',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'385',
				graphicsetId: 	'437',
				contentColor: 	'000000',
				contentBGColor: 'F3FAFB',
				a_color: 		'F3FAFB',
				b_color: 		'A9C9CD',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20070130-124024'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '18101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18107',
internalId:  '',
customField: '20070322-131248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18112',
internalId:  '',
customField: '20070130-140059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24901',
internalId:  '',
customField: '20070130-090209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26601',
internalId:  '',
customField: '20070130-120958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26722',
internalId:  '',
customField: '20070130-120317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26701',
internalId:  '',
customField: '20070130-125909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18122',
internalId:  '',
customField: '20070130-135952'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '26901',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26901',
internalId:  '',
customField: '20070130-075147'
};
webappMappings['1008']=webappMappings['1008-27982995']={
webappId:    '1008',
documentId:  '26722',
internalId:  '27982995',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26743',
internalId:  '',
customField: '20070130-130035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27801',
internalId:  '',
customField: '20070130-124512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25701',
internalId:  '',
customField: '20050304-132341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24906',
internalId:  '',
customField: '20070130-110720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24406',
internalId:  '',
customField: '20060223-111458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24401',
internalId:  '',
customField: '20050304-122639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24201',
internalId:  '',
customField: '20050304-122738'
};
webappMappings['1008']=webappMappings['1008-32035106']={
webappId:    '1008',
documentId:  '26701',
internalId:  '32035106',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30901',
internalId:  '',
customField: '20080528-073215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31701',
internalId:  '',
customField: '20080326-085101'
};
webappMappings['1008']=webappMappings['1008-32035519']={
webappId:    '1008',
documentId:  '26743',
internalId:  '32035519',
customField: 'de:DE:'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0INEO60';
var companyName   = 'M.U.T.+Mei%C3%9Fner+Umwelttechnik+GmbH';
var htmlTitle	  = 'M.U.T.+GmbH+-Ihr+Partner+f%C3%BCr+Umweltfragen-';
var metaKeywords  = 'Umwelt%2C+Altlasten%2C+Wasser%2C+Abwasser%2C+Kl%C3%A4ranlagen%2C+Emissionsmessungen%2C+Labor%2C+Boden%2C+Grundwasser%2C+Ingenieurb%C3%BCro%2C+Bau%C3%BCberwachung%2C+Sanierung';
var metaContents  = 'Ingenieurb%C3%BCro+f%C3%BCr+Umweltplanungen+und+Dienstleistungen';
					                                                                    
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 */					                                                            
