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

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

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
Picture[1]  = 'graphics/sshow/02knight.jpg';
Picture[2]  = 'graphics/sshow/13release.jpg';
Picture[3]  = 'graphics/sshow/14beekeep.jpg';
Picture[4]  = 'graphics/sshow/04gandlf.jpg';
Picture[5]  = 'graphics/misc/humpty/humptyS.jpg';
Picture[6]  = 'graphics/royalcourt/king/kingS.jpg';
Picture[7]  = 'graphics/sshow/15applepick.jpg';
Picture[8]  = 'graphics/misc/mothergoose/mgooseS.jpg';
Picture[9]  = 'graphics/misc/nghtngale/nghtgaleS.jpg';
Picture[10] = 'graphics/sshow/16hogcall.jpg';
Picture[11] = 'graphics/sshow/17moses.jpg';
Picture[12] = 'graphics/sshow/18taster.jpg';

// Specify the Captions...
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "Knight Iguana";
Caption[2]  = "Release .. Spirit";
Caption[3]  = "Bee Keeper";
Caption[4]  = "Gandolf";
Caption[5]  = "Humpty";
Caption[6]  = "I Am King";
Caption[7]  = "Apple Picker";
Caption[8]  = "Mother Goose";
Caption[9]  = "Nightengale";
Caption[10] = "Hog Caller";
Caption[11] = "Moses";
Caption[12] = "Royal Taster";

// =====================================
// 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.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

//</script>
//</head>

<!--
//Add the onload=runSlideShow() event call to the body tag.
//-->
<!--
//The following table holds the images and captions.
//Place the table in your page where you want the slideshow
//to appear.  Follow the instructions for each table cell.
//o-note: css table .sshow
// The img src must have name=PictureBox in its tag.
// example  <img src=Image001.jpg name=PictureBox width=350 height=280>
//-->
// The next table cell holds the captions.
//    This table cell must have id=CaptionBox and class=Caption in its tag. 
// The default caption shows whilst loading in all browsers; 
// NS4 will show only the default caption (Odaca Artists), throughout.
