		var randomnumber;
		var x;
		var books;
		
		books = 10;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<a href="http://www.ustrisports.com/" target="_blank"><img src="http://www.trifind.net/b/us-trisports/side.gif"');
				document.write(' border="0"');
				document.write(' alt="triathlon series in utah"></a>');
				document.write('<BR><BR><iframe src="http://www.trifind.net/b/BBSC/2010/side/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/s-side.gif"');
				document.write(' border="0"');
				document.write(' alt="iron distance in vegas"></a>');
				document.write('<br><br><a href="http://www.ustrisports.com/" target="_blank"><img src="http://www.trifind.net/b/us-trisports/side.gif"');
				document.write(' border="0"');
				document.write(' alt="triathlon series in utah"></a>');
				break;
			case 3:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2010/side/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/title/side/1.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/s-side.gif"');
				document.write(' border="0"');
				document.write(' alt="iron distance in vegas"></a>');
				document.write('<BR><BR><iframe src="http://www.trifind.net/b/BBSC/2010/side/3.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 5:
				document.write('<a href="http://www.peakinspiration.com/msindex.htm" target="_blank"><img src="http://www.trifind.net/b/peak-mile-stones/side.gif"');
				document.write(' border="0"');
				document.write(' alt="running, biking, triathlon"></a>');
				document.write('<br><br><a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/s-side.gif"');
				document.write(' border="0"');
				document.write(' alt="iron distance in vegas"></a>');
				break;
			case 6:
				document.write('<a href="http://www.bamtriathlon.com/" target="_blank"><img src="http://www.trifind.net/b/BAM/bam2.gif"');
				document.write(' border="0"');
				document.write(' alt="the battle at midway"></a>');
				document.write('<BR><BR><iframe src="http://www.trifind.net/b/BBSC/2010/side/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 7:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2010/side/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><br><a href="http://www.peakinspiration.com/msindex.htm" target="_blank"><img src="http://www.trifind.net/b/peak-mile-stones/side.gif"');
				document.write(' border="0"');
				document.write(' alt="running, biking, triathlon"></a>');
				break;
			case 8:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2010/side/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><a href="http://www.bamtriathlon.com/" target="_blank"><img src="http://www.trifind.net/b/BAM/bam2.gif"');
				document.write(' border="0"');
				document.write(' alt="the battle at midway"></a>');
				break;
			case 9:
				document.write('<iframe src="http://www.trifind.net/b/BBSC/2010/side/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/title/side/2.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 10:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/s-side.gif"');
				document.write(' border="0"');
				document.write(' alt="iron distance in vegas"></a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/title/side/2.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			}
