//there's a complete version of this in the tracker project but it's old and could probabably be better effected with jQuery.  Jim
var imageDone = false;
//we rip out the top level URI so we can not track link that go back to this web site
var topLevel = new String(document.location).match(/http[s]?:\/\/[\w\.:]+/i);
function imageLoaded()
{
  imageDone = true;
}
function trackIt(banner)
{
    var im = new Image();
    var oFrom;
    im.onload=imageLoaded;
    //im.src = "http://stats.hdm05.com/track.aspx?ofrom=<%=originalFrom %>&from="+encodeURIComponent(document.location)+"&link="+encodeURIComponent(link)+"&"+ Math.random();
    im.src = "http://www.plumpjack.com//track.aspx?from="+encodeURIComponent(document.location)+"&banner="+encodeURIComponent(banner)+"&"+ Math.random();
    var now = new Date();
    var exitTime = now.getTime() + 2000;// numberMillis;
    while (true) {
            now = new Date();
            if (now.getTime() > exitTime)
                break;
            if (imageDone==true )
                break;
    }
}


