/* [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','4593',jdecode('HOME'),jdecode(''),'/4593.html','true',[],''],
	['PAGE','4758',jdecode('ECK-TOWN'),jdecode(''),'/4758/index.html','true',[ 
		['PAGE','5301',jdecode('History'),jdecode(''),'/4758/5301.html','true',[],''],
		['PAGE','7640',jdecode('Tipp-Kick+2003'),jdecode(''),'/4758/7640.html','true',[],''],
		['PAGE','10661',jdecode('Tipp-Kick+2004'),jdecode(''),'/4758/10661.html','true',[],'']
	],''],
	['PAGE','19001',jdecode('BEACHBOYS'),jdecode(''),'/19001/index.html','true',[ 
		['PAGE','19028',jdecode('Telle'),jdecode(''),'/19001/19028.html','true',[],''],
		['PAGE','19055',jdecode('Mario'),jdecode(''),'/19001/19055.html','true',[],''],
		['PAGE','19082',jdecode('Leif'),jdecode(''),'/19001/19082.html','true',[],''],
		['PAGE','19109',jdecode('Dirk'),jdecode(''),'/19001/19109.html','true',[],''],
		['PAGE','19136',jdecode('Wollo'),jdecode(''),'/19001/19136.html','true',[],''],
		['PAGE','19163',jdecode('Matze'),jdecode(''),'/19001/19163.html','true',[],'']
	],''],
	['PAGE','13601',jdecode('2004'),jdecode(''),'/13601/index.html','true',[ 
		['PAGE','14731',jdecode('Januar'),jdecode(''),'/13601/14731.html','true',[],''],
		['PAGE','19701',jdecode('Februar'),jdecode(''),'/13601/19701.html','true',[],''],
		['PAGE','22112',jdecode('M%E4rz'),jdecode(''),'/13601/22112.html','true',[],''],
		['PAGE','24612',jdecode('April'),jdecode(''),'/13601/24612.html','true',[],''],
		['PAGE','27217',jdecode('Mai'),jdecode(''),'/13601/27217.html','true',[],''],
		['PAGE','28539',jdecode('Juni'),jdecode(''),'/13601/28539.html','true',[],''],
		['PAGE','33416',jdecode('Juli'),jdecode(''),'/13601/33416.html','true',[],''],
		['PAGE','34716',jdecode('August'),jdecode(''),'/13601/34716.html','true',[],''],
		['PAGE','47916',jdecode('September'),jdecode(''),'/13601/47916.html','true',[],''],
		['PAGE','48016',jdecode('Oktober'),jdecode(''),'/13601/48016.html','true',[],''],
		['PAGE','48816',jdecode('November'),jdecode(''),'/13601/48816.html','true',[],''],
		['PAGE','48916',jdecode('Dezember'),jdecode(''),'/13601/48916.html','true',[],'']
	],''],
	['PAGE','51916',jdecode('2005'),jdecode(''),'/51916/index.html','true',[ 
		['PAGE','52116',jdecode('Januar'),jdecode(''),'/51916/52116.html','true',[],''],
		['PAGE','52748',jdecode('Februar'),jdecode(''),'/51916/52748.html','true',[],''],
		['PAGE','52779',jdecode('M%E4rz'),jdecode(''),'/51916/52779.html','true',[],''],
		['PAGE','53016',jdecode('Juli'),jdecode(''),'/51916/53016.html','true',[],''],
		['PAGE','53516',jdecode('September'),jdecode(''),'/51916/53516.html','true',[],'']
	],''],
	['PAGE','52916',jdecode('2006'),jdecode(''),'/52916/index.html','true',[ 
		['PAGE','53216',jdecode('M%E4rz'),jdecode(''),'/52916/53216.html','true',[],''],
		['PAGE','53616',jdecode('April'),jdecode(''),'/52916/53616.html','true',[],''],
		['PAGE','53716',jdecode('Juni'),jdecode(''),'/52916/53716.html','true',[],''],
		['PAGE','53747',jdecode('Juli'),jdecode(''),'/52916/53747.html','true',[],'']
	],''],
	['PAGE','29816',jdecode('EM+TAGEBUCH'),jdecode(''),'/29816/index.html','true',[ 
		['PAGE','30186',jdecode('Montag'),jdecode(''),'/29816/30186.html','true',[],''],
		['PAGE','30721',jdecode('Dienstag'),jdecode(''),'/29816/30721.html','true',[],''],
		['PAGE','32188',jdecode('Mittwoch'),jdecode(''),'/29816/32188.html','true',[],''],
		['PAGE','32223',jdecode('Donnerstag'),jdecode(''),'/29816/32223.html','true',[],''],
		['PAGE','32258',jdecode('Freitag'),jdecode(''),'/29816/32258.html','true',[],''],
		['PAGE','32293',jdecode('Samstag'),jdecode(''),'/29816/32293.html','true',[],''],
		['PAGE','32328',jdecode('Sonntag'),jdecode(''),'/29816/32328.html','true',[],'']
	],''],
	['PAGE','5355',jdecode('KLASSIKER+%28DFB%29'),jdecode(''),'/5355/index.html','true',[ 
		['PAGE','11901',jdecode('Schottland'),jdecode(''),'/5355/11901.html','true',[],''],
		['PAGE','12132',jdecode('England'),jdecode(''),'/5355/12132.html','true',[],''],
		['PAGE','24112',jdecode('Wales'),jdecode(''),'/5355/24112.html','true',[],'']
	],''],
	['PAGE','13115',jdecode('KLASSIKER+%28KSV%29'),jdecode(''),'/13115/index.html','true',[ 
		['PAGE','15901',jdecode('99%2F00'),jdecode(''),'/13115/15901.html','true',[],''],
		['PAGE','17001',jdecode('03%2F04'),jdecode(''),'/13115/17001.html','true',[],'']
	],''],
	['PAGE','13142',jdecode('KLASSIKER+%28FCK%29'),jdecode(''),'/13142/index.html','true',[ 
		['PAGE','17028',jdecode('03%2F04'),jdecode(''),'/13142/17028.html','true',[],'']
	],''],
	['PAGE','15301',jdecode('KLASSIKER+%28HOPPING%29'),jdecode(''),'/15301/index.html','true',[ 
		['PAGE','22824',jdecode('99%2F00'),jdecode(''),'/15301/22824.html','true',[],''],
		['PAGE','17055',jdecode('01%2F02'),jdecode(''),'/15301/17055.html','true',[],''],
		['PAGE','18637',jdecode('03%2F04'),jdecode(''),'/15301/18637.html','true',[],'']
	],''],
	['PAGE','17912',jdecode('DAS+ERSTE+MAL...'),jdecode(''),'/17912/index.html','true',[ 
		['PAGE','17939',jdecode('Mario'),jdecode(''),'/17912/17939.html','true',[],''],
		['PAGE','18188',jdecode('Telle'),jdecode(''),'/17912/18188.html','true',[],''],
		['PAGE','19190',jdecode('Dirk'),jdecode(''),'/17912/19190.html','true',[],''],
		['PAGE','20401',jdecode('Wollo'),jdecode(''),'/17912/20401.html','true',[],''],
		['PAGE','26658',jdecode('Leif'),jdecode(''),'/17912/26658.html','true',[],''],
		['PAGE','26685',jdecode('Matze'),jdecode(''),'/17912/26685.html','true',[],'']
	],''],
	['PAGE','5436',jdecode('FUSSBALLKULTUR'),jdecode(''),'/5436/index.html','true',[ 
		['PAGE','5490',jdecode('Bilder'),jdecode(''),'/5436/5490.html','true',[],''],
		['PAGE','13927',jdecode('Gef%FChle'),jdecode(''),'/5436/13927.html','true',[],''],
		['PAGE','21495',jdecode('B%FCcher'),jdecode(''),'/5436/21495.html','true',[],'']
	],''],
	['PAGE','6510',jdecode('LINKS'),jdecode(''),'/6510/index.html','true',[ 
		['PAGE','14184',jdecode('FUSSBALL+Allgemein'),jdecode(''),'/6510/14184.html','true',[],''],
		['PAGE','14211',jdecode('Holstein+Kiel'),jdecode(''),'/6510/14211.html','true',[],''],
		['PAGE','14238',jdecode('Kaiserslautern'),jdecode(''),'/6510/14238.html','true',[],''],
		['PAGE','14265',jdecode('Regional'),jdecode(''),'/6510/14265.html','true',[],''],
		['PAGE','16201',jdecode('Andere'),jdecode(''),'/6510/16201.html','true',[],'']
	],''],
	['PAGE','5625',jdecode('INTERAKTIV'),jdecode(''),'/5625.html','true',[],'']];
var siteelementCount=75;
theSitetree.topTemplateName='echo';
					                                                                    
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 */					                                                            
