onresize = function(e) {
    var bBox = ArdublocklyClassic.getBBox_(
        document.getElementById('content_wrapper'));
    for (var i = 0; i < ArdublocklyClassic.TABS_.length; i++) {
      var el = document.getElementById(
          'content_' + ArdublocklyClassic.TABS_[i]);
      el.style.top = bBox.y + 'px';
      el.style.left = bBox.x + 'px';
      // Height and width need to be set, read back, then set again to
      // compensate for scrollbars.
      el.style.height = bBox.height + 'px';
      el.style.height = (2 * bBox.height - el.offsetHeight) + 'px';
      el.style.width = bBox.width + 'px';
      el.style.width = (2 * bBox.width - el.offsetWidth) + 'px';
    }
    // Make the 'Blocks' tab line up with the toolbox.
    if (ArdublocklyClassic.workspace.toolbox_.width) {
      document.getElementById('tab_blocks').style.minWidth =
          (ArdublocklyClassic.workspace.toolbox_.width - 38) + 'px';
          // Account for the 19 pixel margin and on each side.
    }
  }
Initialize Blockly.  Called on page load.