ion = ((hashIndex !== -1) ? action.substring(0, hashIndex) : action) + '#' + entry; } if (this._historyFrame && this._historyPointIsNew) { this._ignoreIFrame = true; this._historyPointIsNew = false; var frameDoc = this._historyFrame.contentWindow.document; frameDoc.open("javascript:''"); frameDoc.write("" + (title || document.title) + "parent.Sys.Application._onIFrameLoad('" + entry + "');"); frameDoc.close(); } this._ignoreTimer = false; var currentHash = this.get_stateString(); this._currentEntry = entry; if (entry !== currentHash) { var loc = document.location; if (loc.href.length - loc.hash.length + entry.length > 1024) { throw Error.invalidOperation(Sys.Res.urlMustBeLessThan1024chars); } if (this._isSafari2()) { var history = this._getHistory(); history[window.history.length - this._historyInitialLength + 1] = entry; this._setHistory(history); this._historyLength = window.history.length + 1; var form = document.createElement('form'); form.method = 'get'; form.action = '#' + entry; document.appendChild(form); form.submit(); document.removeChild(form); } else { window.location.hash = entry; } if ((typeof(title) !== 'undefined') && (title !== null)) { document.title = title; } } } } function Sys$_Application$_unloadHandler(event) { this.dispose(); } function Sys$_Application$_updateHiddenField(value) { if (this._clientId) { var serverStateField = document.getElementById(this._clientId); if (serverStateField) { serverStateField.value = value; } } } Sys._Application.prototype = { _creatingComponents: false, _disposing: false, get_isCreatingComponents: Sys$_Application$get_isCreatingComponents, get_stateString: Sys$_Application$get_stateString, get_enableHistory: Sys$_Application$get_enableHistory, set_enableHistory: Sys$_Application$set_enableHistory, add_init: Sys$_Application$add_init, remove_init: Sys$_Application$remove_init, add_load: Sys$_Application$add_load, remove_load: Sys$_Application$remove_load, add_navigate: Sys$_Application$add_navigate, remove_navigate: Sys$_Application$remove_navigate, add_unload: Sys$_Application$add_unload, remove_unload: Sys$_Application$remove_unload, addComponent: Sys$_Application$addComponent, addHistoryPoint: Sys$_Application$addHistoryPoint, beginCreateComponents: Sys$_Application$beginCreateComponents, dispose: Sys$_Application$dispose, endCreateComponents: Sys$_Application$endCreateComponents, findComponent: Sys$_Application$findComponent, getComponents: Sys$_Application$getComponents, initialize: Sys$_Application$initialize, notifyScriptLoaded: Sys$_Application$notifyScriptLoaded, registerDisposableObject: Sys$_Application$registerDisposableObject, raiseLoad: Sys$_Application$raiseLoad, removeComponent: Sys$_Application$removeComponent, setServerId: Sys$_Application$setServerId, setServerState: Sys$_Application$setServerState, unregisterDisposableObject: Sys$_Application$unregisterDisposableObject, _addComponentToSecondPass: Sys$_Application$_addComponentToSecondPass, _deserializeState: Sys$_Application$_deserializeState, _doInitialize: Sys$_Application$_doInitialize, _enableHistoryInScriptManager: Sys$_Application$_enableHistoryInScriptManager, _ensureHistory: Sys$_Application$_ensureHistory, _getHistory: Sys$_Application$_getHistory, _isSafari2: Sys$_Application$_isSafari2, _loadHandler: Sys$_Application$_loadHandler, _navigate: Sys$_Application$_navigate, _onIdle: Sys$_Application$_onIdle, _onIFrameLoad: Sys$_Application$_onIFrameLoad, _onPageRequestManagerBeginRequest: Sys$_Application$_onPageRequestManagerBeginRequest, _onPageRequestManagerEndRequest: Sys$_Application$_onPageRequestManagerEndRequest, _raiseNavigate: Sys$_Application$_raiseNavigate, _serializeState: Sys$_Application$_serializeState, _setHistory: Sys$_Application$_setHistory, _setState: Sys$_Application$_setState, _unloadHandler: Sys$_Application$_unloadHandler, _updateHiddenField: Sys$_Application$_updateHiddenField } Sys._Application.registerClass('Sys._Application', Sys.Component, Sys.IContainer); Sys.Application = new Sys._Application(); var $find = Sys.Application.findComponent; Type.registerNamespace('Sys.Net'); Sys.Net.WebRequestExecutor = function Sys$Net$WebRequestExecutor() { /// if (arguments.length !== 0) throw Error.parameterCount(); this._webRequest = null; this._resultObject = null; } function Sys$Net$WebRequestExecutor$get_webRequest() { /// if (arguments.length !== 0) throw Error.parameterCount(); return this._webRequest; } function Sys$Net$WebRequestExecutor$_set_webRequest(value) { if (this.get_started()) { throw Error.invalidOperation(String.format(Sys.Res.cannotCallOnceStarted, 'set_webRequest')); } this._webRequest = value; } function Sys$Net$WebRequestExecutor$get_started() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_responseAvailable() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_timedOut() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_aborted() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_responseData() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_statusCode() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_statusText() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_xml() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$get_object() { /// if (arguments.length !== 0) throw Error.parameterCount(); if (!this._resultObject) { this._resultObject = Sys.Serialization.JavaScriptSerializer.deserialize(this.get_responseData()); } return this._resultObject; } function Sys$Net$WebRequestExecutor$executeRequest() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$abort() { /// if (arguments.length !== 0) throw Error.parameterCount(); throw Error.notImplemented(); } function Sys$Net$WebRequestExecutor$getResponseHeader(header) { ///