Javascript + iframe help needed

I'm trying to open a link up in an iframe using a single external javascript object. I've done this before, but the problem now is I'm concatenating the URL together with a Lectora variable in between like this:



Everything works except the variable isn't converting into a string correctly. Instead I get this at the end of the URL".../extern/[object%20Object]" I can see my variable (cc_currentPage) has a valid value in Lectora, but I don't know javascript enough to understand what's happening past that. Any ideas? Thanks

Discussions have been disabled for this post