	function isValidEmail(str, msg) {
		if ((str.indexOf(".") > 2) && (str.indexOf("@") > 0)) {
			alertText = "You have been added to the " + msg + " mailing list.";
			alert(alertText);
			return true;
		}
		else {
			alert('Invalid e-mail address.  Please try again.');
			return false;
		}
	}
