Calling Javascript function from flash IE help

Hey everyone,

I have a javascript function:

function startLytebox(thumb, caption, image) {

I want to call it from flash. I have been calling it like this:

getURL("javascript:startLytebox(\""+lightBoxImg+"\", \"blank\", \""+lightBoxImg+"\");");

That works fine in FF, Safari, and IE7. but in IE6 all the variables for the function parameters get dropped. Is there a better way to call Javascript functions from flash maybe FScommand or something? Or some Hack for IE6 thanks in advance.