/*
To add a new image, add a new line below
*/
var custImg = new Array();
custImg[0] = '/img/customers/slideshow/bayer.gif';
custImg[1] = '/img/customers/slideshow/bosch.gif';
custImg[2] = '/img/customers/slideshow/danskebank.gif';
custImg[3] = '/img/customers/slideshow/dexiabank.gif';
custImg[4] = '/img/customers/slideshow/easynet.gif';
custImg[5] = '/img/customers/slideshow/entergy.gif';
custImg[6] = '/img/customers/slideshow/hitachi.gif';
custImg[7] = '/img/customers/slideshow/lockheedmartin.gif';
custImg[8] = '/img/customers/slideshow/merrilllynch.gif';
custImg[9] = '/img/customers/slideshow/pcgsoftware.gif';
custImg[10] = '/img/customers/slideshow/pinnaclesystems.gif';
custImg[11] = '/img/customers/slideshow/questsoftware.gif';
custImg[12] = '/img/customers/slideshow/siemens.gif';
custImg[13] = '/img/customers/slideshow/swisscom.gif';
custImg[14] = '/img/customers/slideshow/generalelectric.gif';




// image display time
var displayTime = 9000;

// Duration of crossfade (in seconds)
var crossFadeDuration = 4;

// code (do not edit)
var t;
var p = custImg.length;
var j = Math.round(Math.random() * p);
var preLoad = new Array();
preLoad[j] = new Image();
preLoad[j].src = custImg[j];

function runCustomersSlideShow() {
	if (document.all) {
		document.images.customersImg.style.filter="blendTrans(duration=2)";
		document.images.customersImg.style.filter="blendTrans(duration=crossFadeDuration)";
		document.images.customersImg.filters.blendTrans.Apply();
	}
	document.images.customersImg.src = preLoad[j].src;
	if (document.all) {
		document.images.customersImg.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 = custImg[j];
	t = setTimeout('runCustomersSlideShow()', displayTime);
}
