/* [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','1154',jdecode('Startseite'),jdecode(''),'/1154.html','true',[],''],
	['PAGE','1494',jdecode('Aktuelles'),jdecode(''),'/1494.html','true',[],''],
	['PAGE','1678',jdecode('Gottesdienste'),jdecode(''),'/1678.html','true',[],''],
	['PAGE','1724',jdecode('Kontakt'),jdecode(''),'/1724/index.html','true',[ 
		['PAGE','1770',jdecode('Mitarbeitende'),jdecode(''),'/1724/1770.html','true',[],''],
		['PAGE','1517',jdecode('Kirchenvorstand'),jdecode(''),'/1724/1517.html','true',[],''],
		['PAGE','1701',jdecode('Anfahrt'),jdecode(''),'/1724/1701.html','true',[],'']
	],''],
	['PAGE','55657',jdecode('Montags+in+Passion'),jdecode(''),'/55657.html','true',[],''],
	['PAGE','85810',jdecode('PassionArte'),jdecode(''),'/85810.html','true',[],''],
	['PAGE','50315',jdecode('KirchenRundgang'),jdecode(''),'/50315/index.html','true',[ 
		['PAGE','50284',jdecode('Die+Glocken'),jdecode(''),'/50315/50284.html','true',[],''],
		['PAGE','54433',jdecode('Leuchter'),jdecode(''),'/50315/54433.html','true',[],''],
		['PAGE','54464',jdecode('Hipp-Bild'),jdecode(''),'/50315/54464.html','true',[],''],
		['PAGE','56539',jdecode('Der+Kirchenraum'),jdecode(''),'/50315/56539.html','true',[],''],
		['PAGE','67453',jdecode('Krippe'),jdecode(''),'/50315/67453.html','true',[],'']
	],''],
	['PAGE','12594',jdecode('Kopf%2C+Geist+%26+Seele'),jdecode(''),'/12594/index.html','true',[ 
		['PAGE','45433',jdecode('14.09.2008'),jdecode(''),'/12594/45433.html','true',[],''],
		['PAGE','56245',jdecode('28.09.2008'),jdecode(''),'/12594/56245.html','true',[],'']
	],''],
	['PAGE','16316',jdecode('Hauskreise'),jdecode(''),'/16316.html','true',[],''],
	['PAGE','1586',jdecode('Arbeit+mit+Kindern'),jdecode(''),'/1586.html','true',[],''],
	['PAGE','15516',jdecode('Jugendarbeit'),jdecode(''),'/15516/index.html','true',[ 
		['PAGE','18117',jdecode('Konfirmation'),jdecode(''),'/15516/18117.html','true',[],''],
		['PAGE','55466',jdecode('Abentasie'),jdecode(''),'/15516/55466.html','true',[],'']
	],''],
	['PAGE','14416',jdecode('Kirchenmusik'),jdecode(''),'/14416.html','true',[],''],
	['PAGE','12621',jdecode('Senioren'),jdecode(''),'/12621.html','true',[],''],
	['PAGE','81792',jdecode('...+und+tsch%FCss%21'),jdecode(''),'/81792.html','true',[],''],
	['PAGE','50633',jdecode('Nachbarschaftshilfe'),jdecode(''),'/50633.html','true',[],''],
	['PAGE','18144',jdecode('Amnesty'),jdecode(''),'/18144.html','true',[],''],
	['PAGE','65015',jdecode('Impressum'),jdecode(''),'/65015.html','true',[],''],
	['PAGE','2265',jdecode('G%E4stebuch'),jdecode(''),'/2265/index.html','true',[ 
		['PAGE','2266',jdecode('Eintr%E4ge'),jdecode(''),'/2265/2266.html','true',[],'']
	],''],
	['PAGE','3303',jdecode('Links'),jdecode(''),'/3303.html','true',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='Seifenblase';
					                                                                    
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 */					                                                            
