		var randomnumber;
		var x;
		var books;
		
		books = 14;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<iframe src="http://www.trifind.net/b/element-events/2010/pics/1.html" width=620 height=350 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<iframe src="http://www.trifind.net/b/element-events/2010/pics/2.html" width=568 height=388 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 3:
				document.write('<iframe src="http://www.trifind.net/b/element-events/2010/pics/3.html" width=620 height=350 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<a href="http://www.amazon.com/gp/product/1934030465?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1934030465" target="_blank"><img src="http://www.trifind.net/b/BOOKS/athlete-plate-L.jpg"');
				document.write(' border="0"');
				document.write(' alt="Enjoy Real Food and Higher Performance"><br><b>Athlete\'s Plate</b></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1934030465" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 5:
				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-training-L.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 6:
 				document.write('<a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/B0007VB4IY&tag=trifindcom&camp=1789&creative=9325" target="_blank"><img src="http://www.trifind.net/A/HRM2.jpg"');
				document.write(' border="0"');
				document.write(' alt="polar HRM"><br></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=B0007VB4IY" 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/1934030465?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1934030465" target="_blank"><img src="http://www.trifind.net/b/BOOKS/athlete-plate-L.jpg"');
				document.write(' border="0"');
				document.write(' alt="Enjoy Real Food and Higher Performance"></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1934030465" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 8:
				document.write('<a href="http://www.amazon.com/gp/product/B000FDK78W?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=B000FDK78W" target="_blank"><img src="http://www.trifind.net/dvd/freestyle_made_easy.jpg"');
				document.write(' border="0"');
				document.write(' alt="more info"></a>');
				break;
			case 9:
				document.write('<a href="http://www.amazon.com/gp/product/B00063E77I?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=B00063E77I" target="_blank"><img src="http://www.trifind.net/books/swim_dvd.jpg"');
				document.write(' border="0"');
				document.write(' alt="yes - you can swim faster"></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=B00063E77I" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 10:
 				document.write('<a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/B0007VB4IY&tag=trifindcom&camp=1789&creative=9325" target="_blank"><img src="http://www.trifind.net/A/HRM2.jpg"');
				document.write(' border="0"');
				document.write(' alt="polar HRM"><br></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=B0007VB4IY" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 11:
				document.write('<a href="http://www.amazon.com/gp/product/1934030465?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1934030465" target="_blank"><img src="http://www.trifind.net/b/BOOKS/athlete-plate-L.jpg"');
				document.write(' border="0"');
				document.write(' alt="Enjoy Real Food and Higher Performance"></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1934030465" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 12:
				document.write('<a href="http://www.amazon.com/gp/product/143570567X?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=143570567X" target="_blank"><img src="http://www.trifind.net/books/know-regrets-L.jpg"');
				document.write(' border="0"');
				document.write(' alt="Triathloning Know Regrets - Paperback"><br><b>Know Regrets</b></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=143570567X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 13:
				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-training-L.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 14:
				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.jpg"');
				document.write(' border="0"');
				document.write(' alt="Pocket Guide to Yoga"></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 15:
				document.write('<a href="http://www.amazon.com/gp/product/0978700767?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=0978700767" target="_blank"><img src="http://www.trifind.net/books/w/L-transformed.jpg"');
				document.write(' border="0"');
				document.write(' alt="transformed by triathlon"></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=0978700767" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 16:
				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-training-L.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 17:
				document.write('<a href="http://www.amazon.com/gp/product/1931382999?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1931382999" target="_blank"><img src="http://www.trifind.net/books/bike/L-law.jpg"');
				document.write(' border="0"');
				document.write(' alt="Your Rights as a Cyclist"><br><b>Bicycling and the Law:</b> Your Rights as a Cyclist</a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1931382999" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 18:
				document.write('<a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/1569244677&tag=trifindcom&camp=1789&creative=9325" target="_blank"><img src="http://trifind.net/books/slo-fat.jpg"');
				document.write(' border="0"');
				document.write(' alt="live your athletic dreams in the body you have now"></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1569244677" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 19:
				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-training-L.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 20:
				document.write('<a href="http://www.amazon.com/gp/product/1578262445?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1578262445" target="_blank"><img src="http://www.trifind.net/books/L-TriPower.jpg"');
				document.write(' border="0"');
				document.write(' alt="The Ultimate Strength Training, Core Conditioning, Endurance, and Flexibility Program for Triathlon Success"></a><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1578262445" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />');
				break;
			case 21:
				document.write('<a href="http://www.amazon.com/gp/product/1931382204?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1931382204" target="_blank"><img src="http://www.trifind.net/A/1931382204L.jpg"');
				document.write(' border="0"');
				document.write(' alt="waterproof binder"></a>');
				break;
			}
