function FrontPage_Form1_Validator(theForm)
{

  if (theForm.year.value == "")
  {
    alert("Please enter a value for the \"year\" field.");
    theForm.year.focus();
    return (false);
  }

  if (theForm.year.value.length > 4)
  {
    alert("Please enter at most 4 characters in the \"year\" field.");
    theForm.year.focus();
    return (false);
  }
  return (true);
}