// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 4000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 5;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...

Picture[1]  = 'a-dall-sheep.jpg';
Picture[2]  = 'a-ship-creek.jpg';
Picture[3]  = 'a-anchorage-lights.jpg';
Picture[4]  = 'a-eklutna.jpg';
Picture[5]  = 'a-iditarod-start.jpg';
Picture[6]  = 'a-big-game-alaska.jpg';
Picture[7]  = 'a-anchorage-zoo.jpg';
Picture[8]  = 'a-portage-glacier.jpg';
Picture[9]  = 'a-b-tide.jpg';
Picture[10] = 'a-anchorage-shopping.jpg';

// Specify the Captions...

Caption[1]  = "Dall Sheep above Anchorage’s Turnagain Arm";
Caption[2]  = "Salmon fishing on Anchorage’s Ship Creek";
Caption[3]  = "Northern lights over Anchorage";
Caption[4]  = "Eklutna native cemetary";
Caption[5]  = "Anchorage start of the Iditarod Trail Race";
Caption[6]  = "Big Game Alaska Wildlife Center";
Caption[7]  = "Up close and personal at the Anchorage Zoo";
Caption[8]  = "Portage glacier and visitor center";
Caption[9]  = "Bore Tide on Anchorage’s Turnagain Arm";
Caption[10] = "Souvenir shopping in Anchorage";

// =====================================
// 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);
}