Great for CP simulations. As easy as below (run from the js-opened child window/simulation) window.opener.focus(); window.close(); Tech Reference: Captivate, JavaScript