<html>
<head>
<title>Hyper link to close window</title>
<script language="javascript">
<!--
function CloseWindow() {
window.close();
window.open('http://www.java2java.com');
}
//-->
</script>
</head>
<body bgcolor="#ffffff" text="#000000">
This is a new Window<br>
<br>
<a href="javascript:CloseWindow()">Close This Window</a>
</body>
</html>
|