function(){
        var me = this;
        if (me.isStyle(DISPLAY, NONE)) {
            me.setStyle(VISIBILITY, HIDDEN);
            me.setStyle(DISPLAY, getDisplay(me)); // first try reverting to default
            if (me.isStyle(DISPLAY, NONE)) { // if that fails, default to block
                me.setStyle(DISPLAY, "block");
            }
        }
    }
function(){
        var me = this;
        if (me.isStyle(DISPLAY, NONE)) {
            me.setStyle(VISIBILITY, HIDDEN);
            me.setStyle(DISPLAY, getDisplay(me)); 
            if (me.isStyle(DISPLAY, NONE)) { 
                me.setStyle(DISPLAY, "block");
            }
        }
    }
function ( ) { var me = this ; if ( me . isStyle ( DISPLAY , NONE ) ) { me . setStyle ( VISIBILITY , HIDDEN ) ; me . setStyle ( DISPLAY , getDisplay ( me ) ) ; // first try reverting to default if ( me . isStyle ( DISPLAY , NONE ) ) { // if that fails, default to block me . setStyle ( DISPLAY , "block" ) ; } } }
private
private