Escaping URL not working with getURL and javascript:window.open

I have a Flash movie that retrieves an RSS feed of video URLs and allows you to view them when you click on the thumbnail.
The URL that the user is taken to accepts a parameter of “videoURL”. Because that is a full URL with parameters of its own, I need to escape the url included as the videoURL parameter. However, when I try to open the page in a popup window by using getURL and javascript:window.open, the escaped portion is no longer escaped!
I’ve set up a very simple example that demonstrates this here:
http://209.73.224.83/Erich2/escapeBug/escapeBug.html
If you click the button, a popup window opens, but the URL of the page is:
http://www.housingzone.com/index.asp?layout=nocclamp&articleid=CA6535218&videoURL=http://eplayer.clipsyndicate.com/cs_api/get_swf?swfHome=eplayer.clipsyndicate.com&va_id=542323&wpid=2892&cpt=8
However it SHOULD be:
http://www.housingzone.com/index.asp?layout=nocclamp&articleid=CA6535218&videoURL=http%3A%2F%2Feplayer.clipsyndicate.com%2Fcs_api%2Fget_swf%3FswfHome%3Deplayer.clipsyndicate.com%26va_id%3D542323%26wpid%3D2892%26cpt%3D8
Here’s the code in this example:
on(release){
var strDefaultURLClipSyndicate=“http://www.housingzone.com/index.asp?layout=nocclamp&articleid=CA6535218&”;
var strEscapedURL=escape(“http://eplayer.clipsyndicate.com/cs_api/get_swf?swfHome=eplayer.clipsyndicate.com&va_id=542323&wpid=2892&cpt=8”);
var strEntireCommand=“javascript:popup=window.open(’” + strDefaultURLClipSyndicate + “videoURL=” + strEscapedURL + “’,‘popupWin’,'width=” + intDefaultPageWidth + “,height=” + intDefaultPageHeight + “,left=242px,top=39,scrollbars=no,resizable=no’);popup.focus();void(0);”;
trace(strEntireCommand)
getURL(strEntireCommand);
}
The trace statement shows the URL properly escaped, but when it’s opened using getURL, the escaping is mysteriously gone! Please help!