if (isUndefined(box.width)) {
    box.width = document.body.scrollWidth - box.left - box.right;
  }