title: Call jQuery function within function
body: <p>I have a jQuery function (stripped down just for this example):</p>
  
  <pre><code>(function($) {
  
      $.fn.Lightbox = function(options) {
  
         var opts = $.extend(defaults, options);
  
          function initialize() {
              $('#lightbox').show();
              return false;
          };
  
          function close() {
              $('#lightbox').hide();
          };
  
          return this.click(initialize);
      };
  
  })(jQuery);
  </code></pre>
  
  <p>I then use....</p>
  
  <pre><code>$('a.image').Lightbox();
  </code></pre>
  
  <p>to run it. I want to be able to call the close() function seperately e.g.</p>
  
  <pre><code>$.Lightbox.close();
  </code></pre>
  
  <p>How can I achieve this within my code?</p>