This works out pretty well:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
if(self.opener)
var winback=function(ref){
var nw=700, nh=500;
if(screen.availWidth){
nw=Math.floor(screen.availWidth*.9);
nh=Math.floor(screen.availHeight*.85);
}
window.open(ref,'','top=2,left=2,width='+nw+',height='+nh+',menubar,scrollbars,directories,status,location,resizable,toolbar');
setTimeout('self.close()',200);
}
</script>
</head>
<body>
<a href="http://www.address" onclick="if(winback){winback(this.href);return false;}">Get your Window Back</a>
</body>
</html>
Bookmarks