		var randomnumber;
		var x;
		var books;
		
		books = 10;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<br><br><br><br><br><iframe src="http://www.trifind.net/b/best-of-the-us/2010/side/IN1.html" width=130 height=130 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				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 3:
				document.write('<a href="http://www.3disciplines.com/" target="_blank"><img src="http://www.trifind.net/b/3disciplines/starkermann.jpg"');
				document.write(' border="0"');
				document.write(' alt="multi sport events in michigan ...."></a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/best-of-the-us/2010/side/IN2.html" width=130 height=130 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('<br><br><iframe src="http://www.trifind.net/b/best-of-the-us/2010/side/IN1.html" width=130 height=130 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 6:
				document.write('<br><br><br><iframe src="http://www.trifind.net/b/best-of-the-us/2010/side/IN2.html" width=130 height=130 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>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/best-of-the-us/2010/side/IN1.html" width=130 height=130 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 8:
				document.write('<a href="http://www.3disciplines.com/" target="_blank"><img src="http://www.trifind.net/b/3disciplines/starkermann.jpg"');
				document.write(' border="0"');
				document.write(' alt="multi sport events in michigan ...."></a>');
				break;
			case 9:
				document.write('<iframe src="http://www.trifind.net/b/element-events/2009/side/1.html" width=125 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				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;
			case 10:
				document.write('<br><br><br><iframe src="http://www.trifind.net/b/best-of-the-us/2010/side/IN1.html" width=130 height=130 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			}
