//JavaScript code Copyright © 1999 Troposphere Software, All rights reserved. 
//Unauthorized distribution is strictly prohibited.

//Blurb - Produces some random text. Lives at the upper-right corner of thescreen.
//pass a relative link to the root of the site (/~ferris) so it can find the files. 
//ex. In /~ferris/software/stb/index.html: blurb('../../../')

function blurb(rel)
{
	var blurbs = new Array(11);
	var preamble = "Didn't you know? ";
	var i = Math.floor(Math.random() * blurbs.length);

	blurbs[0] = preamble + "Manhole covers are round (not square)<BR>because round covers won't fall in the hole!";
	blurbs[1] = preamble + '<A HREF="' + rel + 'goodies/ripley.html">Ripley</A> is even bigger now.';
	blurbs[2] = 'Have you read your fortune yet? Visit <A HREF="/~ferris/goodies/cookie.html">The Fortune Cookie Page!</A>';
	blurbs[3] = preamble + 'Troposphere Software was founded in June 1997!';
	blurbs[4] = preamble + 'Be sure to check out Noah! 1.04 in the <A HREF="' + rel + 'shareware.html">Shareware</A> section.';
	blurbs[5] = 'Have you checked out the <A HREF="' + rel + 'software/index.html#hacks">hacks</A> section yet?';
	blurbs[6] = 'Have you checked out the <A HREF="' + rel + 'software/index.html#freeware">freebies</A> section yet?';
	blurbs[7] = 'Have you checked out the <A HREF="' + rel + 'software/index.html#shareware">shareware</A> section yet?';
	blurbs[8] = preamble + 'A recent study found that 47%<BR>of all statistics are totally worthless.';
	blurbs[9] = '"First things first, but not necessarily in that order."<BR> - Dr. Who.';
	blurbs[10] = preamble + '2 + 2 = 5 for extremely large values of 2.';
	

	document.write('<font face="verdana, geneva" size="2">');
	document.write(blurbs[i]);
	document.write('</font>');
}

