/* [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','40555',jdecode('Aktuelles+Regional'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','80101',jdecode('Aktuelles+%C3%9Cberregional'),jdecode(''),'/80101.html','true',[],''],
	['PAGE','39994',jdecode('Biogasanlage+S%C3%BCdlohn'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42596',jdecode('Hintergr%C3%BCnde+Biogas'),jdecode(''),'/42596.html','true',[],''],
	['PAGE','44139',jdecode('Termine+%2F+Chronologie'),jdecode(''),'/44139/home.html','true',[ 
		['PAGE','43627',jdecode('Bilder'),jdecode(''),'/44139/43627.html','true',[],'']
	],''],
	['PAGE','42502',jdecode('Vereinsarbeit+'),jdecode(''),'/42502.html','true',[],''],
	['PAGE','42863',jdecode('Biogasanlage+G%C3%BCtergl%C3%BCck'),jdecode(''),'/42863.html','true',[],''],
	['PAGE','40573',jdecode('S%C3%BCdlohn+'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','42676',jdecode('Pro+und+Contra+'),jdecode(''),'/42676.html','false',[],''],
	['PAGE','42353',jdecode('Zahlen+und+Fakten'),jdecode(''),'/42353.html','false',[],''],
	['PAGE','40564',jdecode('Aktuelle+Termine'),jdecode(''),'/40564.html','false',[],''],
	['PAGE','43363',jdecode('Presse+'),jdecode(''),'/43363/home.html','true',[ 
		['PAGE','43372',jdecode('Leserbriefe+'),jdecode(''),'/43363/43372.html','true',[],''],
		['PAGE','40582',jdecode('Stimmen+aus+der+Politk'),jdecode(''),'/43363/40582.html','true',[],'']
	],''],
	['PAGE','40600',jdecode('Kontakt'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','42438',jdecode('G%C3%A4stebuch'),jdecode(''),'/42438/home.html','true',[ 
		['PAGE','42437',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42438/42437.html','true',[],'']
	],''],
	['PAGE','43269',jdecode('RWE+%2F+WLV'),jdecode(''),'/43269.html','true',[],''],
	['PAGE','40609',jdecode('Impressum'),jdecode(''),'/40609.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Circles';
theSitetree.paletteFamily='D2D2D2';
theSitetree.keyvisualId='10971';
theSitetree.keyvisualName='kv_10971.jpg';
theSitetree.fontsetId='31911';
theSitetree.graphicsetId='13728';
theSitetree.contentColor='424242';
theSitetree.contentBGColor='D2D2D2';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circles',
				paletteFamily: 	'D2D2D2',
				keyvisualId: 	'10971',
				keyvisualName: 	'kv_10971.jpg',
				fontsetId: 		'31911',
				graphicsetId: 	'13728',
				contentColor: 	'424242',
				contentBGColor: 'D2D2D2',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40555',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110918-121009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20110918-152220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20110612-111553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100228-171724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20100424-103200'
};
webappMappings['1011']=webappMappings['1011-ddp-vermischtes']={
webappId:    '1011',
documentId:  '80101',
internalId:  'ddp-vermischtes',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20100812-203823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20100415-200409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42353',
internalId:  '',
customField: '20101010-113637'
};
webappMappings['1002']=webappMappings['1002-42438atoix0irb6dy']={
webappId:    '1002',
documentId:  '42438',
internalId:  '42438atoix0irb6dy',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42438atoix0irb6dy']={
webappId:    '1002',
documentId:  '42437',
internalId:  '42438atoix0irb6dy',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43269',
internalId:  '',
customField: '20101113-121314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42438',
internalId:  '',
customField: '20100228-110421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42437',
internalId:  '',
customField: '20100205-235045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42596',
internalId:  '',
customField: '20110918-120536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43372',
internalId:  '',
customField: '20100518-191502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42502',
internalId:  '',
customField: '20110225-190336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43363',
internalId:  '',
customField: '20101111-113350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42863',
internalId:  '',
customField: '20100917-193313'
};
webappMappings['1005']=webappMappings['1005-131337f7234.53ee4e56']={
webappId:    '1005',
documentId:  '40555',
internalId:  '131337f7234.53ee4e56',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42676',
internalId:  '',
customField: '20101010-113732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44139',
internalId:  '',
customField: '20110918-144118'
};
webappMappings['1007']=webappMappings['1007-126bf63bdd2']={
webappId:    '1007',
documentId:  '43627',
internalId:  '126bf63bdd2',
customField: 'g.14qvm48k2.3gh9781fllk.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43627',
internalId:  '',
customField: '20100308-210510'
};
webappMappings['1501']=webappMappings['1501-68826502']={
webappId:    '1501',
documentId:  '40555',
internalId:  '68826502',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80101',
internalId:  '',
customField: '20110612-115118'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRB6DY';
var companyName   = 'BI+Umwelt-%2C+Natur-+und+Gew%C3%A4sserschutz+S%C3%BCdlohn+e.V.';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

