
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] = 'http://www.ilcouncilorchestras.org/files/HeaderPictures/cyso.gif'
image[1] = 'http://www.ilcouncilorchestras.org/files/HeaderPictures/ivso.gif'
image[2] = 'http://www.ilcouncilorchestras.org/files/HeaderPictures/kvyso.gif'
image[3] = 'http://www.ilcouncilorchestras.org/files/HeaderPictures/awd.gif'
image[4] = 'http://www.ilcouncilorchestras.org/files/HeaderPictures/nbso.gif'
image[5] = 'http://www.ilcouncilorchestras.org/files/HeaderPictures/oprf.gif'
image[6] = 'http://www.ilcouncilorchestras.org/files/HeaderPictures/prco.gif'


var ran = 9

function ranimage() {
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
    return(image[core])
}

