Javascript reload parent window for popup two levels away

Need help getting this to work.

Main browser window open (home_1.htm). Click link on it, which opens second browser (info_center.htm).
From second browser, click another link, which opens third browser (popup_1.htm).
From third browser, click a link which;

  1. Closes third browser,
  2. Brings main window to focus & reloads with a new page

I tried this, which seems to work EXCEPT, making the first or main browser window focus or come to the front of all browsers. That is the only element not working.

href=“managerzone_1.htm” target=“main” onClick=“window.close();window.main.focus()”