/* [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','263862',jdecode('Vereinsnachrichten'),jdecode(''),'/263862.html','true',[],''],
	['PAGE','4717',jdecode('Geschichte'),jdecode(''),'/4717.html','true',[],''],
	['PAGE','14038',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/14038/index.html','true',[ 
		['PAGE','189048',jdecode('Anfahrt'),jdecode(''),'/14038/189048.html','true',[],''],
		['PAGE','234129',jdecode('Anlage'),jdecode(''),'/14038/234129.html','true',[],'']
	],''],
	['PAGE','251863',jdecode('Vorstand'),jdecode(''),'/251863.html','true',[],''],
	['PAGE','155211',jdecode('Fu%DFball'),jdecode(''),'/155211/index.html','true',[ 
		['PAGE','166601',jdecode('Spartenleitung+Fu%DFball'),jdecode(''),'/155211/166601.html','true',[],''],
		['PAGE','191001',jdecode('Beitr%E4ge+Fu%DFball'),jdecode(''),'/155211/191001.html','true',[],''],
		['PAGE','224129',jdecode('Partner+%2F+Sponsoren'),jdecode(''),'/155211/224129.html','true',[],''],
		['PAGE','261205',jdecode('Vereinsspielplan'),jdecode(''),'/155211/261205.html','true',[],''],
		['PAGE','154221',jdecode('I.+Herren'),jdecode(''),'/155211/154221.html','true',[],''],
		['PAGE','154562',jdecode('%DC40'),jdecode(''),'/155211/154562.html','true',[],''],
		['PAGE','176405',jdecode('%DC50'),jdecode(''),'/155211/176405.html','true',[],''],
		['PAGE','154190',jdecode('Damen'),jdecode(''),'/155211/154190.html','true',[],''],
		['PAGE','188147',jdecode('D-Juniorinnen'),jdecode(''),'/155211/188147.html','true',[],''],
		['PAGE','154376',jdecode('A-Jugend'),jdecode(''),'/155211/154376.html','true',[],''],
		['PAGE','154252',jdecode('1.E-Jugend'),jdecode(''),'/155211/154252.html','true',[],''],
		['PAGE','263762',jdecode('2.E-Jugend'),jdecode(''),'/155211/263762.html','true',[],''],
		['PAGE','231360',jdecode('F-Jugend'),jdecode(''),'/155211/231360.html','true',[],''],
		['PAGE','263793',jdecode('G-Jugend'),jdecode(''),'/155211/263793.html','true',[],'']
	],''],
	['PAGE','251832',jdecode('Tennis'),jdecode(''),'/251832/index.html','true',[ 
		['PAGE','252061',jdecode('Spartenleitung+Tennis'),jdecode(''),'/251832/252061.html','true',[],''],
		['PAGE','261129',jdecode('Gaaaaanz+aktuell'),jdecode(''),'/251832/261129.html','true',[],''],
		['PAGE','260729',jdecode('Tennishalle'),jdecode(''),'/251832/260729.html','true',[],''],
		['PAGE','252092',jdecode('Beitr%E4ge+Tennis'),jdecode(''),'/251832/252092.html','true',[],''],
		['PAGE','252129',jdecode('Mannschaften+Sommerrunde'),jdecode(''),'/251832/252129.html','true',[],''],
		['PAGE','252439',jdecode('Mannschaften+Hallenrunde+'),jdecode(''),'/251832/252439.html','true',[],''],
		['PAGE','256829',jdecode('Freizeitliga'),jdecode(''),'/251832/256829.html','true',[],''],
		['PAGE','252160',jdecode('Jugend%2FJugendtraining'),jdecode(''),'/251832/252160.html','true',[],''],
		['PAGE','256049',jdecode('Jugendf%F6rderung+%2F+Erfolge'),jdecode(''),'/251832/256049.html','true',[],''],
		['PAGE','253388',jdecode('Wichtige+Links'),jdecode(''),'/251832/253388.html','true',[],''],
		['PAGE','258429',jdecode('Termine'),jdecode(''),'/251832/258429.html','true',[],''],
		['PAGE','260029',jdecode('Pressearchiv%2FBilder'),jdecode(''),'/251832/260029.html','true',[],'']
	],''],
	['PAGE','252029',jdecode('Gymnastik%2FTurnen'),jdecode(''),'/252029.html','true',[],''],
	['PAGE','174401',jdecode('Petanque'),jdecode(''),'/174401.html','true',[],''],
	['PAGE','196019',jdecode('Bilder'),jdecode(''),'/196019/index.html','true',[ 
		['PAGE','247833',jdecode('Halloween+2008'),jdecode(''),'/196019/247833.html','true',[],''],
		['PAGE','220694',jdecode('Weihnachten+2007'),jdecode(''),'/196019/220694.html','true',[],''],
		['PAGE','237152',jdecode('Damen'),jdecode(''),'/196019/237152.html','true',[],'']
	],''],
	['PAGE','253530',jdecode('G%E4stebuch'),jdecode(''),'/253530/index.html','true',[ 
		['PAGE','253531',jdecode('Eintr%E4ge'),jdecode(''),'/253530/253531.html','true',[],'']
	],''],
	['PAGE','174201',jdecode('Forum'),jdecode(''),'/174201.html','true',[],''],
	['PAGE','256080',jdecode('Clubheim'),jdecode(''),'/256080.html','true',[],''],
	['PAGE','154840',jdecode('Kontakt+%2F+Info'),jdecode(''),'/154840/index.html','true',[ 
		['PAGE','154878',jdecode('Info+%28Folgeseite%29'),jdecode(''),'/154840/154878.html','false',[],'']
	],''],
	['PAGE','4632',jdecode('Impressum'),jdecode(''),'/4632.html','true',[],'']];
var siteelementCount=48;
theSitetree.topTemplateName='Activate';
					                                                                    
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 */					                                                            
