// Set slideShowSpeed (milliseconds) var slideShowSpeed = 4800; // Duration of crossfade (seconds) var crossFadeDuration = 3; // Specify the image files var Pic = new Array(); // to add more images, just continue // the pattern, adding to the array below Pic[0] = 'gifs/1.gif' Pic[1] = 'gifs/2.gif' Pic[2] = 'gifs/3.gif' Pic[3] = 'gifs/4.gif' Pic[4] = 'gifs/5.gif' Pic[5] = 'gifs/6.gif' Pic[6] = 'gifs/7.gif' Pic[7] = 'gifs/8.gif' Pic[8] = 'gifs/9.gif' Pic[9] = 'gifs/10.gif' Pic[10] = 'gifs/11.gif' Pic[11] = 'gifs/12.gif' Pic[12] = 'gifs/13.gif' Pic[13] = 'gifs/14.gif' Pic[14] = 'gifs/15.gif' Pic[15] = 'gifs/16.gif' Pic[16] = 'gifs/17.gif' Pic[17] = 'gifs/18.gif' // do not edit anything below this line var t; var j = 0; var p = Pic.length; var preLoad = new Array(); for (i = 0; i < p; i++) { preLoad[i] = new Image(); preLoad[i].src = Pic[i]; } function runSlideShow() { if (document.all) { document.images.SlideShow.style.filter="blendTrans(duration=2)"; document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"; document.images.SlideShow.filters.blendTrans.Apply(); } document.images.SlideShow.src = preLoad[j].src; if (document.all) { document.images.SlideShow.filters.blendTrans.Play(); } j = j + 1; if (j > (p - 1)) j = 0; t = setTimeout('runSlideShow()', slideShowSpeed); } // End -->