title: bind a jquery function to fancybox .close() event
body: <p>I would like to trigger a simple jQuery function based on a fancybox closing. it is the only fancybox on the page</p>
  
  <pre><code>$.fn.fancybox.close = function() {
      $('#sub_cont').hide(250, function() {
      $('#IDsearchform input').val('');
      });
   });
  </code></pre>
  
  <p>ofcourse the above doesn't work</p>