What JavaScript library should I use for parsing URL parameters?
<p>How do I parse URL parameters in JavaScript?  (These are the parameters I would ordinarily call GET parameters or CGI parameters, but in this case the page is basically submitting to itself, not a server, so there is no GET request and definitely no CGI program.)</p>

<p>I've seen a number of routines on the net that I can copy, but I have no idea how robust any of them are.  I'm used to other languages like Perl and Java where I can rely on an extremely well-tested and robust library that I know will handle millions of little edge-cases in the standard.  I would like the same here, rather than just cutting and pasting an example.</p>
