(function($) {
	$.fn.sliderAnimator = function(o){
		o = $.extend({ 
			timeout: 1000,
			delay: 0,
			direction: 'right'
		}, o || {});
		return this.each(function(){
			var anim = false;
			function start(){
				clearInterval(anim);
				anim = setInterval( function(){slide2next();}, o.timeout);
			};
			function stop(){
				clearInterval(anim);
			}
			function slide2next(){
					if(o.direction == 'left'){ $(o.prev).click(); }else{ $(o.next).click(); }
			}
			setTimeout(start, o.delay);
			$(o.stopper).hover(stop, start);
		});
	}
})(jQuery);
