

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(6)
quote[0] = "Thinking is the hardest work there is, which is probably the reason why so few engage in it "
quote[1] = "149 million active Internet users in US alone "
quote[2] = "Vision is the art of seeing things invisible "
quote[3] = "Worldwide B2B e-commerce will total $823.4 billion by the end of 2002 "
quote[4] = "81% of Internet users find new sites from the major search engines "
quote[5] = "Businessmen are the symbol of a free society "
quote[6] = "Over 1,500,000 searches for ACCOUNTANT in last 12 months "

author = new StringArray(6)
author[0] = " Henry Ford "
author[1] = " Computer Industry Almanac "
author[2] = " Jonathan Swift "
author[3] = " eMarketer "
author[4] = " Computer Industry Almanac "
author[5] = " Ayn Rand "
author[6] = " Variuos sources "

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>'  )
}



