/********************************************

Pergamena
jQuery Sldieshow Modules

Version: 1.0
Required Plugins: jquery.cycle
Author: Poccuo (http://www.poccuo.com)        	

*******************************************/

$(function() {
    
    $('#slideshow').cycle({
		fx: 'fade', 
		pause: 1, // Turn Hover Pause On
		timeout: 0, // in Milliseconds
		speedIn: 400, // in Milliseconds
		speedOut: 400, // in Milliseconds
		cleartype:  1,  
		next: '#slideshow_wrapper #controls .next', 
    	prev: '#slideshow_wrapper #controls .prev',
    	after: function(curr, next, opts) {
			$('#slideshow_wrapper #currentSlide').html((opts.currSlide + 1) + " of " + opts.slideCount);
        }
	});
	
	 $('#gallery_slideshow').cycle({
		fx: 'fade', 
		pause: 1, // Turn Hover Pause On
		timeout: 0, // in Milliseconds
		speedIn: 400, // in Milliseconds
		speedOut: 400, // in Milliseconds
		cleartype:  1,  
		next: '#gallery_slideshow_wrapper #controls .next', 
    	prev: '#gallery_slideshow_wrapper #controls .prev',
    	after: function(curr, next, opts) {
			$('#gallery_slideshow_wrapper #currentSlide').html((opts.currSlide + 1) + " of " + opts.slideCount);
        }
	});
	
	$('#sigunik_slideshow').cycle({
		fx: 'fade', 
		pause: 1, // Turn Hover Pause On
		timeout: 0, // in Milliseconds
		speedIn: 400, // in Milliseconds
		speedOut: 400, // in Milliseconds
		cleartype:  1,  
		next: '#sigunik_slideshow_wrapper #controls .next', 
    	prev: '#sigunik_slideshow_wrapper #controls .prev'
	});

});