// Form validation code
function SBW_Form1_Validator(theForm)
{

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

  if (theForm.CurOfficeLoc.selectedIndex < 0)
  {
    alert("Please select one of the \"Please Select An Office Location\" options.");
    theForm.CurOfficeLoc.focus();
    return (false);
  }

  if (theForm.CurOfficeLoc.selectedIndex == 0)
  {
    alert("The first \"Please Select An Office Location\" option is not a valid selection.  Please choose one of the other options.");
    theForm.CurOfficeLoc.focus();
    return (false);
  }

  return (true);
}

