﻿Sys._Application.prototype._raiseNavigate = function Sys$_Application$_raiseNavigate() {
    var h = this.get_events().getHandler("navigate");
    var stateClone = {};
    for (var key in this._state) {
        if (key !== '__s') {
            stateClone[key] = this._state[key];
        }
    }
    var args = new Sys.HistoryEventArgs(stateClone);
    if (h) {
        h(this, args);
    }
    var err;
    try {
        if ((Sys.Browser.agent === Sys.Browser.Firefox) && window.location.hash && (!window.frameElement || window.top.location.hash)) {
            (Sys.Browser.version < 3.5) ?
          window.history.go(0) :
          location.hash = this.get_stateString();
        }
    }
    catch (err) {
    }
};
