Move window By
<html> <body> <script language="JavaScript"> function function1() { window.moveBy(100,100); } </script> <input type="button" value="Move the window 100 pixels to the left and 100 pixels" onclick="function1();"> </body> </html>