var currentdate = 0
var core = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

image = new StringArray(16)
image[0] = 'quote_01.gif'
image[1] = 'quote_02.gif'
image[2] = 'quote_03.gif'
image[3] = 'quote_04.gif'
image[4] = 'quote_05.gif'
image[5] = 'quote_06.gif'
image[6] = 'quote_07.gif'
image[7] = 'quote_08.gif'
image[8] = 'quote_09.gif'
image[9] = 'quote_10.gif'
image[10] = 'quote_11.gif'
image[11] = 'quote_12.gif'
image[12] = 'quote_13.gif'
image[13] = 'quote_14.gif'
image[14] = 'quote_15.gif'
image[15] = 'quote_16.gif'
image[16] = 'quote_17.gif'

var ran = 60/image.length

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

//document.write("<style type='text/css'>/*<![CDATA[*/@import url(css/rotate/home/home_bgrototate_" + ranimage() + ");/*]]>*/</style>")

//document.write("<img src=../img/"  + ranimage() + " alt="Testimonial" />")