/*
To add an award, upload the image to the images directory,
then continue the pattern below, adding a new line for each image.
*/
var Pic = new Array();
Pic[0] = '/images/customers/gifs/avaya.gif';
Pic[1] = '/images/customers/gifs/ciscosystems.gif';
Pic[2] = '/images/customers/gifs/eds.gif';
Pic[3] = '/images/customers/gifs/fanniemae.gif';
Pic[4] = '/images/customers/gifs/fujitsu.gif';
Pic[5] = '/images/customers/gifs/gap.gif';
Pic[6] = '/images/customers/gifs/hitachi.gif';
Pic[7] = '/images/customers/gifs/honeywell.gif';
Pic[8] = '/images/customers/gifs/hpinvent.gif';
Pic[9] = '/images/customers/gifs/ibm.gif';
Pic[10] = '/images/customers/gifs/lockheed_martin.gif';
Pic[11] = '/images/customers/gifs/mercury.gif';
Pic[12] = '/images/customers/gifs/nttdata.gif';
Pic[13] = '/images/customers/gifs/raytheon.gif';
Pic[14] = '/images/customers/gifs/tata.gif';
Pic[15] = '/images/customers/gifs/tmobile.gif';
Pic[16] = '/images/customers/gifs/wachovia.gif';
Pic[17] = '/images/customers/gifs/sabre.gif';

// How long will each award display (in milliseconds)?
var displayTime = 3500;

// Duration of crossfade (in seconds)?
var crossFadeDuration = 2;

// do not edit anything below this line
var t;
var p = Pic.length;
var j = Math.round(Math.random() * p);
var preLoad = new Array();
preLoad[j] = new Image();
preLoad[j].src = Pic[j];

function runSlideShow() {
	if (document.all) {
		document.images.awardImages.style.filter="blendTrans(duration=2)";
		document.images.awardImages.style.filter="blendTrans(duration=crossFadeDuration)";
		document.images.awardImages.filters.blendTrans.Apply();
	}
	document.images.awardImages.src = preLoad[j].src;
	if (document.all) {
		document.images.awardImages.filters.blendTrans.Play();
	}
	oldj = j;
	j = Math.floor(Math.random() * p);
	if (oldj == j) {
		j = Math.floor(Math.random() * p);
	}
	preLoad[j] = new Image();
	preLoad[j].src = Pic[j];
	t = setTimeout('runSlideShow()', displayTime);
}
