// JavaScript Document

function formValidator(theForm)
{

if (theForm.name.value == "")
  {
    alert("Please enter a value for the \"Contact Name\" field.");
    theForm.name.focus();
    return (false);
  } 
  if (theForm.from.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.from.focus();
    return (false);
  }
  
  return (true);
  }