Targetting Multiple Frames

I have a frameset which comprises a main view frame.

When the user clicks on a document the Preview pane frame displays the content. This all works fine. However, I would like 3 of the other frames to be context based as well i.e. they will effectively do a “Show Single Category” type selection based on the currently selected document in the main frame. Therefore when the user clicks on document 1 which is Account Number 11111 the 3 other frames will display documents relating to just that account number. This is all Notes client functionality.

Is this possible?

Subject: Call a javascript function

have the javascript function populate the frames in the frameset.