/* Author: 

*/

var $gallery = $('#carousel').galleriffic({

    enableTopPager:            false,
    enableBottomPager:         false,
    imageContainerSel:         '#slideshow', // The CSS selector for the element within which the main slideshow image should be rendered
    controlsContainerSel:      '', // The CSS selector for the element within which the slideshow controls should be rendered
    captionContainerSel:       '#caption', // The CSS selector for the element within which the captions should be rendered
    loadingContainerSel:       '#loading', // The CSS selector for the element within which should be shown when an image is loading
    renderSSControls:          false, // Specifies whether the slideshow's Play and Pause links should be rendered
    renderNavControls:         false, // Specifies whether the slideshow's Next and Previous links should be rendered
    autoStart:                 true, // Specifies whether the slideshow should be playing or paused when the page first loads
    defaultTransitionDuration: 2000 // If using the default transitions, specifies the duration of the transitions
});
/**************** Event handlers for custom next / prev page links **********************/

$gallery.find('a.prev').click(function(e) {
  $gallery.previous();
  e.preventDefault();
});

$gallery.find('a.next').click(function(e) {
  $gallery.next();
  e.preventDefault();
});






















