var slider2 = jQuery('#myCarousel96'), animateClass; slider2.carousel({ interval: 0, pause: 'none' }); slider2.find('[data-animate-in]').addClass('animated');

function animateSlideEvents() { slider2.find('.item').removeClass('current');

slider2.find('.active').addClass('current').find('[data-animate-in]').each(function () { var _this = jQuery(this); animateClass = _this.data('animate-in'); _this.addClass(animateClass) });

slider2.find('.active').find('[data-animate-out]').each(function () { var _this = jQuery(this); animateClass = _this.data('animate-out'); _this.removeClass(animateClass) }); } function animateSlideEndEvents() { slider2.find('.active').find('[data-animate-in]').each(function () { var _this = jQuery(this); animateClass = _this.data('animate-in'); _this.removeClass(animateClass) }); slider2.find('.active').find('[data-animate-out]').each(function () { var _this = jQuery(this); animateClass = _this.data('animate-out'); _this.addClass(animateClass) }); } slider2.find('.invisible').removeClass('invisible'); animateSlideEvents();

slider2.on('slid.bs.carousel', function () { animateSlideEvents(); }); slider2.on('slide.bs.carousel', function () { animateSlideEndEvents(); });

if (Modernizr.touch) { slider2.find('.carousel-inner').swipe( { swipeLeft: function() { jQuery(this).parent().carousel('prev'); }, swipeRight: function() { jQuery(this).parent().carousel('next'); }, threshold: 30 }) } });

CONTACT FORM