IE6:
<script> <br>window.opener =null; <br>window.close(); <br></script>
IE7:
<script> <br>window.open('','_self'); <br>window.close(); <br> </script>
General code for IE6, IE7, FF:
<script> <br>window.opener=null; <br>window.open('','_self'); <br>window.close(); <br> </script>