function rotateImage(imageList)
{
  var r = Math.floor(Math.random() * imageList.length);
  document.write('<img src="' + imageList[r] + '"  border="0">');
}

function showImage()
{
  var theImages = new Array();
  theImages[0] = '/images/top/home1.jpg';
  theImages[1] = '/images/top/home2.jpg';
  theImages[2] = '/images/top/home3.jpg';
  theImages[3] = '/images/top/home4.jpg';
  theImages[4] = '/images/top/home5.jpg';

  rotateImage(theImages);
}
