function ValidateForm(frm) {
	inErrorCheckMode = true;
	var isValid = true;
	if (!IsEntered(frm.name) ||
		!IsEntered(frm.address1) ||
		!IsEntered(frm.city) ||
		!IsValidState(frm.state.value) ||
		!IsValidZipCode(frm.postalCode.value) ||
		!IsValidEmail(frm.email.value)) {
		isValid = false;
	}
	
	if (!isValid) {
		FormatEmail(frm.email, true);
		FormatZipCode(frm.postalCode, true);
		FormatState(frm.state, true);
		RequireField(frm.city);
		RequireField(frm.address1);
		RequireField(frm.name);
		SelectField();
		return false;
	}
	
	frm.send.value = 'Sending Request...';
	frm.send.disabled = true;
	return true;
}

function toggleArea(element) {
	var acres = document.relocationForm.acres;
	if (element.value == "Urban") {
		document.getElementById('acres').style.color = "#999";
		acres.value = "";
		acres.style.backgroundColor = "#F3F3F3";
		acres.style.border = "1px solid #999";
		acres.style.height = "18px";
		acres.disabled = true;
	} else {
		document.getElementById('acres').style.color = "Black";
		acres.style.backgroundColor = "White";
		acres.style.border = "1px solid #7F9DB9";
		acres.style.height = "18px";
		acres.disabled = false;
	}
}
