<!--
function validateForm() {
	if (document.fbform.name.value == null || document.fbform.name.value.length < 5) {
		alert("Please enter your full name.");
		document.fbform.name.focus();
		return false;
	} else if (document.fbform.address.value == null || document.fbform.address.value.length < 5) {
		 alert("Please enter your street address or Post Office Box number.");
		 document.fbform.address.focus();
		 return false;
	} else if (document.fbform.city.value == null || document.fbform.city.value.length < 3) {
		 alert("Please enter the city of your residence.");
		 document.fbform.city.focus();
		 return false;
	} else if (document.fbform.province[document.fbform.province.selectedIndex].value == "") {
		 alert("Please select your province from the list.");
		 document.fbform.province.focus();
		 return false;
	} else if (document.fbform.postalcode.value == null || document.fbform.postalcode.value.length < 7) {
		 alert("Please enter your full postal code (formatted as A1B 2C3).");
		 document.fbform.postalcode.focus();
		 return false;
	} else if (document.fbform.email.value == null || document.fbform.email.value.length == 0) {
		 alert("Please enter your email address.");
		 document.fbform.email.focus();
		 return false;
	} else if (!e(document.fbform.email.value)) {
		alert("Please enter a valid email address, formatted as user@domain.zzz or user@domain.xx.zzz.");
		document.fbform.email.focus();
		return false;
	} else if (document.fbform.phone.value == null || document.fbform.phone.value.length < 12) {
		 alert("Please enter your phone number, including area code (formatted as 123-456-7890), so that we may contact you to validate your request.");
		 document.fbform.phone.focus();
		 return false;
	} else if (document.fbform.publication[document.fbform.publication.selectedIndex].value == "") {
		 alert("Please select which form/publication you would like sent to you from the list.");
		 document.fbform.publication.focus();
		 return false;
	} else {
		return true;
	}
}


function e(s) 
{
	rex=true;
	if (window.RegExp) 
	{
		st="a";ex=new RegExp(st);
		if (st.match(ex)) 
		{
			r1=new RegExp("(@.*@)|(\\.\\.)|(@\\.)|(^\\.)");
			r2=new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");
			b=(!r1.test(s)&&r2.test(s));
		} else {
			rex=false;
		}
	} else {
	rex=false;
	}
	if(!rex) b=(s.indexOf("@")>0&&s.indexOf(".")>0&&s!=""&&s!="enter e-mail");
		return (b);
}
//-->