<script Language="JavaScript"><!--
function Validate(theForm)
{
 if (theForm.Firstname.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.Firstname.focus();
    return (false);
  }

  if (theForm.Firstname.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"First Name\" field.");
    theForm.Firstname.focus();
    return (false);
  }

 if (theForm.Lastname.value == "")
  {
    alert("Please enter a value for the \"Last Name\" field.");
    theForm.Lastname.focus();
    return (false);
  }

  if (theForm.Lastname.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"Last Name\" field.");
    theForm.Lastname.focus();
    return (false);
  }



  if (theForm.country.selectedIndex <= 0)
  {
    alert("Please select one of the \"Country\" options.");
    theForm.country.focus();
    return (false);
  }

  if (theForm.Comments.value.length > 255)
  {
    alert("Please enter at most 255 characters in the \"Comments\" field.");
    theForm.Comments.focus();
    return (false);
  }

  
    return (true);
}
//--></script>

