$(document).ready(function() {
  // Add a body class of "js" for CSS hooks
  $('body').addClass('js');
  
  // Collapse all menus with the class "collapsible"
  $(".collapsible ul").hide();
  
  //This came with the original code and did not work.  Leaving it in for now...(sl 4-09)
  // Expand only the active menu, which is determined by the class name
//  $(".collapsible > li[@class=expanded] ").find("+ ul").slideToggle("medium");
  

  // Toggle the selected menu's class and expand or collapse the menu
  $(".collapsible li h5").click(function() {
  $(this).toggleClass("expanded").toggleClass("collapsed").find("+ ul").slideToggle("medium");
 });  

  // Toggle the selected menu's class and expand or collapse the menu (added this to the original code to replace above (sl 4-09)
 $(".expanded li h5").click(function() {
  $(this).toggleClass("expanded").toggleClass("collapsed").find("+ ul").slideToggle("medium");

 
  });  
});