		var randomnumber;
		var x;
		var books;
		
		books = 16;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<a href="http://www.portlandtri.com/c.php?code=1" target="_blank"><img src="http://www.trifind.net/b/musselman/or/ban.gif"');
				document.write(' border="0"');
				document.write(' alt="city of portland triathlon"></a><br><iframe src="http://www.trifind.net/b/musselman/stats/idaho.html" name="city of portland triathlon" width=1 height=1 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 3:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 5:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
			break;
			case 6:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 7:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
			break;
			case 8:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 9:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://www.trifind.net/b/coulee1.gif"');
				document.write(' border="0"');
				document.write(' alt="click for race information"></a>');
				break;
			case 10:
				document.write('<a href="http://www.portlandtri.com/c.php?code=1" target="_blank"><img src="http://www.trifind.net/b/musselman/or/ban.gif"');
				document.write(' border="0"');
				document.write(' alt="city of portland triathlon"></a><br><iframe src="http://www.trifind.net/b/musselman/stats/idaho.html" name="city of portland triathlon" width=1 height=1 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 11:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 12:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 13:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 14:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 15:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 16:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2009/ban/1.html" width=468 height=60 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			}



				