$(function() {
    $('#slideshow').cycle({
        fx: 'shuffle',
        shuffle: { top: 50, left: 300 },  // coords for shuffle animation, ex: { top:15, left: 200 }
        easing: 'backinout',
        delay: -3000,     // additional delay (in ms) for first transition (hint: can be negative) 
        pause: 1,
        pauseOnPagerHover: 1,
        continuous: 0,
    		speedIn: 500,
    		speedOut: 500,
    		speed: 5000,
        pager:  '#nav',
        prev:    '#prev',
        next:    '#next',
	
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '#nav li:eq(' + (idx) + ') a';
        }
    });
});

