function VerificaCampi(theForm, ListaCampi)
{
	var CampiOb;
	CampiOb = ListaCampi.split(":");
	for (i=0; i < CampiOb.length; i++)
	{
		if (theForm[CampiOb[i]].value == "" &&
			theForm[CampiOb[i]].type != "submit" &&
 			theForm[CampiOb[i]].type != "reset" &&
			theForm[CampiOb[i]].type != "button" &&
			theForm[CampiOb[i]].type != "hidden")
		{
			alert("Non sono stati compilati tutti i campi obbligatori");
			theForm[CampiOb[i]].focus();
			return false;
		}
	}
	return (true);
}