// this is called from W3 Affiliate Program Owners Websites to help track a click through by IP (this works)
// this is called via js from owner site, this calls cl_js.cfm, which calls cl.cfm to log ip address and cookie
if (typeof(w3ap_afidx)!="undefined" && typeof(w3apclient)!="undefined" && w3apclient && w3ap_afidx) {  
	if(location.href.substring(0,5)=="https") var w3apurl="https";
	else var w3apurl="http";   
	document.write('<sc');
	document.write('ript language="javascript" type="text/javascript" src="'+w3apurl+'://w3ap.com/cl_js.cfm?afid='+w3ap_afidx+'&oid='+w3apclient+'"></s');
	document.write('cript>');	
	//document.write('did<br>'); 
}
