// JavaScript Document
function inviaMail() {
	if (isEmail('email')) {
		document.getElementById('Form1').submit()
	} else {
		alert("Sorry, your e-mail doesn't seem to be valid")
	}
}
function isEmail(chi) {
//alert(chi)
string = document.getElementById(chi).value
	if (string.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1) {
	return true
	} else {
	return false
	}
}
function nospamaddr(quale) {
	str = document.getElementById(quale).value.replace('.at.','@')
	str2 = str.replace('.dot.','.')
	document.getElementById(quale).value = str2
	}

