Let's say you open a new window on your right (primary) monitor like so:
foo = window.open('test.htm','testFoo','width=700,height=225');
And you want to move it to your second monitor on the left side like so:
foo.moveBy(-470);
This works up until it hits the left edge of the right monitor, after that, it just stays stuck there. I haven't been able to find any JS to allow me to make the "jump" between monitors.
I've made a fiddle here: http://jsfiddle.net/2NGyN/
EDIT: Assume the monitor layout is known. Not that it would make a difference because the crux of the problem is that as far as I can tell, you can not move a window into another monitor with javascript.