// JavaScript Document

var time=2;
var rtime=10000;
var image= new Array();
  
image[0] = "img/all/topimage00.jpg";
image[1] = "img/all/topimage01.jpg";
image[2] = "img/all/topimage02.jpg";
image[3] = "img/all/topimage03.jpg";
image[4] = "img/all/topimage04.jpg";
image[5] = "img/all/topimage05.jpg";
image[6] = "img/all/topimage06.jpg";
image[7] = "img/all/topimage07.jpg";
image[8] = "img/all/topimage08.jpg";
image[9] = "img/all/topimage09.jpg";
image[10] = "img/all/topimage10.jpg";
image[11] = "img/all/topimage11.jpg";

function randimage(){
  imgframe.filters.blendTrans.Apply();
  imgframe.filters.blendTrans.duration=time;
  x=Math.floor(Math.random() * image.length);
  imgframe.src=image[x];
  imgframe.filters.blendTrans.Play();
  t=setTimeout('randimage()',rtime);
}
