Javascript no margin

Hi,

I’m trying to create all sorts of different flash stuff, and I’m loading these images, but vertically there isn’t enough space for them, so I was planning on creating a popup window with the image, whenever pressed. So, I just used the great code for launching a popup window, here from Kirupa - http://www.kirupa.com/developer/mx/centered_popup.htm

Now, everything works just fine, the popup window appears, with the right image, and everything, the only problem is, that I’m going code it, so the popup window can’t be scaled, and there is a margin on the image. So there’s some white space, and some of the image is cut off.

Can anyone help me adding some code to the launching pop-up window tutorial, so that there won’t be any margins?

btw, what a nice weather :slight_smile: ( here in Denmark at least )