Loading swf with bigger dimensions

in my html will be a swf (in a table) with dimension 589x465. I want to load an other swf with dimensions 800x600 above this html, when clicked on a button.

In the main html you can click on paitings. If you click on the painting the “pop-up” has to open. This is a galary. If you click on painting 3 (button3 in main) the galary has to show painting 3 (frame 3 in galary).

Can someone help me.