
function runSlideShow() {
	if (document.images.SlideShow) {
		
			//if (navigator.appName == "Microsoft Internet Explorer") {
			if (document.images.SlideShow.filters) {
				document.images.SlideShow.style.filter="blendTrans(duration=2)";
				document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
				document.images.SlideShow.filters.blendTrans.Apply();
			}
			if (preImg.src != '') {
			document.images.SlideShow.src = preImg.src;
			}
				//if (navigator.appName == "Microsoft Internet Explorer") {
				if (document.images.SlideShow.filters) {
					document.images.SlideShow.filters.blendTrans.Play();
				}
		
				if (randomdisplay) {
					j = Math.floor(Math.random() * p);
				}
				else {
					j = j + 1;
					if (j > p - 1) j = 0;
				}
				preImg.src = preLoad[j];
					
				t = setTimeout('runSlideShow()', slideShowSpeed);

	}
}

