/* [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+%26+Latest+Updates'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','70451',jdecode('National+Hot+Rod+Galleries'),jdecode(''),'/70451/index.html','true',[ 
		['PAGE','127891',jdecode('2012+Galleries'),jdecode(''),'/70451/127891.html','true',[],''],
		['PAGE','122873',jdecode('2011+Galleries'),jdecode(''),'/70451/122873.html','true',[],''],
		['PAGE','118535',jdecode('2010+Galleries'),jdecode(''),'/70451/118535.html','true',[],''],
		['PAGE','113473',jdecode('2009+Galleries'),jdecode(''),'/70451/113473.html','true',[],''],
		['PAGE','108385',jdecode('2008+Galleries'),jdecode(''),'/70451/108385.html','true',[],''],
		['PAGE','94979',jdecode('2007+Galleries'),jdecode(''),'/70451/94979.html','true',[],''],
		['PAGE','81451',jdecode('2006+Galleries'),jdecode(''),'/70451/81451.html','true',[],''],
		['PAGE','69892',jdecode('2005+Galleries'),jdecode(''),'/70451/69892.html','true',[],''],
		['PAGE','4654',jdecode('2004+Galleries'),jdecode(''),'/70451/4654.html','true',[],''],
		['PAGE','70513',jdecode('2003+Galleries'),jdecode(''),'/70451/70513.html','true',[],''],
		['PAGE','70637',jdecode('1990%26%23x27%3Bs+Galleries'),jdecode(''),'/70451/70637.html','true',[],''],
		['PAGE','70668',jdecode('1980+Galleries'),jdecode(''),'/70451/70668.html','true',[],'']
	],''],
	['PAGE','95629',jdecode('Classic+hot+Rod+Galleries'),jdecode(''),'/95629/index.html','true',[ 
		['PAGE','128004',jdecode('2012+Galleries'),jdecode(''),'/95629/128004.html','true',[],''],
		['PAGE','123776',jdecode('2011+Galleries'),jdecode(''),'/95629/123776.html','true',[],''],
		['PAGE','119588',jdecode('2010+Galleries'),jdecode(''),'/95629/119588.html','true',[],''],
		['PAGE','114476',jdecode('2009+Galleries'),jdecode(''),'/95629/114476.html','true',[],''],
		['PAGE','109624',jdecode('2008'),jdecode(''),'/95629/109624.html','true',[],''],
		['PAGE','95660',jdecode('2007'),jdecode(''),'/95629/95660.html','true',[],''],
		['PAGE','75996',jdecode('2005%2F2006'),jdecode(''),'/95629/75996.html','true',[],'']
	],''],
	['PAGE','70982',jdecode('Other+Hot+Rod+Galleries'),jdecode(''),'/70982/index.html','true',[ 
		['PAGE','127973',jdecode('2012+Galleries'),jdecode(''),'/70982/127973.html','true',[],''],
		['PAGE','124373',jdecode('2011+Galleries'),jdecode(''),'/70982/124373.html','true',[],''],
		['PAGE','121673',jdecode('2010'),jdecode(''),'/70982/121673.html','true',[],''],
		['PAGE','115073',jdecode('2009'),jdecode(''),'/70982/115073.html','true',[],''],
		['PAGE','108873',jdecode('2008'),jdecode(''),'/70982/108873.html','true',[],''],
		['PAGE','96289',jdecode('2007'),jdecode(''),'/70982/96289.html','true',[],''],
		['PAGE','82486',jdecode('2006'),jdecode(''),'/70982/82486.html','true',[],''],
		['PAGE','70951',jdecode('2005'),jdecode(''),'/70982/70951.html','true',[],''],
		['PAGE','7302',jdecode('2004'),jdecode(''),'/70982/7302.html','true',[],''],
		['PAGE','71259',jdecode('2003'),jdecode(''),'/70982/71259.html','true',[],'']
	],''],
	['PAGE','71075',jdecode('European+Hot+Rod+Galleries'),jdecode(''),'/71075/index.html','true',[ 
		['PAGE','71352',jdecode('2006'),jdecode(''),'/71075/71352.html','true',[],''],
		['PAGE','82951',jdecode('2005'),jdecode(''),'/71075/82951.html','true',[],''],
		['PAGE','71168',jdecode('2004'),jdecode(''),'/71075/71168.html','true',[],'']
	],''],
	['PAGE','97051',jdecode('BriSCA+F1+galleries'),jdecode(''),'/97051.html','true',[],''],
	['PAGE','97082',jdecode('BriSCA+F2+Galleries'),jdecode(''),'/97082.html','true',[],''],
	['PAGE','86860',jdecode('Autograss+Racing'),jdecode(''),'/86860.html','true',[],''],
	['PAGE','70182',jdecode('Other+Motor+Racing+Galleries'),jdecode(''),'/70182/index.html','true',[ 
		['PAGE','127922',jdecode('2012+Galleries'),jdecode(''),'/70182/127922.html','true',[],''],
		['PAGE','122904',jdecode('2011+galleries'),jdecode(''),'/70182/122904.html','true',[],''],
		['PAGE','118873',jdecode('2010+Galleries'),jdecode(''),'/70182/118873.html','true',[],''],
		['PAGE','113504',jdecode('2009+Galleries'),jdecode(''),'/70182/113504.html','true',[],''],
		['PAGE','108416',jdecode('2008+Galleries'),jdecode(''),'/70182/108416.html','true',[],''],
		['PAGE','95151',jdecode('2007+Galleries'),jdecode(''),'/70182/95151.html','true',[],''],
		['PAGE','81482',jdecode('2006+Galleries'),jdecode(''),'/70182/81482.html','true',[],''],
		['PAGE','70213',jdecode('2005+Galleries'),jdecode(''),'/70182/70213.html','true',[],'']
	],''],
	['PAGE','12675',jdecode('Oval+Racing+Links'),jdecode(''),'/12675/index.html','true',[ 
		['PAGE','72682',jdecode('Other+Links'),jdecode(''),'/12675/72682.html','true',[],'']
	],''],
	['PAGE','4708',jdecode('How+to+Order+Photos'),jdecode(''),'/4708/index.html','true',[ 
		['PAGE','116973',jdecode('Helen+%26+Paul'),jdecode(''),'/4708/116973.html','true',[],'']
	],''],
	['PAGE','83951',jdecode('Features'),jdecode(''),'/83951/index.html','true',[ 
		['PAGE','87151',jdecode('Andy+Steward+Interview'),jdecode(''),'/83951/87151.html','true',[],'']
	],''],
	['PAGE','70482',jdecode('Results'),jdecode(''),'/70482/index.html','true',[ 
		['PAGE','83982',jdecode('2006+Outlaw+Results'),jdecode(''),'/70482/83982.html','true',[],''],
		['PAGE','83237',jdecode('2006+European+Results'),jdecode(''),'/70482/83237.html','true',[],''],
		['PAGE','76800',jdecode('2005+British+Long+Track+'),jdecode(''),'/70482/76800.html','true',[],''],
		['PAGE','75965',jdecode('Classic+Hot+Rod+Results'),jdecode(''),'/70482/75965.html','true',[],''],
		['PAGE','70761',jdecode('2005+Outlaw+Results'),jdecode(''),'/70482/70761.html','true',[],''],
		['PAGE','71321',jdecode('2005+European+Results'),jdecode(''),'/70482/71321.html','true',[],''],
		['PAGE','25452',jdecode('2004+World+Championship'),jdecode(''),'/70482/25452.html','true',[],''],
		['PAGE','48651',jdecode('2004+National+Championship'),jdecode(''),'/70482/48651.html','true',[],''],
		['PAGE','53351',jdecode('2004+Outlaw++Reports'),jdecode(''),'/70482/53351.html','true',[],''],
		['PAGE','4843',jdecode('2004+Outlaw+Results'),jdecode(''),'/70482/4843.html','true',[],''],
		['PAGE','71137',jdecode('2004+European+Results'),jdecode(''),'/70482/71137.html','true',[],'']
	],''],
	['PAGE','33552',jdecode('Just+4+Fun+Leisure+Wear'),jdecode(''),'/33552/index.html','true',[ 
		['PAGE','72744',jdecode('Bus+photographs'),jdecode(''),'/33552/72744.html','true',[],''],
		['PAGE','72775',jdecode('Tram+Photographs'),jdecode(''),'/33552/72775.html','true',[],''],
		['PAGE','74951',jdecode('For+the+small+business'),jdecode(''),'/33552/74951.html','true',[],''],
		['PAGE','72713',jdecode('Heaton+Park+Tramway'),jdecode(''),'/33552/72713.html','true',[],''],
		['PAGE','75052',jdecode('Tramway+photos+20%2F3%2F05'),jdecode(''),'/33552/75052.html','true',[],'']
	],''],
	['PAGE','83152',jdecode('Guestbook'),jdecode(''),'/83152/index.html','true',[ 
		['PAGE','83153',jdecode('Read+Guestbook'),jdecode(''),'/83152/83153.html','true',[],'']
	],'']];
var siteelementCount=75;
theSitetree.topTemplateName='Logg';
					                                                                    
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 */					                                                            

