/* [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','4436',jdecode('Home'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','27808',jdecode('Latest+news'),jdecode(''),'/27808.html','true',[],''],
	['PAGE','33532',jdecode('How+to+contribute'),jdecode(''),'/33532.html','true',[],''],
	['PAGE','22201',jdecode('Premiership'),jdecode(''),'/22201/index.html','true',[ 
		['PAGE','23909',jdecode('Arsenal'),jdecode(''),'/22201/23909.html','true',[],''],
		['PAGE','29501',jdecode('Aston+Villa'),jdecode(''),'/22201/29501.html','true',[],''],
		['PAGE','29532',jdecode('Blackburn+Rovers'),jdecode(''),'/22201/29532.html','true',[],''],
		['PAGE','25263',jdecode('Bolton'),jdecode(''),'/22201/25263.html','true',[],''],
		['PAGE','28466',jdecode('Charlton'),jdecode(''),'/22201/28466.html','true',[],''],
		['PAGE','25901',jdecode('Chelsea'),jdecode(''),'/22201/25901.html','true',[],''],
		['PAGE','28590',jdecode('Everton'),jdecode(''),'/22201/28590.html','true',[],''],
		['PAGE','27580',jdecode('Fulham'),jdecode(''),'/22201/27580.html','true',[],''],
		['PAGE','24863',jdecode('Liverpool'),jdecode(''),'/22201/24863.html','true',[],''],
		['PAGE','24563',jdecode('Manchester+City'),jdecode(''),'/22201/24563.html','true',[],''],
		['PAGE','24532',jdecode('Manchester+United'),jdecode(''),'/22201/24532.html','true',[],''],
		['PAGE','27394',jdecode('Middlesbrough'),jdecode(''),'/22201/27394.html','true',[],''],
		['PAGE','26332',jdecode('Newcastle+United'),jdecode(''),'/22201/26332.html','true',[],''],
		['PAGE','30104',jdecode('Portsmouth'),jdecode(''),'/22201/30104.html','true',[],''],
		['PAGE','30042',jdecode('Reading'),jdecode(''),'/22201/30042.html','true',[],''],
		['PAGE','30166',jdecode('Sheffield+United'),jdecode(''),'/22201/30166.html','true',[],''],
		['PAGE','30073',jdecode('Spurs'),jdecode(''),'/22201/30073.html','true',[],''],
		['PAGE','30011',jdecode('Watford'),jdecode(''),'/22201/30011.html','true',[],''],
		['PAGE','30197',jdecode('West+Ham'),jdecode(''),'/22201/30197.html','true',[],''],
		['PAGE','30135',jdecode('Wigan'),jdecode(''),'/22201/30135.html','true',[],'']
	],''],
	['PAGE','22232',jdecode('The+Championship'),jdecode(''),'/22232/index.html','true',[ 
		['PAGE','28435',jdecode('Barnsley'),jdecode(''),'/22232/28435.html','true',[],''],
		['PAGE','30259',jdecode('Birmingham+City'),jdecode(''),'/22232/30259.html','true',[],''],
		['PAGE','27425',jdecode('Burnley'),jdecode(''),'/22232/27425.html','true',[],''],
		['PAGE','28559',jdecode('Cardiff+City'),jdecode(''),'/22232/28559.html','true',[],''],
		['PAGE','30600',jdecode('Colchester+United'),jdecode(''),'/22232/30600.html','true',[],''],
		['PAGE','30445',jdecode('Coventry+City'),jdecode(''),'/22232/30445.html','true',[],''],
		['PAGE','26026',jdecode('Crystal+Palace'),jdecode(''),'/22232/26026.html','true',[],''],
		['PAGE','28528',jdecode('Derby+County'),jdecode(''),'/22232/28528.html','true',[],''],
		['PAGE','30631',jdecode('Hull+City'),jdecode(''),'/22232/30631.html','true',[],''],
		['PAGE','30569',jdecode('Ipswich'),jdecode(''),'/22232/30569.html','true',[],''],
		['PAGE','25964',jdecode('Leeds+United'),jdecode(''),'/22232/25964.html','true',[],''],
		['PAGE','30414',jdecode('Leicester+City'),jdecode(''),'/22232/30414.html','true',[],''],
		['PAGE','30383',jdecode('Luton'),jdecode(''),'/22232/30383.html','true',[],''],
		['PAGE','30228',jdecode('Norwich'),jdecode(''),'/22232/30228.html','true',[],''],
		['PAGE','30321',jdecode('Plymouth'),jdecode(''),'/22232/30321.html','true',[],''],
		['PAGE','30507',jdecode('Preston+North+End'),jdecode(''),'/22232/30507.html','true',[],''],
		['PAGE','30538',jdecode('Q.P.R'),jdecode(''),'/22232/30538.html','true',[],''],
		['PAGE','27363',jdecode('Sheffield+Wednesday'),jdecode(''),'/22232/27363.html','true',[],''],
		['PAGE','22914',jdecode('Southampton'),jdecode(''),'/22232/22914.html','true',[],''],
		['PAGE','27456',jdecode('Southend'),jdecode(''),'/22232/27456.html','true',[],''],
		['PAGE','30476',jdecode('Stoke+City'),jdecode(''),'/22232/30476.html','true',[],''],
		['PAGE','29973',jdecode('Sunderland'),jdecode(''),'/22232/29973.html','true',[],''],
		['PAGE','30352',jdecode('West+Brom'),jdecode(''),'/22232/30352.html','true',[],''],
		['PAGE','30290',jdecode('Wolves'),jdecode(''),'/22232/30290.html','true',[],'']
	],''],
	['PAGE','22263',jdecode('League+One'),jdecode(''),'/22263/index.html','true',[ 
		['PAGE','30662',jdecode('Blackpool'),jdecode(''),'/22263/30662.html','true',[],''],
		['PAGE','30693',jdecode('Bournemouth'),jdecode(''),'/22263/30693.html','true',[],''],
		['PAGE','30724',jdecode('Bradford+City'),jdecode(''),'/22263/30724.html','true',[],''],
		['PAGE','30755',jdecode('Brentford'),jdecode(''),'/22263/30755.html','true',[],''],
		['PAGE','30786',jdecode('Brighton+HA'),jdecode(''),'/22263/30786.html','true',[],''],
		['PAGE','27487',jdecode('Bristol+City'),jdecode(''),'/22263/27487.html','true',[],''],
		['PAGE','30817',jdecode('Carlisle+United'),jdecode(''),'/22263/30817.html','true',[],''],
		['PAGE','30848',jdecode('Cheltenham'),jdecode(''),'/22263/30848.html','true',[],''],
		['PAGE','30879',jdecode('Chesterfield'),jdecode(''),'/22263/30879.html','true',[],''],
		['PAGE','30910',jdecode('Crewe+Alex'),jdecode(''),'/22263/30910.html','true',[],''],
		['PAGE','30941',jdecode('Doncaster+Rovers'),jdecode(''),'/22263/30941.html','true',[],''],
		['PAGE','30972',jdecode('Gillingham'),jdecode(''),'/22263/30972.html','true',[],''],
		['PAGE','31003',jdecode('Huddersfield+Town'),jdecode(''),'/22263/31003.html','true',[],''],
		['PAGE','31034',jdecode('Leyton+Orient'),jdecode(''),'/22263/31034.html','true',[],''],
		['PAGE','31065',jdecode('Millwall'),jdecode(''),'/22263/31065.html','true',[],''],
		['PAGE','31096',jdecode('Northampton+Town'),jdecode(''),'/22263/31096.html','true',[],''],
		['PAGE','27301',jdecode('Nottingham+Forest'),jdecode(''),'/22263/27301.html','true',[],''],
		['PAGE','31127',jdecode('Oldham+Athletic'),jdecode(''),'/22263/31127.html','true',[],''],
		['PAGE','31158',jdecode('Port+Vale'),jdecode(''),'/22263/31158.html','true',[],''],
		['PAGE','31189',jdecode('Rotherham+United'),jdecode(''),'/22263/31189.html','true',[],''],
		['PAGE','31220',jdecode('Scunthorpe+United'),jdecode(''),'/22263/31220.html','true',[],''],
		['PAGE','23801',jdecode('Swansea+City'),jdecode(''),'/22263/23801.html','true',[],''],
		['PAGE','31251',jdecode('Tranmere+Rovers'),jdecode(''),'/22263/31251.html','true',[],''],
		['PAGE','31282',jdecode('Yeovil+Town'),jdecode(''),'/22263/31282.html','true',[],'']
	],''],
	['PAGE','22294',jdecode('League+Two'),jdecode(''),'/22294/index.html','true',[ 
		['PAGE','31313',jdecode('Accrington+Stanley'),jdecode(''),'/22294/31313.html','true',[],''],
		['PAGE','31344',jdecode('Barnet'),jdecode(''),'/22294/31344.html','true',[],''],
		['PAGE','31375',jdecode('Boston+Utd'),jdecode(''),'/22294/31375.html','true',[],''],
		['PAGE','28497',jdecode('Bristol+Rovers'),jdecode(''),'/22294/28497.html','true',[],''],
		['PAGE','31406',jdecode('Bury'),jdecode(''),'/22294/31406.html','true',[],''],
		['PAGE','31437',jdecode('Chester+City'),jdecode(''),'/22294/31437.html','true',[],''],
		['PAGE','27549',jdecode('Darlington'),jdecode(''),'/22294/27549.html','true',[],''],
		['PAGE','31468',jdecode('Grimsby+Town'),jdecode(''),'/22294/31468.html','true',[],''],
		['PAGE','27518',jdecode('Hartlepool+United'),jdecode(''),'/22294/27518.html','true',[],''],
		['PAGE','31499',jdecode('Hereford'),jdecode(''),'/22294/31499.html','true',[],''],
		['PAGE','31530',jdecode('Lincoln+City'),jdecode(''),'/22294/31530.html','true',[],''],
		['PAGE','26592',jdecode('Macclesfield+Town'),jdecode(''),'/22294/26592.html','true',[],''],
		['PAGE','31561',jdecode('Mansfield+Town'),jdecode(''),'/22294/31561.html','true',[],''],
		['PAGE','31592',jdecode('MK+Dons'),jdecode(''),'/22294/31592.html','true',[],''],
		['PAGE','31623',jdecode('Notts+County'),jdecode(''),'/22294/31623.html','true',[],''],
		['PAGE','31654',jdecode('Peterborough'),jdecode(''),'/22294/31654.html','true',[],''],
		['PAGE','31685',jdecode('Rochdale'),jdecode(''),'/22294/31685.html','true',[],''],
		['PAGE','31716',jdecode('Shrewsbury+Town'),jdecode(''),'/22294/31716.html','true',[],''],
		['PAGE','31747',jdecode('Stockport+County'),jdecode(''),'/22294/31747.html','true',[],''],
		['PAGE','31778',jdecode('Swindon+Town'),jdecode(''),'/22294/31778.html','true',[],''],
		['PAGE','31809',jdecode('Torquay+Utd'),jdecode(''),'/22294/31809.html','true',[],''],
		['PAGE','31840',jdecode('Walsall'),jdecode(''),'/22294/31840.html','true',[],''],
		['PAGE','31871',jdecode('Wrexham'),jdecode(''),'/22294/31871.html','true',[],''],
		['PAGE','31902',jdecode('Wycombe+Wanderers'),jdecode(''),'/22294/31902.html','true',[],'']
	],''],
	['PAGE','22356',jdecode('Scotland'),jdecode(''),'/22356/index.html','true',[ 
		['PAGE','29911',jdecode('Celtic'),jdecode(''),'/22356/29911.html','true',[],''],
		['PAGE','27332',jdecode('Hearts'),jdecode(''),'/22356/27332.html','true',[],''],
		['PAGE','29942',jdecode('Rangers'),jdecode(''),'/22356/29942.html','true',[],'']
	],''],
	['PAGE','24801',jdecode('Worst+of+the+week'),jdecode(''),'/24801/index.html','true',[ 
		['PAGE','33501',jdecode('3+September+06'),jdecode(''),'/24801/33501.html','true',[],''],
		['PAGE','32231',jdecode('27+August+06'),jdecode(''),'/24801/32231.html','true',[],''],
		['PAGE','28001',jdecode('20+August+06'),jdecode(''),'/24801/28001.html','true',[],'']
	],''],
	['PAGE','25501',jdecode('Name+and+shame'),jdecode(''),'/25501/index.html','true',[ 
		['PAGE','25747',jdecode('Name+and+shame+%28follow+up+page%29'),jdecode(''),'/25501/25747.html','false',[],'']
	],''],
	['PAGE','25532',jdecode('A+rubbish+forum'),jdecode(''),'/25532.html','true',[],''],
	['PAGE','23601',jdecode('The+Players'),jdecode(''),'/23601/index.html','true',[ 
		['PAGE','25933',jdecode('Winston+Bogarde'),jdecode(''),'/23601/25933.html','true',[],''],
		['PAGE','25995',jdecode('Tomas+Brolin'),jdecode(''),'/23601/25995.html','true',[],''],
		['PAGE','22001',jdecode('Ali+Dia'),jdecode(''),'/23601/22001.html','true',[],''],
		['PAGE','25232',jdecode('Mario+Jardel'),jdecode(''),'/23601/25232.html','true',[],''],
		['PAGE','23940',jdecode('Chris+Kiwomya'),jdecode(''),'/23601/23940.html','true',[],''],
		['PAGE','26394',jdecode('Karl+Munroe'),jdecode(''),'/23601/26394.html','true',[],''],
		['PAGE','22032',jdecode('Tommy+Mutton'),jdecode(''),'/23601/22032.html','true',[],''],
		['PAGE','24232',jdecode('Christian+Negouai+'),jdecode(''),'/23601/24232.html','true',[],''],
		['PAGE','24201',jdecode('Massimo+Taibi'),jdecode(''),'/23601/24201.html','true',[],''],
		['PAGE','24894',jdecode('Djimi+Traore'),jdecode(''),'/23601/24894.html','true',[],''],
		['PAGE','26363',jdecode('Hugo+Viana'),jdecode(''),'/23601/26363.html','true',[],''],
		['PAGE','26701',jdecode('Darko+Kovacevic'),jdecode(''),'/23601/26701.html','true',[],''],
		['PAGE','26771',jdecode('Michael+Ricketts'),jdecode(''),'/23601/26771.html','true',[],''],
		['PAGE','26802',jdecode('Clayton+Fortune'),jdecode(''),'/23601/26802.html','true',[],''],
		['PAGE','26833',jdecode('Darren+Fletcher'),jdecode(''),'/23601/26833.html','true',[],''],
		['PAGE','26864',jdecode('Barry+Roache'),jdecode(''),'/23601/26864.html','true',[],''],
		['PAGE','26895',jdecode('Misrad+Besliga'),jdecode(''),'/23601/26895.html','true',[],''],
		['PAGE','26926',jdecode('Pascal+Cygan'),jdecode(''),'/23601/26926.html','true',[],''],
		['PAGE','26957',jdecode('John+Borthwick'),jdecode(''),'/23601/26957.html','true',[],''],
		['PAGE','26988',jdecode('Steve+Marlet+'),jdecode(''),'/23601/26988.html','true',[],''],
		['PAGE','28032',jdecode('Brett+Angell'),jdecode(''),'/23601/28032.html','true',[],''],
		['PAGE','28063',jdecode('Geoff+Thomas'),jdecode(''),'/23601/28063.html','true',[],''],
		['PAGE','28094',jdecode('Erik+Meijer'),jdecode(''),'/23601/28094.html','true',[],''],
		['PAGE','28125',jdecode('Sean+Dundee'),jdecode(''),'/23601/28125.html','true',[],''],
		['PAGE','28156',jdecode('Bruno+Cheyrou'),jdecode(''),'/23601/28156.html','true',[],''],
		['PAGE','28187',jdecode('Bernard+Diomede'),jdecode(''),'/23601/28187.html','true',[],''],
		['PAGE','28218',jdecode('Torben+Piechnik'),jdecode(''),'/23601/28218.html','true',[],''],
		['PAGE','28249',jdecode('Dai+Thomas'),jdecode(''),'/23601/28249.html','true',[],''],
		['PAGE','28280',jdecode('Mikkel+Beck'),jdecode(''),'/23601/28280.html','true',[],''],
		['PAGE','28311',jdecode('Eric+Djemba-Djemba'),jdecode(''),'/23601/28311.html','true',[],''],
		['PAGE','28342',jdecode('Lewis+Haldane'),jdecode(''),'/23601/28342.html','true',[],''],
		['PAGE','28373',jdecode('Carl+Leaburn'),jdecode(''),'/23601/28373.html','true',[],''],
		['PAGE','28404',jdecode('Carl+Regan'),jdecode(''),'/23601/28404.html','true',[],''],
		['PAGE','29601',jdecode('Rafael+Schite'),jdecode(''),'/23601/29601.html','true',[],''],
		['PAGE','29632',jdecode('Hamed+Namouchi'),jdecode(''),'/23601/29632.html','true',[],''],
		['PAGE','29663',jdecode('Marco+Boogers'),jdecode(''),'/23601/29663.html','true',[],''],
		['PAGE','29694',jdecode('Andy+Smith'),jdecode(''),'/23601/29694.html','true',[],''],
		['PAGE','29725',jdecode('Carlton+Palmer'),jdecode(''),'/23601/29725.html','true',[],''],
		['PAGE','29756',jdecode('Franny+Jeffers'),jdecode(''),'/23601/29756.html','true',[],''],
		['PAGE','29787',jdecode('Marcelino+Elena'),jdecode(''),'/23601/29787.html','true',[],''],
		['PAGE','29818',jdecode('Colin+West'),jdecode(''),'/23601/29818.html','true',[],''],
		['PAGE','29849',jdecode('David+Bellion'),jdecode(''),'/23601/29849.html','true',[],'']
	],''],
	['PAGE','16253',jdecode('Contact'),jdecode(''),'/16253.html','true',[],''],
	['PAGE','33563',jdecode('Thank+yous'),jdecode(''),'/33563.html','true',[],''],
	['PAGE','16280',jdecode('Interesting+Links'),jdecode(''),'/16280.html','true',[],'']];
var siteelementCount=156;
theSitetree.topTemplateName='Comedy';
					                                                                    
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 */					                                                            

