source for above demonstration page:
<script type="text/javascript">
function open1() {
s = "width=500,height=150,left=0,screenX=0,";
s += "top=100,screenY=100,location,menubar,";
s += "resizable,status,toolbar";
window.open("page1w.html","_blank",s);
}
function open2() {
s = "width=300,height=500,left=300,screenX=300,";
s += "top=0,screenY=0";
window.open("page1w.html","_blank",s);
}
</script>
<p><a href="javascript:void open1();">Open first window</a></p>
<p><a href="javascript:void open2();">Open second window</a></p>