/* [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','4532',jdecode('Home'),jdecode(''),'/4532.html','true',[],''],
	['PAGE','392686',jdecode('NEWS+ab+01.08.2009'),jdecode(''),'/392686/index.html','true',[ 
		['PAGE','383589',jdecode('NEWS+ab+01.01.2009'),jdecode(''),'/392686/383589.html','true',[],'']
	],''],
	['PAGE','385020',jdecode('Reiterhof+09'),jdecode(''),'/385020/index.html','true',[ 
		['PAGE','390286',jdecode('So+wars+beim+ReiterSchach'),jdecode(''),'/385020/390286.html','true',[],'']
	],''],
	['PAGE','11250',jdecode('WABFIS++Schachschule'),jdecode(''),'/11250/index.html','true',[ 
		['PAGE','345147',jdecode('%DCber+mich'),jdecode(''),'/11250/345147.html','true',[],''],
		['PAGE','102521',jdecode('Kurs+Ablauf'),jdecode(''),'/11250/102521.html','true',[],''],
		['PAGE','265338',jdecode('WSS-+Turniere'),jdecode(''),'/11250/265338.html','true',[],'']
	],''],
	['PAGE','11304',jdecode('Kursangebote'),jdecode(''),'/11304/index.html','true',[ 
		['PAGE','384490',jdecode('Kurs+Geb%FChren'),jdecode(''),'/11304/384490.html','true',[],''],
		['PAGE','217335',jdecode('Schach+ab+4+Jahre'),jdecode(''),'/11304/217335.html','true',[],''],
		['PAGE','217366',jdecode('Schach+ab+6+Jahre'),jdecode(''),'/11304/217366.html','true',[],''],
		['PAGE','217397',jdecode('Schach+ab+10+Jahre'),jdecode(''),'/11304/217397.html','true',[],''],
		['PAGE','217459',jdecode('Schach+f%FCr+Senioren'),jdecode(''),'/11304/217459.html','true',[],''],
		['PAGE','379786',jdecode('Fu%DFballSchach+2008'),jdecode(''),'/11304/379786.html','true',[],''],
		['PAGE','359542',jdecode('Reiterhof+2008'),jdecode(''),'/11304/359542.html','true',[],''],
		['PAGE','379286',jdecode('so+wars+2008'),jdecode(''),'/11304/379286.html','true',[],''],
		['PAGE','373688',jdecode('LSSM+2008'),jdecode(''),'/11304/373688.html','true',[],'']
	],''],
	['PAGE','354223',jdecode('M%E4dchenschach'),jdecode(''),'/354223/index.html','true',[ 
		['PAGE','322424',jdecode('M%E4dchenschach+2005'),jdecode(''),'/354223/322424.html','true',[],''],
		['PAGE','364287',jdecode('Fotos+Reiterhof+2007'),jdecode(''),'/354223/364287.html','true',[],''],
		['PAGE','351624',jdecode('FOTOS+DVM+2006'),jdecode(''),'/354223/351624.html','true',[],'']
	],''],
	['PAGE','217428',jdecode('Schach+f%FCr+Vereine'),jdecode(''),'/217428/index.html','true',[ 
		['PAGE','206135',jdecode('SV+Hemstedt-+Rhen'),jdecode(''),'/217428/206135.html','true',[],''],
		['PAGE','41823',jdecode('VHS+Henstedt-Ulzburg'),jdecode(''),'/217428/41823.html','true',[],''],
		['PAGE','11358',jdecode('TuRa+-+Schachjugend'),jdecode(''),'/217428/11358.html','true',[],'']
	],''],
	['PAGE','61786',jdecode('Fotoalben'),jdecode(''),'/61786/index.html','true',[ 
		['PAGE','343424',jdecode('Fotos+Elsass'),jdecode(''),'/61786/343424.html','true',[],''],
		['PAGE','366586',jdecode('R%FCgen+2007'),jdecode(''),'/61786/366586.html','true',[],''],
		['PAGE','359573',jdecode('Fu%DFballSchach+2007'),jdecode(''),'/61786/359573.html','true',[],'']
	],''],
	['PAGE','11871',jdecode('Fragen+'),jdecode(''),'/11871/index.html','true',[ 
		['PAGE','38707',jdecode('Forum%2FChat+%28Folgeseite%29'),jdecode(''),'/11871/38707.html','false',[],''],
		['PAGE','11682',jdecode('Sponsoren'),jdecode(''),'/11871/11682.html','true',[],''],
		['PAGE','11763',jdecode('Mitglied+werden'),jdecode(''),'/11871/11763.html','true',[],''],
		['PAGE','48375',jdecode('Anfahrt'),jdecode(''),'/11871/48375.html','true',[],'']
	],''],
	['PAGE','12244',jdecode('G%E4stebuch'),jdecode(''),'/12244/index.html','true',[ 
		['PAGE','12245',jdecode('Eintr%E4ge'),jdecode(''),'/12244/12245.html','true',[],''],
		['PAGE','268696',jdecode('Wetter'),jdecode(''),'/12244/268696.html','true',[],''],
		['PAGE','268832',jdecode('Sport'),jdecode(''),'/12244/268832.html','true',[],''],
		['PAGE','328823',jdecode('Impressum'),jdecode(''),'/12244/328823.html','true',[],'']
	],''],
	['PAGE','11655',jdecode('Links'),jdecode(''),'/11655.html','true',[],''],
	['PAGE','330223',jdecode('Archiv'),jdecode(''),'/330223/index.html','true',[ 
		['PAGE','381286',jdecode('NEWS+ab+01.09.2008'),jdecode(''),'/330223/381286.html','true',[],''],
		['PAGE','373330',jdecode('NEWS+ab+01.01.2008'),jdecode(''),'/330223/373330.html','true',[],''],
		['PAGE','358632',jdecode('NEWS+ab+15.04.2007'),jdecode(''),'/330223/358632.html','true',[],''],
		['PAGE','353023',jdecode('NEWS+ab+01.01.2007'),jdecode(''),'/330223/353023.html','true',[],''],
		['PAGE','346623',jdecode('NEWS+ab+01.09.2006'),jdecode(''),'/330223/346623.html','true',[],''],
		['PAGE','337523',jdecode('NEWS+ab+01.+April+2006'),jdecode(''),'/330223/337523.html','true',[],''],
		['PAGE','328123',jdecode('NEWS+ab+01%2F2006'),jdecode(''),'/330223/328123.html','true',[],''],
		['PAGE','321823',jdecode('NEWS+10%2C11%2B12%2F05'),jdecode(''),'/330223/321823.html','true',[],''],
		['PAGE','319923',jdecode('NEWS+09%2F05'),jdecode(''),'/330223/319923.html','true',[],''],
		['PAGE','294873',jdecode('NEWS+08%2F05'),jdecode(''),'/330223/294873.html','true',[],''],
		['PAGE','269219',jdecode('NEWS+06%2F05'),jdecode(''),'/330223/269219.html','true',[],''],
		['PAGE','266619',jdecode('NEWS+05%2F05'),jdecode(''),'/330223/266619.html','true',[],''],
		['PAGE','265219',jdecode('NEWS+04%2F05'),jdecode(''),'/330223/265219.html','true',[],''],
		['PAGE','264319',jdecode('NEWS+03%2F05'),jdecode(''),'/330223/264319.html','true',[],''],
		['PAGE','217835',jdecode('NEWS+02%2F05'),jdecode(''),'/330223/217835.html','true',[],''],
		['PAGE','211535',jdecode('NEWS+01%2F05'),jdecode(''),'/330223/211535.html','true',[],''],
		['PAGE','200035',jdecode('NEWS+12%2F04'),jdecode(''),'/330223/200035.html','true',[],''],
		['PAGE','188720',jdecode('NEWS+11%2F04'),jdecode(''),'/330223/188720.html','true',[],''],
		['PAGE','181720',jdecode('NEWS+10%2F04'),jdecode(''),'/330223/181720.html','true',[],''],
		['PAGE','145421',jdecode('DVM+U+20w'),jdecode(''),'/330223/145421.html','true',[],''],
		['PAGE','325323',jdecode('Weihnachtsbauer+2005'),jdecode(''),'/330223/325323.html','true',[],''],
		['PAGE','314823',jdecode('Schulenvergleich'),jdecode(''),'/330223/314823.html','true',[],''],
		['PAGE','349023',jdecode('Schach+f%FCr+Kinder+oder+Drill%3F'),jdecode(''),'/330223/349023.html','true',[],''],
		['PAGE','349423',jdecode('Weihnachtsbauer+2006'),jdecode(''),'/330223/349423.html','true',[],'']
	],'']];
var siteelementCount=67;
theSitetree.topTemplateName='Alpha';
					                                                                    
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 */					                                                            
