/* [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','201390',jdecode('Informationen'),jdecode(''),'/4481/201390.html','true',[],''],
		['PAGE','207729',jdecode('Stellenangebote'),jdecode(''),'/4481/207729.html','true',[],''],
		['PAGE','18488',jdecode('Die+Schule'),jdecode(''),'/4481/18488.html','true',[],''],
		['PAGE','95379',jdecode('Passwortnachfrage'),jdecode(''),'/4481/95379/index.html','true',[ 
			['PAGE','95431',jdecode('Paswortnachfrage+%28Folgeseite%29'),jdecode(''),'/4481/95379/95431.html','false',[],'']
		],''],
		['PAGE','18457',jdecode('Bildungsstandards'),jdecode(''),'/4481/18457.html','true',[],''],
		['PAGE','18426',jdecode('Erwartungshorizonte'),jdecode(''),'/4481/18426.html','true',[],''],
		['PAGE','18395',jdecode('Lehrpl%E4ne'),jdecode(''),'/4481/18395.html','true',[],'']
	],''],
	['PAGE','191939',jdecode('Mathematik'),jdecode(''),'/191939/index.html','true',[ 
		['PAGE','192260',jdecode('Klassenstufe+5'),jdecode(''),'/191939/192260.html','true',[],''],
		['PAGE','192353',jdecode('Klassenstufe+6'),jdecode(''),'/191939/192353.html','true',[],''],
		['PAGE','192384',jdecode('Klassenstufe+7'),jdecode(''),'/191939/192384.html','true',[],''],
		['PAGE','192477',jdecode('Klassenstufe+8'),jdecode(''),'/191939/192477.html','true',[],'']
	],''],
	['PAGE','191970',jdecode('Deutsch'),jdecode(''),'/191970/index.html','true',[ 
		['PAGE','192291',jdecode('Klassenstufe+5'),jdecode(''),'/191970/192291.html','true',[],''],
		['PAGE','192322',jdecode('Klassenstufe+6'),jdecode(''),'/191970/192322.html','true',[],''],
		['PAGE','192415',jdecode('Klassenstufe+7'),jdecode(''),'/191970/192415.html','true',[],''],
		['PAGE','192446',jdecode('Klassenstufe+8'),jdecode(''),'/191970/192446.html','true',[],'']
	],''],
	['PAGE','192001',jdecode('Englisch'),jdecode(''),'/192001/index.html','true',[ 
		['PAGE','194355',jdecode('part+1+'),jdecode(''),'/192001/194355.html','true',[],''],
		['PAGE','206041',jdecode('Klassenstufe+5'),jdecode(''),'/192001/206041.html','true',[],''],
		['PAGE','206072',jdecode('Klassenstufe+6'),jdecode(''),'/192001/206072.html','true',[],'']
	],''],
	['PAGE','192229',jdecode('Gesellschaftslehre'),jdecode(''),'/192229/index.html','true',[ 
		['PAGE','193560',jdecode('Klassenstufe+5'),jdecode(''),'/192229/193560.html','true',[],''],
		['PAGE','193591',jdecode('Klassenstufe+6'),jdecode(''),'/192229/193591.html','true',[],''],
		['PAGE','193622',jdecode('Klassenstufe+7'),jdecode(''),'/192229/193622.html','true',[],''],
		['PAGE','193653',jdecode('Klassenstufe+8'),jdecode(''),'/192229/193653.html','true',[],''],
		['PAGE','193684',jdecode('Klassenstufe+9'),jdecode(''),'/192229/193684.html','true',[],''],
		['PAGE','193715',jdecode('Klassenstufe+10'),jdecode(''),'/192229/193715.html','true',[],'']
	],''],
	['PAGE','229229',jdecode('Ethik+Klasse+11'),jdecode(''),'/229229/index.html','true',[ 
		['PAGE','229329',jdecode('Informationen'),jdecode(''),'/229229/229329.html','true',[],''],
		['PAGE','229360',jdecode('Materialien'),jdecode(''),'/229229/229360.html','true',[],''],
		['PAGE','229391',jdecode('Themenlisten'),jdecode(''),'/229229/229391.html','true',[],''],
		['PAGE','229422',jdecode('Forum'),jdecode(''),'/229229/229422.html','true',[],'']
	],''],
	['PAGE','193529',jdecode('Nawi'),jdecode(''),'/193529/index.html','true',[ 
		['PAGE','210957',jdecode('Themenfeld+1'),jdecode(''),'/193529/210957.html','true',[],''],
		['PAGE','210988',jdecode('Themenfeld+2'),jdecode(''),'/193529/210988.html','true',[],''],
		['PAGE','211019',jdecode('Themenfeld+3'),jdecode(''),'/193529/211019.html','true',[],''],
		['PAGE','211050',jdecode('Themenfeld+4'),jdecode(''),'/193529/211050.html','true',[],''],
		['PAGE','211081',jdecode('Themenfeld+5'),jdecode(''),'/193529/211081.html','true',[],''],
		['PAGE','211112',jdecode('Themenfeld+6'),jdecode(''),'/193529/211112.html','true',[],''],
		['PAGE','211143',jdecode('Themenfeld+7'),jdecode(''),'/193529/211143.html','true',[],''],
		['PAGE','211174',jdecode('Themenfeld+8'),jdecode(''),'/193529/211174.html','true',[],'']
	],''],
	['PAGE','207829',jdecode('Wahlpflichtf%E4cher'),jdecode(''),'/207829.html','true',[],''],
	['PAGE','207891',jdecode('Franz%F6sisch'),jdecode(''),'/207891.html','true',[],''],
	['PAGE','207860',jdecode('Latein'),jdecode(''),'/207860.html','true',[],''],
	['PAGE','207922',jdecode('HuS'),jdecode(''),'/207922/index.html','true',[ 
		['PAGE','166288',jdecode('Behinderung'),jdecode(''),'/207922/166288.html','true',[],''],
		['PAGE','166319',jdecode('Jung+und+Alt'),jdecode(''),'/207922/166319.html','true',[],''],
		['PAGE','155210',jdecode('Sterben+-+Tod'),jdecode(''),'/207922/155210.html','true',[],''],
		['PAGE','166257',jdecode('Ern%E4hrung'),jdecode(''),'/207922/166257.html','true',[],''],
		['PAGE','161962',jdecode('Links'),jdecode(''),'/207922/161962.html','true',[],'']
	],''],
	['PAGE','207984',jdecode('TuN'),jdecode(''),'/207984.html','true',[],''],
	['PAGE','207953',jdecode('WuV'),jdecode(''),'/207953.html','true',[],''],
	['PAGE','85351',jdecode('Lehrstellen'),jdecode(''),'/85351/index.html','true',[ 
		['PAGE','129308',jdecode('Lehrstellenb%F6rsen'),jdecode(''),'/85351/129308.html','true',[],''],
		['PAGE','129339',jdecode('Berufsschulen'),jdecode(''),'/85351/129339.html','true',[],''],
		['PAGE','129370',jdecode('Informationen'),jdecode(''),'/85351/129370.html','true',[],'']
	],''],
	['PAGE','47379',jdecode('Elternseiten'),jdecode(''),'/47379/index.html','true',[ 
		['PAGE','122824',jdecode('Lernberatung'),jdecode(''),'/47379/122824.html','true',[],''],
		['PAGE','125202',jdecode('Erziehung'),jdecode(''),'/47379/125202.html','true',[],''],
		['PAGE','47522',jdecode('Kontakte'),jdecode(''),'/47379/47522/index.html','true',[ 
			['PAGE','78247',jdecode('Kontakte+%28Folgeseite%29'),jdecode(''),'/47379/47522/78247.html','false',[],'']
		],'']
	],''],
	['PAGE','75266',jdecode('Impressum'),jdecode(''),'/75266.html','true',[],'']];
var siteelementCount=65;
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 */					                                                            

