		var randomnumber;
		var x;
		var books;
		
		books = 7;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<a href="http://www.4peaksracing.com/" target="_blank"><img src="http://www.findaraceevent.com/p/dcb/pic1.jpg"');
				document.write(' border="0"');
				document.write(' alt="click for race info"></a><br><font size="2"><b>click photo for 2009 events</b></font>');
				break;
			case 2:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/silverman2.jpg"');
				document.write(' border="0"');
				document.write(' alt="full and half ironman distance triathlons"></a>');
				break;
			case 3:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/silverman2.jpg"');
				document.write(' border="0"');
				document.write(' alt="full and half ironman distance triathlons"></a>');
				break;
			case 4:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/silverman2.jpg"');
				document.write(' border="0"');
				document.write(' alt="full and half ironman distance triathlons"></a>');
				break;
			case 5:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/silverman2.jpg"');
				document.write(' border="0"');
				document.write(' alt="full and half ironman distance triathlons"></a>');
				break;
			case 6:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/silverman2.jpg"');
				document.write(' border="0"');
				document.write(' alt="full and half ironman distance triathlons"></a>');
				break;
			case 7:
				document.write('<a href="http://www.silvermannv.com/" target="_blank"><img src="http://www.trifind.net/silverman/silverman2.jpg"');
				document.write(' border="0"');
				document.write(' alt="full and half ironman distance triathlons"></a>');
				break;
			}



				