var currentdate = 0
var core = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

image = new StringArray(3)
image[0] = 'lifestyle_oil_pourers.jpg'
image[1] = 'PRODUCT_RANGE.jpg'
image[2] = 'pourer_gifts_large.jpg'

var ran = 60/image.length

function ranplaudit() {
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
    return(image[core])
}

document.write("<img src='images/" +ranplaudit()+ "' alt='Olive Oil Pourers and Dipping Bowls' width='900' height='525' />")

//-->