		var randomnumber;
		var x;
		var books;
		
		books = 9;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<iframe src="http://www.trifind.net/b/trinity-designs/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<a href="http://www.thegrandcolumbian.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.gif"');
				document.write(' border="0"');
				document.write(' alt="a half iron distance triathlon at the grand coulee dam"></a>');
				break;
			case 3:
				document.write('<br><iframe src="http://trifind.net/b/auburn-triathlon/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<iframe src="http://www.trifind.net/b/sunset/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
				document.write('<a href="http://www.thegrandcolumbian.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS1.gif"');
				document.write(' border="0"');
				document.write(' alt="a half iron distance triathlon at the grand coulee dam"></a>');
				break;
			case 6:
				document.write('<iframe src="http://www.trifind.net/b/BuDu/2010/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 7:
				document.write('<iframe src="http://www.trifind.net/b/BuDu/2010/2.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 8:
				document.write('<br><iframe src="http://trifind.net/b/auburn-triathlon/SS/2.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 9:
				document.write('<iframe src="http://www.trifind.net/b/sunset/SS/2.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 10:
				document.write('<iframe src="http://www.trifind.net/b/BuDu/2010/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 11:
				document.write('<iframe src="http://www.trifind.net/b/BuDu/2010/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 12:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 13:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 14:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 15:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 16:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 17:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 18:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 19:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			case 20:
				document.write('<a href="http://www.totalhealthevents.com/" target="_blank"><img src="http://trifind.net/b/coulee/SS.jpg"');
				document.write(' border="0"');
				document.write(' alt="triathlons, duathlons, road races ...."></a>');
				break;
			}

