Hi there,
It may not be the best solution, but if you wnat to pass your variables page-to-page, you can actually use "fake" GET method.
So to speak, you can set a parameter in an anchor like this:
And then later access the value via
window.location.href element. You will get the entire URL, but now you can take out the bar=hogehoge part with substring or something and use it in the script. This will work the best for html or alike extensions, and not .php, .cgi, etc...
Hope this gives you some idea. If it's a popup, you can do some interactions between the parent and popup with
window.opener (to refer to parent) or
subWin (or whatever you assigned your popup window to).
Cheers.