

var core = 0
var currentdate = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

quote = new StringArray(31)
quote[0] = "Health is not just the absence of disease; it is physical, social, emotional, and spiritual well-being."
quote[1] = "We make a living by what we get, but we make a life by what we give."
quote[2] = "The doctor of the future will give no medicine, but will interest his patients in the care of the human frame, in diet, and in the cause and prevention of disease."
quote[3] = "We don’t see things as they are, we see them as we are."
quote[4] = "Be careful about reading health books. You may die of a misprint."
quote[5] = "Good friends are good for your health."
quote[6] = "A man too busy to take care of his health is like a mechanic too busy to take care of his tools."
quote[7] = "The state of your life is nothing more than a reflection of your state of mind."
quote[8] = "Keep away from people who try to belittle your ambitions. Small people always do that, but the really great ones make you feel that you too, can become great."
quote[9] = "The body is intricately simple and simply intricate."
quote[10] = "You are not what you eat. You are what you eat, digest and absorb."
quote[11] = "The highest good is to find the cause."
quote[12] = "Do or do not. There is no try."
quote[13] = "Never compare yourself with others, because you either get proud or humbled. You are only in competition with one person… yourself."
quote[14] = "Don’t do what you have always done or you will get what you have always got."
quote[15] = "Magic is any sufficiently advanced technology."
quote[16] = "If we all did the things we are capable of doing, we would literally astound ourselves."
quote[17] = "Beautiful young people are accidents of nature, but beautiful old people are works of art."
quote[18] = "If the only tool you have is a hammer, you tend to see every problem as a nail."
quote[19] = "May you live all the days of your life."
quote[20] = "The better life cannot be imposed from without—it must grow from within."
quote[21] = "The four most handicapping words in the English language are can't, won't, don't and yeah-but."
quote[22] = "Twenty years from now you will be more disappointed by the things you didn't do than by the ones you did."
quote[23] = "Don't let what you cannot do interfere with what you can do."
quote[24] = "We are what we repeatedly do. Excellence, therefore, is not an act but a habit."
quote[25] = "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind."
quote[26] = "Whether you think that you can, or that you can't, you are usually right."
quote[27] = "It is the body, not medicine, that is the hero."
quote[28] = "Surely God would not have created such a being as man to exist only for a day! No, no, man was made for immortality."
quote[29] = "A candle loses nothing by lighting another candle."
quote[30] = "You can’t recognize what you don’t know."


author = new StringArray(31)
author[0] = "Deepak Chopra, M.D."
author[1] = "Winston Churchill"
author[2] = "Thomas A. Edison"
author[3] = "Anais Nin"
author[4] = "Mark Twain"
author[5] = "Irwin Sarason"
author[6] = "Spanish Proverb"
author[7] = "Dr. Wayne W. Dyer"
author[8] = "Mark Twain"
author[9] = "George Goodheart, D.C."
author[10] = "Timothy Francis, D.C."
author[11] = "Hippocrates"
author[12] = "Yoda"
author[13] = "Timothy Francis, D.C."
author[14] = "Jim Rohn"
author[15] = "Carl Sagan"
author[16] = "Thomas A. Edison"
author[17] = "Eleanor Roosevelt"
author[18] = "Abraham Maslow"
author[19] = "Jonathan Swift"
author[20] = "Annette Funicello"
author[21] = "Pat Parelli"
author[22] = "Mark Twain"
author[23] = "John Wooden"
author[24] = "Aristotle"
author[25] = "Dr. Suess"
author[26] = "Henry Ford"
author[27] = "Ronald J. Glasser, M.D."
author[28] = "Abraham Lincoln"
author[29] = "Erin Majors"
author[30] = "George Goodheart, D.C."


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 thebreak = '<div class="author">&#151;'
var theq = '"'
var theend = '</div>'

document.write(theq + thequote + theq + thebreak + theauthor + theend)

