Hi folks,

This code used to work in IE but now with the latest version of IE nothing happens.

It works well in Chrome, Firefox etc. Just IE I am having the problem with.


Here is my code:

Code:
// Set slideShowSpeed (milliseconds)
	var slideShowSpeed = 5000;
	
// Duration of crossfade (seconds)
	var crossFadeDuration = 19;
	
	var firstdisplay = true;
// Specify the image files
	var slidePic = new Array();
	var slideTitle = new Array();



// to add more images, just continue the pattern, adding to the array below
	slidePic[0] = 'http://www.fraserburgh-harbour.co.uk/new/images/pic1.jpg';
	slidePic[1] = 'http://www.fraserburgh-harbour.co.uk/new/images/pic2.jpg';

	
	
	// to add more images, just continue the pattern, adding to the array below
	slideTitle[0] = 'Fish markets from Golden Horn';
	slideTitle[1] = 'North Breakwater';
	
		
// do not edit anything below this line
	var t;
	var j = 0;
	var k = j+1;
	var l = j+2;
	var m = j+3;
	var n = j+4;
	var o = j+5;


	var p = slidePic.length;
	var preLoad = new Array();
	
	for (i = 0; i < p; i++) {
		preLoad[i] = new Image();
		preLoad[i].src = slidePic[i];
	}

function runHomeSlideShow() {
		
		if (document.all) {
			document.images.slideshow.style.filter="blendTrans(duration=2)";
			document.images.slideshow.style.filter="blendTrans(duration=crossFadeDuration)";
			document.images.slideshow.filters.blendTrans.Apply();
		}

	//  get random number
		varNum1 = Math.round(Math.random()* (p-1));
		document.images.slideshow.src = preLoad[varNum1].src;
		document.images.slideshow.title = slideTitle[varNum1];
		
		
		if (document.all) {
			document.images.slideshow.filters.blendTrans.Play();
		}
		
		j = j + 1;
	
		if (j > (p - 1)) j = 0;
		t = setTimeout('runHomeSlideShow()', slideShowSpeed);
	
		
}
Any ideas ???

Thanks,

John