<input type="button" value="ok"
onclick="opener.location.href='login.asp';setTimeo ut('self.close()',200)">

ciao