between <head> and </head> add follow lines:(it affects only in IE)
<SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript>
'window.resizeTo x,y will change window's size where x is window's width
(pixel), y is window's height(pixel).You can also use window.screen.height and
window.screen. width to determin your window's layout. for example: window.resizeto window.screen.width/2,window.screen.height/2 to get a window
which size is 1/4 screen
window.moveTo x,y will bring your window to anywhere you want.
I have tested this, it runs correctly!
You must try it in your machine again to test it's behavior!
If you close your window in Html, you will always get a alert!