// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

// Revised 11/05/2000 by B.Leandro to accept an array & alignment argument 

theImages = new Array
var currentdate = 0
var core = 0


function ranimage() {
  var ran = 60/theImages.length
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
    return(theImages[core])
}


function randomImages(a, alignment) {
  theImages = a
  document.write("<img src='" +ranimage()+ "' align='" + alignment + "'>");
}

