		var randomnumber;
		var x;
		var books;
		
		books = 37;
		
		randomnumber = Math.floor(Math.random() * books);
		randomnumber = randomnumber + 1;
		
		switch(randomnumber)
			{
			case 1:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1255.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 2:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1256.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 3:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1267.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 4:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1257.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 5:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1258.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 6:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1259.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 7:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1260.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 8:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1261.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 9:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1262.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 10:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1263.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 11:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1264.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 12:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1265.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 13:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/IMG_1266.JPG"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 14:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1216.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 15:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1217.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 16:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1226.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 17:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1227.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 18:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1230.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 19:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1236.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 20:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1237.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 21:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1238.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 22:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1240.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 23:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1242.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 24:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1243.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 25:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1244.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 26:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1245.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 27:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1246.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 28:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1247.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 29:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1249.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 30:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1250.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 31:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1251.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 32:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1252.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 33:
				document.write('<a href="http://www.trifind.net/triathlons/iowa/dog_days/results/2007/" target="_top"><img src="http://trifind.net/triathlons/iowa/dog_days/results/2007/img_1253.jpg"');
				document.write(' border="0"');
				document.write(' alt="dog days triathlon"></a>');
				break;
			case 34:
				document.write('<a href="http://www.amazon.com/gp/product/0743253434?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=0743253434" target="_blank"><img src="http://trifind.net/books/swim-b.jpg"');
				document.write(' border="0"');
				document.write(' alt="Improve Your Swimming Times"></a>');
				break;
			case 35:
				document.write('<a href="http://www.triathletedirect.com" target="_blank"><img src="http://www.trifind.net/b/V-MAX/P-wetsuit.jpg"');
				document.write(' border="0"');
				document.write(' alt="fastest wetsuits in the water"></a>');
				break;
			case 36:
				document.write('<a href="http://www.triathletedirect.com" target="_blank"><img src="http://www.trifind.net/b/V-MAX/P-wetsuit.jpg"');
				document.write(' border="0"');
				document.write(' alt="fastest wetsuits in the water"><br>The V-Max is the official wetsuit of TriFind.com</a>');
				break;
			case 37:
				document.write('<a href="http://www.amazon.com/gp/product/B000FDK78W?ie=UTF8&tag=trifindcom&linkCode=as2&camp=1789&creative=9325&creativeASIN=B000FDK78W" target="_blank"><img src="http://www.trifind.net/dvd/freestyle_made_easy.jpg"');
				document.write(' border="0"');
				document.write(' alt="Improve Your Swimming Times"></a>');
				break;
			}


