// JScript File
var xmlhttp = false;

getHTTPRequestObject();

function getHTTPRequestObject()
{
    try
    {
        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch(e)
    {
        try
        {
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        catch(e)
        {
            xmlhttp = false;
        }
    }
    if (!xmlhttp && typeof XMLHttpRequest != 'undefined')
    {
        xmlhttp = new XMLHttpRequest();
    }
}

function GetContent(urlLocation,callbackFunction) {



    if (xmlhttp)
    {
        xmlhttp.open("GET", urlLocation, true);
        xmlhttp.setRequestHeader( "If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT" );
        xmlhttp.onreadystatechange = function() {
            if(xmlhttp.readyState == 4)
            {
                callbackFunction(xmlhttp.responseText);
            }
        }
        xmlhttp.send(null);
    }
}

