<!--
function doSubmit() {
	var f = document.full_registration;

	var regZipCode = /(^\d{5}$)|(^\d{5}-\d{4}$)/;
 
	if (f.name.value == "") { 
		alert('Please enter your name.'); 
		f.name.focus(); 
		return; 
	}
 

	if (!f.email.value.match(/^\S+@\S+\.\S+$/)) {
		alert('Please enter a valid e-mail address.');
		f.email.select();
		f.email.focus();
		return;
	}

	if (f.address.value == "") { alert('Please enter your mailing address.'); f.address.focus(); return; }

	if (f.city.value == "") { alert('Please enter your city.'); f.city.focus(); return; }

	if (f.state.value == "") { alert('Please enter your state.'); f.state.focus(); return; }
 
	if (!f.zip.value.match(regZipCode)) { 
		alert('Please enter a valid US zip code.'); 
 		f.zip.select(); 
 		f.zip.focus(); 
 		return; 
	}

	 /* Validate month: check for digits, then check:  1 <= month <= 12 */
	if(f.dob_month.value.match(/\d{1,2}/)) {
		theMonth = eval(f.dob_month.value);		
		if(!(theMonth <= 12 && theMonth >= 1)){
			alert('Please enter a valid month of birth.');
			f.dob_month.focus();
			f.dob_month.select(); 
			return; 
		}
	}  else {
		alert('Please enter a valid month of birth.');
		f.dob_month.focus();
		f.dob_month.select(); 
		return; 
	}

	f.submit();
}
// -->