function submit_clicked() {
	return $("#frm_email_signup").submit();
}

$(function() {
	$("#frm_email_signup").submit(function() {
		if (!isValidEmail($(this).find('#en_email').val())) {
			document.getElementById("error_msg").style.display = "block";
			return false;
		}

		document.getElementById("error_msg").style.display = "none";
		return true;
	});
});