		var randomnumber;
		var x;
		var books;
		
		books = 9;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<a href="http://www.ironmankansas.com" target="_blank"><img src="http://www.trifind.net/b/Z/k/side.jpg"');
				document.write(' border="0"');
				document.write(' alt="ironmankansas.com"></a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/title/side/1.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<a href="http://www.midwesttriathloncoaching.com/" target="_blank"><img src="http://www.trifind.net/b/kc-tri-coach/side.jpg"');
				document.write(' border="0"');
				document.write(' alt="Multi Sport Training"></a>');
				break;
			case 3:
				document.write('<a href="http://www.midwesttriathloncoaching.com/" target="_blank"><img src="http://www.trifind.net/b/kc-tri-coach/side.jpg"');
				document.write(' border="0"');
				document.write(' alt="Multi Sport Training"></a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/title/side/2.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<a href="http://www.ironmankansas.com" target="_blank"><img src="http://www.trifind.net/b/Z/k/side.jpg"');
				document.write(' border="0"');
				document.write(' alt="ironmankansas.com"></a>');
				break;
			case 5:
				document.write('<a href="https://www.yourcausesports.org" target="_blank"><img src="http://trifind.net/b/tri-cause/side.gif"');
				document.write(' border="0"');
				document.write(' alt="YOU select the nonprofit organization"></a>');
				document.write('<br><br><a href="http://www.amazon.com/gp/product/1579547486?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1579547486" target="_blank"><img src="http://www.trifind.net/A/1579547486.jpg"');
				document.write(' border="0"');
				document.write(' alt="The New #1 Triathlon Book"><br>Triathlon Training<br>in Four Hours<br>a Week</a>');
				break;
			case 6:
				document.write('<a href="http://www.midwesttriathloncoaching.com/" target="_blank"><img src="http://www.trifind.net/b/kc-tri-coach/side.jpg"');
				document.write(' border="0"');
				document.write(' alt="Multi Sport Training"></a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/title/side/3.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 7:
				document.write('<a href="http://www.ironmankansas.com" target="_blank"><img src="http://www.trifind.net/b/Z/k/side.jpg"');
				document.write(' border="0"');
				document.write(' alt="ironmankansas.com"></a>');
				break;
			case 8:
				document.write('<a href="http://www.midwesttriathloncoaching.com/" target="_blank"><img src="http://www.trifind.net/b/kc-tri-coach/side.jpg"');
				document.write(' border="0"');
				document.write(' alt="Multi Sport Training"></a>');
				break;
			case 9:
				document.write('<a href="http://www.ironmanbranson.com/" target="_blank"><img src="http://www.trifind.net/b/Z/k/side-mo.jpg"');
				document.write(' border="0"');
				document.write(' alt="ironman branson"></a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/title/side/4.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			}



				