(function ($) {
    $.fn.simpleTooltip = function(tooltipContent) {
      function hide() {
        if ($(tooltipContent).is(":visible")) {
          $(tooltipContent).fadeOut();
        }
      }
      function show() {
        if (!$(tooltipContent).is(":visible")){
          $(tooltipContent).fadeIn();
        }
      }
      $(tooltipContent).click(hide);
      $(this).hover(show, hide);
    }
})(jQuery);

