// Code to Switch Quotes every

// Set the quote duration (in milliseconds)
var SwitchSpeed = 10000;

var Quote = new Array(); //don't change
var Source = new Array(); //don't change

Quote[1]="The aspects of things that are most important for us are hidden because of their simplicity and familiarity"; Source[1]="L. Wittgenstein";
Quote[2]="Luck is what happens when preparation meets opportunity."; Source[2]="J. A. Michener";
Quote[3]="What saves a man is to take a step. Then another step. It is always the same step, but you have to take it."; Source[3]="A. De Saint-Exupery";
Quote[4]="You lose it if you talk about it."; Source[4]="E. Hemingway";
Quote[5]="And those who were seen dancing were thought to be insane by those who could not hear the music."; Source[5]="F. Nietzche";
Quote[6]="You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions."; Source[6]="N. Mahfouz";
Quote[7]="Don't be surprised, Don't be startled; All things will arrange themselves. Don't cause a disturbance, Don't exert pressure; All things will clarify themselves."; Source[7]="Huai-nan-tzu";
Quote[8]="Always we hope someone else has the answer. Some other place will be better, it will all turn out. This is it. No one else has the answer. No other place will be better, and it has already turned out."; Source[8]="Lao-tzu";
Quote[9]="You can outdistance that which is running after you, but not what is running inside of you."; Source[9]="Rwandan Proverb";
Quote[10]="Something has to die in order for us to begin to know our truths."; Source[10]="A. Rich";
Quote[11]="Knowledge comes but wisdom lingers."; Source[11]="A. Lord Tennyson";
Quote[12]="Pray to God but hammer away."; Source[12]="Spanish Proverb";
Quote[13]="If your actions are sloppy, your understanding is sloppy, your life is sloppy, and everything is sloppy."; Source[13]="T. Maezumi";
Quote[14]="We must be the change we wish to see in the world."; Source[14]="Gandhi";
Quote[15]="Try to be like the turtle - at ease in your own shell."; Source[15]="B. Copeland";
Quote[16]="In prayer, come empty, do nothing."; Source[16]="St. John of the Cross";
Quote[17]="In the end these things matter most: How well did you love? How fully did you love? How deeply did you learn to let go?"; Source[17]="Buddha";
Quote[18]="If you understand, things are just as they are; if you do not understand, things are just as they are."; Source[18]="Zen Proverb";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var jss = 1;
var qss = Quote.length-1;

function runQuoteSwitcher(){
  document.getElementById("QuoteBox").innerHTML= "<p>"+Quote[jss]+"</p>"+"<p id=\"quotesource\"> ~"+Source[jss]+"</p>";
    jss = jss + 1;
  	if (jss > (qss)) jss=1;
  tss = setTimeout('runQuoteSwitcher()', SwitchSpeed);
}
