
// (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 = 5000;

// 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

Picture[1]  = 'pics/small_lighthouse_heceta_head.jpg';
Picture[2]  = 'pics/small_rosegarden1.jpg';
Picture[3]  = 'pics/small_autzen_stadium.jpg';
Picture[4]  = 'pics/small_fishing_boats_Yahats.jpg';
Picture[5]  = 'pics/small_river2.jpg';
Picture[6]  = 'pics/small_fishing_kids.jpg';
Picture[7]  = 'pics/small_the_pass.jpg';
Picture[8]  = 'pics/small_boat_fishing.jpg';

Caption[1]  = "Lighthouse - Heceta Head, Oregon";
Caption[2]  = "George E. Owen Memorial Rose Garden - Eugene, Oregon";
Caption[3]  = "Autzen Stadium - Eugene, Oregon";
Caption[4]  = "Fishing Harbor - Florence, Oregon";
Caption[5]  = "McKenzie River - Eugene, Oregon";
Caption[6]  = "Hills Creek Reservoir - Oakridge, Oregon";
Caption[7]  = "Willamette Pass - Oakridge, Oregon";
Caption[8]  = "Fishing the Siuslaw River - Oregon";

// =====================================
// 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);
}


