if your Javascript for the popup is something like /...popup.php
you can append stuff to that, like:
/...popup.php?info=<?php print $info; ?>&moreinfo=<?php print $moreinfo; ?>&evenmoreinfo=<?php print $evenmoreinfo ?>
blah blah blah
anyway, that's how I did it. Anyone got a better idea?