function noRightClick()
 {
     if (event.button==2) 
     {
          alert('You can NOT Right-Click on this page .')
     }
 }
document.onmousedown=noRightClick
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Addr3.value == "")
  {
    alert("Please enter a value for the \"Town\" field.");
    theForm.Addr3.focus();
    return (false);
  }
  
  if (theForm.Phone.value == "")
  {
    alert("Please enter a value for the \"Phone\" field.");
    theForm.Phone.focus();
    return (false);
  }

  if (theForm.Addr3.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Town\" field.");
    theForm.Addr3.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Email\" field.");
    theForm.email.focus();
    return (false);
  }
  if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(theForm.email.value))
  {
     alert("Please enter a valid Email in the \"Email\" field.");
    theForm.email.focus();
    return (false);
  }
  return (true);
  }