/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: John Hobbs :: http://www.velvetcache.org/ */

var quotes = new Array(16) // Add your quotes below
  quotes[0]="A G5RV radiates equally poorly in all directions.";
  quotes[1]="He who forgets to turn up volume shall never hear.";
  quotes[2]="Your success in communication depends on the willingness of the other party to hear you.";
  quotes[3]="You love transmitting, try listening some.";
  quotes[4]="A friend asks only for your RST and QSL card.";
  quotes[5]="You will soon work much DX!.";
  quotes[6]="Your frequency is about to change.";
  quotes[7]="Things will soon improve, turn your power supply on.";
  quotes[8]="He who stands on ground looking up at antenna is prone to see bird poop.";
  quotes[8]="He who works on amplifier still plugged in is destined for a shocking experience.";
  quotes[9]="Kerchunking only brings pleasure a few seconds, communicating with friends lasts a lifetime.";
  quotes[10]="There is nothing permanent, move your VFO and see.";
  quotes[11]="You haven't failed until you give up trying to transmit with no antenna.";
  quotes[12]="Your ability to juggle many tasks will take you far, please hang up mic before exiting vehicle.";
  quotes[13]="Broke is only temporary; your wife will forgive your ham radio purchase soon.";
  quotes[14]="Begin nothing until you have spent many dollars.";
  quotes[15]="A huge antenna at home is not as good as a portable station on high mountain.";


function fortune(objID) {
  var rand_int = Math.floor(Math.random()*16); // Get a number for picking the quote
  document.getElementById(objID).innerHTML=(quotes[rand_int]); // Put the quote in the box
}
function numbers(objID) {
  var space = ('      ') // Spacer for between numbers
  var rand_inta = Math.floor(Math.random()*100); // Get first number
  var rand_intb = Math.floor(Math.random()*100); // Get second number
  var rand_intc = Math.floor(Math.random()*100); // Get third number
  var rand_intd = Math.floor(Math.random()*100); // Get fourth number
  var rand_inte = Math.floor(Math.random()*100); // 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
}
