		var randomnumber;
		var x;
		var books;
		
		books = 3;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<a href="http://www.amazon.com/gp/product/1579547486?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1579547486" target="_blank"><img src="http://www.trifind.net/A/1579547486.jpg"');
				document.write(' border="0"');
				document.write(' alt="The New #1 Triathlon Book"><br>Triathlon Training<br>in Four Hours<br>a Week</a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/earth-studio/side/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 2:
				document.write('<a href="http://www.amazon.com/gp/product/1579547486?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1579547486" target="_blank"><img src="http://www.trifind.net/A/1579547486.jpg"');
				document.write(' border="0"');
				document.write(' alt="The New #1 Triathlon Book"><br>Triathlon Training<br>in Four Hours<br>a Week</a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/earth-studio/side/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			case 3:
				document.write('<a href="http://www.amazon.com/gp/product/1579547486?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=1579547486" target="_blank"><img src="http://www.trifind.net/A/1579547486.jpg"');
				document.write(' border="0"');
				document.write(' alt="The New #1 Triathlon Book"><br>Triathlon Training<br>in Four Hours<br>a Week</a>');
				document.write('<br><br><iframe src="http://www.trifind.net/b/earth-studio/side/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				break;
			}


