/* [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','4599',jdecode('Home'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','157238',jdecode('Lernen'),jdecode(''),'/157238.html','true',[],''],
	['PAGE','166699',jdecode('Anmeldungen'),jdecode(''),'/166699/index.html','true',[ 
		['PAGE','138038',jdecode('Klassenstufe+5'),jdecode(''),'/166699/138038.html','true',[],''],
		['PAGE','166730',jdecode('Klassenstufen+6-10'),jdecode(''),'/166699/166730.html','true',[],'']
	],''],
	['PAGE','163738',jdecode('Oberstufe'),jdecode(''),'/163738/index.html','true',[ 
		['PAGE','171938',jdecode('Anmeldung+Sek+II'),jdecode(''),'/163738/171938/index.html','true',[ 
			['PAGE','176215',jdecode('Anmeldung+Sek+II+%28Folgeseite%29'),jdecode(''),'/163738/171938/176215.html','false',[],'']
		],''],
		['PAGE','172143',jdecode('Informationen'),jdecode(''),'/163738/172143.html','true',[],'']
	],''],
	['PAGE','176704',jdecode('Lehramtspraktika'),jdecode(''),'/176704.html','true',[],''],
	['PAGE','153338',jdecode('Termine'),jdecode(''),'/153338.html','true',[],''],
	['PAGE','4656',jdecode('Schulinfomationen'),jdecode(''),'/4656/index.html','true',[ 
		['PAGE','189404',jdecode('Unterrichtszeiten'),jdecode(''),'/4656/189404.html','true',[],''],
		['PAGE','189751',jdecode('Sprechzeiten'),jdecode(''),'/4656/189751.html','true',[],''],
		['PAGE','28202',jdecode('Kontakt'),jdecode(''),'/4656/28202.html','true',[],''],
		['PAGE','30901',jdecode('Schulbuchausleihe'),jdecode(''),'/4656/30901.html','true',[],''],
		['PAGE','4710',jdecode('Lehrerkollegium'),jdecode(''),'/4656/4710.html','true',[],''],
		['PAGE','43301',jdecode('Klassenlehrer+'),jdecode(''),'/4656/43301.html','true',[],''],
		['PAGE','29701',jdecode('Hausmeister'),jdecode(''),'/4656/29701.html','true',[],''],
		['PAGE','4737',jdecode('Verwaltung'),jdecode(''),'/4656/4737.html','true',[],'']
	],''],
	['PAGE','4764',jdecode('Schulleitung'),jdecode(''),'/4764/index.html','true',[ 
		['PAGE','188721',jdecode('Aufgabenverteilung'),jdecode(''),'/4764/188721.html','true',[],''],
		['PAGE','142038',jdecode('Schulleiter'),jdecode(''),'/4764/142038.html','true',[],''],
		['PAGE','142070',jdecode('1.+Stellvertreter'),jdecode(''),'/4764/142070.html','true',[],''],
		['PAGE','142101',jdecode('2.+Stellvertreter+'),jdecode(''),'/4764/142101.html','true',[],''],
		['PAGE','188616',jdecode('Organisationsleiter'),jdecode(''),'/4764/188616.html','true',[],''],
		['PAGE','142132',jdecode('Koordinator+5%2F6'),jdecode(''),'/4764/142132.html','true',[],''],
		['PAGE','142884',jdecode('Koordinator+7%2F8'),jdecode(''),'/4764/142884.html','true',[],''],
		['PAGE','142915',jdecode('Koordinator+9%2F10'),jdecode(''),'/4764/142915.html','true',[],''],
		['PAGE','163655',jdecode('Oberstufenleiter'),jdecode(''),'/4764/163655.html','true',[],'']
	],''],
	['PAGE','41301',jdecode('Schulsozialarbeit'),jdecode(''),'/41301.html','true',[],''],
	['PAGE','24902',jdecode('Schulgeschichte'),jdecode(''),'/24902.html','true',[],''],
	['PAGE','161890',jdecode('Raiffeisen'),jdecode(''),'/161890.html','true',[],''],
	['PAGE','128438',jdecode('P%E4dagogik'),jdecode(''),'/128438/index.html','true',[ 
		['PAGE','157038',jdecode('Lernseiten'),jdecode(''),'/128438/157038.html','true',[],''],
		['PAGE','35501',jdecode('F%F6rderkultur'),jdecode(''),'/128438/35501.html','true',[],''],
		['PAGE','35601',jdecode('Integration'),jdecode(''),'/128438/35601.html','true',[],''],
		['PAGE','30801',jdecode('Differenzierungen'),jdecode(''),'/128438/30801.html','true',[],''],
		['PAGE','37709',jdecode('Klassenfahrten'),jdecode(''),'/128438/37709.html','true',[],''],
		['PAGE','72701',jdecode('Lesef%F6rderung'),jdecode(''),'/128438/72701.html','true',[],''],
		['PAGE','93446',jdecode('Antolin'),jdecode(''),'/128438/93446.html','true',[],''],
		['PAGE','35901',jdecode('ITG'),jdecode(''),'/128438/35901.html','true',[],''],
		['PAGE','36101',jdecode('Ganztagsangebote'),jdecode(''),'/128438/36101.html','true',[],''],
		['PAGE','35801',jdecode('Bl%E4serklasse'),jdecode(''),'/128438/35801.html','true',[],'']
	],''],
	['PAGE','36001',jdecode('Berufsorientierung'),jdecode(''),'/36001/index.html','true',[ 
		['PAGE','189031',jdecode('Klassen+5-7'),jdecode(''),'/36001/189031.html','true',[],''],
		['PAGE','189062',jdecode('Klasse+8'),jdecode(''),'/36001/189062.html','true',[],''],
		['PAGE','189093',jdecode('Klassen+9+und+10'),jdecode(''),'/36001/189093.html','true',[],'']
	],''],
	['PAGE','30601',jdecode('Wahlpflichtf%E4cher+'),jdecode(''),'/30601/index.html','true',[ 
		['PAGE','63106',jdecode('Neue+Struktur'),jdecode(''),'/30601/63106.html','true',[],''],
		['PAGE','166038',jdecode('Franz%F6sisch'),jdecode(''),'/30601/166038.html','true',[],''],
		['PAGE','63622',jdecode('Verkaufe+%28Folgeseite%29'),jdecode(''),'/30601/63622.html','false',[],''],
		['PAGE','177404',jdecode('Latein'),jdecode(''),'/30601/177404.html','true',[],''],
		['PAGE','177486',jdecode('HuS'),jdecode(''),'/30601/177486.html','true',[],''],
		['PAGE','177517',jdecode('TuN'),jdecode(''),'/30601/177517.html','true',[],''],
		['PAGE','177548',jdecode('WuV'),jdecode(''),'/30601/177548.html','true',[],''],
		['PAGE','177579',jdecode('Neigungsbereiche'),jdecode(''),'/30601/177579.html','true',[],'']
	],''],
	['PAGE','187204',jdecode('Lehrer'),jdecode(''),'/187204/index.html','true',[ 
		['PAGE','187235',jdecode('Gesetze'),jdecode(''),'/187204/187235.html','true',[],''],
		['PAGE','187266',jdecode('Verordnungen'),jdecode(''),'/187204/187266.html','true',[],''],
		['PAGE','187297',jdecode('Kompendien'),jdecode(''),'/187204/187297.html','true',[],''],
		['PAGE','187332',jdecode('Informationen'),jdecode(''),'/187204/187332.html','true',[],''],
		['PAGE','188995',jdecode('Vordrucke'),jdecode(''),'/187204/188995.html','true',[],'']
	],''],
	['PAGE','4791',jdecode('Eltern'),jdecode(''),'/4791/index.html','true',[ 
		['PAGE','18802',jdecode('Schulelternbeirat'),jdecode(''),'/4791/18802.html','true',[],''],
		['PAGE','18829',jdecode('Klassenelternbeir%E4te'),jdecode(''),'/4791/18829.html','true',[],'']
	],''],
	['PAGE','4818',jdecode('Sch%FClerschaft'),jdecode(''),'/4818/index.html','true',[ 
		['PAGE','92552',jdecode('Gartenhelfer+%28Folgeseite%29'),jdecode(''),'/4818/92552.html','false',[],''],
		['PAGE','63414',jdecode('Tausche+%28Folgeseite%29'),jdecode(''),'/4818/63414.html','false',[],'']
	],''],
	['PAGE','4845',jdecode('F%F6rderverein+'),jdecode(''),'/4845/index.html','true',[ 
		['PAGE','18856',jdecode('Vorstand'),jdecode(''),'/4845/18856.html','true',[],''],
		['PAGE','18910',jdecode('F%F6rderprojekte'),jdecode(''),'/4845/18910.html','true',[],''],
		['PAGE','18964',jdecode('Kontakte'),jdecode(''),'/4845/18964.html','true',[],'']
	],''],
	['PAGE','152379',jdecode('Stellen+an+der+IGS'),jdecode(''),'/152379.html','true',[],''],
	['PAGE','132142',jdecode('Links'),jdecode(''),'/132142.html','true',[],''],
	['PAGE','5007',jdecode('Impressum'),jdecode(''),'/5007.html','true',[],''],
	['PAGE','27402',jdecode('Anfahrt'),jdecode(''),'/27402.html','true',[],'']];
var siteelementCount=77;
theSitetree.topTemplateName='Orbit';
					                                                                    
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 */					                                                            

