/* [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/index.html','true',[ 
		['PAGE','96919',jdecode('Gemeindefahrt+2012'),jdecode(''),'/1494/96919.html','true',[],'']
	],''],
	['PAGE','1678',jdecode('Gottesdienste'),jdecode(''),'/1678/index.html','true',[ 
		['PAGE','114481',jdecode('Besondere+Andachten'),jdecode(''),'/1678/114481.html','true',[],'']
	],''],
	['PAGE','1724',jdecode('Kontakt'),jdecode(''),'/1724/index.html','true',[ 
		['PAGE','1770',jdecode('Mitarbeitende'),jdecode(''),'/1724/1770.html','true',[],''],
		['PAGE','1701',jdecode('Anfahrt'),jdecode(''),'/1724/1701.html','true',[],'']
	],''],
	['PAGE','1517',jdecode('Kirchenvorstand'),jdecode(''),'/1517.html','true',[],''],
	['PAGE','114944',jdecode('Ich+glaub.+Ich+w%E4hl.'),jdecode(''),'/114944.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','86110',jdecode('Auf+ein+Wort'),jdecode(''),'/12594/86110.html','true',[],''],
		['PAGE','45433',jdecode('Predigt+zu+Erich+Fried%3A+Gegen+Vergessen'),jdecode(''),'/12594/45433.html','true',[],''],
		['PAGE','56245',jdecode('Predigt+zu+I.+Bachmann%3A+Nach+grauen+Tagen'),jdecode(''),'/12594/56245.html','true',[],'']
	],''],
	['PAGE','16316',jdecode('Hauskreise'),jdecode(''),'/16316.html','true',[],''],
	['PAGE','1586',jdecode('Kinder+und+Jugend'),jdecode(''),'/1586/index.html','true',[ 
		['PAGE','55466',jdecode('Abentasie'),jdecode(''),'/1586/55466.html','true',[],''],
		['PAGE','18117',jdecode('Konfirmation'),jdecode(''),'/1586/18117.html','true',[],'']
	],''],
	['PAGE','14416',jdecode('Kirchenmusik'),jdecode(''),'/14416.html','true',[],''],
	['PAGE','12621',jdecode('Senioren'),jdecode(''),'/12621.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','95210',jdecode('Archiv'),jdecode(''),'/95210/index.html','true',[ 
		['PAGE','105116',jdecode('Pfrin.+Loreck-Schwab%2C+Begr%FC%DFung'),jdecode(''),'/95210/105116.html','true',[],''],
		['PAGE','81792',jdecode('Abschied+Pfrin.+Schatz'),jdecode(''),'/95210/81792.html','true',[],''],
		['PAGE','107886',jdecode('Adventskalender'),jdecode(''),'/95210/107886.html','true',[],''],
		['PAGE','107934',jdecode('1.+Advent'),jdecode(''),'/95210/107934.html','true',[],''],
		['PAGE','107965',jdecode('28.11'),jdecode(''),'/95210/107965.html','true',[],''],
		['PAGE','107996',jdecode('29.11'),jdecode(''),'/95210/107996.html','true',[],''],
		['PAGE','108027',jdecode('30.11'),jdecode(''),'/95210/108027.html','true',[],''],
		['PAGE','108058',jdecode('1.12'),jdecode(''),'/95210/108058.html','true',[],''],
		['PAGE','108089',jdecode('2.12'),jdecode(''),'/95210/108089.html','true',[],''],
		['PAGE','108120',jdecode('3.12'),jdecode(''),'/95210/108120.html','true',[],''],
		['PAGE','108151',jdecode('2.+Advent'),jdecode(''),'/95210/108151.html','true',[],''],
		['PAGE','108182',jdecode('5.12'),jdecode(''),'/95210/108182.html','true',[],''],
		['PAGE','108213',jdecode('6.12'),jdecode(''),'/95210/108213.html','true',[],''],
		['PAGE','108244',jdecode('7.12'),jdecode(''),'/95210/108244.html','true',[],''],
		['PAGE','108275',jdecode('8.12'),jdecode(''),'/95210/108275.html','true',[],''],
		['PAGE','108306',jdecode('9.12'),jdecode(''),'/95210/108306.html','true',[],''],
		['PAGE','108337',jdecode('10.12'),jdecode(''),'/95210/108337.html','true',[],''],
		['PAGE','108368',jdecode('3.+Advent'),jdecode(''),'/95210/108368.html','true',[],''],
		['PAGE','108399',jdecode('12.12'),jdecode(''),'/95210/108399.html','true',[],''],
		['PAGE','108430',jdecode('13.12'),jdecode(''),'/95210/108430.html','true',[],''],
		['PAGE','108461',jdecode('14.12'),jdecode(''),'/95210/108461.html','true',[],''],
		['PAGE','108492',jdecode('15.12'),jdecode(''),'/95210/108492.html','true',[],''],
		['PAGE','108523',jdecode('16.12'),jdecode(''),'/95210/108523.html','true',[],''],
		['PAGE','108554',jdecode('17.12'),jdecode(''),'/95210/108554.html','true',[],''],
		['PAGE','108585',jdecode('4.+Advent'),jdecode(''),'/95210/108585.html','true',[],''],
		['PAGE','108616',jdecode('19.12'),jdecode(''),'/95210/108616.html','true',[],''],
		['PAGE','108647',jdecode('20.12'),jdecode(''),'/95210/108647.html','true',[],''],
		['PAGE','108678',jdecode('21.12'),jdecode(''),'/95210/108678.html','true',[],''],
		['PAGE','108709',jdecode('22.12'),jdecode(''),'/95210/108709.html','true',[],''],
		['PAGE','108740',jdecode('23.12'),jdecode(''),'/95210/108740.html','true',[],''],
		['PAGE','108771',jdecode('Heilig+Abend'),jdecode(''),'/95210/108771.html','true',[],''],
		['PAGE','108802',jdecode('1.+Weihnachtstag'),jdecode(''),'/95210/108802.html','true',[],''],
		['PAGE','108833',jdecode('2.+Weihnachtstag'),jdecode(''),'/95210/108833.html','true',[],'']
	],''],
	['PAGE','3303',jdecode('Links'),jdecode(''),'/3303.html','true',[],'']];
var siteelementCount=68;
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 */					                                                            

