<script>
function a(){
a=window.open("index.htm","win","")
}
</script>
<body onload=a()>
<input type=button onclick=a.focus()>