Recall a function
<p>I have made a simple image slideshow using jQuery. I need the "next" button to execute exactly the same function I use on each image click above. Since I am noobie, I can't get the issue.</p>

<p><a href="http://jsbin.com/etajuv/6/edit" rel="nofollow">Demo</a></p>

<pre><code>$('.show').each(function(){
      var $this = $(this);
      $this.children('li').hide().eq(0).show();

      var activeli = $this.find('li');

      activeli.click(function() {
              var $this = $(this);
              var $next = $this.next();
              if ($next.length === 0) {
                      $next = $this.parent().children(':first');
              }
              $this.hide();
              $next.show();
      });

      // My issue is there
      $('.next').click(function() {
              activeli.click();
      });

});
</code></pre>
