var jsInit;
jQuery(document).ready(function() {
  if(jsInit && typeof(jsInit) == 'function') {
    jsInit();
  }
});

jQuery.fn.extend({

  expandMenuImage: function($imagePath) {
    jQuery('div.menuImageHolder > img', this[0]).attr('src', $imagePath);
  },

  collapseMenuImage: function($imagePath) {
    jQuery('div.menuImageHolder > img', this[0]).attr('src', $imagePath);
  }

});
