I think my problem is a little complicated, but I'll try to explain clearly.
I have 3 frames (top, middle, bottom). The bottom frame has a submit message button which when pressed, submits a message to the server. The server creates a HTML page and sends it back to the client. At this point the frame src is pointing at this HTML page and the frame size is 100% (since I want to use the entire bottom frame to display the HTML).
This HTML has also a logout button. When it is pressed I want the middle frame to close / disappear. This is my problem. How do I close the middle frame?