var openInNewWin = true;
var banners = new Array();


banners[0] = new Banner("http://thepisstakers.com/weekly/quirky3oct06_files/Ed-needs-a-Hummer.html", "", "While one Ed seeks 120,000 bucks for a new Hummer, another Ed would be happy with a new inner tube for his bike.");
banners[1] = new Banner("http://ieatsnowmanpoop.blogspot.com/2007/07/ok-something-is-going-on.html", "", "Who has the puffiest nipples on the internet? A pressing question for lovers of tight-fitting clothes?");
banners[2] = new Banner("editor@thepisstakers.com", "", "Send Ed a URL to the funniest post you wrote recently. Smile, you just went viral. Install this widget on your blog and treat your readers to random funny posts.");
banners[3] = new Banner("http://www.larryhnetka.com/wordpress/archives/2007/07/13/how-i-kill-every-night/", "", "The slug killer prowls the garden to protect his dahlias. Gripping stuff.");
banners[4] = new Banner("http://www.thewebpen.net/blog/2006/12/nonoffensive-joke-tuesday.html", "", "Never before has so much been written by so many about platypuses");
banners[5] = new Banner("http://jim-copaceticcity.blogspot.com/2007/06/death-of-imaginary-friend.html", "", "Who says death is morbid? This short story is funny as, erm, hell?");
banners[6] = new Banner("http://www.plooptionary.com/archives/310", "", "A graphical representation of the wearers of trendy T-shirts with slogans ");
banners[7] = new Banner("http://lordlikely.blogspot.com/2007/07/one-in-eye-for-doctor-corkscrews.html", "", "Faced with death by corkscrew, Lord Likely pulls himself together and leaves his would-be attacker praying to the white porcelain god. ");
banners[8] = new Banner("http://www.ominouscomma.com/archives/entertainment/adventures-of-the-author/another-headline-containing-the-word-ÒreviewsÓ", "", "Humor is created by algorithms");
banners[9] = new Banner("http://www.mybloglog.com/buzz/community/jonswift/", "", "Fair & balanced commentary from a reasonable conservative. Jon Swift was nominated for a 2006 Weblog Award for Best Humor Blog. Lucky for him, he didn't win.");
banners[10] = new Banner("http://www.bobbarama.com/archives/77", "", "Bobbarama is a great soup chef, a whiz at the gas pumps and an all-round funny writer. Highly highly recommended humor blog and zanier than a pisstaker.");
banners[11] = new Banner("http://zackie.over-blog.org/", "", "Zackie could have been a rock star, a bullfighter, or a soccer player Hell, even being a superhero wasn't beyond him. Dessins trŽs cools, Zackie is the most impressive thing to come out of France in years.");
banners[12] = new Banner("http://normanroberts.blogspot.com/", "", "Innings, from Norman Roberts is a truly international blog. Using sharp images, he critiques what we take for granted, shows the depraved, the quirky and luckily, the funny side of life.");
banners[13] = new Banner("http://www.saynotocrack.com/", "", "Say no to Crack is like Boing Boing, but funnier! Nobody knows the make of toilet in their logo but the contents are clean-ish and you don't have to deal with the usual recycled stuff.");
banners[14] = new Banner("http://thepisstakers.com/contactforms/contactforms/email.php", "", "Click and send Ed the URL to a post from your humor blog, and he will add it to this widget. It is free!");


function Banner(url, description, quote) {
	this.url = url;
	this.description = description;
	this.quote = quote;
	return this;
}

var bNum = Math.round(Math.random() * (banners.length - 1));

	document.write("<div class=\"qod\" style=\"border:2px solid; position:relative; font-family:'Helvetica Neue'; \"><div style=\"border-bottom:2px solid; background:#36c url\(http:\/\/www.thepisstakers.com\/imagez\/qod_bg.gif\) left top repeat-x;\"><a style=\"display:block; height:50px; line-height:50px; margin:0; padding:0; padding-right:5px; text-align:right; text-decoration:none; color: #fff; font-size:11px; font-weight: bold; background: transparent url\(http:\/\/www.thepisstakers.com\/imagez\/qod_head.gif\) left top no-repeat; overflow:hidden;\" href=\"http:\/\/thepisstakers.com/features/features/bestlineofday.html\" rel=\"external\" title=\"Funny blogs reviewed in MyBlogLog Sunday!\">Humor blogs!<\/a><\/div>")
	document.write("<a style=\"display:block; padding:5px; font-weight:bold; text-align:justify; font-size:11px; line-height:16px;\" href=\"" + banners[bNum].url + "\"");
		if (openInNewWin) {
			document.write(" target=\"_blank\"");
		}
		document.write(">");
		document.write("<span class=\"quote\">" + banners[bNum].quote + "</span>" + "<br />" + banners[bNum].description);
		document.write("</a>");
	document.write("<div style=\"border-top:2px solid;\"><a style=\"display:block; background-color:#666; color:#fff; font-family:'Helvetica Neue'; text-decoration:none; margin:0; padding:5px; padding-top:0; padding-bottom:3px; font-size:10px; \" href=\"http:\/\/www.bonsai-studio.net\" rel=\"external\" title=\"Professional RapidWeaver themes and websites\">powered by <br \/> ((( Bonsai Studio )))<\/a><\/div><\/div>")