function validate(formName) {
	var theEmail = document.getElementById("email").value;
	var theFN = document.getElementById("FN").value;
	var theLN = document.getElementById("LN").value;
	if(theEmail == "") {
		missingEmail();
		return false;	
	} else if (theFN == "") {
		missingFN();
		return false;
	} else if (theLN == "") {
		missingLN();
		return false;
	} else {
		document.forms[formName].submit();
	}

}

function missingEmail() {
	alert("Please enter a valid email address.");
}

function missingFN() {
	alert("Please enter your first name.");
}

function missingLN() {
	alert("Please enter your last name.");
}
