var isIE = false;
var req;

function ExecuteLibPage(strURL, strFunction) {
    // branch for native XMLHttpRequest object
	 //alert(strQuery);
    if (window.XMLHttpRequest) {
        req = new XMLHttpRequest();
        req.onreadystatechange = strFunction;
        req.open("GET", strURL, true);
        req.send(null);
    // branch for IE/Windows ActiveX version
    } else if (window.ActiveXObject) {
        isIE = true;
        req = new ActiveXObject("Microsoft.XMLHTTP");
        if (req) {
            req.onreadystatechange = strFunction;
            req.open("GET", strURL, true);
            req.send();
        }
    }
}