var articleSlideshow = {
    timer : 4000,
    init : function() {
      // hide all images except the top
      $("ul#slideSet li").hide();
      $("li#display").show();
      
    },
    play: function() {
      articleSlideshow.nextSlide();
			t=setTimeout("articleSlideshow.play()", articleSlideshow.timer);
    },
    stop: function() {
      clearTimeout(t);
    },
    nextSlide : function() {
      $("ul#slideSet").append($("ul#slideSet li:first"));
      $("ul#slideSet li#display").removeAttr("id");
      $("ul#slideSet li:first").attr("id", "display");
      $("ul#slideSet li").hide();
      $("li#display").show();      
    }
  };