// (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 supplyspeed = 3000;

// Set the duration of crossfade (in seconds)
var blendyfade = 25;

var supplypic = new Array(); // don't change this
var textbox = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

supplypic[1]  = 'images/advert_ecs_01.jpg';
supplypic[2]  = 'images/advert_ecs_02.jpg';
supplypic[3]  = 'images/advert_ecs_03.jpg';
supplypic[4]  = 'images/advert_ecs_04.jpg';

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

textbox[1]  = "";
textbox[2]  = "";
textbox[3]  = "";
textbox[4]  = "";



// =====================================
// Do not edit anything below this line!
// =====================================

var iff;
var pee;
var tit = 1;
var peep = supplypic.length-1;

var preLoad = new Array();
for (pee = 1; pee < peep+1; pee++){
preLoad[pee] = new Image();
preLoad[pee].src = supplypic[pee];}

function runmainshow(){
if (document.all){
document.images.supplypic.style.filter="blendTrans(duration=2)";
document.images.supplypic.style.filter="blendTrans(duration=blendyfade)";
document.images.supplypic.filters.blendTrans.Apply();}
document.images.supplypic.src = preLoad[tit].src;
if (document.getElementById) document.getElementById("textbox").innerHTML= textbox[tit];
if (document.all) document.images.supplypic.filters.blendTrans.Play();
tit = tit + 1;
if (tit > (peep)) tit=1;
iff = setTimeout('runmainshow()', supplyspeed);
}