function validarNewsletter(theForm){

if(theForm.email.value == "") {
	alert("Por favor, su Email.");
	theForm.email.focus();
	return(false);
	}
	if(theForm.email.value != "") {
	var largoV = theForm.email.value;
		if (largoV.length < 6){
		theForm.email.focus();alert("Email incorrecto.");return (false);
		}else{
		var valor1v = "false";
		var valor2v = "false";
			for(x = 0;x<largoV.length;x++){
			var oneChar2v = largoV.charAt(x);
			if (oneChar2v == "@"){valor1v = "true";}
			if (oneChar2v == "."){valor2v = "true";}
			}
		if (valor1v == "true"){if(valor2v == "true"){}else{theForm.email.focus();alert("Email incorrecto.");return (false);}} else {theForm.email.focus();alert("Email incorrecto.");return (false);}

		}

	}    

}


//-->
