		var randomnumber;
		var x;
		var books;
		
		books = 4;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<iframe src="http://www.trifind.net/b/endorfunsports/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/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/piranha-sports/side2.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/endorfunsports/side/1.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 3:
				document.write('<iframe src="http://www.trifind.net/b/pumpkinman/2009/2.html" width=132 height=152 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/endorfunsports/side/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 4:
				document.write('<iframe src="http://www.trifind.net/b/pumpkinman/2009/3.html" width=132 height=152 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/endorfunsports/side/3.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			}


