// JavaScript Document
function chooseOne(seed) {
      randomNum = Math.floor((Math.random() * seed));
      randomNum=randomNum;
      return randomNum;
}      
function randomize() {     
      var randomNum=chooseOne(7);
      if (randomNum>7) randomNum=0
      var thispic="images/dyn/refresh_"+randomNum+".jpg";
      document.refresh.src = thispic;
}