		var randomnumber;
		var x;
		var books;
		
		books = 5;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<br><a href="http://www.donfink.com/" target="_blank"><img src="http://www.trifind.net/b/ironfit/side.gif"');
				document.write(' border="0"');
				document.write(' alt="triathlon training"></a>');
				break;
			case 2:
				document.write('<a href="http://www.midatlanticmultisport.com/" target="_blank"><img src="http://www.trifind.net/b/mid-atlantic/side.gif"');
				document.write(' border="0"');
				document.write(' alt="triathlon boot camp"></a>');
				break;
			case 3:
				document.write('<br><br><a href="http://www.13relay.com" target="_blank"><img src="http://www.trifind.net/b/BBSC/east/13relay-128x60-rotating.gif"');
				document.write(' border="0"');
				document.write(' alt="click for more info"></a>');
				break;
			case 4:
				document.write('<a href="http://www.amazon.com/gp/product/1592282393?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1592282393" target="_blank"><img border="0" src="http://www.trifind.net/b/ironfit/book.jpg" alt="by don fink"><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1592282393" width="1" height="1" style="border:none !important; margin:0px !important;" /');
				document.write(' border="0"');
				document.write(' alt="by don fink"></a>');
				break;
			case 5:
				document.write('<a href="http://www.amazon.com/gp/product/1592282393?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1592282393" target="_blank"><img border="0" src="http://www.trifind.net/b/ironfit/book.jpg" alt="by don fink"><img src="http://www.assoc-amazon.com/e/ir?t=trifindcom&l=as2&o=1&a=1592282393" width="1" height="1" style="border:none !important; margin:0px !important;" /');
				document.write(' border="0"');
				document.write(' alt="by don fink"></a>');
				break;
			}

