function checkMail(frm)
{
var goodEmail = frm.regemail.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi); 
		if (!goodEmail) { 
			alert("Incorrect email format."); 
			frm.regemail.focus();
			return false; 
	}

	alert('Thank you for signing up for news and updates from\nthe Writers Guild of America Foundation, East.'); 
}