if (window.parent && window.parent.updateTabs)
  window.parent.updateTabs(window.name);
