// JavaScript Document function changeimage(whichhomeimagetohide){ var i; i = 100; var step; step = -5; var speed; speed = 40; var elmtohide; elmtohide = document.getElementById("homeimage" + whichhomeimagetohide); var whichhomeimagetoshow; whichhomeimagetoshow = whichhomeimagetohide + 1; if (whichhomeimagetoshow == 9) { whichhomeimagetoshow = 1; } var elmtoshow; elmtoshow = document.getElementById("homeimage" + whichhomeimagetoshow); //initial opacity i = i || 0; //opacity increment step = step || 5; //time waited between two opacity increments in msec speed = speed || 50; var t_o; t_o = setInterval(function(){ //get opacity in decimals var opacity = i / 100; //set the next opacity step i = i + step; if(opacity > 1 || opacity < 0){ clearInterval(t_o); //if 1-opaque or 0-transparent, stop return; } //modern browsers elmtohide.style.opacity = opacity; //older IE elmtohide.style.filter = 'alpha(opacity=' + opacity*100 + ')'; var opacity2 = 1-opacity; elmtoshow.style.opacity = opacity2; elmtoshow.style.filter = 'alpha(opacity=' + opacity2*100 + ')'; }, speed); } function slideshow(whichimagetohide) { var currentimage; var timerobject; currentimage = whichimagetohide; timerobject = setInterval(function(){ changeimage(currentimage); currentimage = currentimage + 1; if (currentimage == 9) { currentimage = 1; } }, 6000); } /* FILE ARCHIVED ON 08:51:15 Jan 16, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 23:52:50 Apr 30, 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: 280.417 (3) esindex: 0.012 captures_list: 310.932 CDXLines.iter: 19.287 (3) PetaboxLoader3.datanode: 201.967 (4) exclusion.robots: 0.364 exclusion.robots.policy: 0.312 RedisCDXSource: 5.855 PetaboxLoader3.resolve: 490.802 (2) load_resource: 418.105 */