/* [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','327476',jdecode('MOBILE+GUIDE'),jdecode(''),'/327476/index.html','true',[ 
		['PAGE','328076',jdecode('F.A.Q.'),jdecode(''),'/327476/328076.html','true',[],''],
		['PAGE','36358',jdecode('Legal+bits'),jdecode(''),'/327476/36358.html','true',[],''],
		['PAGE','210008',jdecode('About+us'),jdecode(''),'/327476/210008.html','true',[],''],
		['PAGE','38301',jdecode('Contact+'),jdecode(''),'/327476/38301.html','true',[],'']
	],''],
	['PAGE','67806',jdecode('ORDERS+and+REVIEWS'),jdecode(''),'/67806.html','true',[],''],
	['PAGE','245004',jdecode('LONDON+CENTRAL'),jdecode(''),'/245004.html','true',[],''],
	['PAGE','294701',jdecode('PREMIER+LEAGUE'),jdecode(''),'/294701/index.html','true',[ 
		['PAGE','148914',jdecode('Aston+Villa'),jdecode(''),'/294701/148914.html','true',[],''],
		['PAGE','148945',jdecode('Blackburn+Rovers'),jdecode(''),'/294701/148945.html','true',[],''],
		['PAGE','149348',jdecode('Bolton+Wanderers'),jdecode(''),'/294701/149348.html','true',[],''],
		['PAGE','149069',jdecode('Liverpool+%28and+Everton%29'),jdecode(''),'/294701/149069.html','true',[],''],
		['PAGE','148852',jdecode('London+N+%28Arsenal+and+Spurs%29'),jdecode(''),'/294701/148852.html','true',[],''],
		['PAGE','149255',jdecode('London+West+%28Chelsea%2C+Fulham%2C+QPR%29'),jdecode(''),'/294701/149255.html','true',[],''],
		['PAGE','149100',jdecode('Manchester+%28City+and+United%29'),jdecode(''),'/294701/149100.html','true',[],''],
		['PAGE','149162',jdecode('Newcastle+United'),jdecode(''),'/294701/149162.html','true',[],''],
		['PAGE','150155',jdecode('Norwich+City'),jdecode(''),'/294701/150155.html','true',[],''],
		['PAGE','150403',jdecode('Stoke+City'),jdecode(''),'/294701/150403.html','true',[],''],
		['PAGE','149410',jdecode('Sunderland'),jdecode(''),'/294701/149410.html','true',[],''],
		['PAGE','151482',jdecode('Swansea+City'),jdecode(''),'/294701/151482.html','true',[],''],
		['PAGE','150434',jdecode('West+Bromwich+Albion'),jdecode(''),'/294701/150434.html','true',[],''],
		['PAGE','149441',jdecode('Wigan+Athletic'),jdecode(''),'/294701/149441.html','true',[],''],
		['PAGE','150465',jdecode('Wolverhampton+Wanderers'),jdecode(''),'/294701/150465.html','true',[],'']
	],''],
	['PAGE','294732',jdecode('CHAMPIONSHIP'),jdecode(''),'/294732/index.html','true',[ 
		['PAGE','149814',jdecode('Barnsley'),jdecode(''),'/294732/149814.html','true',[],''],
		['PAGE','328982',jdecode('Birmingham'),jdecode(''),'/294732/328982.html','true',[],''],
		['PAGE','149845',jdecode('Blackpool'),jdecode(''),'/294732/149845.html','true',[],''],
		['PAGE','150955',jdecode('Brighton+%26+Hove+Albion'),jdecode(''),'/294732/150955.html','true',[],''],
		['PAGE','149876',jdecode('Bristol+%28City+and+Rovers%29'),jdecode(''),'/294732/149876.html','true',[],''],
		['PAGE','150062',jdecode('Burnley'),jdecode(''),'/294732/150062.html','true',[],''],
		['PAGE','149938',jdecode('Cardiff+City'),jdecode(''),'/294732/149938.html','true',[],''],
		['PAGE','149752',jdecode('Coventry+City'),jdecode(''),'/294732/149752.html','true',[],''],
		['PAGE','149969',jdecode('Crystal+Palace'),jdecode(''),'/294732/149969.html','true',[],''],
		['PAGE','148976',jdecode('Derby+County'),jdecode(''),'/294732/148976.html','true',[],''],
		['PAGE','151110',jdecode('Doncaster+Rovers'),jdecode(''),'/294732/151110.html','true',[],''],
		['PAGE','150031',jdecode('Hull+City'),jdecode(''),'/294732/150031.html','true',[],''],
		['PAGE','150093',jdecode('Ipswich+Town'),jdecode(''),'/294732/150093.html','true',[],''],
		['PAGE','151234',jdecode('Leeds+United'),jdecode(''),'/294732/151234.html','true',[],''],
		['PAGE','150124',jdecode('Leicester+City'),jdecode(''),'/294732/150124.html','true',[],''],
		['PAGE','150718',jdecode('London+East+%28+Dagenham+and+Redb.+plus+West+Ham%29'),jdecode(''),'/294732/150718.html','true',[],''],
		['PAGE','149193',jdecode('London+S+E+%28Charlton+and+Millwall%29'),jdecode(''),'/294732/149193.html','true',[],''],
		['PAGE','149379',jdecode('Middlesbrough'),jdecode(''),'/294732/149379.html','true',[],''],
		['PAGE','151856',jdecode('Nottingham+%28Notts+County+and+Forest%29'),jdecode(''),'/294732/151856.html','true',[],''],
		['PAGE','152479',jdecode('Peterborough+United'),jdecode(''),'/294732/152479.html','true',[],''],
		['PAGE','149224',jdecode('Portsmouth'),jdecode(''),'/294732/149224.html','true',[],''],
		['PAGE','149286',jdecode('Reading'),jdecode(''),'/294732/149286.html','true',[],''],
		['PAGE','150372',jdecode('Southampton'),jdecode(''),'/294732/150372.html','true',[],''],
		['PAGE','149783',jdecode('Watford'),jdecode(''),'/294732/149783.html','true',[],'']
	],''],
	['PAGE','294763',jdecode('DIVISION+ONE'),jdecode(''),'/294763/index.html','true',[ 
		['PAGE','150924',jdecode('Bournemouth'),jdecode(''),'/294763/150924.html','true',[],''],
		['PAGE','152045',jdecode('Brentford'),jdecode(''),'/294763/152045.html','true',[],''],
		['PAGE','152076',jdecode('Bury'),jdecode(''),'/294763/152076.html','true',[],''],
		['PAGE','151017',jdecode('Carlisle+United'),jdecode(''),'/294763/151017.html','true',[],''],
		['PAGE','152138',jdecode('Chesterfield'),jdecode(''),'/294763/152138.html','true',[],''],
		['PAGE','150000',jdecode('Colchester+United'),jdecode(''),'/294763/150000.html','true',[],''],
		['PAGE','184490',jdecode('Exeter+City'),jdecode(''),'/294763/184490.html','true',[],''],
		['PAGE','151172',jdecode('Hartlepool+United'),jdecode(''),'/294763/151172.html','true',[],''],
		['PAGE','151203',jdecode('Huddersfield+Town'),jdecode(''),'/294763/151203.html','true',[],''],
		['PAGE','151265',jdecode('Leyton+Orient'),jdecode(''),'/294763/151265.html','true',[],''],
		['PAGE','152386',jdecode('Milton+Keynes+Dons'),jdecode(''),'/294763/152386.html','true',[],''],
		['PAGE','151389',jdecode('Oldham+Athletic'),jdecode(''),'/294763/151389.html','true',[],''],
		['PAGE','150217',jdecode('Preston+North+End'),jdecode(''),'/294763/150217.html','true',[],''],
		['PAGE','152510',jdecode('Rochdale'),jdecode(''),'/294763/152510.html','true',[],''],
		['PAGE','150279',jdecode('Scunthorpe+United'),jdecode(''),'/294763/150279.html','true',[],''],
		['PAGE','150310',jdecode('Sheffield+%28United+and+Wednesday%29'),jdecode(''),'/294763/150310.html','true',[],''],
		['PAGE','233637',jdecode('Stevenage'),jdecode(''),'/294763/233637.html','true',[],''],
		['PAGE','151544',jdecode('Tranmere+Rovers'),jdecode(''),'/294763/151544.html','true',[],''],
		['PAGE','151575',jdecode('Walsall'),jdecode(''),'/294763/151575.html','true',[],''],
		['PAGE','152665',jdecode('Wycombe+Wanderers'),jdecode(''),'/294763/152665.html','true',[],''],
		['PAGE','151606',jdecode('Yeovil+Town'),jdecode(''),'/294763/151606.html','true',[],'']
	],''],
	['PAGE','294794',jdecode('DIVISION+TWO'),jdecode(''),'/294794/index.html','true',[ 
		['PAGE','151952',jdecode('Accrington+Stanley+'),jdecode(''),'/294794/151952.html','true',[],''],
		['PAGE','184521',jdecode('Aldershot+Town'),jdecode(''),'/294794/184521.html','true',[],''],
		['PAGE','151983',jdecode('Barnet'),jdecode(''),'/294794/151983.html','true',[],''],
		['PAGE','152014',jdecode('Bradford+City'),jdecode(''),'/294794/152014.html','true',[],''],
		['PAGE','152107',jdecode('Burton+Albion'),jdecode(''),'/294794/152107.html','true',[],''],
		['PAGE','151048',jdecode('Cheltenham+Town'),jdecode(''),'/294794/151048.html','true',[],''],
		['PAGE','291247',jdecode('Crawley'),jdecode(''),'/294794/291247.html','true',[],''],
		['PAGE','151079',jdecode('Crewe+Alexandra'),jdecode(''),'/294794/151079.html','true',[],''],
		['PAGE','151141',jdecode('Gillingham'),jdecode(''),'/294794/151141.html','true',[],''],
		['PAGE','152262',jdecode('Hereford+United'),jdecode(''),'/294794/152262.html','true',[],''],
		['PAGE','152324',jdecode('Macclesfield+Town'),jdecode(''),'/294794/152324.html','true',[],''],
		['PAGE','152417',jdecode('Morecambe'),jdecode(''),'/294794/152417.html','true',[],''],
		['PAGE','151358',jdecode('Northampton+Town'),jdecode(''),'/294794/151358.html','true',[],''],
		['PAGE','233668',jdecode('Oxford'),jdecode(''),'/294794/233668.html','true',[],''],
		['PAGE','150186',jdecode('Plymouth+Argyle'),jdecode(''),'/294794/150186.html','true',[],''],
		['PAGE','151420',jdecode('Port+Vale'),jdecode(''),'/294794/151420.html','true',[],''],
		['PAGE','152541',jdecode('Rotherham+United'),jdecode(''),'/294794/152541.html','true',[],''],
		['PAGE','152572',jdecode('Shrewsbury+Town'),jdecode(''),'/294794/152572.html','true',[],''],
		['PAGE','151451',jdecode('Southend+United'),jdecode(''),'/294794/151451.html','true',[],''],
		['PAGE','151513',jdecode('Swindon+Town'),jdecode(''),'/294794/151513.html','true',[],''],
		['PAGE','151296',jdecode('Torquay+United'),jdecode(''),'/294794/151296.html','true',[],''],
		['PAGE','291278',jdecode('Wimbledon'),jdecode(''),'/294794/291278.html','true',[],'']
	],''],
	['PAGE','294825',jdecode('NON+LEAGUE'),jdecode(''),'/294825/index.html','true',[ 
		['PAGE','336866',jdecode('Alfreton'),jdecode(''),'/294825/336866.html','true',[],''],
		['PAGE','336711',jdecode('Barrow+in+Furness'),jdecode(''),'/294825/336711.html','true',[],''],
		['PAGE','336383',jdecode('Bath'),jdecode(''),'/294825/336383.html','true',[],''],
		['PAGE','336742',jdecode('Braintree'),jdecode(''),'/294825/336742.html','true',[],''],
		['PAGE','335783',jdecode('Cambridge'),jdecode(''),'/294825/335783.html','true',[],''],
		['PAGE','152200',jdecode('Darlington'),jdecode(''),'/294825/152200.html','true',[],''],
		['PAGE','336773',jdecode('Ebbsfleet'),jdecode(''),'/294825/336773.html','true',[],''],
		['PAGE','336183',jdecode('Fleetwood'),jdecode(''),'/294825/336183.html','true',[],''],
		['PAGE','336680',jdecode('Forest+Green+Rovers'),jdecode(''),'/294825/336680.html','true',[],''],
		['PAGE','336649',jdecode('Gateshead'),jdecode(''),'/294825/336649.html','true',[],''],
		['PAGE','152231',jdecode('Grimsby+Town'),jdecode(''),'/294825/152231.html','true',[],''],
		['PAGE','336835',jdecode('Hayes+and+Yeading+%28Woking%29'),jdecode(''),'/294825/336835.html','true',[],''],
		['PAGE','235208',jdecode('Kidderminster'),jdecode(''),'/294825/235208.html','true',[],''],
		['PAGE','152293',jdecode('Lincoln+City'),jdecode(''),'/294825/152293.html','true',[],''],
		['PAGE','233839',jdecode('Luton'),jdecode(''),'/294825/233839.html','true',[],''],
		['PAGE','233870',jdecode('Mansfield'),jdecode(''),'/294825/233870.html','true',[],''],
		['PAGE','336804',jdecode('Newport'),jdecode(''),'/294825/336804.html','true',[],''],
		['PAGE','233808',jdecode('Rushden+'),jdecode(''),'/294825/233808.html','true',[],''],
		['PAGE','336618',jdecode('Southport'),jdecode(''),'/294825/336618.html','true',[],''],
		['PAGE','152603',jdecode('Stockport+County'),jdecode(''),'/294825/152603.html','true',[],''],
		['PAGE','327276',jdecode('Tamworth'),jdecode(''),'/294825/327276.html','true',[],''],
		['PAGE','294670',jdecode('Telford'),jdecode(''),'/294825/294670.html','true',[],''],
		['PAGE','233901',jdecode('Wrexham'),jdecode(''),'/294825/233901.html','true',[],''],
		['PAGE','336587',jdecode('York'),jdecode(''),'/294825/336587.html','true',[],'']
	],''],
	['PAGE','162852',jdecode('CONTRIBUTORS'),jdecode(''),'/162852.html','true',[],''],
	['PAGE','210039',jdecode('Hotels'),jdecode(''),'/210039.html','true',[],''],
	['PAGE','245757',jdecode('Closed+pubs'),jdecode(''),'/245757.html','true',[],''],
	['PAGE','210339',jdecode('Real+Ale+related+links'),jdecode(''),'/210339.html','true',[],''],
	['PAGE','291309',jdecode('PICK+UP+PUBS'),jdecode(''),'/291309.html','true',[],''],
	['PAGE','210308',jdecode('Football+links'),jdecode(''),'/210308.html','true',[],''],
	['PAGE','291643',jdecode('DIARY+PAGE'),jdecode(''),'/291643.html','true',[],'']];
var siteelementCount=126;
theSitetree.topTemplateName='Inspiration';
					                                                                    
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 */					                                                            

