/* [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','23176',jdecode('Offer+of+the+Month'),jdecode(''),'/23176.html','true',[],''],
	['PAGE','10612',jdecode('Graded+Audio+Visual'),jdecode(''),'/10612.html','true',[],''],
	['PAGE','63206',jdecode('END+OF+LINE-GRADED+MIXED'),jdecode(''),'/63206.html','true',[],''],
	['PAGE','71598',jdecode('NEW+FURNITURE'),jdecode(''),'/71598.html','true',[],''],
	['PAGE','48220',jdecode('Untested+Audio-Visual'),jdecode(''),'/48220.html','true',[],''],
	['PAGE','10519',jdecode('Untested+Electrical'),jdecode(''),'/10519.html','true',[],''],
	['PAGE','25801',jdecode('Untested+Household'),jdecode(''),'/25801.html','true',[],''],
	['PAGE','52720',jdecode('Untested+NUSARY-TOYS'),jdecode(''),'/52720.html','true',[],''],
	['PAGE','10581',jdecode('Untested+Garden-Outdoor'),jdecode(''),'/10581.html','true',[],''],
	['PAGE','85345',jdecode('Untested+Tools-Hardware'),jdecode(''),'/85345.html','true',[],''],
	['PAGE','38465',jdecode('Untested+Mixed'),jdecode(''),'/38465.html','true',[],''],
	['PAGE','63237',jdecode('Full+Loads-End+of+Line%2FGraded'),jdecode(''),'/63237.html','true',[],''],
	['PAGE','18201',jdecode('Full+Loads+Untested'),jdecode(''),'/18201.html','true',[],''],
	['PAGE','10701',jdecode('Terms+%26+Conditions'),jdecode(''),'/10701.html','true',[],''],
	['PAGE','10301',jdecode('Contact%2FVisit+Us'),jdecode(''),'/10301.html','true',[],''],
	['PAGE','18701',jdecode('Contact+Us'),jdecode(''),'/18701/index.html','true',[ 
		['PAGE','18741',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/18701/18741.html','false',[],'']
	],''],
	['PAGE','18902',jdecode('Delivery'),jdecode(''),'/18902.html','true',[],''],
	['PAGE','28601',jdecode('Traders+Registration'),jdecode(''),'/28601.html','true',[],''],
	['PAGE','52280',jdecode('Seller%26%23x27%3Bs+Inquiry'),jdecode(''),'/52280.html','true',[],''],
	['PAGE','183836',jdecode('Export+%26+VAT'),jdecode(''),'/183836.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Arena';
					                                                                    
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 */					                                                            
