﻿$(document).ready(function() { 
  $('#mainslideshow').cycle({

// name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')   
		fx: 		'fade',
		
// true to enable "pause on hover" 		
		pause:		1,
	
// speed of the transition (any valid fx speed value)
		speed:		1000,
		
//milliseconds between slide transitions (0 to disable auto advance)		
		timeout:	10000,
		
		pager:		'#mainslideshowbuttons',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '#mainslideshowbuttons li:eq(' + (idx) + ') a';
		}
	});
}); 

