White border when linking a popup to a JPG

I’m linking directly to a JPG into a javascript popup from flash. Problem is when you link to a JPG you get that default white border on the top and on the left. Is there any code to get rid of that border like the code u use to get rid of the scroll bars and toolbars?

code looks like this:
[AS]on (release) { getURL(“javascript:var mypopup = window.open
(‘pics/home/home1.jpg’,‘mySite’,
‘toolbar=0,
location=0,
directories=0,
status=0,
menubar=0,
scrollbars=0,
resizable=1,
width=500,
height=300,
top=’+eval((screen.availHeight - 300) / 3)+’,
left=’+eval((screen.availWidth - 500) / 2));
mypopup.focus();”); }[/AS]

Edit: i added returns so it didnt’ cause horziontal scrolling in the thread. Actual code is all in one line.