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

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

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

// Specify the image files...
Picture[1]  = 'graphics/wshps/puppetSS.jpg';
Picture[2]  = 'graphics/wshps/stnickSS.jpg';
Picture[3]  = 'graphics/wshps/handsSS.jpg';
Picture[4]  = 'graphics/wshps/jesterSS.jpg';
Picture[5]  = 'graphics/wshps/mckinlySS.jpg';
Picture[6]  = 'graphics/wshps/SculptHdSS.jpg';
Picture[7]  = 'graphics/wshps/skirtSS.jpg';

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

Caption[1]  = "Pop-up Puppet";
Caption[2]  = "St. Nick on a Stick";
Caption[3]  = "Hands on Hands";
Caption[4]  = "Fantasy Head";
Caption[5]  = "Articulated Body";
Caption[6]  = "Sculpt a Head";
Caption[7]  = "Skirted Figure";

// =====================================
// 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.
