
function Validator(theForm)
{
  
  
  if (theForm.fname.value == "")
  {
    alert("Please enter your name.");
    theForm.fname.focus();
    return (false);
  }
  
    if (theForm.sname.value == "")
  {
    alert("Please enter your surname");
    theForm.sname.focus();
    return (false);
  }
  
     if (theForm.telcode.value == "")
  {
    alert("Please enter your telephone code");
    theForm.telcode.focus();
    return (false);
  }
  
   if (theForm.tel.value == "")
  {
    alert("Please enter your telephone number");
    theForm.tel.focus();
    return (false);
  }
  
    if (theForm.cell.value == "")
  {
    alert("Please enter your cellphone number");
    theForm.cell.focus();
    return (false);
  }
  
   if (theForm.email.value == "")
  {
    alert("Please enter your e-mail address");
    theForm.email.focus();
    return (false);
  }
  
     if (theForm.paddr.value == "")
  {
    alert("Please enter your Postal Address");
    theForm.paddr.focus();
    return (false);
  }
  
     if (theForm.message.value == "")
  {
    alert("Please fill in your message");
    theForm.message.focus();
    return (false);
  }
  
  
return (true);
}
