/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','701',jdecode('Home'),jdecode(''),'/701/index.html','true',[ 
		['PAGE','53001',jdecode('Clubfinder'),jdecode(''),'/701/53001.html','true',[],''],
		['PAGE','3301',jdecode('About+us'),jdecode(''),'/701/3301.html','true',[],''],
		['PAGE','16601',jdecode('List+My+Clubs+for+Sale'),jdecode(''),'/701/16601.html','true',[],''],
		['PAGE','5401',jdecode('Shipping'),jdecode(''),'/701/5401.html','true',[],''],
		['PAGE','11701',jdecode('Merchant+Policy'),jdecode(''),'/701/11701.html','true',[],''],
		['PAGE','12701',jdecode('Contact+Us'),jdecode(''),'/701/12701.html','true',[],''],
		['PAGE','31301',jdecode('Testimonials'),jdecode(''),'/701/31301.html','true',[],''],
		['PAGE','54501',jdecode('We+Need+These+Clubs'),jdecode(''),'/701/54501.html','true',[],'']
	],''],
	['PAGE','33101',jdecode('Adams+Golf'),jdecode(''),'/33101.html','true',[],''],
	['PAGE','35901',jdecode('Browning'),jdecode(''),'/35901.html','true',[],''],
	['PAGE','36901',jdecode('Callaway'),jdecode(''),'/36901.html','true',[],''],
	['PAGE','37701',jdecode('Cleveland+Golf'),jdecode(''),'/37701.html','true',[],''],
	['PAGE','37301',jdecode('Cobra'),jdecode(''),'/37301.html','true',[],''],
	['PAGE','38701',jdecode('Hogan'),jdecode(''),'/38701.html','true',[],''],
	['PAGE','38722',jdecode('Lynx'),jdecode(''),'/38722.html','true',[],''],
	['PAGE','38743',jdecode('MacGregor'),jdecode(''),'/38743.html','true',[],''],
	['PAGE','41701',jdecode('MaxFli'),jdecode(''),'/41701.html','true',[],''],
	['PAGE','41722',jdecode('Mizuno'),jdecode(''),'/41722.html','true',[],''],
	['PAGE','41743',jdecode('Nicklaus'),jdecode(''),'/41743.html','true',[],''],
	['PAGE','41764',jdecode('Nike'),jdecode(''),'/41764.html','true',[],''],
	['PAGE','41785',jdecode('Orlimar'),jdecode(''),'/41785.html','true',[],''],
	['PAGE','41806',jdecode('Palmer'),jdecode(''),'/41806.html','true',[],''],
	['PAGE','41827',jdecode('Ping'),jdecode(''),'/41827.html','true',[],''],
	['PAGE','41848',jdecode('Ram'),jdecode(''),'/41848.html','true',[],''],
	['PAGE','41869',jdecode('Spalding'),jdecode(''),'/41869.html','true',[],''],
	['PAGE','41890',jdecode('TaylorMade'),jdecode(''),'/41890.html','true',[],''],
	['PAGE','41911',jdecode('Titleist'),jdecode(''),'/41911.html','true',[],''],
	['PAGE','41932',jdecode('Tommy+Armour'),jdecode(''),'/41932.html','true',[],''],
	['PAGE','48301',jdecode('Top+Flite'),jdecode(''),'/48301.html','true',[],''],
	['PAGE','49501',jdecode('Wilson'),jdecode(''),'/49501.html','true',[],''],
	['PAGE','44601',jdecode('Others'),jdecode(''),'/44601.html','true',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='Kalkutta';
theSitetree.paletteFamily='83A763';
theSitetree.keyvisualId='6174';
theSitetree.keyvisualName='kv_6174.jpg';
theSitetree.fontsetId='11143';
theSitetree.graphicsetId='11946';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='ADC895';
var theTemplate={
				name: 			'Kalkutta',
				paletteFamily: 	'83A763',
				keyvisualId: 	'6174',
				keyvisualName: 	'kv_6174.jpg',
				fontsetId: 		'11143',
				graphicsetId: 	'11946',
				contentColor: 	'000000',
				contentBGColor: 'ADC895',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20081211-180525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53001',
internalId:  '',
customField: '20080312-211544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3301',
internalId:  '',
customField: '20080418-190607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16601',
internalId:  '',
customField: '20071208-192926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5401',
internalId:  '',
customField: '20080712-134400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11701',
internalId:  '',
customField: '20071207-142246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12701',
internalId:  '',
customField: '20080313-132754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31301',
internalId:  '',
customField: '20080109-151940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54501',
internalId:  '',
customField: '20080724-140102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33101',
internalId:  '',
customField: '20080725-132324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35901',
internalId:  '',
customField: '20080313-141222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36901',
internalId:  '',
customField: '20080711-170804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37701',
internalId:  '',
customField: '20080313-141451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37301',
internalId:  '',
customField: '20080313-141622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38701',
internalId:  '',
customField: '20080313-141744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38722',
internalId:  '',
customField: '20080313-142116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38743',
internalId:  '',
customField: '20080313-142301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41701',
internalId:  '',
customField: '20080725-132013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41722',
internalId:  '',
customField: '20080313-142534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41743',
internalId:  '',
customField: '20080313-142945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41764',
internalId:  '',
customField: '20080313-143208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41785',
internalId:  '',
customField: '20080313-143316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41806',
internalId:  '',
customField: '20080313-143429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41827',
internalId:  '',
customField: '20080313-143752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41848',
internalId:  '',
customField: '20080313-143910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41869',
internalId:  '',
customField: '20080313-144130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41890',
internalId:  '',
customField: '20080313-144733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41911',
internalId:  '',
customField: '20080313-145141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41932',
internalId:  '',
customField: '20080313-145250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48301',
internalId:  '',
customField: '20080313-145416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49501',
internalId:  '',
customField: '20080727-120341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44601',
internalId:  '',
customField: '20080313-150327'
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050IN221D';
var companyName   = 'AGOODSHOT.com+GOLF+COMPANY';
var htmlTitle	  = 'AGOODSHOT.com+GOLF';
var metaKeywords  = 'Buy+pre-owned+golf+clubs++Find+lost+golf+clubs++Sell+pre-owned+golf+clubs+';
var metaContents  = 'We+help+golfers+find+pre-owned+golf+clubs.++All+major+brands+with+money+back+guarantees.++We+have+direct+access+to+50%2C000+clubs+through+our+vendors.+We+also+help+golfers+SELL+their+clubs+with+FREE+listing.++Serving+golfers+since+2000%21';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            
