var admovie=new Array()
admovie[0]='<iframe src="/home/imkino/film01.html" width="100%" height="165" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
admovie[1]='<iframe src="/home/imkino/film02.html" width="100%" height="165" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
admovie[2]='<iframe src="/home/imkino/film03.html" width="100%" height="165" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
admovie[3]='<iframe src="/home/imkino/film04.html" width="100%" height="165" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'

function randommovie(targetarray, spacing) {
  var randomorder=new Array()
  var the_one
  var z=3
  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++
    }
  }
}
