atch_plus = /\+/g,  // Regex for replacing addition symbol with a space
          re_match_query_param_and_value = /([^&;=]+)=?([^&;]*)/g,
          decode_and_replace_plus_with_space = function (s) { return decodeURIComponent(s.replace(re_match_plus, " ")); },
          query_text = window.location.hash.substring(1);

      while (matches = re_match_query_param_and_value.exec(query_text))
        hashParams[decode_and_replace_plus_with_space(matches[1])] = decode_and_replace_plus_with_space(matches[2]);

 