<html>
<head>
<title>One</title>
<script>
function createDifferentWindow() {
window.open('openclose_two.html', 'window2', 'status=0,toolbar=0');
window.close();
}
</script>
</head>
<body onLoad="createDifferentWindow();">
</body>
</html>