function form_Contatti(theForm)
{

  if (theForm.Nome.value == "")
  {
    alert("Compilare il campo Nome");
    theForm.Nome.focus();
    return (false);
  }
     if (/@/.test(theForm.Nome.value))
  {
    alert("Si prega di non inserire il carattere @ sul campo Nome");
    theForm.Nome.focus();
    return (false);
  }


    if (theForm.Email.value == "")
  {
    alert("Compilare il campo Email");
    theForm.Email.focus();
    return (false);
  }


 if (theForm.Email.value.length < 7)
  {
    alert("L'email inserita non è corretta");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.indexOf("@") == -1)
  {
    alert("manca il carattere @ nella Email");
    theForm.Email.focus();
    return (false);
  }

   if (theForm.Email.value.indexOf(".") == -1)
  {
    alert("manca il punto nella Email");
    theForm.Email.focus();
    return (false);
  }


    if (theForm.Telefono.value == "")
  {
    alert("Compilare il campo Telefono");
    theForm.Telefono.focus();
    return (false);
  }
  
     if (/@/.test(theForm.Telefono.value))
  {
    alert("Si prega di non inserire il carattere @ sul campo Telefono");
    theForm.Telefono.focus();
    return (false);
  }
 

    if (theForm.Richiesta.value == "")
  {
    alert("Si prega di specificare la richiesta");
    theForm.Richiesta.focus();
    return (false);
  }

 if (theForm.Richiesta.value.length < 10)
  {
    alert("La richiesta deve essere almeno di qualche parola.");
    theForm.Richiesta.focus();
    return (false);
  }


    return (true);

  }

