How hide/close Frame automatically in Frameset?

I have a frameset that I am using via the Notes Client. It has 2 frames.

I would like to programmatically hide/minimize 1 frame when certain criteria exist. How can I do that?

I know you can use javascript but I can’t seem to get it to work with the Notes client… anyone done this before?

Subject: How hide/close Frame automatically in Frameset?

You could create two frames, one normal and one minimized. Then based on a formula in a parent frame you decide what frame to show.