If you are determined to do this, and if my new code works, you should do a browser test:
HTML Code:<input type="button" value="Close Window" onclick="if(document.body.filters){top.window.parent.opener=self;top.window.parent.close();}else {top.window.close();}">
