function sp_tracker(sp,ci)
{var smartParam = "";for(var i=0;i<sp.length;i++) smartParam += sp[i];document.cookie = 'sp=1; expires=Sunday, 02-Feb-2020 20:20:20 GMT';
if (ci!="") smartParam += "&_ci=" +ci;
if (window.screen) { res = screen.width + "x" + screen.height; col = screen.colorDepth;} else {res ="n/a"; col="n/a";}
ctz=(new Date()).getTimezoneOffset();smartParam += "&_cr=" + Math.round (Math.random()*1000000000000000);
smartParam += "&_dom=" + escape(window.location.protocol+"//"+window.location.hostname);
smartParam += "&_ref=" + escape(document.referrer.substring(0,254));
smartParam += "&_res=" + escape(res) + "&_col=" + escape(col);
smartParam += "&_tz=" + Math.round(((ctz==(new Date(20010101)).getTimezoneOffset())?ctz:(ctz+60))/-60);
smartParam += "&_ck=" + (document.cookie.indexOf('sp=1') >= 0);
smartImageF=new Image();smartImageF.src="http://ws2.smartp.com/sp_tracker.cfm"+smartParam;}
var sp_t=1;

function sp_send(sp)
{var clicParam = "";for(var i=0;i<sp.length;i++) clicParam += sp[i];document.cookie = 'spc=1; expires=Sunday, 02-Feb-2020 20:20:20 GMT';
clicParam += "&_cr=" + Math.round (Math.random()*1000000000000000);clicParam += "&_ck=" + (document.cookie.indexOf('spc=1') >= 0);
clicParam += "&_dom=" + escape(window.location.protocol+"//"+window.location.hostname);clicImage=new Image();clicImage.src="http://ws2.smartp.com/sp_tracker.cfm"+clicParam;
}

function sp_clic(ctyp,clab,cfrom,cto)
{sp = new Array();
sp[0]="?_hid=46BA9F2A6976570B0353203EC4474217";
sp[1]="&_ctyp="+ctyp;
sp[2]="&_clab="+clab;
sp[3]="&_cfrom="+cfrom;
sp[4]="&_cto="+cto;
sp_send(sp);}

