var slideShowSpeed4 = 4000
var crossFadeDuration = 3 

var Pic4 = new Array()

Pic4[0] = 'uploads/Image/blotevoetenpad1.jpg'
Pic4[1] = 'uploads/Image/blotevoetenpad2.jpg'

var t4
var j4 = 0
var p4 = Pic4.length

var preLoad4 = new Array()
for (i4 = 0; i4 < p4; i4++){
  preLoad4[i4] = new Image()
  preLoad4[i4].src = Pic4[i4]
}

function runSlideShow4(){
  if (document.all){
     document.images.SlideShow4.style.filter="blendTrans(duration=2)"
     document.images.SlideShow4.style.filter="blendTrans(duration=crossFadeDuration)"
     document.images.SlideShow4.filters.blendTrans.Apply()
  }
  document.images.SlideShow4.src = preLoad4[j4].src
  if (document.all){
     document.images.SlideShow4.filters.blendTrans.Play()
  }
  j4 = j4 + 1
  if (j4 > (p4-1)) j4=0
  t = setTimeout('runSlideShow4()', slideShowSpeed4)
}