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