hecked ? 'Enabled' : 'Disabled') +
              ' toolbar in ' + (goog.now() - t) + 'ms');
        });

    var tb2 = new goog.ui.Container();
    tb2.decorate(goog.dom.getElement('tb2'));
    goog.events.listen(tb2, EVENTS, logEvent);

    // Hook up checkbox.
    goog.events.listen(goog.dom.getElement('enable_tb2'),
        goog.events.EventType.CLICK,
        function(e) {
          var t = goog.now();
          tb2.setEnabled(e.target.checked);
          goog.log.info(logger, (e.target.checked ? 'Enabl