function Validator(theForm)
{
 
  if (theForm.Username.value == "")
  {
    alert("Please enter a value for the \"Username\" field.");
    theForm.Username.focus();
    return (false);
  }
 
  if (theForm.Username.value.length > 256)
  {
    alert("Please enter at most 256 characters in the \"Username\" field.");
    theForm.Username.focus();
    return (false);
  }
 
  if (theForm.UserEmail.value == "")
  {
    alert("Please enter a value for the \"UserEmail\" field.");
    theForm.UserEmail.focus();
    return (false);
  }
 
  if (theForm.UserEmail.value.length > 256)
  {
    alert("Please enter at most 256 characters in the \"UserEmail\" field.");
    theForm.UserEmail.focus();
    return (false);
  }
 
  if (theForm.SSTop.value == "")
  {
    alert("Please enter a value for the \"SSTop\" field.");
    theForm.SSTop.focus();
    return (false);
  }
 
  if (theForm.SSTop.value.length > 6)
  {
    alert("Please enter at most 6 characters in the \"SSTop\" field.");
    theForm.SSTop.focus();
    return (false);
  }
 
  var chkVal = theForm.SSTop.value;
  var prsVal = chkVal;
  if (chkVal != "" && !(prsVal == "148878"))
  {
    alert("Please enter a value equal to \"148878\" in the \"SSTop\" field.");
    theForm.SSTop.focus();
    return (false);
  }
  return (true);
}

