function displayQuote ( ) {

	var x = Math.floor(Math.random()*35);
	
	// display the corresponding quote
	var quote = '';
	var saidby = '';
	if (x == 0) {
		quote = 'Time moves in one direction, memory in another.';
		saidby = '- William Gibson';
	}
	if (x == 1) {
		quote = 'Happiness is a direction, not a place.';
		saidby = '- Sydney J. Harris';
	}
	if (x == 2) {
		quote = 'Success is often the result of taking a misstep in the right direction.';
		saidby = '- Al Bernstein';
	}
	if (x == 3) {
		quote = 'If one advances confidently in the direction of his dreams, and endeavors to live the life which he has imagined, he will meet with success unexpected in common hours.';
		saidby = '- Henry David Thoreau';
	}
	if (x == 4) {
		quote = 'Any fool can make things bigger, more complex, and more violent.  It takes a touch of genius - and a lot of courage- to move in the opposite direction.';
		saidby = '- Albert Einstein';
	}
	if (x == 5) {
		quote = 'Go confidently in the direction of your dreams.  Live the life you have imagined.';
		saidby = '- Henry David Thoreau';
	}
	if (x == 6) {
		quote = 'He dares to be a fool, and that is the first step in the direction of wisdom.';
		saidby = '- James Heneker';
	}
	if (x == 7) {
		quote = 'The direction in which education starts a man will determine his future in life.';
		saidby = '- Plato';
	}
	if (x == 8) {
		quote = 'Efforts and courage are not enough without purpose and direction.';
		saidby = '- John F. Kennedy';
	}
	if (x == 9) {
		quote = 'Aggression only moves in one direction - it creates more aggression.';
		saidby = '- Margaret J. Wheatley';
	}
	if (x == 10) {
		quote = 'The great thing in the world is not so much where we stand, as in what direction we are moving.';
		saidby = '- Oliver Wendell Holmes';
	}
	if (x == 11) {
		quote = 'If you do not change direction, you may end up where you are heading.';
		saidby = '- Lao Tzu';
	}
	if (x == 12) {
		quote = 'We are not retreating - we are advancing in another direction. ';
		saidby = '- Douglas MacArthur ';
	}
	if (x == 13) {
		quote = 'We must travel in the direction of our fear.';
		saidby = '- John Berryman ';
	}
	if (x == 14) {
		quote = 'Love does not consist in gazing at each other, but in looking outward together in the same direction.';
		saidby = '- Antoine de Saint-Exupery ';
	}
	if (x == 15) {
		quote = 'The good life is a process, not a state of being. It is a direction not a destination.';
		saidby = '- Carl Rogers ';
	}
	if (x == 16) {
		quote = 'Painful as it may be, a significant emotional event can be the catalyst for choosing a direction that serves us - and those around us - more effectively. Look for the learning.';
		saidby = '- Louisa May Alcott ';
	}
	if (x == 17) {
		quote = 'It&#39;s better to hang out with people better than you. Pick out associates whose behavior is better than yours and you&#39;ll drift in that direction. ';
		saidby = '- Warren Buffett ';
	}
	if (x == 18) {
		quote = 'If those who are the enemies of innocent amusements had the direction of the world, they would take away the spring, and youth, the former from the year, the latter from human life. ';
		saidby = '- Honore de Balzac ';
	}
	if (x == 19) {
		quote = 'It is the set of the sails, not the direction of the wind that determines which way we will go. ';
		saidby = '- Jim Rohn ';
	}
	if (x == 20) {
		quote = 'Life is an operation which is done in a forward direction. One lives toward the future, because to live consists inexorably in doing, in each individual life making itself. ';
		saidby = '- Jose Ortega y Gasset ';
	}
	if (x == 21) {
		quote = 'People, like nails, lose their effectiveness when they lose direction and begin to bend. ';
		saidby = '- Walter Savage Landor ';
	}
	if (x == 22) {
		quote = 'I don&#39;t care whether you&#39;re driving a hybrid or an SUV. If you&#39;re headed for a cliff, you have to change direction. ';
		saidby = '- Walter Savage Landor ';
	}
	if (x == 23) {
		quote = 'The greatest thing in this world is not so much where we are, but in what direction we are moving.';
		saidby = '- Oliver Wendell Holmes, Jr. ';
	}
	if (x == 24) {
		quote = 'She said she was approaching forty, and I couldn&#39;t help wondering from what direction.';
		saidby = '- Bob Hope ';
	}
	if (x == 25) {
		quote = 'Painful as it may be, a significant emotional event can be the catalyst for choosing a direction that serves us - and those around us - more effectively. Look for the learning. ';
		saidby = '- Louisa May Alcott ';
	}
	if (x == 26) {
		quote = 'Forget about the consequences of failure. Failure is only a temporary change in direction to set you straight for your next success.';
		saidby = '- Denis Waitley ';
	}
	if (x == 27) {
		quote = 'Steve Jobs didn&#39;t really set the direction of my Apple I and Apple II designs but he did the more important part of turning them into a product that would change the world. I don&#39;t deny that.';
		saidby = '- Steve Wozniak ';
	}
	if (x == 28) {
		quote = 'It is in vain to hope to please all alike. Let a man stand with his face in what direction he will, he must necessarily turn his back on one half of the world.';
		saidby = '- George Dennison Prentice ';
	}
	if (x == 29) {
		quote = 'Mentoring is a brain to pick, an ear to listen, and a push in the right direction. ';
		saidby = '- John C. Crosby';
	}
	if (x == 30) {
		quote = 'One of the greatest resources people cannot mobilize themselves is that they try to accomplish great things. Most worthwhile achievements are the result of many little things done in a single direction.';
		saidby = '- Nido Qubein';
	}
	if (x == 31) {
		quote = 'The fragrance of flowers spreads only in the direction of the wind. But the goodness of a person spreads in all direction.';
		saidby = '- Chanakya';
	}
	if (x == 32) {
		quote = 'It is the direction and not the magnitude which is to be taken into consideration.';
		saidby = '-Thomas Paine';
	}
	if (x == 33) {
		quote = 'The direction of the mind is more important than its progress.';
		saidby = '-Joseph Joubert';
	}
	if (x == 34) {
		quote = 'Forget about the consequences of failure. Failure is only a temporary change in direction to set you straight for your next success.';
		saidby = '-Denis Waitley';
	}

	
	document.getElementById('quoteDiv').innerHTML = quote;
	document.getElementById('saidbyDiv').innerHTML = saidby;
	
}

