<body onunload="if(s1!=null) s1.close();">
<input type=button onclick="aa()">
<script>
var s1 = null;
function aa(){
s1 = window.open("3.htm");
}
</script>