var currentdate = 0
var core = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

image = new StringArray(17)
image[0] = '/img/rotation/01.gif'
image[1] = '/img/rotation/02.gif'
image[2] = '/img/rotation/03.gif'
image[3] = '/img/rotation/04.gif'
image[4] = '/img/rotation/05.gif'
image[5] = '/img/rotation/06.gif'
image[6] = '/img/rotation/07.gif'
image[7] = '/img/rotation/08.gif'
image[8] = '/img/rotation/09.gif'
image[9] = '/img/rotation/10.gif'
image[10] = '/img/rotation/11.gif'
image[11] = '/img/rotation/12.gif'
image[12] = '/img/rotation/13.gif'
image[13] = '/img/rotation/14.gif'
image[14] = '/img/rotation/15.gif'
image[15] = '/img/rotation/16.gif'
image[16] = '/img/rotation/17.gif'

var ran = 60/image.length

function ranimage() {
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
    return(image[core])
}

// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com


