//Source: http://codepunk.hardwar.org.uk/ajs13.htm

//quote array
	quoteList = new Array(); 
	quoteList[0] = "A man who does not plan long ahead will find trouble right at his door. --Confucius";
	quoteList[1] = "What counts is not necessarily the size of the dog in the fight - it's the size of fight in the dog.  --Dwight D. Eisenhower";
	quoteList[2] = "Failure comes only when we forget our ideals and objectives and principles.  --Jawaharal Nehru";
	quoteList[3] = "Victorious winners win first and then go to war, while defeated warriors go to war first then seek to win.  --Sun Tzu";
	quoteList[4] = "One must learn how to apply the principles of the kata and how to bend with the winds of adversity.  --Choki Motobu";
	quoteList[5] = "Bombs do not choose.  They will hit everything.  --Nikita S. Khrushchev";
	quoteList[6] = "They attack with one purpose and one purpose only - to destroy the enemy.  They do not take false postures when they prepare for attack.  They simply attack with all their heart and soul.  --Miyamoto Musashi";
	quoteList[7] = "The origin of kata was a two-man tandem sparring form... It was the kumite of one vs. one.  Therefore, when the ancient people rearranged it into a dance-like kata, they maintained its original concept of man-to-man combat.  --Seikichi Toguchi";
	quoteList[8] = "Once a form has been learned, it must be practiced repeatedly until it can be applied in an emergency, for knowledge of just the sequence of a form in karate is useless.  --Gichin Funakoshi";
	quoteList[9] = "In attacking techniques...the movements must be straight and quick, so as to take the most direct path to the opponent.  --Morio Higaonna";
	quoteList[10] = "Those skilled at making the enemy move do so by creating a situation to which he must conform. --Sun Tzu";
	quoteList[11] = "I'm not in favor of punching a person's jaw with a fist, since it's not much different than ramming your fist into a horseshoe.  I've broken my hand doing it, and I know of others who have as well.  Since I've never used my palm to strike someone in the jaw with the intention of knocking them out, I can't speak from experience as to the results.  My guess is that it would do the job.  --Loren Christensen";
	quoteList[12] = "Do not let the body be dragged along by the mind nor the mind be dragged along by the body.  --Miyamoto Musashi";
	quoteList[13] = "One ought never to turn one's back on a threatened danger and try to run away from it.  If you do that, you will double the danger.  But if you meet it promptly and without flinching, you will reduce the danger by half.  --Sir Winston Churchill";
	quoteList[14] = "It may seem difficult at first, but everything is difficult at first.  --Miyamoto Musashi";
	quoteList[15] = "In the past it was common for a whole style to revolve around a single kata.  The old masters would know, at most, two or three kata.  However, they fully understood that within those kata was all the information they would ever need.  Every single kata is a complete fighting system in its own right!  --Iain Abernethy";
	quoteList[16] = "Let the other guy have whatever he wants before the fight.  Once the bell rings he's gonna be disappointed anyway.  --George Foreman";
	quoteList[17] = "Forget goals.  Value the process.  --Jim Bouton";
	quoteList[18] = "As a teacher, my duty is to see that the student grows in ability, not because of pressure and comptetition but in spite of it.  As a student, my responsibility is to give my fullest attention to those who would impart something of themselves to bring evolution and well-being to my existence.  --Helen Michiyo Nakano";
	quoteList[19] = "When all men think alike, no one thinks very much.  --Walter Lippmann";
	quoteList[20] = "Memory is the cabinet of imagination, the treasury of reason, the registry of conscience and council chamber of thought.  --Edward M. Forster";
	quoteList[21] = "Softness triumphs over hardness, feebleness over strength.  What is more malleable is always superior over that which is immovable.  This is the principle of controlling things by going along with them, of mastery through adaptation.  --Lao Tzu";
	quoteList[22] = "Walk a single path, becoming neither cocky with victory nor broken with defeat, without forgetting caution when all is quiet or becoming frightened when danger threatens.  --Jigoro Kano";
	quoteList[23] = "You cannot teach a man anything.  You can only help him discover it within himself.  --Galileo";
	quoteList[24] = "Empty your mind. Be formless, shapeless, like water. Now put water into a cup, it becomes a cup. You put water into a bottle, it becomes the bottle. You put water into a teapot, it becomes a teapot. Now water can flow, or it can crash. Be water my friend. - Bruce Lee"
	
	
	//randomization
	var now = new Date();
	var secs = now.getSeconds();
	var raw_random_number = Math.random(secs);
	var random_number = Math.round(raw_random_number * (quoteList.length));

	if (random_number == quoteList.length){random_number = 0}
	
	
	//set quote
	var quote = quoteList[random_number];

	document.write(quote);