[FMX]Help!New Window Pop Up ActionScript

This is the code I have…

on (release) {
getURL (“javascript:NewWindow=window.open(‘http://www.enarde.com/popups/3D/3DRed.htm’,‘newWin1’,'width=511,height=448,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=Yes,resizable=No,fullscreen=No’); NewWindow.focus(); void(0);”);

Everything works, its fine…in my flash movie you would click on a icon to see the pic in a new window…okay that works…but i want the user to be able to click on another pic and have the last window they open resize to the size of the pic…
Its not doing that…it does open the pic in the same window but not resized…it stays the same size as the first pic they clicked on…what i have done was for every pic i would change newWin1 to newWin2 and so on…but that just opens it in another window…thats not cool…

So is there a way that i can make it so when i click on a pic it resizes the first window that was open?

I hope that made some kind of sense :alien:
Oh yeah heres the site…http://www.enarde.com
Just incase you dont understand what i mean…im talking about the 3D section.