//####################################################
//########### FUNCTION CHECK EMAIL ADDRESS ###########
function checkEmail() {
	mail = document.form.TxtNEmail.value;
	Filtro = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

	if (Filtro.test(mail)==false){
		alert("The field Email is empty or the address is not valid, please try again!");
		document.form.TxtNEmail.focus();
		document.form.TxtNEmail.style.background='#EAEAEA';
		return false;
	}
}
//########### FUNCTION CHECK EMAIL ADDRESS ###########
//####################################################
