/* This JavaScript (Random Quotes) developed by Scott Clark
The Source is available at http://www.clarksco.com/blog/
Copyright 2005 Clark Consulting */

var num_of_quotes = 6;
quotes = Math.floor (num_of_quotes * Math.random());

if (quotes==0) {
title="Pirate Life";
body="Life's pretty good, and why wouldn't it be? I'm a pirate, after all."";
}

if (quotes==1) {
title="The Average Man";
body="The average man will bristle if you say his father was dishonest, but he will brag a little if he discovers that his great-grandfather was a pirate.";
}

if (quotes==2) {
title="Sea & Pirates";
body="Where there is a sea there are pirates"";
}

if (quotes==3) {
title="Black Flag";
body="Even pirates, before they attack another ship, hoist a black flag.";
}

if (quotes==4) {
title="Pirate Booty";
body="It is when pirates count their booty that they become mere thieves.";
}

if (quotes==5) {
title="Cheated";
body="Will Turner: You cheated. 
Jack Sparrow: [shrugs] Pirate.";
}

document.write('<div align=left>');
document.write('<strong>' + title + '</strong><br>');
document.write(''+ body +'');
document.write('</div>');
