function VerificaCampi(NomeForm, ListaCampi) {
	var CampiOb;
          CampiOb = ListaCampi.split(":");
          for (i=0; i < CampiOb.length; i++) {
                    if (NomeForm[CampiOb[i]].value == "" &&
                        NomeForm[CampiOb[i]].type != "Submit" &&
                        NomeForm[CampiOb[i]].type != "reset" &&
                        NomeForm[CampiOb[i]].type != "button" &&
                        NomeForm[CampiOb[i]].type != "hidden") {
                        alert("Remember to fill the required fields.");
			 NomeForm[CampiOb[i]].focus();
	                 return false;
                    }
          }
          return true;
}