// JavaScript Document

/*
A 2-D array is taken which contains quote and author information
Very easy to modify
Always keep the number to total of 60 ie 0 - 59
*/
var q = new Array(60);
//loop to attach Array at each single dimension
for (var i =0 ; i < 60 ; i++)
{
q[i] = new Array(2);
}

q[0][0] = "We will either find a way or make one.";
q[0][1] = "Hannibal";
q[1][0] = "To tend, unfailingly, unflinchingly, towards a goal, is the secret of success.";
q[1][1] = "Anna Pavlova";
q[2][0] = 'Whether you think that you can, or that you can’t, you are usually right.';
q[2][1] = 'Henry Ford (1863-1947)';
q[3][0] = 'The toughest thing about being a success is that you’ve got to keep on being a success.';
q[3][1] = 'Vince Lombardi';
q[4][0] = 'There’s only one way to succeed in anything, and that is to give it everything.  I do, and I demand that my players do. ';
q[4][1] = 'Vince Lombardi';
q[5][0] = 'There are no secrets to success. It is the result of preparation, hard work, learning from failure.';
q[5][1] = 'Colin Powell';
q[6][0] = 'There are two rules for success. . .Never tell everything you know.';
q[6][1] = 'Roger H. Lincoln';
q[7][0] = 'The greatest thing in this world is not so much where we are, but in what direction we are moving.';
q[7][1] = 'Oliver Wendell Holmes';
q[8][0] = 'Success is neither magical nor mysterious. Success is the natural consequence of consistently applying the basic fundamentals.';
q[8][1] = 'Jim Rohn';
q[9][0] = 'Success is not final, failure is not fatal: it is the courage to continue that counts.';
q[9][1] = 'Winston Churchill';
q[10][0] = 'Success is not the key to happiness. Happiness is the key to success. If you love what you are doing, you will be successful.';
q[10][1] = 'Herman Cain';
q[11][0] = 'Success is not the result of spontaneous combustion. You must set yourself on fire.';
q[11][1] = 'Reggie Leach';
q[12][0] = 'Success is often the result of taking a misstep in the right direction.';
q[12][1] = 'Al Bernstein';
q[13][0] = 'Success is that old ABC - Ability, Breaks, and Courage.';
q[13][1] = 'Charles Luckman';
q[14][0] = 'Success is the ability to go from one failure to another with no loss of enthusiasm.';
q[14][1] = 'Winston Churchill';
q[15][0] = 'Success is the progressive realization of a worthy goal or ideal.';
q[15][1] = 'Earl Nightingale';
q[16][0] = "Successful people are always looking for opportunities to help others. Unsuccessful people are always asking, 'What's in it for me?' ";
q[16][1] = 'Brian Tracy';
q[17][0] = 'The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather in a lack of will.';
q[17][1] = 'Vince Lombardi';
q[18][0] = 'No one can possibly achieve any real and lasting success or “get rich” - in business by being a conformist.';
q[18][1] = 'J. Paul Getty';
q[19][0] = 'One person working toward a dream is worth 99 people just working.';
q[19][1] = 'Lani S. Kraus';
q[20][0] = 'Opportunities multiply as they are seized.';
q[20][1] = 'Sun Tzu';
q[21][0] = 'Our life is what our thoughts make it.';
q[21][1] = 'Marcus Aurelius. (121-180 A.D.)';
q[22][0] = 'People will listen a great deal more patiently while you explain your mistakes than when you explain your successes.';
q[22][1] = 'Wilbur N. Nesbit';
q[23][0] = 'Self conquest is the greatest of victories.';
q[23][1] = 'Plato';
q[24][0] = 'Seventy percent of success in life is showing up.';
q[24][1] = 'Woody Allen';
q[25][0] = 'Success does not consist in never making mistakes but in never making the same one a second time.';
q[25][1] = 'George Bernard Shaw';
q[26][0] = 'Success in business requires training and discipline and hard work. But if you\'re not frightened by these things, the opportunities are just as great today as they ever were.';
q[26][1] = 'David Rockefeller';
q[27][0] = 'Success is a journey not a destination. The doing is usually more important than the outcome.';
q[27][1] = 'Arthur Ashe';
q[28][0] = 'Success is how high you bounce when you hit bottom.';
q[28][1] = 'General George S. Patton';
q[29][0] = 'Success is more a function of consistent common sense than it is of genius.';
q[29][1] = 'An Wang';
q[30][0] = 'Success is not measured by the position one has reached in life, rather by the obstacles overcome while trying to succeed.';
q[30][1] = 'Booker T. Washington';
q[31][0] = 'Success seems to be largely a matter of hanging on after others have let go.';
q[31][1] = 'William Feather';
q[32][0] = 'Success usually comes to those who are too busy to be looking for it.';
q[32][1] = 'Henry David Thoreau';
q[33][0] = 'The best way to make your dreams come true is to wake up.';
q[33][1] = 'Paul Valery';
q[34][0] = 'The door to your cage is open. All you have to do is walk out....if you dare.';
q[34][1] = 'George Lucas';
q[35][0] = 'The men who try to do something and fail are infinitely better than those who try nothing and succeed.';
q[35][1] = 'Lloyd Jones';
q[36][0] = 'The only difference between a problem and a solution is that people understand the solution.';
q[36][1] = 'Charles Kettering';
q[37][0] = 'A man is a success if he gets up in the morning and gets to bed at night, and in between he does what he wants to do. ';
q[37][1] = 'Bob Dylan';
q[38][0] = 'Action is the foundational key to all success.';
q[38][1] = 'Anthony Robbins';
q[39][0] = 'Aim for success, not perfection. Never give up your right to be wrong, because then you will lose the ability to learn new things and move forward with your life.';
q[39][1] = 'David M. Burns ';
q[40][0] = 'All you need in this life is ignorance and confidence, and then success is sure.';
q[40][1] = 'Mark Twain (1835-1910)';
q[41][0] = 'Always remember that striving and struggle precede success, even in the dictionary.';
q[41][1] = 'Sarah Ban Breathnach';
q[42][0] = 'An inventor fails 999 times, and if he succeeds once, he\'s in. He treats his failures simply as practice shots.';
q[42][1] = 'Charles Kettering';
q[43][0] = 'As you become successful, you will need a great deal of self-discipline not to lose your sense of balance, humility and commitment.';
q[43][1] = 'H. Ross Perot ';
q[44][0] = 'Begin - to begin is half the work, let half still remain; again begin this, and thou wilt have finished.';
q[44][1] = 'Decimus Magnus Ausonius (ca. 310-395)';
q[45][0] = 'Behind every successful man there’s a lot of unsuccessful years.';
q[45][1] = 'Bob Brown';
q[46][0] = 'Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful or happy.';
q[46][1] = 'Norman Vincent Peale';
q[47][0] = 'Character cannot be developed in ease and quiet. Only through experience of trial and suffering can the soul be strengthened, ambition inspired, and success achieved.';
q[47][1] = 'Helen Keller';
q[48][0] = 'Each problem that I solved became a rule which served afterwards to solve other problems.';
q[48][1] = 'Rene Descartes (1596-1650), “Discours de la Methode”';
q[49][0] = 'Every man is the architect of his own fortune.';
q[49][1] = 'Appius Claudius';
q[50][0] = 'Failure will never overtake you if your determination to succeed is strong enough.';
q[50][1] = 'Og Mandino';
q[51][0] = 'Focused action beats brilliance any day. ';
q[51][1] = 'Art Turock';
q[52][0] = 'How many a man has thrown up his hands at a time when a little more effort, a little more patience would have achieved success?';
q[52][1] = 'Elbert Hubbard ';
q[53][0] = 'I am not discouraged, because every wrong attempt discarded is another step forward.';
q[53][1] = 'Thomas Alva Edison';
q[54][0] = 'I can’t imagine a person becoming a success who doesn’t give this game of life everything they\'ve got.';
q[54][1] = 'Walter Cronkite';
q[55][0] = 'I expect to spend the rest of my life in the future, so I want to be reasonably sure of what kind of future it is going to be. That is my reason for planning.';
q[55][1] = 'Charles Kettering';
q[56][0] = 'I find that the harder I work, the more luck I seem to have.';
q[56][1] = 'Thomas Jefferson (1743-1826)';
q[57][0] = 'If at first you do succeed, try to hide your surprise.';
q[57][1] = 'Joe Clark ';
q[58][0] = 'If at first you don\'t succeed, you\'re running about average.';
q[58][1] = 'M.H. Alderson';
q[59][0] = 'If you want to succeed, double your failure rate.';
q[59][1] = 'Thomas J. Watson';


function Display()
{
s = Get_Num(); //Get the Seconds returned from function

var d = document.getElementById("Quote_DIV");
d.innerHTML = ' "' + q[s][0] + '" ';
d = document.getElementById("Author_DIV");
d.innerHTML = '<i> - ' + q[s][1] + '</i>';
}
function Get_Num()
{
//Get a Number from seconds of local pc
var s = new Date()
return s.getSeconds();
}
