// ==============================// Set the following variables...// ==============================// Set the slideshow speed (in milliseconds)var SlideShowSpeed = 4000;// Set the duration of crossfade (in seconds)var CrossFadeDuration = 3;var Picture = new Array(); // don't change this// Specify the image files...// To add more images, just continue// the pattern, adding to the array below.// To use fewer images, remove lines// starting at the end of the Picture array.// Caution: The number of Pictures *must*// equal the number of Captions!Picture[1] = 'img2/slideshow/Image1.jpg';Picture[2] = 'img2/slideshow/arizona3.jpg';Picture[3] = 'img2/slideshow/schoolyard2.jpg';Picture[4] = 'img2/slideshow/schoolyard.jpg';Picture[5] = 'img2/slideshow/barcelona1.jpg';Picture[6] = 'img2/slideshow/runningbondthermo2.jpg';Picture[7] = 'img2/slideshow/runningbondthermo.jpg';Picture[8] = 'img2/slideshow/resentrance.jpg';Picture[9] = 'img2/slideshow/paintthepavement2.jpg';Picture[10] = 'img2/slideshow/paintthepavement.jpg';Picture[11] = 'img2/slideshow/hospitalentrance.jpg';Picture[12] = 'img2/slideshow/hexagonthermo.jpg';Picture[13] = 'img2/slideshow/arizona2.jpg';Picture[14] = 'img2/slideshow/arizona.jpg';Picture[15] = 'img2/slideshow/stampedsf4.jpg';Picture[16] = 'img2/slideshow/stampedsf3.jpg';Picture[17] = 'img2/slideshow/stampedsf2.jpg';Picture[18] = 'img2/slideshow/stampedsf1.jpg';Picture[19] = 'img2/slideshow/mtholly.jpg';Picture[20] = 'img2/slideshow/sliptest.jpg';Picture[21] = 'img2/slideshow/pourepoxy.jpg';Picture[22] = 'img2/slideshow/frictionfl.jpg';Picture[23] = 'img2/slideshow/friction2.jpg';Picture[24] = 'img2/slideshow/friction1.jpg';Picture[25] = 'img2/slideshow/flagstone.jpg';Picture[26] = 'img2/slideshow/bridge.jpg';Picture[27] = 'img2/slideshow/Coke.jpg';Picture[28] = 'img2/slideshow/thermo2.jpg';Picture[29] = 'img2/slideshow/thermo1.jpg';Picture[30] = 'img2/slideshow/Image5.jpg';Picture[31] = 'img2/slideshow/Image4.jpg';Picture[32] = 'img2/slideshow/Image3.jpg';Picture[33] = 'img2/slideshow/Image2.jpg';Picture[34] = 'img2/slideshow/sanfran.jpg';// Specify the Captions...// To add more captions, just continue// the pattern, adding to the array below.// To use fewer captions, remove lines// starting at the end of the Caption array.// Caution: The number of Captions *must*// equal the number of Pictures!// =====================================// Do not edit anything below this line!// =====================================var tss;var iss;var jss = 1;var pss = Picture.length-1;var preLoad = new Array();for (iss = 1; iss < pss+1; iss++){preLoad[iss] = new Image();preLoad[iss].src = Picture[iss];}function runSlideShow(){if (document.all){document.images.PictureBox.style.filter="blendTrans(duration=2)";document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";document.images.PictureBox.filters.blendTrans.Apply();}document.images.PictureBox.src = preLoad[jss].src;if (document.all) document.images.PictureBox.filters.blendTrans.Play();jss = jss + 1;if (jss > (pss)) jss=1;tss = setTimeout('runSlideShow()', SlideShowSpeed);}
