
   /**
    * Assign the display, either show or hide, of the CSS associated with each of
    * the calendar entries aligned with the specified classification; for example,
    * if id=bookstores, function call will assign visibility for the Local Bookstore
    * entries according to the checked status of the control.
    */
   function assignCalEntryDisplay(id,calentries)
   {
      var show = document.getElementById(id).checked;
      var matched = false;

      for (var i=0; matched || i==0; i++) {
          var matchedEntry = document.getElementById(calentries+i);
          if (matchedEntry!=null) {
             if (show==true) {
                 matchedEntry.style.display = 'inline';
             } else if (show==false) {
                 matchedEntry.style.display = 'none';
             }
             matched = true;
          } else {
             matched = false;
          }
      }
   }
