/ Published in: JavaScript
The Location object is part of a Window object and is accessed through the window.location property. It contains the complete URL of a given Window object, or, if none is specified, of the current Window object.
URL: http://www.devguru.com/technologies/ecmascript/quickref/location.html