
myPix = new Array("/images/home_pic1.jpg", "/images/home_pic2.jpg", "/images/home_pic3.jpg", "/images/home_pic4.jpg", "/images/home_pic5.jpg", "/images/home_pic6.jpg", "/images/home_pic7.jpg", "/images/home_pic8.jpg")

imgCt = myPix.length

function choosePic() {
      if (document.images) {
       randomNum = Math.floor
            ((Math.random() * imgCt))
       document.myPicture.src = myPix[randomNum]
       }
}

