function replace(section)
{
	var content = "";
	var counties = "";
	var image = "";
	var title = "";

	switch(section)
	{
		case "nwrc":
			photos = 5;
			title = "Northwest Region";
			counties = "Escambia, Santa Rosa, Okaloosa, Walton, Holmes, Washington, Bay, Jackson, Calhoun, Gulf";
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		case "ncrc":
			photos = 3;
			title = "North Central Region";
			counties = "Gadsden, Liberty, Franklin, Leon, Wakulla, Jefferson, Madison, Taylor, Hamilton, Suwannee, Lafayette, Dixie, Columbia, Baker, Union";	
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		case "nerc":
			photos = 4;
			title = "Northeast Region";
			counties = "Nassau, Duval, Clay, St. Johns, Putnam, Flagler, Volusia";
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		case "crc":
			photos = 10;
			title = "Central Region";
			counties = "Gilchrist, Levy, Bradford, Alachua, Marion, Citrus, Hernando, Sumter, Lake";
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		case "wcrc":
			photos = 6;
			title = "West Central Region";
			counties = "Pasco, Pinellas, Hillsborough, Polk, Manatee, Sarasota, Hardee, Desoto, Highlands";
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		case "ecrc":
			photos = 1;
			title = "East Central Region";
			counties = "Seminole, Orange, Osceola, Brevard, Indian River, Okeechobee, St. Lucie, Martin";
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		case "swrc":
			photos = 10;
			title = "Southwest Region";
			counties = "Charlotte, Glades, Lee, Hendry, Collier";
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		case "serc":
			photos = 1;
			title = "Southeast Region";
			counties = "Palm Beach, Broward, Miami Dade, Monroe";
			image = section + "_" + Math.ceil(Math.random()*photos) + ".jpg";
			break;
			
		default:
			title = "Invalid Regional Code";
			counties = "Not a list.";
			image = "";
			break;
	}
		
	// change content
	content = "<h2 style=\"margin: 0 0 5px 0; padding: 0;\">" + title + "</h2>\n\n";
	content += "<p style=\"font-size: 80%; margin: 0 0 5px 0; padding: 0;\">" + counties + "</p>\n";
	content += "<p><image src=\"http://www.flpublicarchaeology.org/images/hovers/" + image + "\" /></p>\n";
	
	document.getElementById('content').innerHTML = content;
}

function reset()
{
	var content = "<p><em>\"...to promote and facilitate the conservation, study, and public understanding of Florida's archaeological heritage through regional centers.\"</em></p>\n";
	content += "<h2>Explore Florida's Archaeology</h2>\n";
	content += "<p>You can encounter archaeology in every region of Florida!  Click on one of the map regions ... find one of our regional public archaeology centers . . . learn about archaeological sites, museums, and events . . . see how you can volunteer to help us conserve, study, and spread the word about Florida's buried heritage!</p>\n";
	content += "<p>Our regional archaeologists are ready to answer your questions and help you encounter Florida archaeology.</p>\n";
	
	document.getElementById("content").innerHTML = content;
}