function nc_load_volunteering_slideshow() {
  var carouselName = 'volunteering_slideshow';
  jQuery('ul#nc_' + carouselName).removeClass('hidden');
  jQuery('div#nc_wrapper_' + carouselName + ' .jcarousel_waiting').hide();
  var jcar = jQuery('ul#nc_' + carouselName).jcarousel({
    visible: 1,
    scroll: 1,
    vertical: false,
    wrap: 'last',
    auto: 10,
    animation: 'slow',
    start: 1,
    buttonNextHTML: '<div></div>',
    buttonPrevHTML: '<div></div>',
    itemFirstInCallback: trigger_js_scroll_1,
    itemLastInCallback: fetchMoreCarousel_1,
    initCallback: initialize_1,
    itemVisibleInCallback: {onBeforeAnimation: item_visible_1},
    itemVisibleOutCallback: {onAfterAnimation: item_invisible_1}
  });
}
jQuery(document).ready(function(){ nc_load_volunteering_slideshow();});
    
    function fetchMoreCarousel_1(carousel, lastLI, index, carouselState) {}

function item_visible_1(carousel, listItem, index, state) {}
function item_invisible_1(carousel, listItem, index, state) {}
    function trigger_js_scroll_1(carousel, listItem, index, state) {}
function initialize_1(carousel, state) {
  if (state == 'init') {
    var carouselName = 'volunteering_slideshow';
    var outermostDiv = $("#nc_" + carouselName).parent().parent();
    var first = '';
    var last  = '';
    if (first != '') {
      outermostDiv.children(".jcarousel-prev").before("<div class='jcarousel-first' id='nc_first_1'>" + first + "</div>");
    }
    if (last != '') {
      outermostDiv.children(".jcarousel-next").after("<div class='jcarousel-last' id='nc_last_1'>" + last + "</div>");
    }

    jQuery('div#nc_first_1').click(function(e) {
      carousel.scroll(1, true);
    });

    jQuery('div#nc_last_1').click(function(e) {
      carousel.scroll($("#nc_" + carouselName + " li").length, true);
    });
  }
}

