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.password;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci la tua password\nField Obbligate, Insert your password");
	return false;
	}
	Ctrl = fform.citta;
	if (Ctrl.value == "" )  {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci la tua cittā\nField Obbligate, Insert your city");
	return false;
	}
	Ctrl = fform.indirizzo;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo indirizzo\nField Obbligate, Insert your address");
	return false;
	}
	Ctrl = fform.cap;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo cap\nField Obbligate, Insert your zipcode");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il cap deve essere un valore numerico composto da 5 cifre\nField must be five number long"); 
	return false; 
	}
	Ctrl = fform.datadinascita;
	if (Ctrl.value.length != 10) { 
	validatePrompt (Ctrl, "Campo obbligatorio, Inserire la data di nascita nel formato gg/mm/aaaa\nField Obbligate, Insert your date of birth with fformat: gg/mm/aaaa"); 
	return false; 
	} 
	else if (Ctrl.value.substring(0,2) > 31) { 
	validatePrompt (Ctrl, "Il giorno della data di nascita č errato.\nThe day of birth is incorrect"); 
	return false; 
	} 
	else if (Ctrl.value.substring(3,5) > 12) { 
	validatePrompt (Ctrl, "Il mese della data di nascita č errato.\nThe month of birth is incorrect"); 
	return false; 
	} 
	else if (Ctrl.value.substring(2,3) != '/' || Ctrl.value.substring(5,6) != '/' || isNaN(Ctrl.value.substring(0,2)) || 	isNaN(Ctrl.value.substring(3,5)) || isNaN(Ctrl.value.substring(6,10)) ) { 
	validatePrompt (Ctrl, "Campo obbligatorio, Inserire la data di nascita nel formato gg/mm/aaaa\nField Obbligate, Insert your date of birth with format: gg/mm/aaaa"); 
	return false; 
	} 
	Ctrl = fform.stato;
	if (Ctrl.value == "" )  {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo stato\nField Obbligate, Insert your country");
	return false;
	}
	Ctrl = fform.telefono;
	if (Ctrl.value == "" ) {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo numero di telefono\nField Obbligate, Insert your phone number");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il telefono deve essere un valore numerico\nphone number must be numeric"); 
	return false; 
	}
	Ctrl = fform.cellulare;
	if (Ctrl.value == "" ) {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il numero del tuo cellulare\nField Obbligate, Insert your mobile phone number");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il cellulare deve essere un valore numerico\nphone number must be numeric"); 
	return false; 
	} 
	Ctrl = fform.statura;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci la tua statura\nField Obbligate, Insert your height");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il campo statura deve essere un valore numerico\nField height must be numeric"); 
	return false; 
	} 
	Ctrl = fform.taglia;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci la tua taglia\nField Obbligate, Insert your size");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il campo taglia deve essere un valore numerico\nField size must be numeric"); 
	return false; 
	} 
	Ctrl = fform.scarpe;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci il tuo numero di scarpe\nField Obbligate, Insert your size shoes");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il campo scarpe deve essere un valore numerico\nField shoes must be numeric"); 
	return false; 
	} 
	Ctrl = fform.seno;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci la misura del tuo seno\nField Obbligate, Insert your size of chest");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il campo seno deve essere un valore numerico\nField chest must be numeric"); 
	return false; 
	} 
	Ctrl = fform.vita;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci la misura della tua vita\nField Obbligate, Insert your size of waist");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il campo vita deve essere un valore numerico\nField waist must be numeric"); 
	return false; 
	}
	Ctrl = fform.fianchi;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Inserisci la misura dei tuoi fianchi\nField Obbligate, Insert size of your hips");
	return false;
	}
	if (isNaN(Ctrl.value)) { 
	validatePrompt (Ctrl, "Il campo fianchi deve essere un valore numerico\nField hips must be numeric"); 
	return false; 
	}
	Ctrl = fform.password_conferm;
	if (Ctrl.value == "") {
	validatePrompt (Ctrl, "Campo obbligatorio, Conferma la tua password\nField Obbligate, Conferm your password");
	return false;
	}
	Ctrl = fform.password;
	Ctrl2 = fform.password_conferm;
	if (Ctrl.value != Ctrl2.value) {
	validatePrompt (Ctrl, "Errore!!, Le password inserite non coincidono\nError!! , The passwords Inserted does not match");
	return false;
	}
return true;
}

function validatePrompt (Ctrl, PromptStr) {
	alert (PromptStr)
	return false;
}
 

// -->
