Pass Variable to Popup

Is there a way to pass a variable to a popup? I have a popup where it's an iframe to another site, and would like to pass a variable that could be used in the iframe href.

Thanks!

--Craig