I wish to set a pop-up window on a set position on the screen...

I've tried:
onClick="window.open('edit.php?subcatid=$subcatid','editwindow','width=350,height=200,screenX=300,screenY=300');">

But that doesn't seem to work at all... it still opens on the left top corner of my screen.

Could someone help me with this script?