// (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 = 3;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

Picture[1]  = 'images/slideshow3/jmartin.jpg';
Picture[2]  = 'images/slideshow3/till.jpg';
Picture[3]  = 'images/slideshow3/dudley.jpg';
Picture[4]  = 'images/slideshow3/shaws.jpg';
Picture[5]  = 'images/slideshow3/plantcourt.jpg';
Picture[6]  = 'images/slideshow3/gallagher.jpg';

Caption[1]  = "June Pre-construction";
Caption[2]  = "Week 2 – July 19 – Foundations";
Caption[3]  = "Week 6 – August 16 – Underground";
Caption[4]  = "Week 7 – August 23 – Backfill";
Caption[5]  = "Week 9 – September 6 – Steel Erection";
Caption[6]  = "Week 10 – September 13 – Steel/Masonry";

// =====================================
// 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.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}