Including auto-rotate (setInterval)

Hi All,

I am struggling with working in setInterval into my showcase function. If anyone can point me in the right direction, I’d greatly appreciate it!


$(".cycle li").hide();
      $(".cycle li:first-child").show();
      var total = $(".cycle li").size() + 1;
      var count = 1;
      $("#showcase .showcaseBtn a").click( function() {
        $(".cycle li:nth-child("+count+")").hide();
        count++;
        if (count == total) {
          count = 1;
        }
        $(".cycle li:nth-child("+count+")").fadeIn("slow");
        return false;
    });

thanks in advance!