if(typeof (window.RadTabStripNamespace)=="undefined"){ window.RadTabStripNamespace=new Object(); } RadTabStripNamespace.ItemGroup=function(_1,_2){ this.Size=0; this.ExpandableSize=0; this.FixedSize=0; this.Items=[]; this.SizeMethod=_2; this.SizeProperty=_1; }; RadTabStripNamespace.ItemGroup.prototype.RegisterItem=function(_3,_4){ var _5=_3.className.indexOf("separator")>-1; if(_5){ _4=true; }else{ _3=_3.firstChild; } this.Size+=RadTabStripNamespace.Box[this.SizeMethod](_3); if(_5||(_4&&_3.firstChild.firstChild.style[this.SizeProperty])){ this.FixedSize+=RadTabStripNamespace.Box[this.SizeMethod](_3); return; } this.ExpandableSize+=RadTabStripNamespace.Box[this.SizeMethod](_3); this.Items[this.Items.length]=_3; }; RadTabStripNamespace.Align=function(_6,_7,_8){ this.Element=_6; this.ItemGroups=[]; if(_7=="horizontal"){ this.OuterSizeMethod="GetOuterWidth"; this.InnerSizeMethod="GetInnerWidth"; this.SetSizeMethod="SetOuterWidth"; this.OffsetProperty="offsetTop"; this.SizeProperty="width"; }else{ this.OuterSizeMethod="GetOuterHeight"; this.InnerSizeMethod="GetInnerHeight"; this.SetSizeMethod="SetOuterHeight"; this.OffsetProperty="offsetLeft"; this.SizeProperty="height"; } this.SkipFixedSize=_8; if(!this.Element.ItemGroups){ this.BuildItemGroups(); this.Element.ItemGroups=this.ItemGroups; }else{ this.ItemGroups=this.Element.ItemGroups; } }; RadTabStripNamespace.Align.prototype.CreateItemGroup=function(){ return new RadTabStripNamespace.ItemGroup(this.SizeProperty,this.OuterSizeMethod); }; RadTabStripNamespace.Align.prototype.BuildItemGroups=function(){ var _9=3; var _a=this.Element.childNodes; var _b=0; var _c=-1; this.ItemGroups[0]=this.CreateItemGroup(); for(var i=0;i<_a.length;i++){ var _e=_a[i]; var _f=_e[this.OffsetProperty]; if(_e.nodeType==_9){ continue; } if(_c==-1){ _c=_f; } if(_f>_c+1){ _b++; this.ItemGroups[_b]=this.CreateItemGroup(); _c=_f; } this.ItemGroups[_b].RegisterItem(_e); } this.CalculateItemSizePercentage(); }; RadTabStripNamespace.Align.prototype.CalculateItemSizePercentage=function(){ for(var j=0;j0){ _c.style.height=_12+"px"; } } },SafeParseInt:function(_13){ var _14=parseInt(_13); return isNaN(_14)?0:_14; },GetStyleValues:function(_15){ var _16=0; for(var i=1;i8); this.IsIE=!this.IsMacIE&&!this.IsMozilla&&!this.IsOpera&&!this.IsSafari; this.IsIE7=/MSIE 7/.test(navigator.appVersion); this.StandardsMode=this.IsSafari||this.IsOpera9||this.IsMozilla||document.compatMode=="CSS1Compat"; this.IsMac=/Mac/.test(navigator.userAgent); }; RadControlsNamespace.Browser.ParseBrowserInfo(); };if(typeof window.RadControlsNamespace=="undefined"){ window.RadControlsNamespace={}; } if(typeof (window.RadControlsNamespace.DomEventMixin)=="undefined"||typeof (window.RadControlsNamespace.DomEventMixin.Version)==null||window.RadControlsNamespace.DomEventMixin.Version<3){ RadControlsNamespace.DomEventMixin={Version:3,Initialize:function(_1){ _1.CreateEventHandler=this.CreateEventHandler; _1.AttachDomEvent=this.AttachDomEvent; _1.DetachDomEvent=this.DetachDomEvent; _1.DisposeDomEventHandlers=this.DisposeDomEventHandlers; _1._domEventHandlingEnabled=true; _1.EnableDomEventHandling=this.EnableDomEventHandling; _1.DisableDomEventHandling=this.DisableDomEventHandling; _1.RemoveHandlerRegister=this.RemoveHandlerRegister; _1.GetHandlerRegister=this.GetHandlerRegister; _1.AddHandlerRegister=this.AddHandlerRegister; _1.handlerRegisters=[]; },EnableDomEventHandling:function(){ this._domEventHandlingEnabled=true; },DisableDomEventHandling:function(){ this._domEventHandlingEnabled=false; },CreateEventHandler:function(_2,_3){ var _4=this; return function(e){ if(!_4._domEventHandlingEnabled&&!_3){ return; } return _4[_2](e||window.event); }; },AttachDomEvent:function(_6,_7,_8,_9){ var _a=this.CreateEventHandler(_8,_9); var _b=this.GetHandlerRegister(_6,_7,_8); if(_b!=null){ this.DetachDomEvent(_b.Element,_b.EventName,_8); } var _c={"Element":_6,"EventName":_7,"HandlerName":_8,"Handler":_a}; this.AddHandlerRegister(_c); if(_6.addEventListener){ _6.addEventListener(_7,_a,false); }else{ if(_6.attachEvent){ _6.attachEvent("on"+_7,_a); } } },DetachDomEvent:function(_d,_e,_f){ var _10=null; var _11=""; if(typeof _f=="string"){ _11=_f; _10=this.GetHandlerRegister(_d,_e,_11); if(_10==null){ return; } _f=_10.Handler; } if(!_d){ return; } if(_d.removeEventListener){ _d.removeEventListener(_e,_f,false); }else{ if(_d.detachEvent){ _d.detachEvent("on"+_e,_f); } } if(_10!=null&&_11!=""){ this.RemoveHandlerRegister(_10); _10=null; } },DisposeDomEventHandlers:function(){ for(var i=0;i=" "){ if(c=="\\"||c=="\""){ e("\\"); } e(c); }else{ switch(c){ case "\b": e("\\b"); break; case "\f": e("\\f"); break; case "\n": e("\\n"); break; case "\r": e("\\r"); break; case "\t": e("\\t"); break; default: c=c.charCodeAt(); e("\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)); } } } e("\""); return ""; case "boolean": e(String(x)); return ""; default: e("null"); return ""; } } g(v,0); return a.join(""); },stringifyHashTable:function(_b,_c,_d){ var a=[]; if(!_d){ _d=[]; } for(var i=0;i<_b.length;i++){ var ser=this.stringify(_b[i],_d[i]); if(ser=="{}"){ continue; } a[a.length]="\""+_b[i][_c]+"\":"+ser; } return "{"+a.join(",")+"}"; },parse:function(_11){ return (/^([ \t\r\n,:{}\[\]]|"(\\["\\\/bfnrtu]|[^\x00-\x1f"\\]+)*"|-?\d+(\.\d*)?([eE][+-]?\d+)?|true|false|null)+$/.test(_11))&&eval("("+_11+")"); }}; };function RadMultiPage(id,_2){ var _3=window[id]; if(_3!=null&&typeof (_3.Dispose)=="function"){ _3.Dispose(); } this.DomElement=document.getElementById(id); this.PageViews=_2; this.HiddenInput=document.getElementById(id+"_Selected"); this.PageView=null; } RadMultiPage.prototype.Dispose=function(){ if(this.disposed==null){ return; } this.disposed=true; this.DomElement=null; this.HiddenInput=null; }; RadMultiPage.prototype.GetSelectedIndex=function(){ return parseInt(this.HiddenInput.value); }; RadMultiPage.prototype.GetPageViewDomElement=function(_4){ return document.getElementById(this.PageViews[_4].ClientID); }; RadMultiPage.prototype.Show=function(_5){ if(this.NavigateAfterClick){ return; } _5.style.display="block"; var _6=_5.getElementsByTagName("*"); for(var i=0,_8=_6.length;i<_8;i++){ var _9=_6[i]; if(_9.RadShow){ _9.RadShow(); } } }; RadMultiPage.prototype.Hide=function(_a){ if(this.NavigateAfterClick){ return; } _a.style.display="none"; }; RadMultiPage.prototype.SelectPageById=function(id){ if(id=="Null"){ return; } var _c=-1; for(var i=0;i=this.PageViews.length){ return; } for(var i=0;i1){ this.Text=_1.firstChild.firstChild.childNodes[1].nodeValue; }else{ this.Text=""; } } this.ChildStripDomElement=_1.parentNode.getElementsByTagName("ul")[0]; } RadTab.prototype.Initialize=function(){ RadControlsNamespace.DomEventMixin.Initialize(this); this.AttachEventHandlers(); if(this.TabStrip.TabData[this.ID]!=null){ for(var _3 in this.TabStrip.TabData[this.ID]){ this[_3]=this.TabStrip.TabData[this.ID][_3]; } } RadTabStrip.CreateState(this); }; RadTab.prototype.Dispose=function(){ this.DisposeDomEventHandlers(); for(var i in this.DomElement){ if(typeof (this.DomElement[i])=="function"){ this.DomElement[i]=null; } } if(this.Scroll){ this.Scroll.Dispose(); } this.DomElement=null; this.ImageDomElement=null; this.ChildStripDomElement=null; }; RadTab.prototype.ClickHandler=function(e){ return this.Click(e); }; RadTab.prototype.MouseOverHandler=function(e){ var a=this.DomElement; var _8=RadControlsNamespace.DomEvent.GetRelatedTarget(e); if(_8&&(_8==a||_8.parentNode==a||_8.parentNode.parentNode==a)){ return; } if(this.Enabled){ this.SetImageUrl(this.ImageOverUrl); } this.TabStrip.RaiseEvent("OnClientMouseOver",{Tab:this,EventObject:e}); }; RadTab.prototype.SetImageUrl=function(_9){ if(!this.ImageDomElement||!_9){ return; } _9=_9.replace(/&/ig,"&"); if(this.ImageDomElement.src!=_9){ this.ImageDomElement.src=_9; } }; RadTab.prototype.IsChildOfTab=function(_a){ while(_a.nodeType!==9){ if(_a.parentNode==this.DomElement){ return true; } _a=_a.parentNode; } return false; }; RadTab.prototype.MouseOutHandler=function(e){ var a=this.DomElement; var to=RadControlsNamespace.DomEvent.GetRelatedTarget(e); if(to&&(to==a||this.IsChildOfTab(to))){ return; } if(this.Enabled){ if(this.Parent.SelectedTab==this&&this.SelectedImageUrl){ this.SetImageUrl(this.SelectedImageUrl); }else{ this.SetImageUrl(this.ImageUrl); } } this.TabStrip.RaiseEvent("OnClientMouseOut",{Tab:this,EventObject:e}); }; RadTab.prototype.KeyPressHandler=function(e){ }; RadTab.prototype.FocusHandler=function(e){ if(!e.altKey){ return; } this.Click(); var _10=this; setTimeout(function(){ _10.DomElement.focus(); },0); }; RadTab.prototype.AttachEventHandlers=function(){ this.AttachDomEvent(this.DomElement,"click","ClickHandler"); this.AttachDomEvent(this.DomElement,"mouseover","MouseOverHandler"); this.AttachDomEvent(this.DomElement,"contextmenu","ContextMenuHandler"); this.AttachDomEvent(this.DomElement,"dblclick","DoubleClickHandler"); this.AttachDomEvent(this.DomElement,"mouseout","MouseOutHandler"); if(RadControlsNamespace.Browser.IsIE){ this.AttachDomEvent(this.DomElement,"focus","FocusHandler"); } }; RadTab.prototype.DoubleClickHandler=function(e){ if(!this.TabStrip.RaiseEvent("OnClientDoubleClick",{Tab:this,EventObject:e})){ return RadControlsNamespace.DomEvent.PreventDefault(e); } }; RadTab.prototype.ContextMenuHandler=function(e){ if(!this.TabStrip.RaiseEvent("OnClientContextMenu",{Tab:this,EventObject:e})){ return RadControlsNamespace.DomEvent.PreventDefault(e); } }; RadTab.prototype.Validate=function(){ if(!this.TabStrip.CausesValidation){ return true; } if(typeof (Page_ClientValidate)!="function"){ return true; } return Page_ClientValidate(this.TabStrip.ValidationGroup); }; RadTab.prototype.Click=function(e){ if(!this.Enabled){ return RadControlsNamespace.DomEvent.PreventDefault(e); } var _14=this.NavigateAfterClick; if(this.DomElement.target&&this.DomElement.target!="_self"){ _14=false; } if(!this.TabStrip.EnableImmediateNavigation){ _14=false; } if(!this.Validate()){ if(!_14){ return RadControlsNamespace.DomEvent.PreventDefault(e); } return; } var _15=this.Select(_14); if((!_15)||(!this.NavigateAfterClick)){ return RadControlsNamespace.DomEvent.PreventDefault(e); }else{ if(!e||(this.ImageDomElement&&(e.srcElement==this.ImageDomElement))){ var _16=this.DomElement.target; if(!_16||_16=="_self"){ location.href=this.DomElement.href; }else{ if(_16=="_blank"){ window.open(this.DomElement.href); }else{ if(top.frames[_16]){ top.frames[_16].window.location.href=this.DomElement.href; } } } } } return true; }; RadTab.prototype.InternalUnSelect=function(_17){ this.Selected=false; this.Parent.SelectedTab=null; this.Parent.SelectedIndex=-1; if(this.SelectedTab!=null&&this.TabStrip.UnSelectChildren){ this.SelectedTab.UnSelect(_17); } this.RecordState(); }; RadTab.prototype.UnSelect=function(_18){ if(!this.Selected){ return; } this.InternalUnSelect(_18); if(!_18){ this.ModifyZIndex(-this.MaxZIndex); this.DomElement.className=this.CssClass; this.HideChildren(); this.SetImageUrl(this.ImageUrl); } this.TabStrip.RaiseEvent("OnClientTabUnSelected",{Tab:this}); }; RadTab.prototype.RecordState=function(){ this.InitialState.Selected=!this.Selected; var _19=RadControlsNamespace.JSON.stringify(this,this.InitialState); if(_19=="{}"){ this.TabStrip.TabsState[this.ID]=""; }else{ this.TabStrip.TabsState[this.ID]="\""+this.ID+"\":"+_19; } this.TabStrip.RecordState(); }; RadTab.prototype.ModifyZIndex=function(_1a){ this.DomElement.style.zIndex=parseInt(this.DomElement.style.zIndex)+_1a; this.DomElement.style.cssText=this.DomElement.style.cssText; }; RadTab.prototype.InternalSelect=function(_1b){ var _1c=this.Parent.SelectedTab; if(_1c){ this.TabStrip.InUpdate=true; this.Parent.SelectedTab.UnSelect(_1b); this.TabStrip.InUpdate=false; } this.Selected=true; this.Parent.SelectedTab=this; this.Parent.SelectedIndex=this.Index; this.RecordState(); }; RadTab.prototype.Select=function(_1d){ if(!this.Enabled){ return false; } if(this.Selected&&!this.TabStrip.ClickSelectedTab){ return false; } var _1e=this.Parent.SelectedTab; var _1f={Tab:this,PreviousTab:_1e}; if(!this.TabStrip.RaiseEvent("OnClientTabSelecting",_1f)){ return false; } this.TabStrip.SelectPageView(this); this.InternalSelect(_1d); if(!_1d){ if(this.TabStrip.ReorderTabRows&&!this.TabStrip.RenderInProgress()){ this.PopRow(); } this.DomElement.className=this.SelectedCssClass; this.ModifyZIndex(this.MaxZIndex); this.FixFirstTabPosition(); this.SetImageUrl(this.SelectedImageUrl); } this.ShowChildren(_1d); this.TabStrip.RaiseEvent("OnClientTabSelected",_1f); return true; }; RadTab.prototype.FixFirstTabPosition=function(){ if(this.Parent.Tabs[0]&&this.Parent.Tabs[0].DomElement){ this.Parent.Tabs[0].DomElement.style.cssText=this.Parent.Tabs[0].DomElement.style.cssText; } }; RadTab.prototype.SelectParents=function(){ var _20=[]; var _21=this; while(_21!=this.TabStrip){ _20[_20.length]=_21; _21=_21.Parent; } var i=_20.length; while(i--){ _20[i].Select(); } }; RadTab.prototype.IsVisible=function(){ var _23=this.Parent; if(_23==this.TabStrip){ return true; } while(_23!=this.TabStrip){ if(!_23.Selected){ return false; } _23=_23.Parent; } return true; }; RadTab.prototype.ShowChildren=function(_24){ if(!this.ChildStripDomElement){ return; } if(!this.IsVisible()){ return; } if(!_24){ this.ChildStripDomElement.style.display="block"; this.TabStrip.ShowLevels(this.DepthLevel); this.TabStrip.ApplyTabBreaks(this.ChildStripDomElement); this.TabStrip.AlignElement(this.ChildStripDomElement); if(this.ScrollChildren){ this.TabStrip.MakeScrollable(this); } } if(this.SelectedTab){ this.SelectedTab.Selected=false; this.SelectedTab.Select(_24); } }; RadTab.prototype.HideChildren=function(){ if(!this.ChildStripDomElement){ return; } this.TabStrip.ShowLevels(this.DepthLevel-1); this.ChildStripDomElement.style.display="none"; if(this.SelectedTab){ this.SelectedTab.HideChildren(); } }; RadTab.prototype.Enable=function(){ if(this.Enabled){ return; } this.Enabled=true; this.DomElement.className=this.CssClass; this.DomElement.disabled=""; this.RecordState(); if(this.Parent.SelectedTab==this&&this.SelectedImageUrl){ this.SetImageUrl(this.SelectedImageUrl); }else{ this.SetImageUrl(this.ImageUrl); } this.TabStrip.RaiseEvent("OnClientTabEnabled",{Tab:this}); }; RadTab.prototype.Disable=function(){ this.Enabled=false; this.UnSelect(); this.DomElement.className=this.DisabledCssClass; this.DomElement.disabled="disabled"; this.RecordState(); this.SetImageUrl(this.DisabledImageUrl); this.TabStrip.RaiseEvent("OnClientTabDisabled",{Tab:this}); }; RadTab.prototype.OnScrollStop=function(){ this.RecordState(); }; RadTab.prototype.SetCssClass=function(_25){ this.CssClass=_25; if(this.Enabled&&!this.Selected){ this.DomElement.className=_25; } }; RadTab.prototype.SetText=function(_26){ this.Text=_26; var _27=this.DomElement.firstChild.firstChild; var _28=_27.firstChild.nodeType==3?_27.firstChild:_27.childNodes[1]; _28.nodeValue=_26; this.RecordState(); }; RadTab.prototype.SetDisabledCssClass=function(_29){ this.DisabledCssClass=_29; if(!this.Enabled){ this.DomElement.className=_29; } }; RadTab.prototype.SetSelectedCssClass=function(_2a){ this.SelectedCssClass=_2a; if(this.Selected){ this.DomElement.className=_2a; } }; RadTab.prototype.PopRow=function(){ var _2b=this.DomElement.parentNode.offsetTop; if(this.IsBreak&&RadControlsNamespace.Browser.IsIE){ var _2c=RadTabStripNamespace.Box.GetCurrentStyle(this.DomElement); _2b-=RadTabStripNamespace.Box.GetStyleValues(_2c,"marginTop"); } var _2d=[]; for(var i=0;i"); }else{ var _4=document.createElement("LINK"); _4.rel="stylesheet"; _4.type="text/css"; _4.href=_3; document.getElementById(_2+"StyleSheetHolder").appendChild(_4); } }; RadTabStripNamespace.TabStripAlign={Left:0,Center:1,Right:2,Justify:3}; RadTabStripNamespace.GetChildren=function(_5,_6){ var _7=[]; var _8=_5.firstChild; _6=_6.toLowerCase(); while(_8){ if(_8.nodeType==1&&_8.tagName.toLowerCase()==_6){ _7[_7.length]=_8; } _8=_8.nextSibling; } return _7; }; function RadTabStrip(_9){ var _a=window[_9]; if(_a!=null&&typeof (_a.Dispose)=="function"){ _a.Dispose(); } this.DomElement=document.getElementById(_9); this.ChildStripDomElement=this.DomElement.getElementsByTagName("ul")[0]; this.StateField=document.getElementById(_9+"_Hidden"); this.Tabs=[]; this.AllTabs=[]; this.ID=_9; this.LevelWraps=[]; this.LevelWraps[0]=this.ChildStripDomElement.parentNode; RadControlsNamespace.EventMixin.Initialize(this); this.SelectedTab=null; this.SelectedIndex=-1; this.IsVertical=false; this.ReverseLevelOrder=false; this.ScrollChildren=false; this.EnableImmediateNavigation=true; this.ScrollPosition=0; this.ScrollButtonsPosition=RadControlsNamespace.ScrollButtonsPosition.Right; this.PerTabScrolling=false; this.MultiPageID=""; this.MultiPageClientID=""; this.CausesValidation=true; this.ValidationGroup=""; this.Enabled=true; this.Direction="ltr"; this.Align=RadTabStripNamespace.TabStripAlign.Left; this.ReorderTabRows=false; this.UnSelectChildren=false; this.ClickSelectedTab=false; this.OnClientTabSelected=""; this.OnClientTabSelecting=""; this.OnClientMouseOver=""; this.OnClientMouseOut=""; this.OnClientTabUnSelected=""; this.OnClientTabEnabled=""; this.OnClientTabDisabled=""; this.OnClientLoad=""; this.DepthLevel=0; this.MaxLevel=0; this.TabData={}; this.InPostBack=false; this.Disposed=false; this.InitialAllTabs=[]; this.TabsState={}; this.InUpdate=false; this.Initialized=false; } RadTabStrip.prototype.Dispose=function(){ if(this.Disposed){ return; } this.Disposed=true; try{ if(this.Scroll){ this.Scroll.Dispose(); } for(var i=0;i_22?"none":"block"; if(this.LevelWraps[i].style.display!=_24){ this.LevelWraps[i].style.display=_24; } } }; RadTabStrip.prototype.DetermineDirection=function(){ var el=this.DomElement; while(el.tagName.toLowerCase()!="html"){ if(el.dir){ this.Direction=el.dir.toLowerCase(); return; } el=el.parentNode; } this.Direction="ltr"; }; RadTabStrip.prototype.ApplyTabBreaks=function(_26){ var lis=_26.getElementsByTagName("li"); for(var i=0;i0?"none":"block"; if(this.ReverseLevelOrder&&_33>0){ this.DomElement.insertBefore(this.LevelWraps[_33],this.LevelWraps[_33-1]); }else{ this.DomElement.appendChild(this.LevelWraps[_33]); } this.LevelWraps[_33].className="levelwrap level"+(_33+1); if(this.Direction=="rtl"){ this.LevelWraps[_33].style.cssFloat="right"; this.LevelWraps[_33].style.styleFloat="right"; } return this.LevelWraps[_33]; }; RadTabStrip.prototype.CreateControlHierarchy=function(_34,_35){ this.MaxLevel=Math.max(_34.DepthLevel,this.MaxLevel); if(_34.DepthLevel>0){ this.CreateLevelWrap(_34.DepthLevel).appendChild(_35); } var lis=RadTabStripNamespace.GetChildren(_35,"li"); for(var i=0;i-1){ continue; } lis[i].style.styleFloat="right"; lis[i].style.cssFloat="right"; } var uls=this.DomElement.getElementsByTagName("ul"); for(var i=0;i0){ var i=0; while(this.ScrollPosition<-(this.IsVertical?lis[i].offsetTop:lis[i].offsetLeft)){ i++; } this.CurrentTab=i; } }; RadControlsNamespace.Scroll.prototype.AttachScrollMethods=function(){ if(this.PerTabScrolling){ this.Scroll=RadControlsNamespace.Scroll.StartPerTabScroll; this.Stop=RadControlsNamespace.Scroll.StopPerTabScroll; }else{ this.Scroll=RadControlsNamespace.Scroll.StartSmoothScroll; this.Stop=RadControlsNamespace.Scroll.StopSmoothScroll; } }; RadControlsNamespace.Scroll.prototype.EvaluateArrowStatus=function(){ var _1f=!(this.ScrollPosition>=this.MinScrollPosition); var _20=!(this.ScrollPositionlis.length){ return; } var _2a=_27==-1?this.CurrentTab:_29; this.CurrentTab=_29; if(this.IsVertical){ var _2b=lis[_2a].offsetHeight; }else{ var _2b=lis[_2a].offsetWidth; } this.ScrollBy(_2b*_27); this.EvaluateArrowStatus(); }; RadControlsNamespace.Scroll.prototype.ScrollNeeded=function(){ return true; if(this.IsVertical){ return this.Element.offsetHeight>this.Element.parentNode.offsetHeight; } return this.Element.offsetWidth>this.Element.parentNode.offsetWidth; }; RadControlsNamespace.Scroll.StopSmoothScroll=function(_2c){ if(this.OnScrollStop){ this.OnScrollStop(); } clearInterval(this.scrollInterval); }; RadControlsNamespace.Scroll.StopPerTabScroll=function(_2d){ if(this.OnScrollStop){ this.OnScrollStop(); } };;