Overlay (HTML) URL parameters

Hi,
I am experimenting with Processing (Javascript) as an Overlay and it would be nice to have url parameters so they can be parameters for the processing script.
kind regards
Peter