function get_random(maxNum)
{
  if (Math.random && Math.round)
  {
    var ranNum= Math.round(Math.random()*(maxNum-1));
    ranNum+=1;
    return ranNum;
  }
  else
  {
  today= new Date();
  hours= today.getHours();
  mins=   today.getMinutes();
  secn=  today.getSeconds();
  if (hours==19)
   hours=18;
  var ranNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;
  return ranNum;
  }
}

function getaQuote()
{
 var maxQuotes=41;
 var whichQuote=get_random(maxQuotes);
 whichQuote--;

var quote=new Array(maxQuotes)
   quote[0]="'Do not hit at all if it can be avoided, but never hit softly.' - Theodore Roosevelt";
   quote[1]="If at first you DO succeed, try not to look astonished!";
   quote[2]="If you can't beat your computer at chess, try kickboxing.";   
   quote[3]="It is better to keep your mouth shut, and look like a fool, than to open your mouth, and remove all doubt.";
   quote[4]="Judge a man by his questions rather than his answers. - Voltaire";
   quote[5]="No varnish can hide the grain of the wood and the more varnish you put on, the more the grain will express itself. - Charles Dickens";
   quote[6]="There are very few personal problems that cannot be solved through a suitable application of high explosives.";
   quote[7]="When all you have is a hammer, the whole world looks like a nail.";
   quote[8]="Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde";
   quote[9]="A Life? Cool! Where can I download one of those from?";
   quote[10]="Freedom of speech is wonderful - right up there with the freedom not to listen.";
   quote[11]="Now, it's quite simple to defend yourself against a man armed with a banana. First of all you force him to drop the banana; then, second, you eat the banana, thus disarming him. You have now rendered him helpless. - Monty Python";
   quote[12]="I used up all my sick days, so I'm calling in dead.";
   quote[13]="Usually I try to take it one day at a time, but lately several have attacked me at once...";
   quote[14]="If you try to fail, and succeed, which have you done?";
   quote[15]="Why do people in ship mutinies always ask for 'better treatment'? I'd ask for a pinball machine, because with all that rocking back and forth you'd probably be able to get a lot of free games.";
   quote[16]="Let him who cannot be alone beware of community. - Deitrich Bonhoeffer";
   quote[17]="If there's one thing a non-conformist hates more than a conformist, it's a non-conformist who is not conforming to the current standards of non-conformity.";
   quote[18]="...anything easily had is rarely worth having. - Anne McCaffrey";
   quote[19]="You are no fool if you give up what you cannot keep to gain what you cannot lose.";
   quote[20]="The past is unchangeable, the future unseeable, and the present is the instant in which the unseeable becomes unchangeable.";
   quote[21]="Only a few people in this world were lucky enough to run into their true partners - it took ourageous luck for it to happen, then the sense to recognize it, and the courage to act. Few could be expected to have all that, and then to have things go well. The rest had to make do. - K.S. Robinson";
   quote[22]="Did your God die for you? Mine did.";
   quote[23]="Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong remedies. - Groucho Marx";
   quote[24]="The Church knew what the psalmist knew: Music praises God. Music is well or better able to praise him than the building of the church and all its decoration; it is the Church’s greatest ornament. - Igor Stravinsky";
   quote[25]="People don’t come to church for preachments, of course, but to daydream about God. - Kurt Vonnegut Jr.";
   quote[26]="My religion consists of a humble admiration of the illimitable superior spirit who reveals himself in the slight details we are able to perceive with our frail and feeble minds. - Albert Einstein.";
   quote[27]="Ignorance is a right! Education is eroding one of the few democratic freedoms remaining to us. - Christopher Andreae";
   quote[28]="Technology is a queer thing. It brings you great gifts with one hand, and it stabs you in the back with the other. - C P Snow";
   quote[29]="A society that thinks the choice between ways of living is just a choice between equally eligible 'lifestyles' turns universities into academic cafeterias offering junk food for the mind. - George F Will";
   quote[30]="Education begins a gentleman, conversation completes him.";
   quote[31]="Man does not live by words alone, despite the fact that sometimes he has to eat them. - Adlai E. Stevenson";
   quote[32]="Israel is still the only country in the world against which there is a written document to the effect that it must disappear. - Menachem Begin";
   quote[33]="I have never accepted what many people have kindly said-namely that I inspired the nation. Their will was resolute and remorseless, and as it proved, unconquerable. It fell to me to express it. - Winston Churchill";
   quote[34]="I have heard your views. They do not harmonize with mine. The decision is taken unanimously. - Charles de Gaulle";
   quote[35]="I am not anti-American. But I am strongly pro-Canadian. - John G Diefenbaker";
   quote[36]="The president is here, strong and firm as a monkey’s tail. - Jean Claude 'Baby Doc' Duvalier, assuring Haitians that he would not flee the country, although he did so a week later.";
   quote[37]="Every gun that is made, every warship launched, every rocket fired, signifies in the final sense a theft from those who hunger and are not fed, those who are cold and are not clothed. - Dwight D Eisenhower";
   quote[38]="From this day forward, the millions of our schoolchildren will daily proclaim in every city and town, every village and rural schoolhouse, the dedication of our nation and our people to the Almighty. - Dwight D Eisenhower, on signing law for inclusion of the words 'under God' in the Pledge of Allegiance.";
   quote[39]="You cannot shake hands with a clenched fist. - Indira Gandhi";
   quote[40]="If anyone is crazy enough to want to kill a president of the United States, he can do it. All he must be prepared to do is give his life for the president’s. - John F Kennedy";


document.write(quote[whichQuote]);

}

getaQuote();