		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/REV-3/side-2010/2.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 2:
				document.write('<iframe src="http://www.trifind.net/b/title/side/1.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 3:
				document.write('<br><br><iframe src="http://www.trifind.net/b/REV-3/side-2010/3.html" width=130 height=160 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			case 4:
				document.write('<iframe src="http://www.trifind.net/b/title/side/3.html" width=120 height=120 frameborder=0 scrolling=no marginwidth=0 marginheight=0></iframe>');
				document.write('<br><br><a href="http://www.triathlonchristmas.com/" target="_blank"><img src="http://www.triathlonchristmas.com/images/christmas_banner_130x160.jpg"');
				document.write(' border="0"');
				document.write(' alt="christmas gifts for triathletes"></a>');
				break;
			}
