<!--
function Validator(f)
{
//name
  if(!valideSizefranc(f.name.value,2))
  {
    alert("Please enter your name with only valid characters.");
    focusOn(f,"name");
    return (false);
  }

//company
  if(!valideSizefranc(f.company.value,2))
  {
    alert("Please enter your Company with only valid characters.");
    focusOn(f,"company");
    return (false);
  }

//adress1
  if(!valideSizefranc(f.adress1.value,2))
  {
    alert("Please enter your adress with only valid characters.");
    focusOn(f,"adress1");
    return (false);
  }

//city
  if(!valideSize(f.city.value,2))
  {
    alert("Please enter your city with only valid characters.");
    focusOn(f,"city");
    return (false);
  }

//state
  if(!valideSize(f.state.value,0))
  {
    alert("Please enter only valid characters for your state.");
    focusOn(f,"state");
    return (false);
  }

//zip
  if(!valideSizenum(f.zip.value,4))
  {
    alert("Please enter your Zip with only valid characters\n Minimum length:4.");
    focusOn(f,"zip");
    return (false);
  }

//phone
  if(!valideSizenum(f.phone.value,8))
  {
    alert("Please enter your Phone number\n Minimum length:8.");
    focusOn(f,"phone");
    return (false);
  }

//fax
  if(!valideSizenum(f.fax.value,8))
  {
    alert("Please enter your Fax number\n Minimum length:8.");
    focusOn(f,"fax");
    return (false);
  }

//mail
  if(!valideMail(f.email.value,0))
  {
    alert("Your Email is not correct.");
    focusOn(f,"email");
    return (false);
  }
  return (true);
}
//-->
