/* [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','4597',jdecode('HOME'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','203967',jdecode('LATEST+NEWS'),jdecode(''),'/203967/index.html','true',[ 
		['PAGE','320551',jdecode('NEWS'),jdecode(''),'/203967/320551.html','true',[],'']
	],''],
	['PAGE','63442',jdecode('CLUB+RULES'),jdecode(''),'/63442.html','true',[],''],
	['PAGE','10916',jdecode('HOW+TO+FIND+US'),jdecode(''),'/10916.html','true',[],''],
	['PAGE','467534',jdecode('TRACK+PICTURES'),jdecode(''),'/467534.html','true',[],''],
	['PAGE','10943',jdecode('THE+TEAM'),jdecode(''),'/10943.html','true',[],''],
	['PAGE','658370',jdecode('THE+GALLERY+2012'),jdecode(''),'/658370/index.html','true',[ 
		['PAGE','660672',jdecode('21-01-12a'),jdecode(''),'/658370/660672.html','true',[],''],
		['PAGE','660703',jdecode('21-01-12b'),jdecode(''),'/658370/660703.html','true',[],''],
		['PAGE','660734',jdecode('21-01-12c'),jdecode(''),'/658370/660734.html','true',[],''],
		['PAGE','658401',jdecode('07-01-12a'),jdecode(''),'/658370/658401.html','true',[],''],
		['PAGE','658572',jdecode('07-01-12b'),jdecode(''),'/658370/658572.html','true',[],'']
	],''],
	['PAGE','47242',jdecode('PICTURE+OF+THE+WEEK'),jdecode(''),'/47242/index.html','true',[ 
		['PAGE','658449',jdecode('2012+ARCHIVE'),jdecode(''),'/47242/658449.html','true',[],''],
		['PAGE','600366',jdecode('2011+ARCHIVE'),jdecode(''),'/47242/600366.html','true',[],''],
		['PAGE','539887',jdecode('2010+ARCHIVE'),jdecode(''),'/47242/539887.html','true',[],''],
		['PAGE','452347',jdecode('2009+ARCHIVE'),jdecode(''),'/47242/452347.html','true',[],''],
		['PAGE','371928',jdecode('2008+ARCHIVE'),jdecode(''),'/47242/371928.html','true',[],''],
		['PAGE','324834',jdecode('2007+ARCHIVE'),jdecode(''),'/47242/324834.html','true',[],''],
		['PAGE','222029',jdecode('2006+ARCHIVE'),jdecode(''),'/47242/222029.html','true',[],''],
		['PAGE','148060',jdecode('2005+ARCHIVE'),jdecode(''),'/47242/148060.html','true',[],''],
		['PAGE','41319',jdecode('2004+ARCHIVE'),jdecode(''),'/47242/41319.html','true',[],''],
		['PAGE','148108',jdecode('2003+ARCHIVE'),jdecode(''),'/47242/148108.html','true',[],'']
	],''],
	['PAGE','651172',jdecode('2011+PICTURES'),jdecode(''),'/651172/index.html','true',[ 
		['PAGE','655472',jdecode('10-12-11a'),jdecode(''),'/651172/655472.html','true',[],''],
		['PAGE','655503',jdecode('10-12-11b'),jdecode(''),'/651172/655503.html','true',[],''],
		['PAGE','655534',jdecode('10-12-11c'),jdecode(''),'/651172/655534.html','true',[],''],
		['PAGE','651772',jdecode('26-11-11a'),jdecode(''),'/651172/651772.html','true',[],''],
		['PAGE','651803',jdecode('26-11-11b'),jdecode(''),'/651172/651803.html','true',[],''],
		['PAGE','651834',jdecode('26-11-11c'),jdecode(''),'/651172/651834.html','true',[],''],
		['PAGE','651865',jdecode('26-11-11d'),jdecode(''),'/651172/651865.html','true',[],''],
		['PAGE','600304',jdecode('12-11-11'),jdecode(''),'/651172/600304.html','true',[],''],
		['PAGE','649372',jdecode('29-10-11a'),jdecode(''),'/651172/649372.html','true',[],''],
		['PAGE','649403',jdecode('29-10-11b'),jdecode(''),'/651172/649403.html','true',[],''],
		['PAGE','647372',jdecode('15-10-11a'),jdecode(''),'/651172/647372.html','true',[],''],
		['PAGE','647403',jdecode('15-10-11b'),jdecode(''),'/651172/647403.html','true',[],''],
		['PAGE','647434',jdecode('01-10-11'),jdecode(''),'/651172/647434.html','true',[],''],
		['PAGE','643903',jdecode('17-09-11a'),jdecode(''),'/651172/643903.html','true',[],''],
		['PAGE','643934',jdecode('17-09-11b'),jdecode(''),'/651172/643934.html','true',[],''],
		['PAGE','643965',jdecode('17-09-11c'),jdecode(''),'/651172/643965.html','true',[],''],
		['PAGE','643872',jdecode('HQ+Open+Day'),jdecode(''),'/651172/643872.html','true',[],''],
		['PAGE','641272',jdecode('03-09-11'),jdecode(''),'/651172/641272.html','true',[],''],
		['PAGE','634572',jdecode('20-08-11a'),jdecode(''),'/651172/634572.html','true',[],''],
		['PAGE','634603',jdecode('20-08-11b'),jdecode(''),'/651172/634603.html','true',[],''],
		['PAGE','629165',jdecode('06-08-11'),jdecode(''),'/651172/629165.html','true',[],''],
		['PAGE','629072',jdecode('23-07-11a'),jdecode(''),'/651172/629072.html','true',[],''],
		['PAGE','629103',jdecode('23-07-11b'),jdecode(''),'/651172/629103.html','true',[],''],
		['PAGE','629134',jdecode('23-07-11c'),jdecode(''),'/651172/629134.html','true',[],''],
		['PAGE','626603',jdecode('09-07-11a'),jdecode(''),'/651172/626603.html','true',[],''],
		['PAGE','626634',jdecode('09-07-11b'),jdecode(''),'/651172/626634.html','true',[],''],
		['PAGE','626572',jdecode('25-06-11'),jdecode(''),'/651172/626572.html','true',[],''],
		['PAGE','624703',jdecode('11-06-11'),jdecode(''),'/651172/624703.html','true',[],''],
		['PAGE','622972',jdecode('28-05-11a'),jdecode(''),'/651172/622972.html','true',[],''],
		['PAGE','623003',jdecode('28-05-11b'),jdecode(''),'/651172/623003.html','true',[],''],
		['PAGE','617503',jdecode('14-05-11a'),jdecode(''),'/651172/617503.html','true',[],''],
		['PAGE','617534',jdecode('14-05-11b'),jdecode(''),'/651172/617534.html','true',[],''],
		['PAGE','617565',jdecode('14-05-11c'),jdecode(''),'/651172/617565.html','true',[],''],
		['PAGE','614872',jdecode('30-04-11a'),jdecode(''),'/651172/614872.html','true',[],''],
		['PAGE','614903',jdecode('30-04-11b'),jdecode(''),'/651172/614903.html','true',[],''],
		['PAGE','614934',jdecode('30-04-11c'),jdecode(''),'/651172/614934.html','true',[],''],
		['PAGE','612172',jdecode('16-04-11a'),jdecode(''),'/651172/612172.html','true',[],''],
		['PAGE','612203',jdecode('16-04-11b'),jdecode(''),'/651172/612203.html','true',[],''],
		['PAGE','612234',jdecode('16-04-11c'),jdecode(''),'/651172/612234.html','true',[],''],
		['PAGE','610172',jdecode('02-04-11a'),jdecode(''),'/651172/610172.html','true',[],''],
		['PAGE','610203',jdecode('02-04-11b'),jdecode(''),'/651172/610203.html','true',[],''],
		['PAGE','607872',jdecode('19-03-11a'),jdecode(''),'/651172/607872.html','true',[],''],
		['PAGE','607903',jdecode('19-03-11b'),jdecode(''),'/651172/607903.html','true',[],''],
		['PAGE','607934',jdecode('19-03-11c'),jdecode(''),'/651172/607934.html','true',[],''],
		['PAGE','606372',jdecode('05-03-11a'),jdecode(''),'/651172/606372.html','true',[],''],
		['PAGE','606403',jdecode('05-03-11b'),jdecode(''),'/651172/606403.html','true',[],''],
		['PAGE','604272',jdecode('05-02-11a'),jdecode(''),'/651172/604272.html','true',[],''],
		['PAGE','604303',jdecode('05-02-11b'),jdecode(''),'/651172/604303.html','true',[],''],
		['PAGE','604334',jdecode('05-02-11c'),jdecode(''),'/651172/604334.html','true',[],''],
		['PAGE','602772',jdecode('22-01-11a'),jdecode(''),'/651172/602772.html','true',[],''],
		['PAGE','602803',jdecode('22-01-11b'),jdecode(''),'/651172/602803.html','true',[],''],
		['PAGE','601272',jdecode('08-01-11a'),jdecode(''),'/651172/601272.html','true',[],''],
		['PAGE','601303',jdecode('08-01-11b'),jdecode(''),'/651172/601303.html','true',[],'']
	],''],
	['PAGE','11078',jdecode('SUPPORTED+BY'),jdecode(''),'/11078.html','true',[],''],
	['PAGE','11105',jdecode('RIDING+TIMES%2FDATES'),jdecode(''),'/11105.html','true',[],''],
	['PAGE','11132',jdecode('AWAY+DAYS'),jdecode(''),'/11132.html','true',[],''],
	['PAGE','11159',jdecode('DAY+RIDERS'),jdecode(''),'/11159.html','true',[],''],
	['PAGE','11186',jdecode('FUNDING'),jdecode(''),'/11186.html','true',[],''],
	['PAGE','11213',jdecode('BECOMING+A+MEMBER'),jdecode(''),'/11213/index.html','true',[ 
		['PAGE','11240',jdecode('THE+WAITING+LIST'),jdecode(''),'/11213/11240.html','true',[],'']
	],''],
	['PAGE','11267',jdecode('UPCOMING+EVENTS'),jdecode(''),'/11267.html','true',[],''],
	['PAGE','9090',jdecode('CONTACT'),jdecode(''),'/9090.html','true',[],''],
	['PAGE','21316',jdecode('FOR+SALE'),jdecode(''),'/21316.html','true',[],''],
	['PAGE','576072',jdecode('POLICE+CADETS'),jdecode(''),'/576072.html','true',[],''],
	['PAGE','432419',jdecode('COURSES'),jdecode(''),'/432419/index.html','true',[ 
		['PAGE','455472',jdecode('Lea+Valley'),jdecode(''),'/432419/455472.html','true',[],''],
		['PAGE','455503',jdecode('17-02-09'),jdecode(''),'/432419/455503.html','true',[],''],
		['PAGE','455534',jdecode('18-02-09'),jdecode(''),'/432419/455534.html','true',[],''],
		['PAGE','455565',jdecode('19-02-09'),jdecode(''),'/432419/455565.html','true',[],''],
		['PAGE','469972',jdecode('Cheshunt'),jdecode(''),'/432419/469972.html','true',[],''],
		['PAGE','470003',jdecode('07-04-09a'),jdecode(''),'/432419/470003.html','true',[],''],
		['PAGE','471106',jdecode('07-04-09b'),jdecode(''),'/432419/471106.html','true',[],''],
		['PAGE','470034',jdecode('08-04-09a'),jdecode(''),'/432419/470034.html','true',[],''],
		['PAGE','472072',jdecode('08-04-09b'),jdecode(''),'/432419/472072.html','true',[],''],
		['PAGE','472103',jdecode('08-04-09c'),jdecode(''),'/432419/472103.html','true',[],''],
		['PAGE','470065',jdecode('09-04-09a'),jdecode(''),'/432419/470065.html','true',[],''],
		['PAGE','474772',jdecode('09-04-09b'),jdecode(''),'/432419/474772.html','true',[],''],
		['PAGE','498987',jdecode('Watford+%28week+1%29'),jdecode(''),'/432419/498987.html','true',[],''],
		['PAGE','499018',jdecode('28-07-09a'),jdecode(''),'/432419/499018.html','true',[],''],
		['PAGE','499049',jdecode('28-07-09b'),jdecode(''),'/432419/499049.html','true',[],''],
		['PAGE','499080',jdecode('29-07-09'),jdecode(''),'/432419/499080.html','true',[],''],
		['PAGE','499111',jdecode('30-07-09a'),jdecode(''),'/432419/499111.html','true',[],''],
		['PAGE','499142',jdecode('30-07-09b'),jdecode(''),'/432419/499142.html','true',[],''],
		['PAGE','503696',jdecode('Watford+%28week+2%29'),jdecode(''),'/432419/503696.html','true',[],''],
		['PAGE','503572',jdecode('04-08-09a'),jdecode(''),'/432419/503572.html','true',[],''],
		['PAGE','503603',jdecode('04-08-09b'),jdecode(''),'/432419/503603.html','true',[],''],
		['PAGE','503634',jdecode('05-08-09'),jdecode(''),'/432419/503634.html','true',[],''],
		['PAGE','503665',jdecode('06-08-09'),jdecode(''),'/432419/503665.html','true',[],''],
		['PAGE','506172',jdecode('Hemel+Hempstead'),jdecode(''),'/432419/506172.html','true',[],''],
		['PAGE','506203',jdecode('11-08-09a'),jdecode(''),'/432419/506203.html','true',[],''],
		['PAGE','506234',jdecode('11-08-09b'),jdecode(''),'/432419/506234.html','true',[],''],
		['PAGE','506265',jdecode('12-08-09'),jdecode(''),'/432419/506265.html','true',[],''],
		['PAGE','506296',jdecode('13-08-09a'),jdecode(''),'/432419/506296.html','true',[],''],
		['PAGE','506327',jdecode('13-08-09b'),jdecode(''),'/432419/506327.html','true',[],''],
		['PAGE','495272',jdecode('Three+Rivers'),jdecode(''),'/432419/495272.html','true',[],''],
		['PAGE','543388',jdecode('06-04-10'),jdecode(''),'/432419/543388.html','true',[],''],
		['PAGE','543419',jdecode('07-04-10'),jdecode(''),'/432419/543419.html','true',[],''],
		['PAGE','543450',jdecode('08-04-10a'),jdecode(''),'/432419/543450.html','true',[],''],
		['PAGE','545672',jdecode('08-04-10b'),jdecode(''),'/432419/545672.html','true',[],''],
		['PAGE','487972',jdecode('Stevenage'),jdecode(''),'/432419/487972.html','true',[],''],
		['PAGE','547972',jdecode('13-04-10'),jdecode(''),'/432419/547972.html','true',[],''],
		['PAGE','548003',jdecode('14-04-10'),jdecode(''),'/432419/548003.html','true',[],''],
		['PAGE','548034',jdecode('15-04-10'),jdecode(''),'/432419/548034.html','true',[],''],
		['PAGE','573972',jdecode('Girls+Moto-X+2010'),jdecode(''),'/432419/573972.html','true',[],''],
		['PAGE','574003',jdecode('29-07-10a'),jdecode(''),'/432419/574003.html','true',[],''],
		['PAGE','575079',jdecode('29-07-10b'),jdecode(''),'/432419/575079.html','true',[],''],
		['PAGE','513934',jdecode('Chessbrook+2010'),jdecode(''),'/432419/513934.html','true',[],''],
		['PAGE','582196',jdecode('06-09-10'),jdecode(''),'/432419/582196.html','true',[],''],
		['PAGE','582165',jdecode('13-09-10'),jdecode(''),'/432419/582165.html','true',[],''],
		['PAGE','582323',jdecode('20-09-10'),jdecode(''),'/432419/582323.html','true',[],''],
		['PAGE','582354',jdecode('27-09-10'),jdecode(''),'/432419/582354.html','true',[],''],
		['PAGE','582385',jdecode('11-10-10a'),jdecode(''),'/432419/582385.html','true',[],''],
		['PAGE','591846',jdecode('11-10-10b'),jdecode(''),'/432419/591846.html','true',[],''],
		['PAGE','582416',jdecode('18-10-10a'),jdecode(''),'/432419/582416.html','true',[],''],
		['PAGE','591815',jdecode('18-10-10b'),jdecode(''),'/432419/591815.html','true',[],''],
		['PAGE','617596',jdecode('Chessbrook+2011'),jdecode(''),'/432419/617596.html','true',[],''],
		['PAGE','617472',jdecode('17-05-11'),jdecode(''),'/432419/617472.html','true',[],''],
		['PAGE','621472',jdecode('24-05-11'),jdecode(''),'/432419/621472.html','true',[],''],
		['PAGE','621503',jdecode('07-06-11a'),jdecode(''),'/432419/621503.html','true',[],''],
		['PAGE','624672',jdecode('07-06-11b'),jdecode(''),'/432419/624672.html','true',[],''],
		['PAGE','621534',jdecode('14-06-11'),jdecode(''),'/432419/621534.html','true',[],''],
		['PAGE','621565',jdecode('21-06-11'),jdecode(''),'/432419/621565.html','true',[],''],
		['PAGE','621596',jdecode('28-06-11'),jdecode(''),'/432419/621596.html','true',[],''],
		['PAGE','634665',jdecode('Girls+Moto-X+2011'),jdecode(''),'/432419/634665.html','true',[],''],
		['PAGE','634634',jdecode('30-08-11'),jdecode(''),'/432419/634634.html','true',[],''],
		['PAGE','634696',jdecode('31-08-11a'),jdecode(''),'/432419/634696.html','true',[],''],
		['PAGE','637372',jdecode('31-08-11b'),jdecode(''),'/432419/637372.html','true',[],''],
		['PAGE','637403',jdecode('31-08-11c'),jdecode(''),'/432419/637403.html','true',[],''],
		['PAGE','637434',jdecode('31-08-11d'),jdecode(''),'/432419/637434.html','true',[],''],
		['PAGE','634727',jdecode('01-09-11a'),jdecode(''),'/432419/634727.html','true',[],''],
		['PAGE','642329',jdecode('01-09-11b'),jdecode(''),'/432419/642329.html','true',[],'']
	],'']];
var siteelementCount=156;
theSitetree.topTemplateName='Round';
					                                                                    
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 */					                                                            

