//SLIDER (function( $ ) { //Function to animate slider captions function doAnimations( elems ) { //Cache the animationend event in a variable var animEndEv = 'webkitAnimationEnd animationend'; elems.each(function () { var $this = $(this), $animationType = $this.data('animation'); $this.addClass($animationType).one(animEndEv, function () { $this.removeClass($animationType); }); }); } //Variables on page load var $myCarousel = $('#carousel-example-generic'), $firstAnimatingElems = $myCarousel.find('.item:first').find("[data-animation ^= 'animated']"); //Initialize carousel $myCarousel.carousel(); //Animate captions in first slide on page load doAnimations($firstAnimatingElems); //Pause carousel $myCarousel.carousel('pause'); //Other slides to be animated on carousel slide event $myCarousel.on('slide.bs.carousel', function (e) { var $animatingElems = $(e.relatedTarget).find("[data-animation ^= 'animated']"); doAnimations($animatingElems); }); $('#carousel-example-generic').carousel({ interval:3000, pause: "false" }); })(jQuery); jQuery(document).ready(function() { var offset = 220; var duration = 500; jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > offset) { jQuery('.crunchify-top').fadeIn(duration); } else { jQuery('.crunchify-top').fadeOut(duration); } }); jQuery('.crunchify-top').click(function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; }) }); $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 100) { $(".navbar").addClass("stickadd"); } else { $(".navbar").removeClass("stickadd"); } }); //$("#slideshow > div:gt(0)").hide(); // //setInterval(function() { // $('#slideshow > div:first') // .fadeOut(1000) // .next() // .fadeIn(1000) // .end() // .appendTo('#slideshow'); //}, 200); $('.carousel').carousel({ interval: 2000 }); //function setURL(url){ // document.getElementById('frz').src = url; /* FILE ARCHIVED ON 15:45:40 Oct 28, 2017 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 22:12:23 Jul 27, 2018. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): LoadShardBlock: 119.087 (3) esindex: 0.009 captures_list: 139.39 CDXLines.iter: 14.989 (3) PetaboxLoader3.datanode: 154.487 (4) exclusion.robots: 0.199 exclusion.robots.policy: 0.187 RedisCDXSource: 1.545 PetaboxLoader3.resolve: 108.123 load_resource: 181.178 */