可以通过设置window.open里的参数限定它的位置,不让它每次都不同。
window.open("Sample.htm",null,
    "Top=50,left=50,height=200,width=400,status=yes,toolbar=no,menubar=no,location=no")