function controlla() {
	var manca;
	var ok = true;
	var nome = new Array(4);
	var campo = new Array(4);
	nome[0] = "Nome";
	nome[1] = "Cognome";
	nome[2] = "Telefono";
	nome[3] = "Intervento edilizio";
	campo[0] = document.informazioni.Nome.value;
	campo[1] = document.informazioni.Cognome.value;
	campo[2] = document.informazioni.Telefono.value;
	document.informazioni.Intervento.selectedIndex != 0 ? campo[3] = "ok" : campo[3] = "";
	for (i = 0; i < 4; i++)
		if (!campo[i]) {
			ok = false;
			manca ? manca = manca + ", " + nome[i] : manca = nome[i];
		}
	if (ok) {return true;}
	else {
		alert ("Non sono state inserite tutte le informazioni richieste.\nCompilare i campi obbligatori: " + manca + ".");
		return false;
	}
}
