let topWindow = top.getWindowOpner() ? top.getWindowOpener() : top ;