/* Checks that browse parameters are not blank */

function checkCriteria() {

  if (document.feedback.year.value == "") {
     alert("Please select a year for Browsing.");
     return false;
  }
  return true;
}



function checkDocCriteria(type) {
   /*
   if (document.docs.department.value == "") {
      alert("Please select a document type for Browsing.");
      document.docs.department.focus();
      return false;
   }
	 */
   /* If a Procedure document has been selected, category must be selected */
   /*if ( ((document.docs.department.value == document.docs.procseq.value) ||
         (document.docs.department.value == document.docs.formseq.value)) &&
        (document.docs.category.value == "")) {
      alert("Please select a category for Browsing Procedures and Forms.");
      document.docs.category.focus();
      return false;
   }*/
   return true;
}



function checkCalCriteria() {
   
   if ( (document.eventlist.year.value == "") ||
        (document.eventlist.month.value == "") ) {
       alert("Please select a month and year for Browsing.");
       return false;
   }
   return true;

}


