/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40826',jdecode('Leistungsprofil'),jdecode(''),'/40826/home.html','true',[ 
		['PAGE','40835',jdecode('Baumpflege'),jdecode(''),'/40826/40835.html','true',[],''],
		['PAGE','40853',jdecode('Baumwertermittlung'),jdecode(''),'/40826/40853.html','true',[],''],
		['PAGE','41242',jdecode('Verkehrssicherheit...'),jdecode(''),'/40826/41242.html','true',[],''],
		['PAGE','40862',jdecode('Baumkataster...'),jdecode(''),'/40826/40862.html','true',[],''],
		['PAGE','40871',jdecode('Baum+und+Bahn'),jdecode(''),'/40826/40871.html','true',[],'']
	],''],
	['PAGE','40889',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40889/home.html','true',[ 
		['PAGE','40925',jdecode('Referenzen'),jdecode(''),'/40889/40925.html','true',[],'']
	],''],
	['PAGE','40880',jdecode('Kontakt'),jdecode(''),'/40880.html','true',[],''],
	['PAGE','41254',jdecode('Anfahrt'),jdecode(''),'/41254.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='8D7C50';
theSitetree.keyvisualId='7078';
theSitetree.keyvisualName='kv_7078.jpg';
theSitetree.fontsetId='16393';
theSitetree.graphicsetId='12126';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='8D7C50';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'8D7C50',
				keyvisualId: 	'7078',
				keyvisualName: 	'kv_7078.jpg',
				fontsetId: 		'16393',
				graphicsetId: 	'12126',
				contentColor: 	'FFFFFF',
				contentBGColor: '8D7C50',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100505-092624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40826',
internalId:  '',
customField: '20090828-123741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40880',
internalId:  '',
customField: '20100505-091835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40889',
internalId:  '',
customField: '20090828-132116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40925',
internalId:  '',
customField: '20090828-132423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40853',
internalId:  '',
customField: '20091003-074442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40862',
internalId:  '',
customField: '20091003-081745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40871',
internalId:  '',
customField: '20091003-081939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40835',
internalId:  '',
customField: '20090515-082555'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41254',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-11fb6bfe116']={
webappId:    '1007',
documentId:  '41242',
internalId:  '11fb6bfe116',
customField: 'g.13urbni71.bfjvnep51g.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41242',
internalId:  '',
customField: '20090828-131942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41254',
internalId:  '',
customField: '20090306-100558'
};
webappMappings['1501']=webappMappings['1501-61239601']={
webappId:    '1501',
documentId:  '39994',
internalId:  '61239601',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-62652701']={
webappId:    '1008',
documentId:  '40880',
internalId:  '62652701',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRNY7H';
var companyName   = 'Baumsachverst%C3%A4ndigenb%C3%BCro+Michael+Birke+%C3%B6.b.v.+SV';
var htmlTitle	  = 'Baumsachverst%C3%A4ndigenb%C3%BCro+Dipl.-Ing.+%28FH%29+Michael+Birke+%C3%B6.b.v.+SV';
var metaKeywords  = 'Baumgutachten%2C+Baumgutachter%2C+Methode+Koch%2C+Baumwertermittlung%2C+Baumsch%C3%A4den%2C+Geh%C3%B6lzwertermittlung%2C+Geh%C3%B6lzsachverst%C3%A4ndiger%2C+Baumdiagnose%2C+Baumschutz%2C+Baumuntersuchung%2C+Baumkrankheiten%2C+Baumkontrolle%2C+Baumkataster%2C+Verkehrssicherheitsgutachten%2C+Baumstatik%2C+Anfahrschaden%2C++Fachgerechte+Baumpflege%2C+Baumspezialist%2C+Gefahrbaum%2C+Baumdoktor%2C+Baumchirurgie%2C+Baumchirurg%2C+Wurzeleinwuchs%2C+Baumgesundheit%2C+Kronensicherung%2C+Problembaum%2C+Baum%C3%BCberpr%C3%BCfung%2C+Baumpilz%2C+Verkehrssicherheit+von+B%C3%A4umen%2C+Baummanagement%2C+Baumpflegekonzepte%2C+Baumbiologie%2C+GaLaBau-+Sachverst%C3%A4ndiger%2C+Verkehrssicherheitskontrollen%2C+Baumpr%C3%BCfung%2C+Baumschnitt%2C+Standsicherheit%2C+Bruchsicherheit%2C+Kappung%2C+Wurzelschaden%2C+Standortsanierung%2C+H%C3%B6hlung%2C+Sturmschaden%2C+Totholz%2C+Baumriss%2C+Baumzerst%C3%B6rung%2C+Seilklettertechnik%2C+Baumerkrankungen%2C+%2C+Schutz-+und+Gestaltungsgr%C3%BCn%2C+B%C3%A4ume%2C+Eingehende+Untersuchungen%2C+Beratung%2C+Ziergeh%C3%B6lzhinweise%2C+Baumdoc';
var metaContents  = 'Sachverstand+f%C3%BCr+B%C3%A4ume%2C+Ihr+Ansprechpartner+f%C3%BCr+Baumgutachten%2C+Baumwertermittlung%2C+Verkehrssicherheit+von+B%C3%A4umen%2C+Baumpflege%2C+Baumschutz+und+Beratung%2C+Wertgutachten+nach+Methode+Koch%2C+Baumkataster';
					                                                                    
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 */					                                                            
