window.location.hash is a string, window.xM(ax|in) is an int