<!DOCTYPE html>
<html>
<head>
<script>
function myFunction() {
var myWindow = window.open("", "myWin", "left=700, top=350, width=200, height=100");
myWindow.document.write("<p>This is 'myWin'");
myWindow.document.write("<br>ScreenX: " + myWindow.screenX);
myWindow.document.write("<br>ScreenY: " + myWindow.screenY + "</p>");
}
</script>
</head>
<body>
<button onclick="myFunction()">Open "myWin"</button>
</body>
</html>