
<!-- Hide from old browsers
function validate(t) {
	if (t.txtDate.value == "") {
		alert("Please enter the date. Thank you.");
		t.txtDate.focus();
		return (false);
	}
	if (t.txtName.value == "") {
		alert("Please enter the applicant's name. Thank you.");
		t.txtName.focus();
		return (false);
	}
	if (t.txtTitle.value == "") {
		alert("Please enter the applicant's title. Thank you.");
		t.txtTitle.focus();
		return (false);
	}
	if (t.txtOrganization.value == "") {
		alert("Please enter the applicant's organization. Thank you.");
		t.txtOrganization.focus();
		return (false);
	}
	if (t.txtPhone.value == "") {
		alert("Please enter the applicant's phone number. Thank you.");
		t.txtPhone.focus();
		return (false);
	}
	if (t.txtAddress.value == "") {
		alert("Please enter the applicant's address. Thank you.");
		t.txtAddress.focus();
		return (false);
	}
	if (t.txtCityStateZip.value == "") {
		alert("Please enter the applicant's city, state and ZIP code. Thank you.");
		t.txtCityStateZip.focus();
		return (false);
	}
	if (t.txtFax.value == "") {
		alert("Please enter the applicant's fax number. Thank you.");
		t.txtFax.focus();
		return (false);
	}
	if (t.txtEmail.value == "") {
		alert("Please enter the applicant's e-mail address. Thank you.");
		t.txtEmail.focus();
		return (false);
	}
	if (t.txtEmail.value != "") {
		if (t.txtEmail.value.indexOf("@") == -1 || t.txtEmail.value.indexOf(".") == -1 || t.txtEmail.value.indexOf(" ") != -1 || t.txtEmail.value.length < 6) {
			alert("Sorry, the e-mail address that you entered for the sender is not valid.  Thank you.");
			t.txtEmail.focus();
			return (false);
		}
	}


	if (t.txtWebsite.value == "") {
		alert("Please enter the applicant's Web site address. Thank you.");
		t.txtWebsite.focus();
		return (false);
	}
	if (t.txtTimeInEconomicDevelopmentField.value == "") {
		alert("Please enter the time in economic development field. Thank you.");
		t.txtTimeInEconomicDevelopmentField.focus();
		return (false);
	}
	if (t.txtTimeInPresentPosition.value == "") {
		alert("Please enter the time in present position. Thank you.");
		t.txtTimeInPresentPosition.focus();
		return (false);
	}
	if (t.txtAgeOfOrganizationField.value == "") {
		alert("Please enter the age of the organization. Thank you.");
		t.txtAgeOfOrganizationField.focus();
		return (false);
	}
	if (t.selMidAmericanEnergyContact.value == "") {
		alert("Please select the name of the MEC contact. Thank you.");
		t.selMidAmericanEnergyContact.focus();
		return (false);
	}
	if (t.txtDateOfDiscussion.value == "") {
		alert("Please select the date of discussion. Thank you.");
		t.txtDateOfDiscussion.focus();
		return (false);
	}

	if (t.txtTotalAmountRequested.value == "") {
		alert("Please include the total amount requested. Thank you.");
		t.txtTotalAmountRequested.focus();
		return (false);
	}
	if (t.txtTotalProjectCost.value == "") {
		alert("Please include the total project cost. Thank you.");
		t.txtTotalProjectCost.focus();
		return (false);
	}
	if (t.txtYtdMidAmericanFunding.value == "") {
		alert("Please include the amount of MidAmerican funding. Thank you.");
		t.txtYtdMidAmericanFunding.focus();
		return (false);
	}

}
//-->
