/* [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/index.html','true',[ 
		['PAGE','66453',jdecode('CGFA+on+the+Quick+'),jdecode(''),'/4436/66453.html','true',[],''],
		['PAGE','66630',jdecode('Services+for+Bidders'),jdecode(''),'/4436/66630.html','true',[],''],
		['PAGE','120266',jdecode('For+Sale+or+Trade'),jdecode(''),'/4436/120266.html','true',[],'']
	],''],
	['PAGE','6901',jdecode('About+CGFA'),jdecode(''),'/6901/index.html','true',[ 
		['PAGE','42729',jdecode('Affiliations'),jdecode(''),'/6901/42729.html','true',[],''],
		['PAGE','42760',jdecode('Awards+%26+Honors'),jdecode(''),'/6901/42760.html','true',[],''],
		['PAGE','42822',jdecode('+Press+Articles'),jdecode(''),'/6901/42822.html','true',[],''],
		['PAGE','67530',jdecode('Testimonials'),jdecode(''),'/6901/67530.html','true',[],'']
	],''],
	['PAGE','148958',jdecode('Private+Treaty+Offerings'),jdecode(''),'/148958.html','true',[],''],
	['PAGE','6928',jdecode('Upcoming+Auctions'),jdecode(''),'/6928/index.html','true',[ 
		['PAGE','146158',jdecode('Bidder+Info'),jdecode(''),'/6928/146158.html','true',[],'']
	],''],
	['PAGE','69922',jdecode('Previous+Auctions'),jdecode(''),'/69922/index.html','true',[ 
		['PAGE','140479',jdecode('In+the+Sales+Room'),jdecode(''),'/69922/140479.html','true',[],''],
		['PAGE','42984',jdecode('List+of+Previous++Sales+'),jdecode(''),'/69922/42984.html','true',[],''],
		['PAGE','42946',jdecode('Previous+Consignors'),jdecode(''),'/69922/42946.html','true',[],'']
	],''],
	['PAGE','121303',jdecode('Is+it+Time+to+Sell%3F'),jdecode(''),'/121303/index.html','true',[ 
		['PAGE','129979',jdecode('Advertisements'),jdecode(''),'/121303/129979.html','true',[],''],
		['PAGE','42372',jdecode('Consignment+Info'),jdecode(''),'/121303/42372.html','true',[],''],
		['PAGE','125241',jdecode('Talk+About+Consigning'),jdecode(''),'/121303/125241.html','true',[],''],
		['PAGE','145452',jdecode('Top+10+Selling+Rules'),jdecode(''),'/121303/145452.html','true',[],'']
	],''],
	['PAGE','43015',jdecode('Additional+Services'),jdecode(''),'/43015/index.html','true',[ 
		['PAGE','68684',jdecode('Auction+Agent'),jdecode(''),'/43015/68684.html','true',[],''],
		['PAGE','68653',jdecode('Book+Publishing'),jdecode(''),'/43015/68653.html','true',[],''],
		['PAGE','58621',jdecode('Expertising'),jdecode(''),'/43015/58621.html','true',[],''],
		['PAGE','68622',jdecode('Exhibit+Creation++'),jdecode(''),'/43015/68622.html','true',[],'']
	],''],
	['PAGE','92860',jdecode('Collecting+Interests'),jdecode(''),'/92860.html','true',[],''],
	['PAGE','7009',jdecode('Contact+%26+Requests'),jdecode(''),'/7009/index.html','true',[ 
		['PAGE','42884',jdecode('Catalog+Subscription'),jdecode(''),'/7009/42884.html','true',[],''],
		['PAGE','43046',jdecode('Order+a+catalogue'),jdecode(''),'/7009/43046/index.html','true',[ 
			['PAGE','58967',jdecode('Order+catalogue+%28follow+up+page%29'),jdecode(''),'/7009/43046/58967.html','false',[],'']
		],''],
		['PAGE','125272',jdecode('Talk+About+Consigning+'),jdecode(''),'/7009/125272.html','true',[],'']
	],''],
	['PAGE','56509',jdecode('Directions+%26+Hotels'),jdecode(''),'/56509/index.html','true',[ 
		['PAGE','90251',jdecode('How+to+find+us'),jdecode(''),'/56509/90251.html','true',[],''],
		['PAGE','108271',jdecode('Area+Hotels'),jdecode(''),'/56509/108271.html','true',[],''],
		['PAGE','109723',jdecode('What+To+Do+While+Here'),jdecode(''),'/56509/109723.html','true',[],'']
	],''],
	['PAGE','56821',jdecode('Articles+%26+Assists'),jdecode(''),'/56821.html','true',[],''],
	['PAGE','74961',jdecode('A+Photo+History+-+USA'),jdecode(''),'/74961/index.html','true',[ 
		['PAGE','75981',jdecode('BNA+Provinces'),jdecode(''),'/74961/75981.html','true',[],''],
		['PAGE','73807',jdecode('Canadian+Stamps'),jdecode(''),'/74961/73807.html','true',[],''],
		['PAGE','75181',jdecode('Canada+Postal+History'),jdecode(''),'/74961/75181.html','true',[],''],
		['PAGE','74881',jdecode('Other+Countries'),jdecode(''),'/74961/74881.html','true',[],'']
	],''],
	['PAGE','6982',jdecode('Links+%26+Events'),jdecode(''),'/6982/index.html','true',[ 
		['PAGE','64855',jdecode('Upcoming+Events'),jdecode(''),'/6982/64855.html','true',[],'']
	],''],
	['PAGE','142338',jdecode('Ramblings'),jdecode(''),'/142338/index.html','true',[ 
		['PAGE','122603',jdecode('When+should+you+Bid%3F'),jdecode(''),'/142338/122603.html','true',[],'']
	],''],
	['PAGE','91351',jdecode('Guestbook'),jdecode(''),'/91351/index.html','true',[ 
		['PAGE','91352',jdecode('Read+Guestbook'),jdecode(''),'/91351/91352.html','true',[],'']
	],'']];
var siteelementCount=48;
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 */					                                                            
