<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
from the top of the current location" onclick="function1();">
</body>
</html>