 number_of_images = 5;

<!--Don't change anything below this line-->

  theDate = new Date();
  var seconds = theDate.getSeconds();
  var randNum = seconds % number_of_images;
  randNum+=1;
  document.write("<IMG SRC='rotation/image" + randNum + ".jpg' BORDER='0'>");