function GetData(Str)
{
  if (window.XMLHttpRequest) {
    xmlhttp=new XMLHttpRequest();
  }
  else {
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
  xmlhttp.onreadystatechange=function() {
    if (xmlhttp.readyState==4 && xmlhttp.status==200)
      document.getElementById("Nole").innerHTML=xmlhttp.responseText;
  };
  xmlhttp.open("POST", "index.php", true);
  xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
  xmlhttp.send(Str);
}

function ToggleMenu(Object_ID) {
  if (!document.getElementById) return;
  var ob = document.getElementById(Object_ID).style;
  ob.display = (ob.display == 'none')?'block': 'none';
}

