// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 30;

var Picture = new Array(); // don't change this
var Caption = 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]  = 'photos/Image001.gif';
Picture[2]  = 'photos/Image002.gif';
Picture[3]  = 'photos/Image003.gif';
Picture[4]  = 'photos/Image004.gif';
Picture[5]  = 'photos/Image005.gif';
Picture[6]  = 'photos/Image006.gif';
Picture[7]  = 'photos/Image007.gif';
Picture[8]  = 'photos/Image008.gif';
Picture[9]  = 'photos/Image009.gif';
Picture[10]  = 'photos/Image0010.gif';
Picture[11]  = 'photos/Image0011.gif';
Picture[12]  = 'photos/Image0012.gif';
Picture[13]  = 'photos/Image0013.gif';
Picture[14]  = 'photos/Image0014.gif';
Picture[15]  = 'photos/Image0015.gif';
Picture[16]  = 'photos/Image0016.gif';
Picture[17]  = 'photos/Image0017.gif';
Picture[18]  = 'photos/Image0018.gif';





// =====================================
// 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);
}