function mOvr(src){if (!src.contains(event.fromElement)){src.bgColor = "#CCCC99";}} 
function mOut(src){if (!src.contains(event.toElement)){src.bgColor = "#99CC66";}} 

var f = new Array;
function M(xquote,xscource) {this.quote= xquote; this.scource= xscource;}
function rand(num) {return Math.floor(Math.random() * num);}
f[0]=new M("'You know what alcoholics call New Year's Eve? Amateur night'","Elmore Leonard");
f[1]=new M("'I never drink anything stronger than gin before breakfast'","W.C. Fields");
f[2]=new M("'A woman drove me to drink and I didn't even have the decency to thank her'","W.C. Fields");
f[3]=new M("'Which contemptible scoundrel has stolen the cork to my lunch?'","W.C. Fields");
f[4]=new M("'Work is the curse of the drinking classes'","Oscar Wilde");
f[5]=new M("'Beauty lies in the hands of the beerholder'","Anon");
f[6]=new M("'When I read about the evils of drinking, I gave up reading'","Henny Youngman");
f[7]=new M("'Life is a waste of time, time is a waste of life, so get wasted all of the time & have the time of your life'","- Anon");
f[8]=new M("'I'd rather have a bottle in front of me, than a frontal lobotomy.'","Tom Waits");
f[9]=new M("'The problem with the world is that everyone is a few drinks behind'","Humphrey Bogart");
f[10]=new M("'I have taken more good from alcohol than alcohol has taken for me'","Winston Churchill");
f[11]=new M("'I'm Catholic and I can't commit suicide, but I plan to drink myself to death'","- Jack Kerouac");
f[12]=new M("'Beer is living proof that God loves us and wants to see us happy'","Benjamin Franklin");
f[13]=new M("'He was a wise man who invented beer'","Plato");
f[14]=new M("'Terrorists have taken over my stomach. they're demanding beer'","Norm from Cheers");
f[15]=new M("'I feel sorry for people who don't drink. When they wake up in the morning, that's as good as they're going to feel all day'","Frank Sinatra");
f[16]=new M("'I would kill everyone in this room for a drop of sweet beer'","Homer Simpson");
f[17]=new M("'You're not drunk if you can lie on the floor without holding on'","Dean Martin");
f[18]=new M("'You can't be a real country unless you have a beer and an airline - it helps if you have some kind of a football team, or some nuclear weapons, but at the very least you need a beer'","Frank Zappa");
f[19]=new M("'An intelligent man is sometimes forced to be drunk to spend time with his fools'","Ernest Hemmingway");
f[20]=new M("'Buy a man a beer and he wastes an hour. Teach a man to brew and he wastes a lifetime'","Anon");
f[21]=new M("'I would give all my fame for a pot of ale, and safety'","William Shakespeare (from Henry V)");
f[22]=new M("'Abstainer: A weak person who yields to the temptation of denying himself a pleasure'","Ambrose Bierce");
index = rand(23);
randomquote = f[index].quote;
sourceofquote = f[index].scource;


