// Funciones para distintas validaciones.

// Validar correo electrónico.
function esEMailCorrecto(theElement)
{
	var s = theElement.value;
	var filter=/^[A-Za-z][A-Za-z0-9_]*@[A-Za-z0-9_]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	
	if (s.length == 0 ) { return true };
	
	if (filter.test(s)) { return true };
	
	return false;
}


