public/javascripts/yui/container/container.js
function(show) {
            Dom.setStyle(this.element, "visibility", (show) ? "visible" : "hidden");
            var hiddenClass = Overlay.CSS_HIDDEN;

            if (show) {
                Dom.removeClass(this.element, hiddenClass);
            } else {
                Dom.addClass(this.element, hiddenClass);
            }
        }
function(show) {
            Dom.setStyle(this.element, "visibility", (show) ? "visible" : "hidden");
            var hiddenClass = Overlay.CSS_HIDDEN;

            if (show) {
                Dom.removeClass(this.element, hiddenClass);
            } else {
                Dom.addClass(this.element, hiddenClass);
            }
        }
function ( show ) { Dom . setStyle ( this . element , "visibility" , ( show ) ? "visible" : "hidden" ) ; var hiddenClass = Overlay . CSS_HIDDEN ; if ( show ) { Dom . removeClass ( this . element , hiddenClass ) ; } else { Dom . addClass ( this . element , hiddenClass ) ; } }
Internal implementation to set the visibility of the overlay in the DOM.

@method _setDomVisibility
@param {boolean} visible Whether to show or hide the Overlay's outer element
@protected
Internal implementation to set the visibility of the overlay in the DOM .