function ShowHideDiv(elementID, show)
{
	var control = document.getElementById(elementID);
	if (control != null)
		control.style.visibility = (show ? "visible" : "hidden");
}
