// JavaScript Document

var myRotate = new Array("/images/sample_flash.jpg","/images/sample_flash2.jpg","/images/sample_flash3.jpg")

function choosePic() {
  if (document.images) {
    randomNum =
  Math.floor((Math.random() * 10)) % 3
    document.myGraphic.src = myRotate[randomNum]
    }
  }