Resizing a pop-up window?

Anyone know the javascript for producing a window that resizes itself? As seen in www.mjau-mjau.com. Go to ‘Interactive’ then click ‘view swf’ The pop-up window resizes itself and Im needing the coding for it.