;(function($) {

$.fn.accordionmenu= function() {
  return this.each(function() {
    $wrapper = $(this);
    $('dt',$wrapper).css({cursor:'pointer'}).next().hide();
    $('dl.current',$wrapper).find('dd').show();
    $('dt',$wrapper).click(function() {
      $('dd',$wrapper).not($(this).next()).slideUp();
      $(this).next().slideToggle();
    });
  });


}

})(jQuery);


