// JavaScript Document
funFacts = new Array(18);

funFacts[0] = "Osprey build nests as big as 5 feet in diameter and mate for life";
funFacts[1] = "Sea nettles are made of 90% water";
funFacts[2] = "Seahorses can be found in underwater grass beds in the Bay";
funFacts[3] = "Periwinkles, or salt water snails, can be abundantly found on cord grass in salt marshes";
funFacts[4] = "Oysters filter the water and provide habitat";
funFacts[5] = "Male fiddler crabs have one large claw and one small";
funFacts[6] = "Flounder are flat fish that live on the bottom of the bay";
funFacts[7] = "Blue crabs are decapods - they have ten legs!";
funFacts[8] = "Moon jellies are the largest jellyfish in the Bay and do not sting!";
funFacts[9] = "Striped Bass are also known as rockfish";
funFacts[10] = "Salinity is the amount of salt in the water";
funFacts[11] = "Blue crabs molt or shed their exoskeleton as they grow";
funFacts[12] = "Once a baby oyster settles on a hard surface it is called a “spat”";
funFacts[13] = "The Chesapeake Bay watershed is 64,000 square miles";
funFacts[14] = "The Chesapeake Bay watershed contains portions of VA, MD, PA, DE, NY, WV and Washington DC";
funFacts[15] = "An estuary, like Chesapeake Bay, is where salt and fresh water meet";
funFacts[16] = "Underwater grasses are angiosperms, or flowering plants";
funFacts[17] = "The Chesapeake Bay begins in Cooperstown New York, home of the Baseball Hall of Fame";

index = Math.floor(Math.random() * funFacts.length);

function setFunFacts() {
	document.write (funFacts[index]);
}