Write a JavaScript program to open new window and set window position of newly opened window.
<html>
<head>
<title>Open new window and set window position</title>
</head>
<body>
<script>
var mywin = window.open("", "myWindow", "width=500, height=300, top=50, left=75, status=no")
mywin.document.write("Screen width: " + mywin.outerWidth);
mywin.document.write("Screen height: " + mywin.outerHeight);
</script>
</body>
</html>
