function validate_registration(form) {
	var form_errors = "";

	if (form.business_name.value == "") {
		form_errors += "You must enter a business name.\n";
	}

	if (form.first_name.value == "") {
		form_errors += "You must enter your first name.\n";
	}

	if (form.last_name.value == "") {
		form_errors += "You must enter your last name.\n";
	}

	if (form.email.value == "") {
		form_errors += "You must enter your e-mail address.\n";
	} else {
		if (form.email.value != form.email2.value) {
			form_errors += "You must verify your e-mail address by entering it a second time.\n";
		}
	}


	if (form.address_1.value == "") {
		form_errors += "You must enter your mailing address.\n";
	}

	if (form.city.value == "") {
		form_errors += "You must enter your city.\n";
	}

	if (form.state.options[form.state.selectedIndex].value == "") {
		form_errors += "You must enter your state.\n";
	}

	if (form.zipcode.value == "") {
		form_errors += "You must enter a zip/postal code.\n";
	}

	if (form.county.value == "") {
		form_errors += "You must enter a county.\n";
	}

        if (form.acres_farmed.value == "" || isNaN(form.acres_farmed.value) || form.acres_farmed.value <= 0) {
                form_errors += "You must enter a positive numeric value for acres farmed.\n";
	}

    //    if (form.acres_corn.value == "" || isNaN(form.acres_corn.value) || form.acres_corn.value <= 0) {
    //            form_errors += "You must enter a positive numeric value for acres in corn.\n";
	//}

    //   if (form.acres_soybeans.value == "" || isNaN(form.acres_soybeans.value) || form.acres_soybeans.value <= 0) {
    //           form_errors += "You must enter a positive numeric value for acres in soybeans.\n";
	//} 

	if (form_errors != "") {
		alert("Your registration form is not complete.\n\n" + form_errors);
		return false;
	}

	return true
}
