// JavaScript Document
function chooseOne1(seed) {
      randomNum1 = Math.floor((Math.random() * seed));
      randomNum1=randomNum1;
      return randomNum1;
}      
function randomize1() {     
      var randomNum1=chooseOne1(5);
      if (randomNum1>5) randomNum1=0
	  var thatpic="images/dyn/home_"+randomNum1+".jpg";
      document.refresh1.src = thatpic;
}