Mega Code Archive
Location pathname
The pathname property represents the pathname portion of the URL.
For example, the pathname for http://www.rntsoft.com/pictures/index.htm is "/pictures/index.htm".
Using the pathname property of the Location object