﻿
gallery.prototype.playSlideShow = function()
{
	this.showNextImage();
	var me = this;
	this.popTimer = setTimeout(function() { me.playSlideShow(); }, 5000);
}

gallery.prototype.stopSlideShow = function()
{
	clearTimeout(this.popTimer);
}

gallery.prototype.showNextImage = function()
{
	this.nextItem();
}

gallery.prototype.showPrevImage = function()
{
	this.prevItem();
}

gallery.prototype.showSlide = function(index)
{
	this.goTo(index);
}
