function DoHourGlass() {
var x = window.innerWidth / 2;
var y = window.innerHeight / 2;
var o = window.pageYOffset - 25;
document.getElementById("waitpopup").style.left = x - 100;
document.getElementById("waitpopup").style.top = y + o;
document.getElementById("waitpopup").style.visibility = "visible";
return true;
}
function HideHourGlass() {
  document.getElementById("waitpopup").style.visibility = "hidden";
  return true;
}

