Write a JavaScript program to create window and use different styles of window.
<html>
<title>Create a new window using JavaScript</title>
<head>
<script>
function createNewWindow()
{
myWindow = window.open("radio.html", "myWindow", "status=1, toolbar=1, location=0, width=300, height=200, left=50, top=50, scrollbars=1, resizable=0, directories=1, menubar=0")
}
</script>
</head>
<body>
<form>
<input type="button" value="Create New Window" onclick="createNewWindow()"/>
</form>
</body>
</html>
