// JavaScript Document

function showImagesForYear(year, show)
{
 //if show = false then hide images
 //if show = true then show images
 
	if(show){
		//first set the images visibility
			document.getElementById(year + "_images").style.display = "block";
		document.getElementById(year + "_control").innerHTML = "<a href=\"javascript:showImagesForYear('" + year + "', false);\">(hide)</a>";
 	}else{
	 	document.getElementById(year + "_images").style.display = "none";
		document.getElementById(year + "_control").innerHTML = "<a href=\"javascript:showImagesForYear('" + year + "', true);\">(show)</a>";
	}
}