

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(5)
quote[0] = "Provides Consulting and Engineering Services"
quote[1] = "Provides Engineering Advisorary Services"
quote[2] = "Provides Procurement, Construction and Project Management Services"
quote[3] = "Provides Maintenance and Asset Management Support"
quote[4] = "Provides Manufacturing and Sourcing of Equipment and Systems"

author = new StringArray(5)
author[0] = " "
author[1] = " "
author[2] = " "
author[3] = " "
author[4] = " "


function writeQuote()
{
var now = new Date()
var sec = now.getSeconds()
var core = sec % quote.length

var thequote = quote[core]
var theauthor = author[core]
var theq = '&quot;'
var theend = ''


document.write( '<i>' + theq + thequote + theq + " " + theauthor + '</i>'  )
}


