function control(fform) {

	Ctrl = fform.nome;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo nome\nField Obbligate, Insert your name");
	return false;
	}
	Ctrl = fform.cognome;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo cognome\nField Obbligate, Insert your surname");
	return false;
	}
	Ctrl = fform.email;
	if (Ctrl.value == "" || Ctrl.value.indexOf ('@', 0) == -1 || Ctrl.value.indexOf('.') == -1 || (Ctrl.value.indexOf(' ') != -1))  {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo indirizzo email\nField Obbligate, Insert your email address");
	return false;
	}

Ctrl = fform.privacy;
	if (Ctrl.checked == false  ) {
	validatePrompt (Ctrl, "Manca la richiesta di consenso di trattamento dati personali");
	return false
	}


return true;
}

function validatePrompt (Ctrl, PromptStr) {
	alert (PromptStr)
	return false;
}
 

// -->