/* [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','3418',jdecode('Wir+%FCber+uns'),jdecode(''),'/3418/index.html','true',[ 
		['PAGE','3464',jdecode('Angebote'),jdecode(''),'/3418/3464.html','true',[],''],
		['PAGE','1276',jdecode('Die+Tennisanlage'),jdecode(''),'/3418/1276.html','true',[],''],
		['PAGE','1253',jdecode('Vorstandschaft'),jdecode(''),'/3418/1253.html','true',[],''],
		['PAGE','3958',jdecode('Das+Trainerteam'),jdecode(''),'/3418/3958.html','true',[],''],
		['PAGE','1230',jdecode('Chronik'),jdecode(''),'/3418/1230.html','true',[],''],
		['PAGE','8051',jdecode('Presse'),jdecode(''),'/3418/8051.html','true',[],''],
		['PAGE','3694',jdecode('Mitglied+werden'),jdecode(''),'/3418/3694.html','true',[],''],
		['PAGE','5407',jdecode('Mitglied+werden'),jdecode(''),'/3418/5407.html','false',[],'']
	],''],
	['PAGE','3441',jdecode('News'),jdecode(''),'/3441.html','true',[],''],
	['PAGE','1299',jdecode('Termine'),jdecode(''),'/1299.html','true',[],''],
	['PAGE','156046',jdecode('Halle'),jdecode(''),'/156046/index.html','true',[ 
		['PAGE','156108',jdecode('Abonnements'),jdecode(''),'/156046/156108.html','true',[],''],
		['PAGE','156139',jdecode('Online-Hallenbuchung'),jdecode(''),'/156046/156139.html','true',[],''],
		['PAGE','156208',jdecode('Online-Buchungssystem'),jdecode(''),'/156046/156208.html','true',[],''],
		['PAGE','156546',jdecode('Hallenordnung%2F+Nutzungsbedingungen'),jdecode(''),'/156046/156546.html','true',[],''],
		['PAGE','156170',jdecode('Hallenpreise'),jdecode(''),'/156046/156170.html','true',[],''],
		['PAGE','142446',jdecode('Hallenbelegungsplan'),jdecode(''),'/156046/142446.html','true',[],''],
		['PAGE','156664',jdecode('Support'),jdecode(''),'/156046/156664/index.html','true',[ 
			['PAGE','157098',jdecode('Support+%28Folgeseite%29'),jdecode(''),'/156046/156664/157098.html','false',[],'']
		],'']
	],''],
	['PAGE','2595',jdecode('Mannschaften'),jdecode(''),'/2595/index.html','true',[ 
		['PAGE','3510',jdecode('Herren'),jdecode(''),'/2595/3510.html','true',[],''],
		['PAGE','3533',jdecode('Damen'),jdecode(''),'/2595/3533.html','true',[],''],
		['PAGE','3556',jdecode('Senioren'),jdecode(''),'/2595/3556.html','true',[],''],
		['PAGE','41301',jdecode('Trainingszeiten'),jdecode(''),'/2595/41301.html','true',[],''],
		['PAGE','3579',jdecode('Termine'),jdecode(''),'/2595/3579.html','true',[],'']
	],''],
	['PAGE','1368',jdecode('Jugend'),jdecode(''),'/1368/index.html','true',[ 
		['PAGE','41094',jdecode('Termine'),jdecode(''),'/1368/41094.html','true',[],''],
		['PAGE','44640',jdecode('Turniere'),jdecode(''),'/1368/44640.html','true',[],''],
		['PAGE','44578',jdecode('Tenniscamps'),jdecode(''),'/1368/44578.html','true',[],''],
		['PAGE','45683',jdecode('Trainer+u.+Trainingsangebote'),jdecode(''),'/1368/45683.html','true',[],''],
		['PAGE','47202',jdecode('Jugend-F%F6rderung'),jdecode(''),'/1368/47202.html','true',[],''],
		['PAGE','47233',jdecode('News+'),jdecode(''),'/1368/47233.html','true',[],''],
		['PAGE','47264',jdecode('Mannschaften'),jdecode(''),'/1368/47264.html','true',[],'']
	],''],
	['PAGE','13360',jdecode('10.000+%24+Women+Tournament'),jdecode(''),'/13360.html','true',[],''],
	['PAGE','153768',jdecode('Bayerische+Meisterschaften'),jdecode(''),'/153768/index.html','true',[ 
		['PAGE','153956',jdecode('Presseberichte'),jdecode(''),'/153768/153956.html','true',[],''],
		['PAGE','153987',jdecode('Bildergalerie'),jdecode(''),'/153768/153987.html','true',[],'']
	],''],
	['PAGE','23629',jdecode('Abteilung+Ski'),jdecode(''),'/23629/index.html','true',[ 
		['PAGE','23656',jdecode('Skigymnastik'),jdecode(''),'/23629/23656.html','true',[],''],
		['PAGE','155830',jdecode('Termine'),jdecode(''),'/23629/155830.html','true',[],''],
		['PAGE','23683',jdecode('Skikurse'),jdecode(''),'/23629/23683.html','true',[],'']
	],''],
	['PAGE','43234',jdecode('Veranstaltungsseiten'),jdecode(''),'/43234/index.html','true',[ 
		['PAGE','41063',jdecode('Galerie'),jdecode(''),'/43234/41063.html','true',[],''],
		['PAGE','50484',jdecode('Fotoalbum'),jdecode(''),'/43234/50484.html','true',[],''],
		['PAGE','41202',jdecode('Tennis-Opening'),jdecode(''),'/43234/41202.html','true',[],''],
		['PAGE','42609',jdecode('Weihnachtsfeier'),jdecode(''),'/43234/42609.html','true',[],''],
		['PAGE','46961',jdecode('Turniere'),jdecode(''),'/43234/46961.html','true',[],''],
		['PAGE','42698',jdecode('Ski+und+mehr+.....'),jdecode(''),'/43234/42698.html','true',[],''],
		['PAGE','44609',jdecode('Clubmeisterschaft'),jdecode(''),'/43234/44609.html','true',[],''],
		['PAGE','43009',jdecode('Sammelalbum'),jdecode(''),'/43234/43009.html','true',[],''],
		['PAGE','44546',jdecode('Tenniscamps'),jdecode(''),'/43234/44546.html','true',[],'']
	],''],
	['PAGE','9884',jdecode('Sponsoring'),jdecode(''),'/9884/index.html','true',[ 
		['PAGE','10010',jdecode('Konditonen'),jdecode(''),'/9884/10010.html','true',[],'']
	],''],
	['PAGE','3671',jdecode('Anfahrtsskizze'),jdecode(''),'/3671.html','true',[],''],
	['PAGE','21302',jdecode('G%E4stebuch'),jdecode(''),'/21302/index.html','true',[ 
		['PAGE','21303',jdecode('Eintr%E4ge'),jdecode(''),'/21302/21303.html','true',[],'']
	],''],
	['PAGE','3648',jdecode('Kontakt'),jdecode(''),'/3648/index.html','true',[ 
		['PAGE','5206',jdecode('Kontakt'),jdecode(''),'/3648/5206.html','false',[],'']
	],'']];
var siteelementCount=60;
theSitetree.topTemplateName='Stripes';
					                                                                    
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 */					                                                            
