		var randomnumber;
		var x;
		var books;
		
		books = 5;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<iframe src="http://www.trifind.net/b/pigman/2009/4.html" width=122 height=184 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				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('<iframe src="http://www.trifind.net/b/BBSC/2009/side/2.html" width=122 height=180 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/hy-vee/2009/side/3.html" width=128 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 3:
				document.write('<a href="http://www.bluffcreektri.com" target="_blank"><img src="http://www.trifind.net/b/hickory-grove/2009-side.gif"');
				document.write(' border="0"');
				document.write(' alt="Triathlon Information"></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('<iframe src="http://www.trifind.net/b/pigman/2009/3.html" width=122 height=184 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				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 5:
				document.write('<iframe src="http://www.trifind.net/b/hy-vee/2009/side/1.html" width=128 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;
			}


