This is a script that can parse a URL string, and return all components in a systematic way via an object.
This script is very useful in places where you want to link to a page "dynamically" generated by javascript. This is usually done by adding GET-like params after a # in the URL.
Try out a few examples to get a feel of what it really does.
Try it out here
Enter any URL in this input box, and hit "Parse".
Watch how variables in the URL are parsed by javascript and the values displayed.