function GetFile(sFile)
{
    var xmlHttpReq2 = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq2 = new XMLHttpRequest();
        //self.xmlHttpReq.overrideMimeType("text/xml");
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq2 = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq2.open('POST', sFile, true);
    self.xmlHttpReq2.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq2.onreadystatechange = function() {
        if (self.xmlHttpReq2.readyState == 4) {
            if (onServerResult)
            {
               onFileReceived(self.xmlHttpReq2.responseText);
            }
        }
    }
    
    self.xmlHttpReq2.send('');
}

