//SlideShow with Captions and Cross-Fade
//(C)2002 by CodeLifter.com

//Shows images and accompanying captions.
//Browsers: NS4-7,IE4-6
//Fade effect only in IE; degrades gracefully.
//NS4 shows default caption only.

//INSTRUCTIONS:

//Copy this entire script into a completely blank
//page.  Follow the commented instructions within.

// (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 SlideShowSpeed = 3500;

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

var tss;

// =====================================
// Do not edit anything below this line!
// =====================================

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 = preloadit[j].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= numslide[j][1];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
j = j + 1;
if (j > plg-1) j=0;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
