function SP_PostQuery(strURL,fEventFunc, params, bASync) {
	
    if('undefined' == typeof params) { params = "";}
    if('undefined' == typeof bASync) { bASync = true;}

    var xmlHttpReq = false;
    var self = this;
 
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    
    self.xmlHttpReq.open('POST', strURL, bASync);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            eval(fEventFunc+"(self.xmlHttpReq.responseText)");
        }
    }
    self.xmlHttpReq.send(params);
}

