// (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 PhotoShowSpeed = 8000;

// Set the duration of crossfade (in seconds)
var FadeDuration = 3;

var Photo = new Array(); // don't change this



Photo[1]  = './_images/employment1.jpg';
Photo[2]  = './_images/employment2.jpg';
Photo[3]  = './_images/employment3.jpg';




// =====================================
// Do not edit anything below this line!
// =====================================

var tff;
var iff;
var jff = 1;
var pff = Photo.length-1;

var preDownload = new Array();
for (iff = 1; iff < pff+1; iff++){
preDownload[iff] = new Image();
preDownload[iff].src = Photo[iff];}

function runPhotoShow(){
if (document.all){
document.images.PhotoBox.style.filter="blendTrans(duration=2)";
document.images.PhotoBox.style.filter="blendTrans(duration=FadeDuration)";
document.images.PhotoBox.filters.blendTrans.Apply();}
document.images.PhotoBox.src = preDownload[jff].src;

if (document.all) document.images.PhotoBox.filters.blendTrans.Play();
jff = jff + 1;
if (jff > (pff)) jff=1;
tff = setTimeout('runPhotoShow()', PhotoShowSpeed);
}

