<html>
<head>
<title>Test</title>
<script>
functionopenSubWin()
{
subWindow=window.open("","newwin","height=250,width=250,toolbar=no,scrollbars="+scroll+",menubar=no");
subWindow.document.write("<TITLE>Op</TITLE>")
subWindow.document.write("<BODYBGCOLOR=#ffffff>")
subWindow.document.write("<h1>Hello!</h1>")
subWindow.document.write("Newwindowopened!")
subWindow.document.write("</BODY>")
subWindow.document.write("</HTML>")
subWindow.document.close();
}
</script>
</head>
<body>
<ahref="#"onclick="openSubWin()">open</a>
</body>
</html>