function Pager($this, Slider) {

	var Pager = this;

	Pager.init = function() {
		observe();
		return this;
	}

	Pager.activate = function() {
		$this.addClass('active');
		return this;
	}
	
	Pager.deactivate = function() {
		$this.removeClass('active');
		return this;
	}

	function observe() {
		$this.click(function(e) {
			e.preventDefault();
			clearInterval(autopaging);
			// autopaging = setInterval(Slider.next, 30000);
			var index = $(this).index();
			Slider.goTo(index);
		});
	}

}

function Pausebutton($this, Slider) {
	
	Pausebutton.init = function() {
		observe();
	}
	
	function observe() {
		$this.click(function(e) {
			e.preventDefault();
			// clearInterval(autopaging);
		});
	}
}
