//  Plaats hieronder de Images met of zonder de href  //

var imageblock=new Array()
imageblock[0]='<a href="#"><img src="rotator/image-01.jpg" width="318" height="353" border="0" /></a>'
imageblock[1]='<a href="#"><img src="rotator/image-02.jpg" width="318" height="353" border="0" /></a>'
imageblock[2]='<a href="#"><img src="rotator/image-03.jpg" width="318" height="353" border="0" /></a>'
imageblock[3]='<a href="#"><img src="rotator/image-04.jpg" width="318" height="353" border="0" /></a>'
imageblock[4]='<a href="#"><img src="rotator/image-05.jpg" width="318" height="353" border="0" /></a>'

//  Om één Image te tonen moet z= gelijk zijn aan het aantal images -1  //

function randomorder(targetarray, spacing) {
  var randomorder=new Array()
  var the_one
  var z=4
  for (i=0;i<targetarray.length;i++)
  randomorder[i]=i

  while (z<targetarray.length) {
    the_one=Math.floor(Math.random()*targetarray.length)
    if (targetarray[the_one]!="_selected!"){
      document.write(targetarray[the_one]+spacing)
      targetarray[the_one]="_selected!"
      z++
    }
  }
}

