Flashcalled popup (with js) doesnt work online

hi

i have used the launch centerd popup tutorial in my site
and it works perfectly using:
firefox / offline
firefox / online
ie / offline

but not

ie / online

…is there an answer out there for this problem?
the code:

_global.openWinCentre = function(url, winName, w, h,
toolbar, location, directories, status, menubar,
scrollbars, resizable) {getURL("javascript:
window.open('"+url+"','"+winName+"',
'"+"width="+w+",height="+h+",toolbar="+toolbar+",location=
"+location+",directories="+directories+",status="+status+",
menubar="+menubar+",scrollbars="+scrollbars+",resizable="+
resizable+",top='+((screen.height/2)-("+h/2+"))
+',left='+((screen.width/2)-("+w/2+"))+'"+"');
void(0);");};
on (release) {
	
	address = "http://www.whatever.com/sub/gallery.htm";
	target_winName = "gallery";
	width = 540;
	height = 360;
	toolbar = 0;
	location = 0;
	directories = 0;
	status = 0;
	menubar = 0;
	scrollbars = 0;
	resizable = 1;
	//call function with parameters
	openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}

tried a few variations… but none of them work
and i am tired and sick of this

thx