/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','4481',jdecode('Startseite'),jdecode(''),'/4481.html','true',[],''],
	['PAGE','122856',jdecode('Aktuelles'),jdecode(''),'/122856.html','true',[],''],
	['PAGE','98182',jdecode('Unser+Gemeinderat'),jdecode(''),'/98182.html','true',[],''],
	['PAGE','131689',jdecode('Gemeinderatsarbeit'),jdecode(''),'/131689.html','true',[],''],
	['PAGE','42374',jdecode('Unsere+Position'),jdecode(''),'/42374.html','true',[],''],
	['PAGE','127781',jdecode('Presse+BI'),jdecode(''),'/127781.html','true',[],''],
	['PAGE','122228',jdecode('Spenden+und+F%F6rdern'),jdecode(''),'/122228.html','true',[],''],
	['PAGE','97965',jdecode('Links'),jdecode(''),'/97965.html','true',[],''],
	['PAGE','9335',jdecode('Kontakt+%2F+Newsletter'),jdecode(''),'/9335/index.html','true',[ 
		['PAGE','38146',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/9335/38146.html','false',[],'']
	],''],
	['PAGE','120704',jdecode('Impressum'),jdecode(''),'/120704.html','true',[],''],
	['PAGE','70605',jdecode('Zukunftswerkstatt'),jdecode(''),'/70605/index.html','true',[ 
		['PAGE','70636',jdecode('Presse+Zukunftswerkstatt'),jdecode(''),'/70605/70636.html','true',[],''],
		['PAGE','41614',jdecode('Links+zu+Studien+u.%E4.'),jdecode(''),'/70605/41614.html','true',[],''],
		['PAGE','121781',jdecode('Position+der+BI'),jdecode(''),'/70605/121781.html','true',[],'']
	],''],
	['PAGE','41174',jdecode('Historie'),jdecode(''),'/41174/index.html','true',[ 
		['PAGE','40898',jdecode('Der+Anfang'),jdecode(''),'/41174/40898.html','true',[],''],
		['PAGE','38302',jdecode('Was+war+die+IZP%3F'),jdecode(''),'/41174/38302.html','true',[],''],
		['PAGE','14001',jdecode('1.+Treffen+9.6.2005'),jdecode(''),'/41174/14001.html','true',[],''],
		['PAGE','9254',jdecode('Gr%FCndungsversammlung+der+BI'),jdecode(''),'/41174/9254.html','true',[],''],
		['PAGE','15876',jdecode('F%FCnf+Gr%FCnde+f%FCr+ein+NEIN'),jdecode(''),'/41174/15876.html','true',[],''],
		['PAGE','15545',jdecode('Schleifenaktion'),jdecode(''),'/41174/15545.html','true',[],''],
		['PAGE','15845',jdecode('Konsequenzen'),jdecode(''),'/41174/15845.html','true',[],''],
		['PAGE','39274',jdecode('Plattform'),jdecode(''),'/41174/39274.html','true',[],''],
		['PAGE','42474',jdecode('Dez+2005'),jdecode(''),'/41174/42474.html','true',[],''],
		['PAGE','9281',jdecode('Presseberichte'),jdecode(''),'/41174/9281.html','true',[],'']
	],'']];
var siteelementCount=26;
theSitetree.topTemplateName='Arena';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

