code: function slideshow() {
  		var
  		timeOut,
  		className = prefix + "Slideshow_",
  		click = "click." + prefix,
  		start,
  		stop,
  		clear;
  		
  		if (settings.slideshow && $related[1]) {
  			start = function () {
  				$slideshow
  					.text(settings.slideshowStop)
  					.unbind(click)
  					.bind(event_complete, function () {
  						if (settings.loop || $related[index + 1]) {
  							timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
  						}
  					})
  					.bind(event_load, function () {
  						clearTimeout(timeOut);
  					})
  					.one(click + ' ' + event_cleanup, stop);
  				$box.removeClass(className + "off").addClass(className + "on");
  				timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
  			};
  			
  			stop = function () {
  				clearTimeout(timeOut);
  				$slideshow
  					.text(settings.slideshowStart)
  					.unbind([event_complete, event_load, event_cleanup, click].join(' '))
  					.one(click, function () {
  						publicMethod.next();
  						start();
  					});
  				$box.removeClass(className + "on").addClass(className + "off");
  			};
  			
  			if (settings.slideshowAuto) {
  				start();
  			} else {
  				stop();
  			}
  		} else {
              $box.removeClass(className + "off " + className + "on");
          }
  	}
docs: Slideshow functionality