Are you suggesting "refreshing the parent page" as simply reloading the page from the server?
If it's just a basic GET request, you can try using window.location.reload(true)
.
If your requirements are more complex, please provide additional details for assistance.
UPDATE:
After reviewing your code snippets, it seems that you are unnecessarily reloading the parent window location in multiple ways. Furthermore, if you accessed the current page through a POST operation (such as a Postback in ASP.Net), calling location.reload() will actually prompt a re-sending of the POST data. This prompts an alert in IE warning about potential duplicate data submission to the server.
Before refreshing the page, is it possible to make a clean request to the parent page without resubmitting prior data? If a simple GET request suffices, consider removing the "doOnClose" function from the popup page and allowing "window.location = window.location" in the parent page to refresh it.