		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.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/BBSC_bike2.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 2:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/bbsc-swim.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 3:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/bbsc-swim.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 4:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/2007-1.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 5:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/LVTRI-2.JPG"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 6:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/rage-pics/bike1.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 7:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/pumpkinman/pic2.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 8:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/run.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 9:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/triathlon_vacation.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			case 10:
				document.write('<a href="http://www.bbscendurancesports.com/" target="_blank"><img src="http://www.trifind.net/b/BBSC/vegas1.jpg"');
				document.write(' border="0"');
				document.write(' alt="do a vegas triathlon - click for more info"></a>');
				break;
			}


