function xmlRequest(url) {
  req = xmlHttpRequestObj();
  req.open("POST", url, false);
  req.send(null);
  return req.responseText;
}

function xmlHttpRequestObj() {
  var req = false;
  try {
    req = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (e) {
    try {
      req = new ActiveXObject("Microsoft.XMLHTTP");
    } catch (E) {
      req = false;
    }
  }

  if (!req && typeof XMLHttpRequest!='undefined') {
    req = new XMLHttpRequest();
  }

  return req;
}