obj.style.visibility = 'hidden';
elem.style.display = 'none'; // hide elem.style.display = 'block'; // show - use this for block elements (div, p) elem.style.display = 'inline'; // show - use this for inline elements (span, a)