		var randomnumber;
		var x;
		var books;
		
		books = 20;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/2.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 3:
				document.write('<iframe src="http://www.trifind.net/b/piranha-sports/2009/SS/p1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<iframe src="http://www.trifind.net/b/title/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 5:
				document.write('<a href="http://www.trinitydesigns.org" target="_blank"><img src="http://www.findaraceevent.com/p/trinity_designs/SSx.jpg"');
				document.write(' border="0"');
				document.write(' alt="necklaces, bracelets, key chains, book marks ...."></a>');
				break;
			case 6:
				document.write('<iframe src="http://www.trifind.net/b/mossman/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 7:
				document.write('<iframe src="http://www.trifind.net/b/title/SS/2.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 8:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 9:
				document.write('<iframe src="http://www.trifind.net/b/title/SS/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 10:
				document.write('<iframe src="http://www.trifind.net/b/pig-iron/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 11:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 12:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/2.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 13:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 14:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 15:
				document.write('<a href="http://www.13relay.com" target="_blank"><img src="http://www.trifind.net/b/BBSC/east/13relay-728x90-rotating.gif"');
				document.write(' border="0"');
				document.write(' alt="click for more info"></a>');
				break;
			case 16:
				document.write('<iframe src="http://www.trifind.net/b/piranha-sports/2009/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 17:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/2.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 18:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/1.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 19:
				document.write('<iframe src="http://www.trifind.net/b/title/SS/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 20:
				document.write('<iframe src="http://www.trifind.net/b/cadencecycling/SS/3.html" width=728 height=90 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			}

