// function for the protest form to ensure users have selected required fields
// lzt - 5/2008

function verify() {
var themessage = "";
if (document.getElementById('sched_nbr').value=="") {
themessage = themessage + "Schedule Number is required. ";
}
if (document.getElementById('estimatePrice').value=="") {
themessage = themessage + "You must estimate the value of the property. It is required. ";
}
if (document.getElementById('reason').value=="") {
themessage = themessage + "You must give a reason for reviewing this value. It is required. ";
}
if (document.getElementById('verifyCheckbox').checked == false ) {
themessage = themessage + "You must select the VERIFICATION check box to submit this form.";
}

//alert if fields are empty and cancel form submit
if (themessage == "") {
//document.form.submit();
return true;
}
else {
alert(themessage);
return false;
   }
}

