// (c) 2010 CodePlex Foundation (function(){var b="ExtendedThreading";function a(){var c=false,a=null,b=true,d=Sys.version;if(!d&&!Sys._versionChecked){Sys._versionChecked=b;throw new Error("AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.");}Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.DeferredOperation=function(g,f,e){var d=this;d._delay=g;d._context=f;d._callback=e;d._completeCallback=a;d._errorCallback=a;d._timer=a;d._callArgs=a;d._isComplete=c;d._completedSynchronously=c;d._asyncResult=a;d._exception=a;d._throwExceptions=b;d._oncomplete$delegate=Function.createDelegate(d,d._oncomplete);d.post=Function.createDelegate(d,d.post)};Sys.Extended.UI.DeferredOperation.prototype={get_isPending:function(){return this._timer!=a},get_isComplete:function(){return this._isComplete},get_completedSynchronously:function(){return this._completedSynchronously},get_exception:function(){return this._exception},get_throwExceptions:function(){return this._throwExceptions},set_throwExceptions:function(a){this._throwExceptions=a},get_delay:function(){return this._delay},set_delay:function(a){this._delay=a},post:function(){for(var c=[],b=0;b