/* [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','23063',jdecode('Home'),jdecode(''),'/23063.html','true',[],''],
	['PAGE','32756',jdecode('Umweltberatung'),jdecode(''),'/32756.html','true',[],''],
	['PAGE','32783',jdecode('Entsorgungsmanagement'),jdecode(''),'/32783.html','true',[],''],
	['PAGE','32810',jdecode('ISO+9001'),jdecode(''),'/32810.html','true',[],''],
	['PAGE','32837',jdecode('Teamcoaching'),jdecode(''),'/32837.html','true',[],''],
	['PAGE','32864',jdecode('Dienstleistungen'),jdecode(''),'/32864.html','true',[],''],
	['PAGE','32628',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/32628.html','true',[],''],
	['PAGE','32655',jdecode('Links'),jdecode(''),'/32655.html','true',[],''],
	['PAGE','32682',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/32682/home.html','true',[ 
		['PAGE','33602',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/32682/33602.html','false',[],'']
	],''],
	['PAGE','35807',jdecode('Anfahrt'),jdecode(''),'/35807.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Global';
theSitetree.paletteFamily='333399';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='85';
theSitetree.graphicsetId='105';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Global',
				paletteFamily: 	'333399',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'85',
				graphicsetId: 	'105',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'242E8A',
				b_color: 		'FF9900',
				c_color: 		'000000',
				d_color: 		'EAEAEA',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '23063',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inzd75da770c9993b9b1e']={
webappId:    '1001',
documentId:  '32682',
internalId:  'atoix0inzd75da770c9993b9b1e',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inzd75da770c9993b9b1e']={
webappId:    '1001',
documentId:  '33602',
internalId:  'atoix0inzd75da770c9993b9b1e',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-2141060']={
webappId:    '1501',
documentId:  '23063',
internalId:  '2141060',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '35807',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23063',
internalId:  '',
customField: '20090509-134134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32655',
internalId:  '',
customField: '20080220-101817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32682',
internalId:  '',
customField: '20081210-105915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32756',
internalId:  '',
customField: '20040105-200825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32783',
internalId:  '',
customField: '20060310-144809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32810',
internalId:  '',
customField: '20060104-122206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32837',
internalId:  '',
customField: '20080220-101643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32864',
internalId:  '',
customField: '20051102-170949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32628',
internalId:  '',
customField: '20040605-095920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33602',
internalId:  '',
customField: '20040105-174539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35807',
internalId:  '',
customField: '20060310-151640'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0INZD75';
var companyName   = 'M%C3%BCnch+Beratungen+u.Dienstleistungen+GmbH';
var htmlTitle	  = 'M%C3%BCnch+Beratungen+und+Dienstleistungen';
var metaKeywords  = 'Umwelt%2CUmweltberatung%2CEntsorgung%2CEntsorgungsmanagement%2CNotifizierung%2CTeamarbeit%2CTeam%2CISO9001%2CBegleitscheine%2CM%C3%BCll%2CAbfall%2CSAVA%2CSonderabfall%2Cchemische+Industrie%2CBeratung%2CSchreibdienst%2CRecherche%2CInternetrecherche%2CDienstleistung%2CDienstleistungen%2CB%C3%BCroarbeiten%2C';
var metaContents  = 'Angebot+von+Beratungs-+und+Dienstleistungen+im+Bereich+Umweltberatung%2C+Umweltschutz%2C+Umweltrecht%2C+Entsorgung%2C+Notifizierung%2C+Entsorgung%2C+%C3%9Cbernahme+des+Entsorgungsmanagements%2C+ISO+9001+und+alles+im+Bereich+Teamarbeit.+Die+Dienstleistungen+erstrecken+sich+nicht+nur+auf+die+vorgenannten+Bereiche%2C+sondern+auch+auf+fast+alle+Dienstleistungen+in+B%C3%BCro%2FSekretariat+und+Recherchen.';
					                                                                    
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 */					                                                            

