/* [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','4593',jdecode('Home'),jdecode(''),'/4593.html','true',[],''],
	['PAGE','4704',jdecode('Contact'),jdecode(''),'/4704.html','true',[],''],
	['PAGE','47065',jdecode('About+me'),jdecode(''),'/47065.html','true',[],''],
	['PAGE','77912',jdecode('The+Fish'),jdecode(''),'/77912.html','true',[],''],
	['PAGE','136749',jdecode('Jack+and+Ted'),jdecode(''),'/136749.html','true',[],''],
	['PAGE','231599',jdecode('London+July+2010'),jdecode(''),'/231599.html','true',[],''],
	['PAGE','230499',jdecode('London+Pride+2010'),jdecode(''),'/230499.html','true',[],''],
	['PAGE','219899',jdecode('Sitges+Feb+2010'),jdecode(''),'/219899.html','true',[],''],
	['PAGE','219930',jdecode('My+birthday+2010'),jdecode(''),'/219930.html','true',[],''],
	['PAGE','214299',jdecode('Sweden+Sept+2009'),jdecode(''),'/214299.html','true',[],''],
	['PAGE','214330',jdecode('Greenand+2009'),jdecode(''),'/214330.html','true',[],''],
	['PAGE','214361',jdecode('Iceburg+photos'),jdecode(''),'/214361.html','true',[],''],
	['PAGE','214499',jdecode('Copenhagen+2009'),jdecode(''),'/214499.html','true',[],''],
	['PAGE','212892',jdecode('Jerome%26%23x27%3Bs+visit+Aug+09'),jdecode(''),'/212892.html','true',[],''],
	['PAGE','230530',jdecode('2009+photos'),jdecode(''),'/230530/index.html','true',[ 
		['PAGE','207299',jdecode('cuckmere+march+2009'),jdecode(''),'/230530/207299.html','true',[],''],
		['PAGE','204999',jdecode('Oslo+Feb+2009'),jdecode(''),'/230530/204999.html','true',[],''],
		['PAGE','209299',jdecode('london+April+09'),jdecode(''),'/230530/209299.html','true',[],''],
		['PAGE','208299',jdecode('Coventry+March+2009'),jdecode(''),'/230530/208299.html','true',[],''],
		['PAGE','210099',jdecode('York+May+2009'),jdecode(''),'/230530/210099.html','true',[],''],
		['PAGE','211994',jdecode('June+Photos+2009'),jdecode(''),'/230530/211994.html','true',[],'']
	],''],
	['PAGE','209330',jdecode('2008+photos'),jdecode(''),'/209330/index.html','true',[ 
		['PAGE','193499',jdecode('Harriet%26%23x27%3Bs+christening'),jdecode(''),'/209330/193499.html','true',[],''],
		['PAGE','192199',jdecode('Kingsweir+Castle+April+08'),jdecode(''),'/209330/192199.html','true',[],''],
		['PAGE','188799',jdecode('Egypt+Feb+2008'),jdecode(''),'/209330/188799.html','true',[],''],
		['PAGE','194499',jdecode('Arctic+circle+June+2008'),jdecode(''),'/209330/194499.html','true',[],''],
		['PAGE','198099',jdecode('Charlston+farmhouse'),jdecode(''),'/209330/198099.html','true',[],''],
		['PAGE','198499',jdecode('Shambala+Aug+2008'),jdecode(''),'/209330/198499.html','true',[],''],
		['PAGE','199999',jdecode('Dan+%26+Alex+November+2008'),jdecode(''),'/209330/199999.html','true',[],''],
		['PAGE','200699',jdecode('christmas+2008'),jdecode(''),'/209330/200699.html','true',[],''],
		['PAGE','203599',jdecode('January+2009'),jdecode(''),'/209330/203599.html','true',[],''],
		['PAGE','203799',jdecode('pollys+birthday+2009'),jdecode(''),'/209330/203799.html','true',[],'']
	],''],
	['PAGE','188830',jdecode('2007+photos'),jdecode(''),'/188830/index.html','true',[ 
		['PAGE','181499',jdecode('Athens+Feb+2007'),jdecode(''),'/188830/181499.html','true',[],''],
		['PAGE','183399',jdecode('Easter+2007'),jdecode(''),'/188830/183399.html','true',[],''],
		['PAGE','183149',jdecode('Edward+and+Malcome'),jdecode(''),'/188830/183149.html','true',[],''],
		['PAGE','185599',jdecode('Purton+Green+June+2007'),jdecode(''),'/188830/185599.html','true',[],''],
		['PAGE','186299',jdecode('Canal+holiday+sept+07'),jdecode(''),'/188830/186299.html','true',[],''],
		['PAGE','187799',jdecode('Blackpool+Oct+07'),jdecode(''),'/188830/187799.html','true',[],''],
		['PAGE','188399',jdecode('Amsterdam+Oct+2007'),jdecode(''),'/188830/188399.html','true',[],'']
	],''],
	['PAGE','186330',jdecode('2006+Photos'),jdecode(''),'/186330/index.html','true',[ 
		['PAGE','168544',jdecode('Stonehenge+Jan+06'),jdecode(''),'/186330/168544.html','true',[],''],
		['PAGE','169947',jdecode('Berlin+Feb+2006'),jdecode(''),'/186330/169947.html','true',[],''],
		['PAGE','171779',jdecode('Pyreneese+March+06'),jdecode(''),'/186330/171779.html','true',[],''],
		['PAGE','172879',jdecode('Isle+of+White+April+2006'),jdecode(''),'/186330/172879.html','true',[],''],
		['PAGE','174379',jdecode('Joseph+May+2006'),jdecode(''),'/186330/174379.html','true',[],''],
		['PAGE','174679',jdecode('Cuba+June+2006'),jdecode(''),'/186330/174679.html','true',[],''],
		['PAGE','177279',jdecode('Bodium+Castle+July+06'),jdecode(''),'/186330/177279.html','true',[],''],
		['PAGE','178310',jdecode('Kent+Oct+2006'),jdecode(''),'/186330/178310.html','true',[],''],
		['PAGE','178979',jdecode('Battle+Oct+2006'),jdecode(''),'/186330/178979.html','true',[],''],
		['PAGE','179479',jdecode('Kingsweir+Castle+Dec+06'),jdecode(''),'/186330/179479.html','true',[],''],
		['PAGE','180579',jdecode('Rhine+Dec+2006'),jdecode(''),'/186330/180579.html','true',[],'']
	],''],
	['PAGE','171810',jdecode('2005+best+photos'),jdecode(''),'/171810/index.html','true',[ 
		['PAGE','145650',jdecode('York+March+2005.'),jdecode(''),'/171810/145650.html','true',[],''],
		['PAGE','143580',jdecode('Budapest+March+2005'),jdecode(''),'/171810/143580.html','true',[],''],
		['PAGE','141580',jdecode('Prague+Feb+2005'),jdecode(''),'/171810/141580.html','true',[],''],
		['PAGE','146981',jdecode('Rome+April+2005'),jdecode(''),'/171810/146981.html','true',[],''],
		['PAGE','147980',jdecode('Sri+Lanka+May+2005'),jdecode(''),'/171810/147980.html','true',[],''],
		['PAGE','151280',jdecode('Stafford+June+2005'),jdecode(''),'/171810/151280.html','true',[],''],
		['PAGE','152180',jdecode('Poland+June+2005'),jdecode(''),'/171810/152180.html','true',[],''],
		['PAGE','154880',jdecode('GALIPS+Launch+2005'),jdecode(''),'/171810/154880.html','true',[],''],
		['PAGE','155380',jdecode('Dorset+June+2005'),jdecode(''),'/171810/155380.html','true',[],''],
		['PAGE','156211',jdecode('Dungoness+July+2005'),jdecode(''),'/171810/156211.html','true',[],''],
		['PAGE','156180',jdecode('60th+Anniversary+July+2005'),jdecode(''),'/171810/156180.html','true',[],''],
		['PAGE','158180',jdecode('Pride+Dog+show'),jdecode(''),'/171810/158180.html','true',[],''],
		['PAGE','158811',jdecode('Wales+July+2005'),jdecode(''),'/171810/158811.html','true',[],''],
		['PAGE','158780',jdecode('Mum+80th+Birthday'),jdecode(''),'/171810/158780.html','true',[],''],
		['PAGE','160675',jdecode('Hastings+Aug+2005'),jdecode(''),'/171810/160675.html','true',[],''],
		['PAGE','160644',jdecode('Brighton+Pride+2005'),jdecode(''),'/171810/160644.html','true',[],''],
		['PAGE','161506',jdecode('Last+Slam+Door+Train+2005'),jdecode(''),'/171810/161506.html','true',[],''],
		['PAGE','161444',jdecode('Eastbourne+Air+Display+05'),jdecode(''),'/171810/161444.html','true',[],''],
		['PAGE','161475',jdecode('Bird+Man+of+Bognor+05'),jdecode(''),'/171810/161475.html','true',[],''],
		['PAGE','162044',jdecode('Wellington+museum+Aug+05'),jdecode(''),'/171810/162044.html','true',[],''],
		['PAGE','162844',jdecode('Pevensay+Castle+Sept+05'),jdecode(''),'/171810/162844.html','true',[],''],
		['PAGE','162875',jdecode('Ypres+Belgium+Sept+05'),jdecode(''),'/171810/162875.html','true',[],''],
		['PAGE','164344',jdecode('London+Sept+2005'),jdecode(''),'/171810/164344.html','true',[],''],
		['PAGE','164844',jdecode('Hadrian%26%23x27%3Bs+Wall+Oct+2005'),jdecode(''),'/171810/164844.html','true',[],''],
		['PAGE','166144',jdecode('Battle+of+Hastings+05'),jdecode(''),'/171810/166144.html','true',[],''],
		['PAGE','166944',jdecode('Venice+Dec+2005'),jdecode(''),'/171810/166944.html','true',[],''],
		['PAGE','168144',jdecode('Christmas+Day+2005'),jdecode(''),'/171810/168144.html','true',[],'']
	],''],
	['PAGE','137819',jdecode('2004+best+photos'),jdecode(''),'/137819/index.html','true',[ 
		['PAGE','77972',jdecode('Anndora+June+2004'),jdecode(''),'/137819/77972.html','true',[],''],
		['PAGE','77112',jdecode('Mum+and+dad+June+04'),jdecode(''),'/137819/77112.html','true',[],''],
		['PAGE','81809',jdecode('Pride+photos+2004'),jdecode(''),'/137819/81809.html','true',[],''],
		['PAGE','96009',jdecode('Diana+Memorial+Aug+04'),jdecode(''),'/137819/96009.html','true',[],''],
		['PAGE','100125',jdecode('Dieppe+Sept+2004'),jdecode(''),'/137819/100125.html','true',[],''],
		['PAGE','100725',jdecode('Stephanie%26%23x27%3Bs+Birthday+Party'),jdecode(''),'/137819/100725.html','true',[],''],
		['PAGE','108625',jdecode('London+Zoo+Oct+04'),jdecode(''),'/137819/108625.html','true',[],''],
		['PAGE','84012',jdecode('Natural+History+Museum'),jdecode(''),'/137819/84012.html','true',[],''],
		['PAGE','6401',jdecode('USA+April+2004'),jdecode(''),'/137819/6401.html','true',[],''],
		['PAGE','112825',jdecode('Bournemouth+Oct+2004'),jdecode(''),'/137819/112825.html','true',[],''],
		['PAGE','78912',jdecode('Ras+Al+Khamiah+2004'),jdecode(''),'/137819/78912.html','true',[],''],
		['PAGE','78612',jdecode('Hernia+opperation+June+2004'),jdecode(''),'/137819/78612.html','true',[],''],
		['PAGE','115187',jdecode('QE2+Lisbon+Portugal+2004'),jdecode(''),'/137819/115187.html','true',[],''],
		['PAGE','115156',jdecode('QE2+Las+Palmas+2004'),jdecode(''),'/137819/115156.html','true',[],''],
		['PAGE','115125',jdecode('QE2+Dakar%2C+Senegal+2004'),jdecode(''),'/137819/115125.html','true',[],''],
		['PAGE','115056',jdecode('QE2+Rio+De+Janeiro+2004'),jdecode(''),'/137819/115056.html','true',[],''],
		['PAGE','115025',jdecode('QE2+Falkland+Islands+2004'),jdecode(''),'/137819/115025.html','true',[],''],
		['PAGE','114987',jdecode('QE2+Montevideo+2004'),jdecode(''),'/137819/114987.html','true',[],''],
		['PAGE','114956',jdecode('QE2+Salvadore+Brazil+2004'),jdecode(''),'/137819/114956.html','true',[],''],
		['PAGE','114925',jdecode('QE2+Tenerife+2004'),jdecode(''),'/137819/114925.html','true',[],''],
		['PAGE','139380',jdecode('40th+Birthday+Party'),jdecode(''),'/137819/139380.html','true',[],''],
		['PAGE','171179',jdecode('Mike+%26+Jackie+retirement'),jdecode(''),'/137819/171179.html','true',[],'']
	],''],
	['PAGE','137788',jdecode('2003+best+photos'),jdecode(''),'/137788.html','true',[],''],
	['PAGE','212199',jdecode('Garden+Photos'),jdecode(''),'/212199.html','true',[],''],
	['PAGE','201099',jdecode('Iran+1999'),jdecode(''),'/201099.html','true',[],''],
	['PAGE','75609',jdecode('west+pier+photos'),jdecode(''),'/75609.html','true',[],''],
	['PAGE','88909',jdecode('Brighton+Photos'),jdecode(''),'/88909.html','true',[],''],
	['PAGE','87309',jdecode('Family+photos'),jdecode(''),'/87309.html','true',[],''],
	['PAGE','90709',jdecode('Funny+Photos'),jdecode(''),'/90709.html','true',[],''],
	['PAGE','77612',jdecode('Old+saltdean+Photos'),jdecode(''),'/77612.html','true',[],''],
	['PAGE','207951',jdecode('Telscombe+beach'),jdecode(''),'/207951.html','true',[],''],
	['PAGE','87409',jdecode('Friends+Photos'),jdecode(''),'/87409.html','true',[],''],
	['PAGE','94409',jdecode('Best+Photos'),jdecode(''),'/94409.html','true',[],''],
	['PAGE','94009',jdecode('Nevills+Photos'),jdecode(''),'/94009.html','true',[],''],
	['PAGE','4785',jdecode('Travel+Log'),jdecode(''),'/4785.html','true',[],''],
	['PAGE','5026',jdecode('Guestbook'),jdecode(''),'/5026/index.html','true',[ 
		['PAGE','5027',jdecode('Read+Guestbook'),jdecode(''),'/5026/5027.html','true',[],'']
	],'']];
var siteelementCount=118;
theSitetree.topTemplateName='Caribic';
					                                                                    
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 */					                                                            
