
var currentdate = 0;
var core = 0;
 
function initArray() {
 
  this.length = initArray.arguments.length;
    for (var i = 0; i < this.length; i++) {
    this[i] = initArray.arguments[i];
    }
  }
   //---------------------------------------
   // insert as many filenames as you to like
   // in the list below to be rotated.
   //--------------------------------------- 
   
  image = new initArray(
  "images/pic_bottom01.jpg",
  "images/pic_bottom02.jpg"
);
 
var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranimage = image[core];             

