/* [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('Home'),jdecode(''),'/1154.html','true',[],''],
	['PAGE','100614',jdecode('Aktuelles'),jdecode(''),'/100614.html','true',[],''],
	['PAGE','1276',jdecode('Adresse-Verein'),jdecode(''),'/1276.html','true',[],''],
	['PAGE','115387',jdecode('Ergebnislisten+2010'),jdecode(''),'/115387/index.html','true',[ 
		['PAGE','107628',jdecode('Ergebnislisten+2009'),jdecode(''),'/115387/107628.html','true',[],''],
		['PAGE','99687',jdecode('Ergebnislisten+2008'),jdecode(''),'/115387/99687.html','true',[],''],
		['PAGE','91187',jdecode('Ergebnislisten+2007'),jdecode(''),'/115387/91187.html','true',[],''],
		['PAGE','81514',jdecode('Ergebnislisten+2006'),jdecode(''),'/115387/81514.html','true',[],''],
		['PAGE','68654',jdecode('Ergebnislisten+2005'),jdecode(''),'/115387/68654.html','true',[],''],
		['PAGE','53887',jdecode('Ergebnislisten+2004'),jdecode(''),'/115387/53887.html','true',[],''],
		['PAGE','28555',jdecode('Ergebnislisten+2003'),jdecode(''),'/115387/28555.html','true',[],''],
		['PAGE','1299',jdecode('Ergebnislisten+2002'),jdecode(''),'/115387/1299.html','true',[],''],
		['PAGE','4208',jdecode('Ergebnislisten+2001'),jdecode(''),'/115387/4208.html','true',[],''],
		['PAGE','4231',jdecode('Ergebnislisten+2000'),jdecode(''),'/115387/4231.html','true',[],''],
		['PAGE','4254',jdecode('Ergebnislisten+1999'),jdecode(''),'/115387/4254.html','true',[],'']
	],''],
	['PAGE','1230',jdecode('Kontakt-Trainer'),jdecode(''),'/1230.html','true',[],''],
	['PAGE','1368',jdecode('Wir+%FCber+uns'),jdecode(''),'/1368/index.html','true',[ 
		['PAGE','71287',jdecode('Platzierungen+aller+aktiven+Sportler+'),jdecode(''),'/1368/71287.html','true',[],''],
		['PAGE','43758',jdecode('Geschichte'),jdecode(''),'/1368/43758.html','true',[],''],
		['PAGE','43785',jdecode('Mitglied+werden'),jdecode(''),'/1368/43785.html','true',[],'']
	],''],
	['PAGE','1207',jdecode('Training'),jdecode(''),'/1207.html','true',[],''],
	['PAGE','1460',jdecode('Termine'),jdecode(''),'/1460/index.html','true',[ 
		['PAGE','56891',jdecode('Bestandene+Klassenlaufen'),jdecode(''),'/1460/56891.html','true',[],'']
	],''],
	['PAGE','1901',jdecode('G%C4STEBUCH'),jdecode(''),'/1901.html','true',[],''],
	['PAGE','1902',jdecode('Eintr%E4ge'),jdecode(''),'/1902.html','true',[],''],
	['PAGE','109287',jdecode('8.+Elbe-Pokal+2009'),jdecode(''),'/109287/index.html','true',[ 
		['PAGE','113413',jdecode('Ergebnisliste'),jdecode(''),'/109287/113413.html','true',[],''],
		['PAGE','37232',jdecode('Wegebeschreibung'),jdecode(''),'/109287/37232.html','true',[],'']
	],''],
	['PAGE','90087',jdecode('Elbe-Pokal'),jdecode(''),'/90087/index.html','true',[ 
		['PAGE','106450',jdecode('Ergebnisliste+7.+Elbe-Pokal'),jdecode(''),'/90087/106450.html','true',[],''],
		['PAGE','98491',jdecode('Ergebnisliste+6.+Elbe-Pokal'),jdecode(''),'/90087/98491.html','true',[],''],
		['PAGE','89694',jdecode('Ergebnisliste+5.+Elbe-Pokal'),jdecode(''),'/90087/89694.html','true',[],''],
		['PAGE','78921',jdecode('Ergebnisliste+4.+Elbe-Pokal'),jdecode(''),'/90087/78921.html','true',[],''],
		['PAGE','64887',jdecode('Ergebnisse+3.+Elbe-Pokal'),jdecode(''),'/90087/64887.html','true',[],''],
		['PAGE','50711',jdecode('Ergebnisliste+2.+Elbe-Pokal'),jdecode(''),'/90087/50711.html','true',[],''],
		['PAGE','3540',jdecode('Ergebnislisten+1.+Elbe-Pokal'),jdecode(''),'/90087/3540.html','true',[],'']
	],''],
	['PAGE','59099',jdecode('F%D6RDERER'),jdecode(''),'/59099.html','true',[],''],
	['PAGE','21747',jdecode('Links'),jdecode(''),'/21747.html','true',[],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Global';
					                                                                    
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 */					                                                            
