
// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed1 = 5000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration1 = 5;

var Picture1 = new Array(); // don't change this
var Caption1 = 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!

Picture1[1]  = 'images/slideshow1-1.jpg';
Picture1[2]  = 'images/slideshow1-2.jpg';
Picture1[3]  = 'images/slideshow1-3.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!

Caption1[1]  = "This is the first caption.";
Caption1[2]  = "This is the second caption.";
Caption1[3]  = "This is the third caption.";
Caption1[4]  = "This is the fourth caption.";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss1;
var iss1;
var jss1 = 1;
var pss1 = Picture1.length-1;

var preLoad1 = new Array();
for (iss1 = 1; iss1 < pss1+1; iss1++){
preLoad1[iss1] = new Image();
preLoad1[iss1].src = Picture1[iss1];}

function runSlideShow1(){
if (document.all){
document.images.PictureBox1.style.filter="blendTrans(duration=2)";
document.images.PictureBox1.style.filter="blendTrans(duration=CrossFadeDuration1)";
document.images.PictureBox1.filters.blendTrans.Apply();}
document.images.PictureBox1.src = preLoad1[jss1].src;
if (document.all) document.images.PictureBox1.filters.blendTrans.Play();
jss1 = jss1 + 1;
if (jss1 > (pss1)) jss1=1;
tss1 = setTimeout('runSlideShow1()', SlideShowSpeed);
}

