<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var core = 0
var currentdate = 0

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

quote = new StringArray(13)
quote[0] = "Great difficulties arise from easy work, a great event starts from trifles."
quote[1] = "A long journey begins with the first step."
quote[2] = "Make friends with people who are better than you."
quote[3] = "Lack of foresight is bound to suffer troubles of immediate cause."
quote[4] = "A man of virtue sets great store by foundations; solid foundations are the key to succes."
quote[5] = "Setting a good example saves you the trouble of giving orders to you men."
quote[6] = "He is the best fighter who brings his opponents to his knees without a fight."
quote[7] = "Ask your subjects surprising questions now and then and they will not lie."
quote[8] = "A master tactician never misses the opportunity for victory."
quote[9] = "Useless trees live long."
quote[10] = "Even Heaven cannot change a man's strong will."
quote[11] = "A great sage may look somewhere imperfect."
quote[12] = "Success is the journey..., not the destination."
quote[13] = "Knowing is not enough, we must apply; Willing is not enough, we must do."

author = new StringArray(13)
author[0] = "Lao Tzu"
author[1] = "Lao Tzu"
author[2] = "Confucius"
author[3] = "Confucius"
author[4] = "Confucius"
author[5] = "Confucius"
author[6] = "Sun Tzu"
author[7] = "Han Fei Tzu"
author[8] = "Han Fei Tzu"
author[9] = "Zhuang Tzu"
author[10] = "Cai Qen Tan"
author[11] = "Lao Tzu"
author[12] = "Bruce Lee"
author[13] = "Bruce Lee"
var ran = 60/quote.length

currentdate = new Date()
core = currentdate.getSeconds()
adcore = Math.floor(core/ran)
core = adcore

var thequote = quote[core]
var theauthor = author[core]
var theq = '"'

document.write('<i>' + theq + thequote + theq + '</i>' + '<br>' + '- ' + theauthor)
//-->
