function toggleLayer( whichLayer ) {
	// layers MUST HAVE THEIR ID SET or this will not work and all the 
	// javascript on the page will break. DO NOT SEND A LAYER THAT DOESN'T EXIST!
	if (document.getElementById) {
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer).style;
		if ( style2.display == "none" ) {
			// it's invisible, make it visible
			style2.display = "block";
		} else {
			// it's visible, make it invisible
			style2.display = "none";
		}

	} else if (document.all){
		// this is the way old msie versions work
		var style2 = document.all[whichLayer].style;
		if ( style2.display == "none" ) {
			// it's invisible, make it visible
			style2.display = "block";
		} else {
			// it's visible, make it invisible
			style2.display = "none";
		}
		
	} else if (document.layers) {
		// this is the way nn4 works
		var style2 = document.layers[whichLayer].style;
		if ( style2.display == "none" ) {
			// it's invisible, make it visible
			style2.display = "block";
		} else {
			// it's visible, make it invisible
			style2.display = "none";
		}
	}
	//return true;
}
