// JavaScript Document

// used to hide or show a layer
function toggleLayer(whichLayer_1, whichLayer_2){

	if (document.getElementById){
		// this is the way the standards work
		var style_visible = document.getElementById(whichLayer_1).style;
		style_visible.display = style_visible.display? "":"none";
		var style_visible = document.getElementById(whichLayer_2).style;
		style_visible.display = style_visible.display? "":"none";
	}else if (document.all){
		// this is the way old msie versions work
		var style_visible = document.all[whichLayer_1].style;
		style_visible.display = style_visible.display? "":"none";
		var style_visible = document.all[whichLayer_2].style;
		style_visible.display = style_visible.display? "":"none";
	}else if (document.layers){
		// this is the way nn4 works
		var style_visible = document.layers[whichLayer_1].style;
		style_visible.display = style_visible.display? "":"none";
		var style_visible = document.layers[whichLayer_2].style;
		style_visible.display = style_visible.display? "":"none";
	}
}