var slideShowSpeed = 3000
var t, j = 0;
var preLoad = new Array()

function preloadImg(pth){
	var i = preLoad.length
	preLoad[i] = new Image()
	preLoad[i].src = pth
}
			
function runSlideShow(){	
   if (document.all){
      document.images.SlideShow.style.filter="RevealTrans(duration=.3,transition=12)"
      document.images.SlideShow.filters.RevealTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src;
   if (document.all){
      document.images.SlideShow.filters.RevealTrans.Play()
   }
   j = j + 1;
   if (j > (preLoad.length-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

