/* [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','4466',jdecode('Home'),jdecode(''),'/4466.html','true',[],''],
	['PAGE','4790',jdecode('News'),jdecode(''),'/4790/index.html','true',[ 
		['PAGE','33102',jdecode('Sport'),jdecode(''),'/4790/33102.html','true',[],''],
		['PAGE','33208',jdecode('Wetter'),jdecode(''),'/4790/33208.html','true',[],'']
	],''],
	['PAGE','32601',jdecode('Hauptvorstand'),jdecode(''),'/32601.html','true',[],''],
	['PAGE','41618',jdecode('Geschichte'),jdecode(''),'/41618.html','true',[],''],
	['PAGE','4655',jdecode('Fu%DFball+%2F+Senioren'),jdecode(''),'/4655/index.html','true',[ 
		['PAGE','32706',jdecode('1.+Mannschaft'),jdecode(''),'/4655/32706.html','true',[],''],
		['PAGE','34834',jdecode('2.+Mannschaft'),jdecode(''),'/4655/34834.html','true',[],''],
		['PAGE','32737',jdecode('Alte+Herren'),jdecode(''),'/4655/32737.html','true',[],''],
		['PAGE','69322',jdecode('Vereinsspielplan+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++gesamt'),jdecode(''),'/4655/69322.html','true',[],''],
		['PAGE','39418',jdecode('Schiedsrichter'),jdecode(''),'/4655/39418.html','true',[],''],
		['PAGE','37521',jdecode('Trainingszeiten'),jdecode(''),'/4655/37521.html','true',[],''],
		['PAGE','111546',jdecode('Sponsoren'),jdecode(''),'/4655/111546.html','true',[],''],
		['PAGE','43118',jdecode('Forum'),jdecode(''),'/4655/43118.html','true',[],'']
	],''],
	['PAGE','37718',jdecode('Fu%DFball+%2F+Jugend'),jdecode(''),'/37718/index.html','true',[ 
		['PAGE','34803',jdecode('Jugendvorstand'),jdecode(''),'/37718/34803.html','true',[],''],
		['PAGE','36641',jdecode('Trainer%2FBetreuer'),jdecode(''),'/37718/36641.html','true',[],''],
		['PAGE','185208',jdecode('Trainingszeiten'),jdecode(''),'/37718/185208.html','true',[],''],
		['PAGE','63274',jdecode('Spieltage+%2F+Infos'),jdecode(''),'/37718/63274.html','true',[],''],
		['PAGE','34740',jdecode('A+-+Jugend'),jdecode(''),'/37718/34740.html','true',[],''],
		['PAGE','34772',jdecode('B+-+Jugend'),jdecode(''),'/37718/34772.html','true',[],''],
		['PAGE','42421',jdecode('C++-+Jugend+'),jdecode(''),'/37718/42421.html','true',[],''],
		['PAGE','34927',jdecode('D1+-+Jugend'),jdecode(''),'/37718/34927.html','true',[],''],
		['PAGE','34989',jdecode('D2+-+Jugend'),jdecode(''),'/37718/34989.html','true',[],''],
		['PAGE','187308',jdecode('D3+-+Jugend'),jdecode(''),'/37718/187308.html','true',[],''],
		['PAGE','35020',jdecode('E1+-+Jugend'),jdecode(''),'/37718/35020.html','true',[],''],
		['PAGE','63708',jdecode('E2+-+Jugend'),jdecode(''),'/37718/63708.html','true',[],''],
		['PAGE','112808',jdecode('E3+-+Jugend'),jdecode(''),'/37718/112808.html','true',[],''],
		['PAGE','88186',jdecode('F1+-+Jugend'),jdecode(''),'/37718/88186.html','true',[],''],
		['PAGE','99109',jdecode('F2+-+Jugend'),jdecode(''),'/37718/99109.html','true',[],''],
		['PAGE','35051',jdecode('G++-+Jugend+%28Mini%29'),jdecode(''),'/37718/35051.html','true',[],''],
		['PAGE','69353',jdecode('Vereinsspielplan'),jdecode(''),'/37718/69353.html','true',[],''],
		['PAGE','35470',jdecode('F%F6rderer%2FG%F6nner'),jdecode(''),'/37718/35470.html','true',[],''],
		['PAGE','35885',jdecode('Sportplatz'),jdecode(''),'/37718/35885.html','true',[],''],
		['PAGE','43149',jdecode('Forum'),jdecode(''),'/37718/43149.html','true',[],'']
	],''],
	['PAGE','135808',jdecode('Jugendturniere'),jdecode(''),'/135808.html','true',[],''],
	['PAGE','4682',jdecode('Handball%2FSenioren'),jdecode(''),'/4682/index.html','true',[ 
		['PAGE','32994',jdecode('1.+Herren'),jdecode(''),'/4682/32994.html','true',[],''],
		['PAGE','41675',jdecode('Geschichte'),jdecode(''),'/4682/41675.html','true',[],''],
		['PAGE','41350',jdecode('Forum'),jdecode(''),'/4682/41350.html','true',[],'']
	],''],
	['PAGE','32963',jdecode('Handball%2FJugend'),jdecode(''),'/32963.html','true',[],''],
	['PAGE','4709',jdecode('Turnen%2FKarate'),jdecode(''),'/4709/index.html','true',[ 
		['PAGE','82505',jdecode('Infos'),jdecode(''),'/4709/82505.html','true',[],''],
		['PAGE','34103',jdecode('Wambras'),jdecode(''),'/4709/34103.html','true',[],''],
		['PAGE','34134',jdecode('Karate'),jdecode(''),'/4709/34134.html','true',[],''],
		['PAGE','34165',jdecode('Gymnastik'),jdecode(''),'/4709/34165.html','true',[],''],
		['PAGE','34196',jdecode('Turnjugend'),jdecode(''),'/4709/34196.html','true',[],'']
	],''],
	['PAGE','32501',jdecode('Ski'),jdecode(''),'/32501/index.html','true',[ 
		['PAGE','34388',jdecode('Badminton'),jdecode(''),'/32501/34388.html','true',[],'']
	],''],
	['PAGE','4817',jdecode('Mitglied+werden'),jdecode(''),'/4817.html','true',[],''],
	['PAGE','4871',jdecode('Kontakt'),jdecode(''),'/4871.html','true',[],''],
	['PAGE','4898',jdecode('Interessante+Links'),jdecode(''),'/4898.html','true',[],''],
	['PAGE','43318',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/43318/index.html','true',[ 
		['PAGE','39519',jdecode('Fussball'),jdecode(''),'/43318/39519.html','true',[],''],
		['PAGE','45837',jdecode('Handball'),jdecode(''),'/43318/45837.html','true',[],'']
	],''],
	['PAGE','88004',jdecode('Vereinslied'),jdecode(''),'/88004.html','true',[],'']];
var siteelementCount=57;
theSitetree.topTemplateName='Match';
					                                                                    
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 */					                                                            

