Write a JavaScript program to create and open new window.
<html>
<head>
<title>Open new window</title>
<script>
function openWindow()
{
myWindow = window.open('hello.html', 'My Window', 'top=100, left=100, width=250, height=100,status=1')
}
</script>
</head>
<body>
<form action="#">
<input type="button" value="Open Window" onclick="openWindow()"/>
</form>
</body>
</html>
