﻿Type.registerNamespace("GIRO.Hastinfo.Web");
      
GIRO.Hastinfo.Web.UpdateProgress = function(element) 
   {
   GIRO.Hastinfo.Web.UpdateProgress.initializeBase(this, [element]);

   this._scriptManagerInstance = null;
   this._pageRequestManagerInstance = null;
   }    

GIRO.Hastinfo.Web.UpdateProgress.prototype = 
   {
   initialize : function() 
      {
      GIRO.Hastinfo.Web.UpdateProgress.callBaseMethod(this, "initialize");
      
      this._scriptManagerInstance = GIRO.Hastinfo.Web.ScriptManager.GetInstance();
      this._pageRequestManagerInstance = Sys.WebForms.PageRequestManager.getInstance();
      
      this._pageRequestManagerInstance.remove_endRequest(this._endRequestHandlerDelegate);
      this._scriptManagerInstance.add_pageRequestManagerEndAllRequest(this._endRequestHandlerDelegate);
      },
      
   dispose : function() 
      {
      GIRO.Hastinfo.Web.UpdateProgress.callBaseMethod(this, "dispose");
      }
}

GIRO.Hastinfo.Web.UpdateProgress.registerClass("GIRO.Hastinfo.Web.UpdateProgress", Sys.UI._UpdateProgress);
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();