whole_func_string: function(animate){
          var me = this;
          me.setVisible(!me.isVisible(), me.anim(animate));
          return me;
      }
func_code_string: function(animate){
          var me = this;
          me.setVisible(!me.isVisible(), me.anim(animate));
          return me;
      }
func_documentation_string: Toggles the element's visibility or display, depending on visibility mode.
  @param {Boolean/Object} [animate] True for the default animation, or a standard Element animation config object
  @return {Ext.dom.Element} this