function ValidateRegistration(thisForm) {
	if (thisForm.frm_email.value == "") { 
		alert("Please enter your E-MAIL ADDRESS before proceeding."); 
		thisForm.frm_email.focus();
		return false;
	}
	if (thisForm.frm_email.value.indexOf("@") == -1 || thisForm.frm_email.value.indexOf(".") == -1 || thisForm.frm_email.value.indexOf(" ") > -1 || thisForm.frm_email.value.indexOf("@") > thisForm.frm_email.value.lastIndexOf(".")) { 
		alert("Please enter a VALID email address to continue.");
		thisForm.frm_email.focus();
		return false;
	}
	if (thisForm.frm_password.value == "") {
		alert("Please enter a PASSWORD and CONFIRM it to continue.");
		thisForm.frm_password.focus();
		return false;
	}
	if (thisForm.frm_password.value.length < 4) {
		alert("Please enter a password that is at least 4 characters in order to contine.")
		thisForm.frm_password.focus();
		return false;
	}
	if (thisForm.frm_password.value != thisForm.frmPasswordConfirm.value) {
		alert("The PASSWORD and CONFIRM PASSWORD fields do not match.  Please enter your password again.");
		thisForm.frm_password.value = "";
		thisForm.frmPasswordConfirm.value = "";
		thisForm.frm_password.focus();
		return false;
	}
	if (thisForm.frm_location.value == "") {
		alert("Please choose your country to continue.");
		thisForm.frm_location.focus();
		return false;
	}
	if (!validate_radio(thisForm.frm_mailingFormat)) {
		alert("Please select a newsletter option: HTML, Text-only, or None.")
		return false;
	}
	return true;
}

function validate_radio(objRadio) {
	for (var i = 0; i < objRadio.length; i++) {
		if (objRadio[i].checked) {
			return true;
		}
	}
	return false;
}
