﻿window.onload = function() {

    var xmlDoc = null;

    if (typeof window.ActiveXObject != 'undefined') {
        xmlDoc = new ActiveXObject("Microsoft.XMLHTTP");
    }
    else {
        xmlDoc = new XMLHttpRequest();
    }
    xmlDoc.open("GET", "OnLoad.aspx?" + location.pathname + location.search + "+" + document.referrer, false);
    xmlDoc.send(null);

}
