		var randomnumber;
		var x;
		var books;
		
		books = 10;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<iframe src="http://www.trifind.net/b/sunset/side/nj-1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/cadencecycling/side/3.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/sandy-hookers/2010/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<iframe src="http://www.trifind.net/b/sandy-hookers/2010/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/sunset/side/nj-2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/piranha-sports/side2.html" width=126 height=156 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 3:
				document.write('<iframe src="http://www.trifind.net/b/sandy-hookers/2010/3.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/piranha-sports/side-nj.html" width=130 height=140 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<iframe src="http://www.trifind.net/b/sandy-hookers/2010/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/cadencecycling/side/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/piranha-sports/side-nj.html" width=130 height=140 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 5:
				document.write('<iframe src="http://www.trifind.net/b/tri-fitness/side/2.html" width=130 height=159 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/sandy-hookers/2010/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 6:
				document.write('<iframe src="http://www.trifind.net/b/sunset/side/nj-3.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/cadencecycling/side/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/piranha-sports/side4.html" width=126 height=156 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 7:
				document.write('<iframe src="http://www.trifind.net/b/piranha-sports/side1.html" width=126 height=156 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/sandy-hookers/2010/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 8:
				document.write('<iframe src="http://www.trifind.net/b/sandy-hookers/2010/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/piranha-sports/side-nj.html" width=130 height=140 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 9:
				document.write('<iframe src="http://www.trifind.net/b/piranha-sports/side3.html" width=126 height=156 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/sandy-hookers/2010/3.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 10:
				document.write('<iframe src="http://www.trifind.net/b/sandy-hookers/2010/4.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><a href="http://www.jsmultisport.com/" target="_blank"><img src="http://www.trifind.net/b/jsmultisport/side6.jpg"');
				document.write(' border="0"');
				document.write(' alt="click for more info"></a>');
				document.write('<br><br><a href="http://www.jsmultisport.com/" target="_blank"><img src="http://www.trifind.net/b/jsmultisport/side7.jpg"');
				document.write(' border="0"');
				document.write(' alt="click for more info"></a>');
				break;
			}



				