var tot;

var quotes = new Array();
quotes[0] = "When the well's dry, we know the worth of water.";
quotes[1] = "The surest way to success is the determination to succeed.";
quotes[2] = "Yesterday is not ours to recover but tomorrow is ours to win or loose";
quotes[3] = "Whenever you see a successful business, someone once made a courageous decision.";
quotes[4] = "Success is a state of mind. If you want success, start thinking of yourself as a success.";

quotes[5] = "Unless you try to do something beyond what you have already mastered, you will never grow.";
quotes[6] = "You are today where your thoughts have brought you; you will be tomorrow where your thoughts take you.";
quotes[7] = "Let no feeling of discouragement prey upon you, and in the end you are sure to succeed.";
quotes[8] = "Self sabotage does not occur because you are weak. It occurs because your dream is weak.";
quotes[9] = "All successful people men and women are big dreamers. They imagine what their future could be, ideal in every respect, and then they work every day toward their distant vision, that goal or purpose.";

quotes[10] = "Quality is remembered long after the price is forgotten.";
quotes[11] = "One of the best uses of your time is to increase your competence in your key result areas.";
quotes[12] = "The greatest ability in business is to get along with others and to influence their actions.";
quotes[13] = "Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives.";
quotes[14] = "The golden rule for every business man is this: \"Put yourself in your customer's place\"";

quotes[15] = "Business is never so healthy as when, like a chicken, it must do a certain amount of scratching around for what it gets.";
quotes[16] = "A business absolutely devoted to service will have only one worry about profits. They will be embarrassingly large.";
quotes[17] = "One worthwhile task carried to a successful conclusion is worth half-a-hundred half-finished tasks.";
quotes[18] = "You always pass failure on the way to success.";
quotes[19] = "The ladder of success is best climbed by stepping on the rungs of opportunity.";

quotes[20] = "You must either modify your dreams or magnify your skills.";
quotes[21] = "Experience is what you get when you do not get what you want ";
quotes[22] = "We do not see the things the way they are , we see the things the way we are";
quotes[23] = "The achievements of an organization are the results of the combined effort of each individual.";
quotes[24] = "You will never win if you never begin.";
quotes[25] = "Rise above the storm and you will find the sunshine.";

var author = new Array();
author[0] = "Benjamin Franklyn";
author[1] = "";
author[2] = "";
author[3] = "";
author[4] = "Dr. Joyce Brothers";

author[5] = "Ronald E. Osborn";
author[6] = "James Allen";
author[7] = "Abraham Lincoln";
author[8] = "Anthony Fernando";
author[9] = "Brian Tracy";

author[10] = "Gucci Slogan";
author[11] = "Brian Tracy";
author[12] = "John Hancock";
author[13] = "William A Foster";
author[14] = "Orison Swett Marden";

author[15] = "Henry Ford";
author[16] = "Henry Ford";
author[17] = "Malcolm Forbes";
author[18] = " Mickey Rooney";
author[19] = "Sir Walter Scott";

author[20] = "Jim Rohn";
author[21] = "";
author[22] = "";
author[23] = "Vincent T Lombardi";
author[24] = "Robert Schuller";
author[25] = "Mario Fernandez";


//-------------------------------
tot = quotes.length;

function dispQuotes(){
	//alert(tot);
	//alert("hi");
	var rnd = Math.floor(Math.random()*tot);
	//alert(rnd);
	
	document.getElementById("myQuotes").innerHTML = '<font face=arial size=3 color=black><i>"' + quotes[rnd] + '"</i></font><br />';
	
	if(author[rnd]){
		document.getElementById("myAuthor").innerHTML = "<br><b>- " +author[rnd] + '</b>';
	}
}