JavaScript Program to Create Window and Use Different Styles of Window

Write a JavaScript program to create window and use different styles of window.

Source Code
<title>Create a new window using JavaScript</title>
        function createNewWindow() 
            myWindow ="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")

    <input type="button" value="Create New Window" onclick="createNewWindow()"/>