I need to find out how to determine the size of an open window so that I can set the size of a div. I want the div to be full screen, but without any scroll bars. I have tried using screen.availHeight and screen.availWidth, but they return the same values no matter what the size of the window is. I thought there was a property that returned this, but I can't seem to find it. I need a cross-browser solution (mainly IE5.5+ and NS6+).