var quotes = new Array(24)
  quotes[0]="You are not illiterate.";
  quotes[1]="Borrow money from a pessimist, they don't expect it back.";
  quotes[2]="Hard work has a future payoff. Laziness pays off now.";
  quotes[3]="Don't suffer from insanity, enjoy every minute of it.";
  quotes[4]="He who laughs last thinks slowest.";
  quotes[5]="Eagles may soar, but weasels don't get sucked into jet engines.";
  quotes[6]="Get a new car for your spouse; it'll be a great trade!";
  quotes[7]="Everyone has a photographic memory. Some don't have film.";
  quotes[8]="Never underestimate the power of stupid people in large groups.";
  quotes[8]="Success always occurs in private and failure in full view.";
  quotes[9]="The early bird may get the worm, but the second mouse gets the cheese.";
  quotes[10]="Warning: Dates in calendar are closer than they appear.";
  quotes[11]="Remember half the people you know are below average.";
  quotes[12]="Your gene pool could use a little chlorine.";
  quotes[13]="Friends may come and go, but enemies tend to accumulate.";
  quotes[14]="Don't take life too seriously, you won't get out alive.";
  quotes[15]="Experience is what you get when you didn't get what you wanted.";
  quotes[16]="Better to understand a little than to misunderstand a lot";
  quotes[17]="If at first you don't succeed, skydiving is not for you.";
  quotes[18]="A closed mouth gathers no foot.";
  quotes[19]="You aren't learning much when your mouth is moving.";
  quotes[20]="Some drink at the fountain of knowledge. Others just gargle.";
  quotes[21]="Never test the depth of the water with both feet.";
  quotes[22]="The greatest danger could be your stupidity.";
		quotes[23]="You are what you think about all day long.";

function fortune(objID) {
  var rand_int = Math.floor(Math.random()*23);
  document.getElementById(objID).innerHTML=(quotes[rand_int]);
}
function numbers(objID) {
  var space = ('&nbsp;&nbsp;') // Spacer for between numbers
  var rand_inta = Math.floor(Math.random()*59)+1; // Get first number
  var rand_intb = Math.floor(Math.random()*59)+1; // Get second number
  var rand_intc = Math.floor(Math.random()*59)+1; // Get third number
  var rand_intd = Math.floor(Math.random()*59)+1; // Get fourth number
  var rand_inte = Math.floor(Math.random()*59)+1; // Get fifth number
  document.getElementById(objID).innerHTML=(rand_inta+space+rand_intb+space+rand_intc+space+rand_intd+space+rand_inte); //Print it all into the second box
}
function powerball(objID) {
  var rand_intf = Math.floor(Math.random()*39)+1; // Get number
  document.getElementById(objID).innerHTML=(rand_intf); //Print it all into the third box
}

