I am using Ajax and hash for navigation.
Is there a way to check if the window.location.hash changed like this?
window.location.hash
http://example.com/blah
Ben Alman has a great jQuery plugin for dealing with this: http://benalman.com/projects/jquery-hashchange-plugin/
If you're not using jQuery it may be an interesting reference to dissect.