function Form1_Validator(theForm)
{

  if (theForm.query.value == "")
  {
    alert("Prego inserire una parola nel campo per la \"Ricerca\".");
    theForm.query.focus();
    return (false);
  }

  if (theForm.query.value.length < 3)
  {
    alert("Prego inserire almeno 3 caratteri nel campo \"Ricerca\".");
    theForm.query.focus();
    return (false);
  }
  return (true);
}
