$(document).ready(function() {
   //slides the element with class "menu_body" when paragraph with class "menu_head" is clicked
   $("#menu-work p.head").click(function() {
      $(this).next("div.group").slideToggle(300).siblings("div.group").slideUp("slow"); }
   ); }
); 