/* [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.html','true',[],''],
	['PAGE','19625',jdecode('Kontakt'),jdecode(''),'/19625/index.html','true',[ 
		['PAGE','30378',jdecode('Routenplaner'),jdecode(''),'/19625/30378.html','true',[],''],
		['PAGE','49063',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/19625/49063.html','false',[],''],
		['PAGE','58055',jdecode('Anfahrt'),jdecode(''),'/19625/58055.html','true',[],'']
	],''],
	['PAGE','19355',jdecode('Aktuelle+Kurse'),jdecode(''),'/19355/index.html','true',[ 
		['PAGE','19382',jdecode('FIRMENKURSE'),jdecode(''),'/19355/19382.html','true',[],''],
		['PAGE','19409',jdecode('ABENDKURSE+'),jdecode(''),'/19355/19409.html','true',[],''],
		['PAGE','45297',jdecode('NACHHILFE'),jdecode(''),'/19355/45297.html','true',[],''],
		['PAGE','45654',jdecode('INTERKULTURELLES'),jdecode(''),'/19355/45654.html','true',[],''],
		['PAGE','19436',jdecode('IHK-ZERTIFIKATE'),jdecode(''),'/19355/19436.html','true',[],'']
	],''],
	['PAGE','9327',jdecode('Photoalben'),jdecode(''),'/9327/index.html','true',[ 
		['PAGE','47655',jdecode('UNSERE+SCHULE'),jdecode(''),'/9327/47655.html','true',[],''],
		['PAGE','35055',jdecode('UNSERE+KOLLEGEN'),jdecode(''),'/9327/35055.html','true',[],''],
		['PAGE','4655',jdecode('UNSER+ALBUM'),jdecode(''),'/9327/4655.html','true',[],''],
		['PAGE','44168',jdecode('SPECIAL+GUESTS'),jdecode(''),'/9327/44168.html','true',[],''],
		['PAGE','43655',jdecode('ARCHIV'),jdecode(''),'/9327/43655.html','true',[],'']
	],''],
	['PAGE','9354',jdecode('Service'),jdecode(''),'/9354/index.html','true',[ 
		['PAGE','31951',jdecode('Minidolmetscher'),jdecode(''),'/9354/31951.html','true',[],''],
		['PAGE','49878',jdecode('Reise+%26+Urlaub'),jdecode(''),'/9354/49878.html','true',[],''],
		['PAGE','49914',jdecode('Wetter+in+Fulda'),jdecode(''),'/9354/49914.html','true',[],'']
	],''],
	['PAGE','50154',jdecode('Spiele'),jdecode(''),'/50154/index.html','true',[ 
		['PAGE','53991',jdecode('Quiz'),jdecode(''),'/50154/53991.html','true',[],''],
		['PAGE','54027',jdecode('Supermind'),jdecode(''),'/50154/54027.html','true',[],''],
		['PAGE','53955',jdecode('Siggi+das+Seepferdchen'),jdecode(''),'/50154/53955.html','true',[],'']
	],''],
	['PAGE','24408',jdecode('G%E4stebuch'),jdecode(''),'/24408/index.html','true',[ 
		['PAGE','24409',jdecode('Eintr%E4ge'),jdecode(''),'/24408/24409.html','true',[],'']
	],''],
	['PAGE','46600',jdecode('Stellenangebote'),jdecode(''),'/46600.html','true',[],''],
	['PAGE','31910',jdecode('News'),jdecode(''),'/31910/index.html','true',[ 
		['PAGE','30408',jdecode('Marktberichte'),jdecode(''),'/31910/30408.html','true',[],''],
		['PAGE','30444',jdecode('Wissenschaft'),jdecode(''),'/31910/30444.html','true',[],'']
	],''],
	['PAGE','31818',jdecode('IMPRESSUM'),jdecode(''),'/31818/index.html','true',[ 
		['PAGE','31778',jdecode('AGB'),jdecode(''),'/31818/31778.html','true',[],''],
		['PAGE','57955',jdecode('Anfahrt'),jdecode(''),'/31818/57955.html','true',[],'']
	],'']];
var siteelementCount=34;
theSitetree.topTemplateName='Disco';
					                                                                    
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 */					                                                            
