// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3500;
// 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/image.jpg';
Pic[1] = 'gifs/image1.jpg';
Pic[2] = 'gifs/image8.jpg';
Pic[3] = 'gifs/image3.jpg';
Pic[4] = 'gifs/image4.jpg';
Pic[5] = 'gifs/image5.jpg';
Pic[6] = 'gifs/image6.jpg';
Pic[7] = 'gifs/image7.jpg';
Pic[8] = 'gifs/image2.jpg';
Pic[9] = 'gifs/image9.jpg';
Pic[10] = 'gifs/image10.jpg';
Pic[11] = 'gifs/image11.jpg';
Pic[12] = 'gifs/image12.jpg';
Pic[13] = 'gifs/image13.jpg';
Pic[14] = 'gifs/image14.jpg';
Pic[15] = 'gifs/image15.jpg';
Pic[16] = 'gifs/image16.jpg';
Pic[17] = 'gifs/image17.jpg';


// 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="revealTrans(duration=2)";
document.images.SlideShow.style.filter="revealTrans(duration=1,transition=25";
document.images.SlideShow.filters.revealTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.revealTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->
