RadAjaxNamespace.AjaxManager= function (O){var o=window[O.ClientID]; if (o!=null && typeof(o.Dispose)=="\x66unction"){window.setTimeout( function (){o.Dispose(); } ,100); }for (var I in O){if (I=="Clien\x74\x45\x76e\x6e\x74s"){var clientEvents=O[I];for (var A in clientEvents){if (typeof(clientEvents[A])!="\x73tring")continue; if (clientEvents[A]!=""){var U=clientEvents[A]; if (U.indexOf("(")!=-1){ this[A]=U; }else { this[A]=eval(U); }}else { this[A]=null; }}continue; } this[I]=O[I]; } this.Form=document.getElementById(this.FormID); };RadAjaxNamespace.AjaxManager.prototype=new RadAjaxNamespace.RadAjaxControl(); RadAjaxNamespace.AjaxManager.prototype.Dispose= function (){if (this.Z== true)return; this.Z= true; try {for (var I in this ){ this[I]=null; delete this[I]; }if (CollectGarbage){CollectGarbage(); }}catch (e){}} ; RadAjaxNamespace.AjaxManager.prototype.AjaxRequest= function (z){RadAjaxNamespace.AsyncRequest(this.UniqueID,z,this.ClientID); } ; RadAjaxNamespace.AjaxManager.prototype.AsyncRequest= function (eventTarget,eventArgument){RadAjaxNamespace.AsyncRequest(eventTarget,eventArgument,this.ClientID); } ; RadAjaxNamespace.AjaxManager.prototype.AjaxRequestWithTarget= function (eventTarget,eventArgument){RadAjaxNamespace.AsyncRequest(eventTarget,eventArgument,this.ClientID); } ; RadAjaxNamespace.AjaxManager.prototype.AsyncRequestWithOptions= function (options,clientID){RadAjaxNamespace.AsyncRequestWithOptions(options,clientID); };if (!window.RadAjaxManagerNamespace){window.RadAjaxManagerNamespace= {} ; } ; if (!window.RadAjaxPanelNamespace){window.RadAjaxPanelNamespace= {} ; }RadAjaxPanelNamespace.RadAjaxPanel= function (O){var o=window[O.ClientID]; if (o!=null && typeof(o.Dispose)=="f\x75ncti\x6f\x6e"){window.setTimeout( function (){o.Dispose();} ,100); }try {if (typeof(document.readyState)=="undef\x69\x6eed" || document.readyState=="\x63\x6fmplete" || window.opera){ this.W(O); }else if (window.addEventListener && navigator.userAgent.indexOf("\x53afari")!=-1){var w=this ; var V= function (){w.W(O); } ; window.addEventListener("\x6c\x6fad",V, true); }else {var w=this ; RadAjaxNamespace.EventManager.Add(window,"loa\x64", function (){w.W(O); } ,O.ClientID); }}catch (e){RadAjaxNamespace.OnError(e,O.ClientID);}} ; RadAjaxPanelNamespace.RadAjaxPanel.prototype=new RadAjaxNamespace.RadAjaxControl(); RadAjaxPanelNamespace.RadAjaxPanel.prototype.W= function (O){try {for (var I in O){if (I=="C\x6cientEvents"){var clientEvents=O[I];for (var A in clientEvents){if (typeof(clientEvents[A])!="\x73tring")continue; if (clientEvents[A]!=""){var U=clientEvents[A]; if (U.indexOf("\x28")!=-1){ this[A]=U; }else { this[A]=eval(U); }}else { this[A]=null; }}continue; } this[I]=O[I]; } this.Control=document.getElementById(this.ClientID); if (this.Control==null)return; this.v=document.getElementById(this.ClientID+"PostDa\x74\x61Valu\x65"); if (this.v==null)return; this.v.value=""; this.Form=this.v.form; this.T=document.getElementById(O.ActiveElementID); if (this.T!=null && this.T.focus!=null){var t=this ; window.setTimeout( function (){try {t.T.focus(); }catch (e){}} ,200); } this.S(); }catch (e){RadAjaxNamespace.OnError(e,O.ClientID);}} ; RadAjaxPanelNamespace.RadAjaxPanel.prototype.S= function (){ this.AjaxSettings=[ {InitControlID: this.ClientID,UpdatedControls: [ {ControlID: this.ClientID,PanelID: this.LoadingPanelID } ] } ]; this.PostbackControlIDServer=this.ClientID; } ; RadAjaxPanelNamespace.RadAjaxPanel.prototype.GetAjaxSetting= function (clientID){return this.AjaxSettings[0]; };RadAjaxPanelNamespace.RadAjaxPanel.prototype.AjaxRequestWithTarget= function (eventTarget,eventArgument){ this.AsyncRequest(eventTarget,eventArgument); } ; RadAjaxPanelNamespace.RadAjaxPanel.prototype.AjaxRequest= function (eventArgument){ this.AjaxRequestWithTarget(this.UniqueID,eventArgument); } ; RadAjaxPanelNamespace.RadAjaxPanel.prototype.AsyncRequest= function (eventTarget,eventArgument){ this.R(eventTarget); RadAjaxNamespace.AsyncRequest(eventTarget,eventArgument,this.ClientID); } ; RadAjaxPanelNamespace.RadAjaxPanel.prototype.Dispose= function (){if (this.Z== true)return; this.Z= true; try {RadAjaxNamespace.r(this.Control); RadAjaxNamespace.EventManager.Q(this.ClientID); for (var I in this ){ this[I]=null; delete this[I]; }if (CollectGarbage){CollectGarbage(); }}catch (e){}} ; RadAjaxPanelNamespace.AsyncRequest= function (eventTarget,eventArgument,clientID){var P=window[clientID]; if (P!=null && typeof(P.AsyncRequest)=="\x66\x75nction"){P.AsyncRequest(eventTarget,eventArgument); }} ; RadAjaxPanelNamespace.AsyncRequestWithOptions= function (options,clientID){var P=window[clientID]; if (P!=null && typeof(P.AsyncRequestWithOptions)=="\x66unction"){P.AsyncRequestWithOptions(options); }} ; RadAjaxPanelNamespace.RadAjaxPanel.prototype.AsyncRequestWithOptions= function (options){ this.R(options.eventTarget); RadAjaxNamespace.AsyncRequestWithOptions(options,this.ClientID); } ; RadAjaxPanelNamespace.RadAjaxPanel.prototype.N= function (eventTarget){var activeElement=document.activeElement; if (!activeElement){var clientID=eventTarget.split("$").join("\x3a"); activeElement=document.getElementById(clientID); }if (activeElement && activeElement.id){if (this.v){ this.v.value=this.ClientID+"\x2cActiveEle\x6d\x65nt\x2c"+activeElement.id+"\x3b"; }}};RadAjaxPanelNamespace.RadAjaxPanel.prototype.R= function (eventTarget){ this.N(eventTarget); } ; RadAjaxNamespace.RadAjaxTimer= function (O){for (var I in O){ this[I]=O[I]; } this.Initialize(); } ; RadAjaxNamespace.RadAjaxTimer.prototype.Initialize= function (){ this.n(); if (this.AutoStart){ this.Start(); }} ; RadAjaxNamespace.RadAjaxTimer.prototype.M= function (){if (this.IsStarted){ this.Tick(); }} ; RadAjaxNamespace.RadAjaxTimer.prototype.Start= function (){ this.IsStarted= true; var m=this ; if (typeof(RadAjaxNamespace.Timers)=="\165\x6edefined"){RadAjaxNamespace.Timers=[]; }RadAjaxNamespace.Timers[this.ClientID]=window.setInterval( function (){m.M(); } ,this.Interval); } ; RadAjaxNamespace.RadAjaxTimer.prototype.Stop= function (){ this.IsStarted= false; this.n(); } ; RadAjaxNamespace.RadAjaxTimer.prototype.n= function (){if (typeof(RadAjaxNamespace.Timers)!="\x75ndefined"){window.clearTimeout(RadAjaxNamespace.Timers[this.ClientID]); }} ; RadAjaxNamespace.RadAjaxTimer.prototype.Tick= function (){if (this.PostBackString){var PostBackString=this.PostBackString.replace(/\x40\x40\x61\x72\x67\x75\x6d\x65\x6e\x74\x40\x40/g,this.IsStarted); eval(PostBackString); }} ;
