function showHideLayer(layerID, layerVisibility) { document.getElementById(layerID).style.visibility = layerVisibility; }