var intAccountID=37;
var strHost="tracking.trafficstrategies.com";
var strReferrer=document.referrer.replace(/&/g,'|---|');
var strDomain=document.domain;
var strTemp = strReferrer.replace('https://','http://');
var strTemp = "ref->" + strTemp.replace('http://www.','http://');
var strTarget="http://"+window.document.location.hostname+window.document.location.pathname;
var strFullTarget=document.location;
var strScript;

if (strTemp.indexOf("ref->http://" + strDomain.replace('www.',''))==-1) {
	strScript='<'+'script language="javascript" src="http://'+strHost+'/record.asp?strHost='+strHost+'&strTarget='+strTarget+'&intAccountID='+intAccountID+'&strDomain='+strDomain+'&strFullTarget='+strFullTarget+'&strReferrer='+strReferrer+'"><'+'/script>';
	document.writeln(strScript);
}
