﻿	function layerVisChange(objectStr,visStr) {
              
	var changeStr;
	var theObj;
              
	if (document.all) {
	if (visStr == "show") {
		visStr = "visible";
	} else if (visStr == "hide") {
		visStr = "hidden";
	}
	changeStr = "document.all['" + objectStr + "']";
	theObj = eval(changeStr);
	if (theObj) {
		theObj.style.visibility = visStr;
	}
	} else if (document.layers) {
	changeStr = "document.layers['" + objectStr + "']";
	theObj = eval(changeStr);
	if (theObj) {
		theObj.visibility = visStr;
	}
	} else if (document.getElementById) {
	if (visStr == "show") {
		visStr = "visible";
	} else if (visStr == "hide") {
		visStr = "hidden";
	}
	changeStr = "document.getElementById('" + objectStr + "')";
	theObj = eval(changeStr);
	if (theObj) {
		theObj.style.visibility = visStr;
	}
}
}