<html> <body> <script language="JavaScript"> function function1(){ window.resizeBy(-100,-100); } </script> <input type="button" value="Resize this window by (-100,-100)" onClick="function1();"> </body> </html>