		var randomnumber;
		var x;
		var books;
		
		books = 3;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<br><a href="http://www.Portlandtri.com/" target="_blank"><img src="http://trifind.net/b/musselman/or/side.gif"');
				document.write(' border="0"');
				document.write(' alt="portland triathlon"></a>');
				break;
			case 2:
				document.write('<br><a href="http://www.Portlandtri.com/" target="_blank"><img src="http://trifind.net/b/musselman/or/side.gif"');
				document.write(' border="0"');
				document.write(' alt="portland triathlon"></a>');
				break;
			case 3:
				document.write('<br><a href="http://www.Portlandtri.com/" target="_blank"><img src="http://trifind.net/b/musselman/or/side.gif"');
				document.write(' border="0"');
				document.write(' alt="portland triathlon"></a>');
				break;
			case 4:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 5:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 6:
				document.write('<a target="_blank" href="http://www.amazon.com/gp/product/1934030155?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1934030155"><img border="0" src="http://www.trifind.net/books/strength-train.jpg"');
				document.write(' border="0"');
				document.write(' alt="strength training for triathletes"></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1934030155" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 7:
				document.write('<a href="http://www.amazon.com/gp/product/1931382964?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1931382964" target="_blank"><img src="http://www.trifind.net/books/sports_nutrition.jpg"');
				document.write(' border="0"');
				document.write(' alt="Triathlon Sports Nutrition"><br><b>Sports Nutrition for Endurance Athletes:<br></b></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1931382964" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 8:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 9:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 10:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 11:
				document.write('<a href="http://www.amazon.com/gp/product/1934030198?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1934030198" target="_blank"><img src="http://www.trifind.net/books/bible.jpg"');
				document.write(' border="0"');
				document.write(' alt="Triathlete\'s Training Bible"><br><b>The Triathlete\'s<br>Training Bible</b></a><<img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1934030198" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 12:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 13:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 14:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 15:
				document.write('<a href="http://www.amazon.com/gp/product/1934030414?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1934030414" target="_blank"><img src="http://trifind.net/books/yoga-s.jpg"');
				document.write(' border="0"');
				document.write(' alt="Pocket Guide to Yoga"><br><b>The Athlete\'s Pocket<br>Guide to Yoga:</b> 50 Routines for Flexibility, Balance, and Focus</a><<img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1934030198" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 16:
				document.write('<br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			}
