RadAjaxNamespace.AjaxManager= function (O){var o=window[O.ClientID]; if (o!=null && typeof(o.Dispose)=="\x66\x75nction"){window.setTimeout( function (){o.Dispose(); } ,100); }for (var I in O){if (I=="Clie\x6etEvents"){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)=="functi\x6fn"){window.setTimeout( function (){o.Dispose();} ,100); }try {if (typeof(document.readyState)=="u\x6e\x64efined" || document.readyState=="complet\x65" || window.opera){ this.W(O); }else if (window.addEventListener && navigator.userAgent.indexOf("Safar\x69")!=-1){var w=this ; var V= function (){w.W(O); } ; window.addEventListener("load",V, true); }else {var w=this ; RadAjaxNamespace.EventManager.Add(window,"\x6coad", 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=="\x43lientEvents"){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.Control=document.getElementById(this.ClientID); if (this.Control==null)return; this.v=document.getElementById(this.ClientID+"Post\x44\141\x74\x61Val\x75\145"); 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)=="function"){P.AsyncRequest(eventTarget,eventArgument); }} ; RadAjaxPanelNamespace.AsyncRequestWithOptions= function (options,clientID){var P=window[clientID]; if (P!=null && typeof(P.AsyncRequestWithOptions)=="f\x75\x6e\143\x74\x69on"){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(":"); activeElement=document.getElementById(clientID); }if (activeElement && activeElement.id){if (this.v){ this.v.value=this.ClientID+"\x2cActiveEleme\x6e\164\x2c"+activeElement.id+";"; }}};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\x6e\144efin\x65\144"){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)!="un\x64\x65fined"){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); }} ;
