gallery-2').bxSlider({
auto: true,
pause: 3000,
autoHover: true,
minSlides: 1,
maxSlides: 10,
slideWidth: 300,
slideMargin: 10,
infiniteLoop: false,
captions: false,
captionsMode: 'alt',
adaptiveHeight: false,
useCSS: false,
pager: false,
easing: 'easeInSine',
speed: 2500,
preloadImages: 'all',
onSlideBefore: function() {
$('#gallery-2 .bx-caption').slideUp();
},
onSlideAfter: function($slideElement, oldIndex, newIndex) {
slider2.stopAuto();
slider2.startAuto();
$('#gallery-2 .bx-caption').slideDown();
}
});
});
});
/* END --- Image Carousel --- */
// ]]>