function ValidaForm(){
	var EntradasOK;
	EntradasOK = false;
	if(document.getElementById('c1').value === "") {
		CorregirEntrada(document.getElementById('c1'), "Por favor indique un E-MAIL.");
	} else if (!EsEmail(document.getElementById('c1').value)) {
		CorregirEntrada(document.getElementById('c1'), "Por favor indique un E-MAIL VÁLIDO.");
	} else {
		EntradasOK = true;
	}
	return EntradasOK;
}
function EsEmail(email) {
  return email.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.pro)|(\.name)|(\.info)|(\.aero)|(\.museum)|(\..{2,2}))$)\b/gi);
}
function CorregirEntrada(entrada, mensaje) {
  alert(mensaje);
  entrada.focus();
}
