Centering Pop-Up Window

I read the tutiorial and downloaded the the FLA file (CPOPOP) for Centering a Pop-Up window. I was unable to get either the download or my script to work. When you click on the button, it goes out to the site and displays a full screen window with the following address:

javascript:var%20myWin;%20if(!myWin%20||%20myWin.closed){myWin%20=%20window.open(‘http://www.kirupa.com/modular/pop-up.htm’,‘kirupa’,‘width=400,height=300,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,top=’+((screen.height/2)-(150))+’,left=’+((screen.width/2)-(200))+’’)}else{myWin.focus();};void(0);

Thank you in advance for your help!