Product gallery

What I am trying to do is similar to http://www.kirupa.com/developer/flash5/frames.htm but what I want Flash to do is:
When clicking a button in Flash. Flash will open a three framed htm document and also tell what will be placed in each of the three frames. Each button will need to use the same three framed htm document but place different info in each of the three frames. I am using MX if it matters

Basically what I am trying to is a product gallery. When you click on a small version of the product in the main flash site, I want it to open a new window. That new window will display in the top frame the title/ name of the product. The middle frame will be a larger image. The bottom frame will be an image of all the available colors and a description of the product. I hope that helps you understand what I am trying to accomplish.