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

var imageblock=new Array()
imageblock[0]='<a href="#"><img src="img/rotator/oneliner-01.jpg" width="348" height="174" border="0" /></a>'
imageblock[1]='<a href="#"><img src="img/rotator/oneliner-02.jpg" width="348" height="174" border="0" /></a>'
imageblock[2]='<a href="#"><img src="img/rotator/oneliner-03.jpg" width="348" height="174" border="0" /></a>'
imageblock[3]='<a href="#"><img src="img/rotator/oneliner-04.jpg" width="348" height="174" border="0" /></a>'
imageblock[4]='<a href="#"><img src="img/rotator/oneliner-05.jpg" width="348" height="174" border="0" /></a>'
imageblock[5]='<a href="#"><img src="img/rotator/oneliner-06.jpg" width="348" height="174" border="0" /></a>'
imageblock[6]='<a href="#"><img src="img/rotator/oneliner-07.jpg" width="348" height="174" border="0" /></a>'
imageblock[7]='<a href="#"><img src="img/rotator/oneliner-08.jpg" width="348" height="174" border="0" /></a>'
imageblock[8]='<a href="#"><img src="img/rotator/oneliner-09.jpg" width="348" height="174" border="0" /></a>'
imageblock[9]='<a href="#"><img src="img/rotator/oneliner-10.jpg" width="348" height="174" border="0" /></a>'
imageblock[10]='<a href="#"><img src="img/rotator/oneliner-11.jpg" width="348" height="174" border="0" /></a>'
imageblock[11]='<a href="#"><img src="img/rotator/oneliner-23.jpg" width="348" height="174" border="0" /></a>'
imageblock[12]='<a href="#"><img src="img/rotator/oneliner-14.jpg" width="348" height="174" border="0" /></a>'
imageblock[13]='<a href="#"><img src="img/rotator/oneliner-15.jpg" width="348" height="174" border="0" /></a>'
imageblock[14]='<a href="#"><img src="img/rotator/oneliner-16.jpg" width="348" height="174" border="0" /></a>'
imageblock[15]='<a href="#"><img src="img/rotator/oneliner-17.jpg" width="348" height="174" border="0" /></a>'
imageblock[16]='<a href="#"><img src="img/rotator/oneliner-18.jpg" width="348" height="174" border="0" /></a>'
imageblock[17]='<a href="#"><img src="img/rotator/oneliner-19.jpg" width="348" height="174" border="0" /></a>'
imageblock[18]='<a href="#"><img src="img/rotator/oneliner-20.jpg" width="348" height="174" border="0" /></a>'
imageblock[19]='<a href="#"><img src="img/rotator/oneliner-21.jpg" width="348" height="174" border="0" /></a>'
imageblock[20]='<a href="#"><img src="img/rotator/oneliner-22.jpg" width="348" height="174" border="0" /></a>'
imageblock[21]='<a href="#"><img src="img/rotator/oneliner-23.jpg" width="348" height="174" border="0" /></a>'
imageblock[22]='<a href="#"><img src="img/rotator/oneliner-24.jpg" width="348" height="174" border="0" /></a>'
imageblock[23]='<a href="#"><img src="img/rotator/oneliner-25.jpg" width="348" height="174" border="0" /></a>'
imageblock[24]='<a href="#"><img src="img/rotator/oneliner-26.jpg" width="348" height="174" border="0" /></a>'
imageblock[25]='<a href="#"><img src="img/rotator/oneliner-27.jpg" width="348" height="174" 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=25
  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++
    }
  }
}
