﻿
// Send object ID as string
// If it is currently visible, this makes it invisble
// If it is currently invisible, this makes it visible
function MakeVisible(objName, option){
	var oElement = document.getElementById(objName);
	if (option == 0) oElement.style.display = "none";
	if (option == 1) oElement.style.display = "inline";
	if (option == 2) {
		if (oElement.style.display == "none") oElement.style.display = "inline";
		else oElement.style.display = "none"; 
		}
	}