function displayMsg(text) {
  msgWindow=window.open("", "message", 
    "screenX=300,screenY=300,outerWidth=800,outerHeight=500,scrollbars=yes,resizable=yes")
  msgWindow.document.close();
  msgWindow.document.open();
  msgWindow.document.write();
  msgWindow.document.write ("<HEAD><TITLE>Message Window</TITLE></HEAD>")
  msgWindow.document.write ("<body bgcolor=white>")
  msgWindow.document.write ("<FORM METHOD=POST>")
  msgWindow.document.write ("<BIG>" + text + "<br><br>")
  msgWindow.document.write ("<center>")
  msgWindow.document.write ("<INPUT TYPE=button value=OK onClick=\"window.close();\">")
  msgWindow.document.write ("</center></FORM></body>")
}



function displayNewMetaMap() {
  var oldNote="<div align=center><b><u>PLEASE NOTE</u></b></div><br>Today (August 14, 2008) from 10:00 AM EST to 2:00 PM EST both the Interactive and Batch facilities of the Scheduler will be down due to work in our computer room.<br><br>We are sorry for any inconvenience this may cause, but the work and timing is out of our control.<br><br>";

  var note="<div align=center><b><u>PLEASE NOTE</u></b></div><br>On September 24, 2008 we announced the public release of the actual MetaMap program.<br><br>Please visit our new MetaMap web site: <a href=\"http://metamap.nlm.nih.gov/\" title=\"MetaMap Homepage\">http://metamap.nlm.nih.gov</a> for details on the release and see what advantages this public MetaMap release has over MMTx.<br><br>";

  if(note.length > 0)
  {
     msgWindow=window.open("", "message", 
    "screenX=300,screenY=300,outerWidth=500,outerHeight=300,scrollbars=yes,resizable=yes")
     msgWindow.document.close();
     msgWindow.document.open();
     msgWindow.document.write();
     msgWindow.document.write ("<HEAD><TITLE>Message Window</TITLE></HEAD>")
     msgWindow.document.write ("<body bgcolor=yellow>")
     msgWindow.document.write ("<FORM METHOD=POST>")
     msgWindow.document.write (note)
     msgWindow.document.write ("<div align=center>")
     msgWindow.document.write ("<INPUT TYPE=button value=OK");
     msgWindow.document.write (" onClick=\"window.close();\">")
     msgWindow.document.write ("</div></FORM></body>")
  } // fi
} // displayMsgDown
