function MB(text) {
  var overlay = document.createElement("div");
  overlay.className="splash_overlayBG";
  overlay.id="splash_overlay";

  var msg = document.createElement("div");
  msg.id="splash_window";
  msg.style.marginLeft="-215px";
  msg.style.marginTop="-70px";
  msg.style.display="block";
  msg.style.width="430px";
  msg.style.textAlign='center';
  msg.innerHTML=text+"<br /><br /><input onclick=\"ConfirmBoxClose();\" type=\"button\" value=\"OK\" />";
  document.body.appendChild(overlay);
  document.body.appendChild(msg);
}

function ConfirmBoxClose() {
  document.body.removeChild(document.getElementById('splash_overlay'));
  document.body.removeChild(document.getElementById('splash_window'));
}

function initReq() {
  req=false;
  if(window.XMLHttpRequest)
  {
    req=new XMLHttpRequest;
    if (req.overrideMimeType) {
      req.overrideMimeType('text/html');}
  }
  else if(window.ActiveXObject)
  {
     req=new ActiveXObject("Microsoft.XMLHTTP");
  }

  return req;
}

