function Validator(theForm)
{

// first name ********************************************************
  if (theForm.name.value.length < 2)
  {
    alert("Please enter a valid \"Name\" value.");
    theForm.name.focus();
    return (false);
  }

// address ********************************************************
  if (theForm.address.value.length < 2)
  {
    alert("Please enter a valid \"Address\" value.");
    theForm.address.focus();
    return (false);
  }

// phone ********************************************************
  if (theForm.phone.value.length < 7)
  {
    alert("Please enter a valid \"Phone\" value.");
    theForm.phone.focus();
    return (false);
  }


// email ********************************************************
  var validemail=(theForm.email.value.length > 5);

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzfSOZsozYÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@._-";
  var checkStr = theForm.email.value;
  var allValid = true;
  var validGroups = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid || !validemail)
  {
	alert("Please enter a valid \"Email\" value.");
	theForm.email.focus();
    return (false);
  }


 return (true);
}

function ValidatorContact(theForm)
{

// first name ********************************************************
  if (theForm.name.value.length < 2)
  {
    alert("Please enter a valid \"Name\" value.");
    theForm.name.focus();
    return (false);
  }

// address ********************************************************
  if (theForm.address.value.length < 2)
  {
    alert("Please enter a valid \"Address\" value.");
    theForm.address.focus();
    return (false);
  }

// phone ********************************************************
  if (theForm.phone.value.length < 7)
  {
    alert("Please enter a valid \"Phone\" value.");
    theForm.phone.focus();
    return (false);
  }


// email ********************************************************
  var validemail=(theForm.email.value.length > 5);

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzfSOZsozYÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@._-";
  var checkStr = theForm.email.value;
  var allValid = true;
  var validGroups = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid || !validemail)
  {
	alert("Please enter a valid \"Email\" value.");
	theForm.email.focus();
    return (false);
  }


 return (true);
}