/* [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('Home'),jdecode(''),'/4481/index.html','true',[ 
		['PAGE','27431',jdecode('Termine'),jdecode(''),'/4481/27431.html','true',[],'']
	],''],
	['PAGE','18026',jdecode('Schule'),jdecode(''),'/18026/index.html','true',[ 
		['PAGE','102510',jdecode('Schwerpunkte'),jdecode(''),'/18026/102510.html','true',[],''],
		['PAGE','18053',jdecode('Konzept'),jdecode(''),'/18026/18053.html','true',[],''],
		['PAGE','26180',jdecode('Ziele'),jdecode(''),'/18026/26180.html','true',[],''],
		['PAGE','51934',jdecode('Eingangsstufe'),jdecode(''),'/18026/51934.html','true',[],''],
		['PAGE','28393',jdecode('Kinderstimmen'),jdecode(''),'/18026/28393.html','true',[],''],
		['PAGE','18080',jdecode('Kollegium'),jdecode(''),'/18026/18080.html','true',[],''],
		['PAGE','88183',jdecode('Kooperationen'),jdecode(''),'/18026/88183.html','true',[],''],
		['PAGE','38872',jdecode('Chronik'),jdecode(''),'/18026/38872.html','true',[],''],
		['PAGE','25199',jdecode('Kontakt'),jdecode(''),'/18026/25199.html','true',[],''],
		['PAGE','25234',jdecode('Routenplaner'),jdecode(''),'/18026/25234.html','true',[],'']
	],''],
	['PAGE','36975',jdecode('Eltern'),jdecode(''),'/36975/index.html','true',[ 
		['PAGE','23064',jdecode('Krank+melden'),jdecode(''),'/36975/23064/index.html','true',[ 
			['PAGE','27961',jdecode('Krank+melden+%28Folgeseite%29'),jdecode(''),'/36975/23064/27961.html','false',[],'']
		],''],
		['PAGE','23095',jdecode('Einschulung'),jdecode(''),'/36975/23095.html','true',[],''],
		['PAGE','23157',jdecode('Erster+Schultag'),jdecode(''),'/36975/23157.html','true',[],''],
		['PAGE','23033',jdecode('ABC+f%FCr+Eltern'),jdecode(''),'/36975/23033.html','true',[],''],
		['PAGE','91883',jdecode('Erziehungsvertrag'),jdecode(''),'/36975/91883.html','true',[],''],
		['PAGE','88003',jdecode('Tag+d.+o.+T%FCr'),jdecode(''),'/36975/88003.html','true',[],'']
	],''],
	['PAGE','69199',jdecode('OGTS'),jdecode(''),'/69199/index.html','true',[ 
		['PAGE','92783',jdecode('Mensa-Neubau'),jdecode(''),'/69199/92783.html','true',[],''],
		['PAGE','92833',jdecode('Stra%DFensicherung'),jdecode(''),'/69199/92833.html','true',[],'']
	],''],
	['PAGE','23188',jdecode('F%F6rderverein'),jdecode(''),'/23188/index.html','true',[ 
		['PAGE','38374',jdecode('F%F6GGS+Zweck'),jdecode(''),'/23188/38374.html','true',[],''],
		['PAGE','66273',jdecode('Aktivit%E4ten'),jdecode(''),'/23188/66273.html','true',[],''],
		['PAGE','23343',jdecode('Mitglied+werden'),jdecode(''),'/23188/23343.html','true',[],''],
		['PAGE','23374',jdecode('F%F6GGS+Kontakt'),jdecode(''),'/23188/23374/index.html','true',[ 
			['PAGE','34102',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/23188/23374/34102.html','false',[],'']
		],''],
		['PAGE','92705',jdecode('Scheck%FCbergabe'),jdecode(''),'/23188/92705.html','true',[],''],
		['PAGE','64891',jdecode('Sponsoren'),jdecode(''),'/23188/64891.html','true',[],'']
	],''],
	['PAGE','23498',jdecode('Aktivit%E4ten'),jdecode(''),'/23498/index.html','true',[ 
		['PAGE','109483',jdecode('Autorenlesung'),jdecode(''),'/23498/109483.html','true',[],''],
		['PAGE','106660',jdecode('Erste+Hilfe'),jdecode(''),'/23498/106660.html','true',[],''],
		['PAGE','97034',jdecode('Gesch%E4fte+helfen'),jdecode(''),'/23498/97034.html','true',[],''],
		['PAGE','72242',jdecode('Karneval'),jdecode(''),'/23498/72242.html','true',[],''],
		['PAGE','96476',jdecode('K%E4nguru'),jdecode(''),'/23498/96476.html','true',[],''],
		['PAGE','105920',jdecode('Klassenfahrt'),jdecode(''),'/23498/105920.html','true',[],''],
		['PAGE','105342',jdecode('Kunstprojekt'),jdecode(''),'/23498/105342.html','true',[],''],
		['PAGE','109421',jdecode('Lesewoche'),jdecode(''),'/23498/109421.html','true',[],''],
		['PAGE','101320',jdecode('Nikolaustheater'),jdecode(''),'/23498/101320.html','true',[],''],
		['PAGE','101920',jdecode('Partnerschule'),jdecode(''),'/23498/101920.html','true',[],''],
		['PAGE','106171',jdecode('Penfriends'),jdecode(''),'/23498/106171.html','true',[],''],
		['PAGE','109452',jdecode('Philharmonie'),jdecode(''),'/23498/109452.html','true',[],''],
		['PAGE','110149',jdecode('Projektwoche'),jdecode(''),'/23498/110149.html','true',[],''],
		['PAGE','102120',jdecode('R%F6mermuseum'),jdecode(''),'/23498/102120.html','true',[],''],
		['PAGE','110620',jdecode('Ruhezone'),jdecode(''),'/23498/110620.html','true',[],''],
		['PAGE','107920',jdecode('Verabschiedung'),jdecode(''),'/23498/107920.html','true',[],''],
		['PAGE','93583',jdecode('Verkehr'),jdecode(''),'/23498/93583.html','true',[],''],
		['PAGE','64205',jdecode('Waldschule'),jdecode(''),'/23498/64205.html','true',[],'']
	],''],
	['PAGE','25501',jdecode('Informatives'),jdecode(''),'/25501/index.html','true',[ 
		['PAGE','25428',jdecode('Wetter'),jdecode(''),'/25501/25428.html','true',[],''],
		['PAGE','25464',jdecode('Familie'),jdecode(''),'/25501/25464.html','true',[],'']
	],''],
	['PAGE','97220',jdecode('Archiv'),jdecode(''),'/97220/index.html','true',[ 
		['PAGE','90629',jdecode('B%E4renbude'),jdecode(''),'/97220/90629.html','true',[],''],
		['PAGE','75136',jdecode('B.-jugendspiele'),jdecode(''),'/97220/75136.html','true',[],''],
		['PAGE','51072',jdecode('Chefk%F6che'),jdecode(''),'/97220/51072.html','true',[],''],
		['PAGE','84267',jdecode('FC-Training'),jdecode(''),'/97220/84267.html','true',[],''],
		['PAGE','65272',jdecode('Figurentheater'),jdecode(''),'/97220/65272.html','true',[],''],
		['PAGE','64236',jdecode('Freiluga'),jdecode(''),'/97220/64236.html','true',[],''],
		['PAGE','82628',jdecode('Fussball-Meister'),jdecode(''),'/97220/82628.html','true',[],''],
		['PAGE','44028',jdecode('Gewaltpr%E4vention'),jdecode(''),'/97220/44028.html','true',[],''],
		['PAGE','79140',jdecode('Hockey+07'),jdecode(''),'/97220/79140.html','true',[],''],
		['PAGE','77236',jdecode('Jecke+H%F6hner'),jdecode(''),'/97220/77236.html','true',[],''],
		['PAGE','25027',jdecode('Klassenfahrt+06'),jdecode(''),'/97220/25027.html','true',[],''],
		['PAGE','47672',jdecode('Mal-Aktion'),jdecode(''),'/97220/47672.html','true',[],''],
		['PAGE','83027',jdecode('Malwettbewerb'),jdecode(''),'/97220/83027.html','true',[],''],
		['PAGE','39773',jdecode('Projektwoche+05'),jdecode(''),'/97220/39773.html','true',[],''],
		['PAGE','49156',jdecode('Spendenaktion'),jdecode(''),'/97220/49156.html','true',[],''],
		['PAGE','63072',jdecode('St.+Martin+06'),jdecode(''),'/97220/63072.html','true',[],''],
		['PAGE','34894',jdecode('Schulfest+04'),jdecode(''),'/97220/34894.html','true',[],''],
		['PAGE','24561',jdecode('Schuljubil%E4um+05'),jdecode(''),'/97220/24561.html','true',[],''],
		['PAGE','80760',jdecode('Schuluhr'),jdecode(''),'/97220/80760.html','true',[],''],
		['PAGE','79843',jdecode('Sponsorlauf+06'),jdecode(''),'/97220/79843.html','true',[],''],
		['PAGE','85124',jdecode('Riesenhuhn'),jdecode(''),'/97220/85124.html','true',[],''],
		['PAGE','79171',jdecode('WDR+in+der+GGS'),jdecode(''),'/97220/79171.html','true',[],''],
		['PAGE','67269',jdecode('Weihnachtsb%E4ckerei'),jdecode(''),'/97220/67269.html','true',[],''],
		['PAGE','92989',jdecode('Feuerwehr'),jdecode(''),'/97220/92989.html','true',[],''],
		['PAGE','86273',jdecode('Hundeschule'),jdecode(''),'/97220/86273.html','true',[],''],
		['PAGE','96997',jdecode('Planetarium'),jdecode(''),'/97220/96997.html','true',[],''],
		['PAGE','96966',jdecode('Ganz+sch%F6n+bl%F6d'),jdecode(''),'/97220/96966.html','true',[],''],
		['PAGE','89487',jdecode('Gesundes+Essen'),jdecode(''),'/97220/89487.html','true',[],''],
		['PAGE','96935',jdecode('Zeitung'),jdecode(''),'/97220/96935.html','true',[],''],
		['PAGE','101020',jdecode('Autorenlesung'),jdecode(''),'/97220/101020.html','true',[],''],
		['PAGE','62771',jdecode('Buchwoche'),jdecode(''),'/97220/62771.html','true',[],''],
		['PAGE','106820',jdecode('Projektwoche'),jdecode(''),'/97220/106820.html','true',[],'']
	],''],
	['PAGE','41672',jdecode('Impressum'),jdecode(''),'/41672.html','true',[],'']];
var siteelementCount=88;
theSitetree.topTemplateName='Roadsign';
					                                                                    
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 */					                                                            
