
//check if in frame and get the referrer for the top frame
var inFrame = '0';
var topref = "";
var topurl = "";
//var action_key;
if (window.parent != window) {
	inFrame = '1';
	if (("" + window.parent.location) != "") {
		topref = escape(window.parent.document.referrer);
		topurl = escape(window.parent.document.location);
	}
}

//get the referrer for this page
var pref=escape(document.referrer);
pref = pref.replace("servlet","xservlet");

//get the url for this page
var purl=escape(document.location);

var url = 'http://www.vecentral.com/vectraks.asp?inFrame='+inFrame+'&purl='+purl+'&pref='+pref+'&topurl='+topurl+'&topref='+topref;

//use an image to call the url
img = new Image(0,0);
img.src = url;

//document.writeln('<img src="'+url+'" width="0" height="0" >');
