u probably need to reload the page everytime the window gets resized. or u could change teh properties of the window so that it can't be resized ( the resizable property) no idea whether this or if it will work or not!
to reload, the handler text would be this:
Hope this information helped u out!
Computers are simple for the complex mind, yet complex for the simple mind