/* [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+page'),jdecode(''),'/4466.html','true',[],''],
	['PAGE','14032',jdecode('Services+offered'),jdecode(''),'/14032.html','true',[],''],
	['PAGE','17901',jdecode('Costs+%26+charges'),jdecode(''),'/17901.html','true',[],''],
	['PAGE','46744',jdecode('Online+Estimates'),jdecode(''),'/46744/index.html','true',[ 
		['PAGE','100915',jdecode('Online+Estimates+%28follow+up+page%29'),jdecode(''),'/46744/100915.html','false',[],'']
	],''],
	['PAGE','23701',jdecode('How+to+book'),jdecode(''),'/23701.html','true',[],''],
	['PAGE','15601',jdecode('Areas+served'),jdecode(''),'/15601.html','true',[],''],
	['PAGE','34496',jdecode('Removals+services'),jdecode(''),'/34496.html','true',[],''],
	['PAGE','22801',jdecode('Boxes+%26+Bubble'),jdecode(''),'/22801.html','true',[],''],
	['PAGE','40044',jdecode('Student+Moves'),jdecode(''),'/40044.html','true',[],''],
	['PAGE','34589',jdecode('Piano+Moving'),jdecode(''),'/34589.html','true',[],''],
	['PAGE','34651',jdecode('Self+Storage'),jdecode(''),'/34651.html','true',[],''],
	['PAGE','34682',jdecode('Single+Items'),jdecode(''),'/34682.html','true',[],''],
	['PAGE','83912',jdecode('Light+haulage'),jdecode(''),'/83912.html','true',[],''],
	['PAGE','34558',jdecode('Ebay+collections'),jdecode(''),'/34558.html','true',[],''],
	['PAGE','79527',jdecode('Company+paid+removals'),jdecode(''),'/79527.html','true',[],''],
	['PAGE','34527',jdecode('Store+Delivey+Services'),jdecode(''),'/34527.html','true',[],''],
	['PAGE','34713',jdecode('Shipping+Containers'),jdecode(''),'/34713.html','true',[],''],
	['PAGE','33611',jdecode('Payment+Details'),jdecode(''),'/33611.html','true',[],''],
	['PAGE','11103',jdecode('Testimonials'),jdecode(''),'/11103.html','true',[],''],
	['PAGE','11102',jdecode('Submit+Testimonial'),jdecode(''),'/11102.html','true',[],''],
	['PAGE','10701',jdecode('What+do+I+get+for+my+money%3F'),jdecode(''),'/10701.html','true',[],''],
	['PAGE','10755',jdecode('Equipment+on+board.'),jdecode(''),'/10755.html','true',[],''],
	['PAGE','14001',jdecode('Additional+labour'),jdecode(''),'/14001.html','true',[],''],
	['PAGE','31900',jdecode('Insurance+details'),jdecode(''),'/31900.html','true',[],''],
	['PAGE','64527',jdecode('Our+Guarantee'),jdecode(''),'/64527.html','true',[],''],
	['PAGE','26510',jdecode('Mileage+check'),jdecode(''),'/26510.html','true',[],''],
	['PAGE','9601',jdecode('Hints+%26+tips'),jdecode(''),'/9601.html','true',[],''],
	['PAGE','45744',jdecode('Check+list'),jdecode(''),'/45744.html','true',[],''],
	['PAGE','43344',jdecode('Photos'),jdecode(''),'/43344.html','true',[],''],
	['PAGE','19807',jdecode('We+recommend'),jdecode(''),'/19807.html','true',[],''],
	['PAGE','10501',jdecode('+Links'),jdecode(''),'/10501.html','true',[],''],
	['PAGE','55144',jdecode('Terms+%26+Conditions'),jdecode(''),'/55144.html','true',[],''],
	['PAGE','11001',jdecode('Contact+us'),jdecode(''),'/11001.html','true',[],'']];
var siteelementCount=34;
theSitetree.topTemplateName='Global';
					                                                                    
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 */					                                                            

