 }

function keyHandler(event){
   if (event.keyCode == 13){
      takeMessage();
      return;
      }
   runValidator();
   }

function toggleOptions(){
   if (document.getElementById('optionsButton').value == "Show Options"){
      document.getElementById('additionalOptionsRegion').style.display = "block";
      document.getElementById('optionsButton').value = "Hide Options";
      }
   else{
      document.getElementById('additionalOptionsRegion').style.display = "none";
      document.getElementById('o