/* [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','130038',jdecode('News-Archiv'),jdecode(''),'/130038/index.html','true',[ 
		['PAGE','130007',jdecode('News+2011'),jdecode(''),'/130038/130007.html','true',[],''],
		['PAGE','129576',jdecode('News+2010'),jdecode(''),'/130038/129576.html','true',[],''],
		['PAGE','127344',jdecode('News+2009'),jdecode(''),'/130038/127344.html','true',[],''],
		['PAGE','96976',jdecode('News+2008'),jdecode(''),'/130038/96976.html','true',[],''],
		['PAGE','93089',jdecode('News+2007'),jdecode(''),'/130038/93089.html','true',[],''],
		['PAGE','94576',jdecode('WM+2007'),jdecode(''),'/130038/94576.html','true',[],''],
		['PAGE','84273',jdecode('News+2006'),jdecode(''),'/130038/84273.html','true',[],''],
		['PAGE','9890',jdecode('News+2005'),jdecode(''),'/130038/9890.html','true',[],''],
		['PAGE','82573',jdecode('News1'),jdecode(''),'/130038/82573.html','true',[],''],
		['PAGE','9917',jdecode('Jgd.-WM+2004'),jdecode(''),'/130038/9917.html','true',[],''],
		['PAGE','10630',jdecode('News+2004'),jdecode(''),'/130038/10630.html','true',[],''],
		['PAGE','10801',jdecode('News+2003'),jdecode(''),'/130038/10801.html','true',[],'']
	],''],
	['PAGE','87676',jdecode('Adidas-Testcenter'),jdecode(''),'/87676.html','true',[],''],
	['PAGE','88131',jdecode('Kooperationen'),jdecode(''),'/88131/index.html','true',[ 
		['PAGE','87976',jdecode('Kompetenzzentrum'),jdecode(''),'/88131/87976.html','true',[],''],
		['PAGE','88007',jdecode('Hochschulen'),jdecode(''),'/88131/88007.html','true',[],''],
		['PAGE','88038',jdecode('Schulen+'),jdecode(''),'/88131/88038.html','true',[],''],
		['PAGE','88069',jdecode('Physiotherapiepraxis+'),jdecode(''),'/88131/88069.html','true',[],''],
		['PAGE','88421',jdecode('Sport+Partner'),jdecode(''),'/88131/88421.html','true',[],''],
		['PAGE','88100',jdecode('Weitere+Partner+'),jdecode(''),'/88131/88100.html','true',[],'']
	],''],
	['PAGE','76897',jdecode('TKD-Bundesliga'),jdecode(''),'/76897.html','true',[],''],
	['PAGE','9728',jdecode('Wir+%FCber+uns'),jdecode(''),'/9728/index.html','true',[ 
		['PAGE','9755',jdecode('Geschichte'),jdecode(''),'/9728/9755.html','true',[],''],
		['PAGE','9863',jdecode('Unser+Team'),jdecode(''),'/9728/9863.html','true',[],''],
		['PAGE','89376',jdecode('Kampfrichter'),jdecode(''),'/9728/89376.html','true',[],''],
		['PAGE','80438',jdecode('Fu%DFballturniere'),jdecode(''),'/9728/80438.html','true',[],''],
		['PAGE','72891',jdecode('G%FCrtelpr%FCfung+2005'),jdecode(''),'/9728/72891.html','true',[],''],
		['PAGE','128789',jdecode('G%FCrtelpr%FCfung+2009'),jdecode(''),'/9728/128789.html','true',[],''],
		['PAGE','74533',jdecode('Gr%FCnes+Band+'),jdecode(''),'/9728/74533.html','true',[],''],
		['PAGE','83677',jdecode('Nikolausfeier+2005'),jdecode(''),'/9728/83677.html','true',[],''],
		['PAGE','83373',jdecode('Weihnachten+2005'),jdecode(''),'/9728/83373.html','true',[],''],
		['PAGE','129079',jdecode('Trainingscamp+2009'),jdecode(''),'/9728/129079.html','true',[],''],
		['PAGE','63501',jdecode('Trainingszeiten'),jdecode(''),'/9728/63501.html','true',[],'']
	],''],
	['PAGE','126098',jdecode('Fotos'),jdecode(''),'/126098/index.html','true',[ 
		['PAGE','85350',jdecode('Fotos+2006'),jdecode(''),'/126098/85350.html','true',[],''],
		['PAGE','62205',jdecode('Fotos+2005'),jdecode(''),'/126098/62205.html','true',[],''],
		['PAGE','9602',jdecode('Fotos+2004'),jdecode(''),'/126098/9602.html','true',[],''],
		['PAGE','17102',jdecode('Fotos+2003'),jdecode(''),'/126098/17102.html','true',[],'']
	],''],
	['PAGE','9971',jdecode('Interessante+Links'),jdecode(''),'/9971.html','true',[],''],
	['PAGE','126436',jdecode('TCC+Friedrichshafen'),jdecode(''),'/126436.html','true',[],''],
	['PAGE','69907',jdecode('Sportticker'),jdecode(''),'/69907.html','true',[],''],
	['PAGE','70002',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/70002.html','true',[],''],
	['PAGE','9944',jdecode('Kontakt'),jdecode(''),'/9944.html','true',[],''],
	['PAGE','92177',jdecode('G%E4stebuch'),jdecode(''),'/92177/index.html','true',[ 
		['PAGE','92178',jdecode('Eintr%E4ge'),jdecode(''),'/92177/92178.html','true',[],'']
	],'']];
var siteelementCount=47;
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 */					                                                            

