Is there some way I can tell whether window.location.hash is defined?
window.location.hash
If it is set, then I will be getting the value of the variable, and using it to display extra content on the page.
if(window.location.hash) { // do stuff! }