

function ImageArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

iquote = new ImageArray(3)
iquote[0] = "images/HomeBanner/1.jpg"
iquote[1] = "images/HomeBanner/2.gif"
iquote[2] = "images/HomeBanner/3.gif"


function writeImage()
{

var now = new Date()
var sec = now.getSeconds()
var core = sec % iquote.length

var thequote = iquote[core]
var theq = '<img border="0" src="'
var theend = '">'


document.write( '' + theq + thequote + theend + ''  )
}

