<!--// please keep these lines on when you copy the source// made by: Nicolas - http://www.javascript-page.com
var currentdate = 0
var core = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '
  }
}

image = new StringArray(7)
image[0] = '../images/rotating/kids.jpg'
image[1] = '../images/rotating/lunch.gif'
image[2] = '../images/rotating/paint.jpg'
image[3] = '../images/rotating/water.jpg'
image[4] = '../images/rotating/buildings.jpg'
image[5] = '../images/rotating/coal.jpg'
image[6] = '../images/rotating/energyhomes.jpg'

var ran = 60/image.length

function ranimage() {
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
  return(image[core]
    )
}
-->
