<html> <body> <script language="JavaScript"> function function1() { window.moveTo(100,300); } </script> <input type="button" value="Move window" onclick="function1();"> </body> </html>