/*
Title:			JavaScript for displaying a randomly selected quote
				or testimonial when the file loads. The text that 
				displays is determined by the contents of the array. 
Author:			Rene Matchette
Cluster:		IERDL.011.130
Create Date:	2003.02.13
File Name:	 	randomquotes.js / randomtesti.js
Comments: 		The code is the same for both scripts. The difference is
				is in the text in the array. To break lines, use the <br>
				code. Similarly, you can use the HTML formatting codes, 
				like <b></b> and <i></i>
Primary Source:	Crows JavaScripts -- Free JavaScript Examples	
				http://www.crows.co.uk/Javascript/quotes.htm
							
Instructions: 	Put this file in the scripts file for the site. For example, mq/assets/scripts. 	
				
				Place the following text in the body of the document. 

				<!-- External JavaScript that provides random testimonials or quotes -->
				<script src="assets/scripts/randomquotes.js" language="JavaScript" type="text/javascript">
				<!--- Begin JavaScript	
				function quote();
				// End JavaScript --->
				</script>
				
				<noscript>
				*** The text you want to display when JavaScript is not in use. ***
				</noscript>
				
*/	



//Define the quote function
function quote() { 
//Random Quotes
} ; quote = new quote() ; n = 0

// Quote database------------------------------------
  quote[n++]= "Success is a journey, not a destination. <br><br><b>Ben Sweetland</b>"
  
  quote[n++]= "All of us are born for a reason, but all of us don't discover why. Success in life has nothing to so with what you gain in life or accomplish for yourself. It's what you do for others. <br><br><b>Danny Thomas</b>"
  
  quote[n++]= "Success is knowing what your values are and living in a way consistent with your values. <br><br><b>Danny Cox</b>"
  
  quote[n++]= "I think success has no rules, but you can learn a great deal from failure. <br><br><b>Jean Kerr</b>"
  
  quote[n++]= "Six essential qualities that are key to success: Sincerity, personal integrity, humility, courtesy, wisdom, and charity. <br><br><b>Dr. William Menninger</b>"
  
  quote[n++]= "What lies behind us and what lies before us are small matters compared to what lies within us. <br><br><b>Ralph Waldo Emerson</b>"

  quote[n++]= "There is only one success &#151; to be able to spend your life in your own way. <br><br><b>Christopher Morley</b>"
  
  quote[n++]= "It's good to have money and the things money can buy, but it's good too, to check once in a while and make sure that you haven't lost the things that money can't buy. <br><br><b>George Horace Lorimer</b>"
	
  quote[n++]= "Choice, not chance, determines destiny. <br><br><b>Anonymous</b>"
  
  quote[n++]= "Efforts and courage are not enough without purpose and direction. <br><br><b>John F. Kennedy</b>"  
  
  quote[n++]= "I have learned that success is to be measured not so much by the position that one has reached in life as by the obstacles which one has overcome while trying to succeed. <br><br><b>Booker T. Washington</b>"  
  
  quote[n++]= "Be still like a mountain and flow like a great river. <br><br><b>Lao Tse</b>"   
  
  quote[n++]= "If one is in harmony with Tao - the cosmic Tao - the answer will make itself clear when the time comes to act, for then one will not act not according to the human and self-conscious mode of deliberation, but according to the divine and spontaneous mode of wu wei (non-action). <br><br><b>The Way of Chuang Tzu<br>Thomas Merton</b>"    
  
  quote[n++]= "Heaven in motion; the strength of the dragon. <br> The man nerves himself for ceaseless activity. <br><br><b>I Ching - Hexagram 1 - Yang<br>translation by<br>Reifler</b>"
  
  quote[n++]= "To practice properly the Art of Peace, you must: <br>Calm the spirit and return to the source. <br>Cleanse the body and spirit by removing all, malice, selfishness, and desire. <br>Be ever grateful for the gifts received from the universe, your family, Mother Nature, and your fellow human beings. <br><br><b>The Art of Peace - Morihei Ueshiba <br>translated by John Stevens</b>"
  
  quote[n++]= "Hard things are put in our way, not to stop us, but to call out our courage and strength. <br><br><b>Anonymous</b>" 
  
  quote[n++]= "When I have a little money, I buy books, if there's anything left, food and drink.<br><br><b>attributed to Erasmus</b>"  
  
  quote[n++]= "Two men met on a road many years after they had been released from a prisoner of war camp. They had been starved, beaten and tortured. The first man still spoke venomously of his captors, saying that he would hate them until the day he died. The second looked at his friend sadly and said: &quot;How unfortunate that, after all these years, they still have you in prison.&quot;<br><br><b>Anonymous</b>"

  
  
/*   quote[n++]= "--- place quote between quote marks. use no other quote marks! use html or ascii codes ---" */
  
i=Math.floor(Math.random() * n) ;
document.write( quote[i] ) ;