var ShowPicture = new Array();
ShowPicture[1]  = 'img/eng_package_6_logos1.gif';
ShowPicture[2]  = 'img/eng_package_6_logos2.gif'; 

// Set the slideshow speed (in ms)
var SlideShowSpeed = 4000;
// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 6;

// Declare variables
var slide_current;
var slide_next = 1;
var slide_total = ShowPicture.length-1;

var preLoad = new Array();
for (slide_current = 1; slide_current < slide_total+1; slide_current++){
preLoad[slide_current] = new Image();
preLoad[slide_current].src = ShowPicture[slide_current];
}

function runSlideShow(){
	if (document.all){
		document.images.slide.style.filter="blendTrans(duration=CrossFadeDuration)";
		document.images.slide.filters.blendTrans.Apply();
	}

	document.images.slide.src = preLoad[slide_next].src;

	if (document.all){
		document.images.slide.filters.blendTrans.Play()
	}

	slide_next = slide_next + 1;

	if (slide_next > (slide_total)){
		slide_next=1
	}
	tss = setTimeout('runSlideShow()', SlideShowSpeed);
}