The problem is that after the download the JavaScript stops working on the souce page and that's why it still works in other frames. We solved the problem first by sending the download throught a hidden frame on the same window but we decided that was better to pop up a new window, but both ways work, the only problem with the popup window is that there is no way to control if the user has closed it or not and if he makes more than one download and you are using the same window name so it opens only one it could loose the previous download.自己来回!tnnd