// 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(1)
image[0] = 'titl/amsp-add.jpg'
image[1] = 'titl/amsp-add.jpg'
//image[2] = 'titl/titl45.jpg'
//[3] = 'titl/titl42.jpg'
//image[4] = 'titl/titl39.jpg'
//image[5] = 'titl/titl41.jpg'
//image[6] = 'titl/titl37.jpg'
//image[7] = 'titl/titl38.jpg'
//image[8] = 'titl/titl36.jpg'
//image[9] = 'titl/titl35.jpg'


var ran = 60/image.length

function ranimage() {
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
    return(image[core])
}

document.write("<img src='" +ranimage()+ "'>")

