Re: Get querystring javascript.
The query string lives at window.location.search. That being said, there's a neat little function I posted over at Stack Overflow that will probably save you a lot of work. Let me know if you have any questions about it.
“Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
"It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)