function VSLoadTrackingImage(lpTrackItem) {

	var hostloc;
	var num = Math.random()*100000000;
	var num = Math.round(num);
	var loc = window.location.href;
	
	// START CODE BLOCK
	if ((loc.indexOf("qawww")>-1) ||
	    (loc.indexOf("rabin")>-1) ||
	    (loc.indexOf("dev")>-1) ||
	    (loc.indexOf("localhost")>-1) ||
	    (loc.indexOf("qamain")>-1)){
	    hostloc=location.protocol+"//" + window.location.host;
	}
	else if ((loc.indexOf("/canada/")>-1) ||
	         (loc.indexOf("capitalone.ca")>-1)) {
	    hostloc=location.protocol+"//www.capitalone.ca";
	}
	// END CODE BLOCK
	else {
	    hostloc=location.protocol+"//www.capitalone.com";
	}

	$("body").prepend("<img src=\""+hostloc+"/images/https-common/tracker.gif?Log=1&pn="+lpTrackItem+"&num="+num+"\" width=1 height=1 />");
	
}