if (typeof(window.RadTabStripNamespace)=="undefined"){window.RadTabStripNamespace=new Object(); } ; RadTabStripNamespace.ItemGroup= function (O,o){ this.Size=0; this.ExpandableSize=0; this.FixedSize=0; this.Items=[]; this.SizeMethod=o; this.SizeProperty=O; };RadTabStripNamespace.ItemGroup.prototype.RegisterItem= function (item,I){var A=item.className.indexOf("separator")>-1; if (A){I= true; }else {item=item.firstChild; } this.Size+=RadTabStripNamespace.Box[this.SizeMethod](item); if (A || (I && item.firstChild.firstChild.style[this.SizeProperty])){ this.FixedSize+=RadTabStripNamespace.Box[this.SizeMethod](item); return; } this.ExpandableSize+=RadTabStripNamespace.Box[this.SizeMethod](item); this.Items[this.Items.length]=item; };RadTabStripNamespace.Align= function (U,Z,I){ this.Element=U; this.ItemGroups=[]; if (Z=="horizo\x6e\x74\141\x6c"){ this.OuterSizeMethod="GetOute\x72\x57idt\x68"; this.InnerSizeMethod="Ge\x74\x49nnerWid\x74\x68"; this.SetSizeMethod="\x53etOut\x65\x72Width"; this.OffsetProperty="\x6fffsetTop"; this.SizeProperty="width"; }else { this.OuterSizeMethod="\x47etOute\x72\x48eight"; this.InnerSizeMethod="\x47etInnerHeig\x68\x74"; this.SetSizeMethod="SetOuterH\x65\x69ght"; this.OffsetProperty="offsetLef\x74"; this.SizeProperty="\x68eight"; } this.SkipFixedSize=I; 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 z=3; var children=this.Element.childNodes; var W=0; var w=-1; this.ItemGroups[0]=this.CreateItemGroup(); for (var i=0; i<children.length; i++){var item=children[i]; var V=item[this.OffsetProperty]; if (item.nodeType==z){continue; }if (w==-1){w=V; }if (V>w+1){W++; this.ItemGroups[W]=this.CreateItemGroup(); w=V; } this.ItemGroups[W].RegisterItem(item); } this.CalculateItemSizePercentage(); };RadTabStripNamespace.Align.prototype.CalculateItemSizePercentage= function (){for (var j=0; j<this.ItemGroups.length; j++){var v=this.ItemGroups[j]; for (var i=0; i<v.Items.length; i++){var item=v.Items[i]; if (this.SkipFixedSize && item.style[this.SizeProperty]){continue; }var T=RadTabStripNamespace.Box[this.OuterSizeMethod](item); var t=RadTabStripNamespace.Box[this.OuterSizeMethod](item.firstChild.firstChild); if (v.ExpandableSize==0){item.Percentage=0; }else {item.Percentage=T/v.ExpandableSize; }item.PaddingDiff=T-t; }}};RadTabStripNamespace.Align.prototype.InterateOverRows= function (S){var R=RadTabStripNamespace.Box[this.InnerSizeMethod](this.Element); for (var j=0; j<this.ItemGroups.length; j++){S(this.ItemGroups[j],R); }};RadTabStripNamespace.Align.Justify= function (U){var align=new RadTabStripNamespace.Align(U,"\x68\x6frizontal", true); var S= function (r,R){for (var i=0; i<r.Items.length; i++){var item=r.Items[i]; var Q=item.Percentage*(R-r.FixedSize)-item.PaddingDiff; var P=item.firstChild.firstChild; RadTabStripNamespace.Box.SetOuterWidth(P,Math.floor(Q)); }} ; align.InterateOverRows(S); };RadTabStripNamespace.Align.Right= function (U){var align=new RadTabStripNamespace.Align(U,"ho\x72\x69zontal"); var S= function (r,R){var N=r.Items[0]; N.style.marginLeft=(R-r.Size-1)+"px"; N.style.cssText=N.style.cssText; };align.InterateOverRows(S); };RadTabStripNamespace.Align.Center= function (U){var align=new RadTabStripNamespace.Align(U,"ho\x72\x69zontal"); var S= function (r,R){var N=r.Items[0]; var margin=Math.floor((R-r.Size)/2)+"px";N.style.marginLeft=margin; N.style.cssText=N.style.cssText; };align.InterateOverRows(S); };RadTabStripNamespace.Align.VJustify= function (U){var align=new RadTabStripNamespace.Align(U,"\x76ertical", true); var S= function (r,n){for (var i=0; i<r.Items.length; i++){var item=r.Items[i]; var M=item.Percentage*(n-r.FixedSize)-item.PaddingDiff; var P=item.firstChild.firstChild; RadTabStripNamespace.Box.SetOuterHeight(P,Math.floor(M)); }} ; align.InterateOverRows(S); };RadTabStripNamespace.Align.Bottom= function (U){var align=new RadTabStripNamespace.Align(U,"v\x65rtical"); var S= function (r,n){var N=r.Items[0]; N.style.marginTop=(n-r.Size-1)+"\x70x"; };align.InterateOverRows(S); };RadTabStripNamespace.Align.Middle= function (U){var align=new RadTabStripNamespace.Align(U,"ver\x74\x69cal"); var S= function (r,n){var N=r.Items[0]; var margin=Math.floor((n-r.Size)/2)+"\x70x";N.style.marginTop=margin; };align.InterateOverRows(S); };;if (typeof(window.RadTabStripNamespace)=="undefined"){window.RadTabStripNamespace=new Object(); } ; RadTabStripNamespace.Box= {GetOuterWidth:function (U){var computedStyle=this.GetCurrentStyle(U); return U.offsetWidth+this.GetHorizontalMarginValue(computedStyle); } ,GetOuterHeight:function (U){var computedStyle=this.GetCurrentStyle(U); return U.offsetHeight+this.GetVerticalMarginValue(computedStyle); } ,GetInnerWidth:function (U){var computedStyle=this.GetCurrentStyle(U); return U.offsetWidth-this.GetHorizontalPaddingAndBorderValue(computedStyle); } ,GetInnerHeight:function (U){var computedStyle=this.GetCurrentStyle(U); return U.offsetHeight-this.GetVerticalPaddingAndBorderValue(computedStyle); } ,SetOuterWidth:function (U,width){var computedStyle=this.GetCurrentStyle(U); width-=this.GetHorizontalMarginValue(computedStyle); if (RadControlsNamespace.Browser.StandardsMode){width-=this.GetHorizontalPaddingAndBorderValue(computedStyle); }if (width<0){U.style.width="\141uto"; }else {U.style.width=width+"\x70x"; }} ,SetOuterHeight:function (U,height){var m=height; var computedStyle=this.GetCurrentStyle(U); height-=this.GetVerticalMarginValue(computedStyle); if (RadControlsNamespace.Browser.StandardsMode){height-=this.GetVerticalPaddingAndBorderValue(computedStyle); }U.style.height=height+"p\x78"; var L=this.GetOuterHeight(U); if (L!=m){var l=(L-m); var M=(m-l); if (M>0){U.style.height=M+"px"; }}} ,SafeParseInt:function (value){var K=parseInt(value); return isNaN(K)?0:K; } ,GetStyleValues:function (style){var value=0; for (var i=1; i<arguments.length; i++){value+=this.SafeParseInt(style[arguments[i]]); }return value; } ,GetHorizontalPaddingAndBorderValue:function (style){return this.GetStyleValues(style,"\142\157rde\x72\x4ceftW\x69\x64th","\x70\141ddi\x6e\x67Left","\x70addingR\x69\x67ht","bord\x65\x72RightW\x69\x64th"); } ,GetVerticalPaddingAndBorderValue:function (style){return this.GetStyleValues(style,"border\x54\x6fpWidt\x68","p\x61\x64dingTop","paddin\x67\x42ottom","bor\x64\x65rBottom\x57\x69dth"); } ,GetHorizontalMarginValue:function (style){return this.GetStyleValues(style,"\x6darginLeft","marginR\x69\x67ht"); } ,GetVerticalMarginValue:function (style){return this.GetStyleValues(style,"\x6d\x61rginTo\x70","\155ar\x67\x69nBotto\x6d"); } ,GetCurrentStyle:function (U){if (U.currentStyle){return U.currentStyle; }else if (document.defaultView && document.defaultView.getComputedStyle){return document.defaultView.getComputedStyle(U,null); }else {return null; }}};;if (typeof window.RadControlsNamespace=="\165ndef\x69\x6eed"){window.RadControlsNamespace= {} ; }window.RadControlsNamespace.Browser= {} ; window.RadControlsNamespace.Browser.ParseBrowserInfo= function (){ this.IsMacIE=(navigator.appName=="\x4d\x69crosof\x74\x20Int\x65\x72n\x65\164 \x45\x78pl\x6f\x72er") && ((navigator.userAgent.toLowerCase().indexOf("mac")!=-1) || (navigator.appVersion.toLowerCase().indexOf("mac")!=-1)); this.IsSafari=(navigator.userAgent.toLowerCase().indexOf("saf\x61\x72i")!=-1); this.IsMozilla=window.netscape && !window.opera; this.IsOpera=window.opera; this.IsOpera9=window.opera && (parseInt(window.opera.version())>8); this.IsIE=!this.IsMacIE && !this.IsMozilla && !this.IsOpera && !this.IsSafari; this.StandardsMode=this.IsSafari || this.IsOpera9 || this.IsMozilla || document.compatMode=="\x43SS1Comp\x61\164"; this.IsMac=/\x4d\x61\x63/.test(navigator.userAgent); };RadControlsNamespace.Browser.ParseBrowserInfo();;if (typeof window.RadControlsNamespace=="\165ndefi\x6e\x65d"){window.RadControlsNamespace= {} ; }RadControlsNamespace.EventMixin= {Initialize:function (k){k.J= {} ; k._eventsEnabled= true; k.AttachEvent=this.AttachEvent; k.DetachEvent=this.DetachEvent; k.RaiseEvent=this.RaiseEvent; k.EnableEvents=this.EnableEvents; k.DisableEvents=this.DisableEvents; } ,DisableEvents:function (){ this._eventsEnabled= false; } ,EnableEvents:function (){ this._eventsEnabled= true; } ,AttachEvent:function (H,h){if (!this.J[H]){ this.J[H]=[]; } this.J[H][this.J[H].length]=(RadControlsNamespace.EventMixin.ResolveFunction(h)); } ,DetachEvent:function (H,h){var G=this.J[H]; if (!G){return false; }var g=RadControlsNamespace.EventMixin.ResolveFunction(h); for (var i=0; i<G.length; i++){if (g==G[i]){G.splice(i,1); return true; }}return false; } ,ResolveFunction:function (F){if (typeof(F)=="\146\x75nction"){return F; }else if (typeof(window[F])=="function"){return window[F]; }else {return new Function("var Sen\x64\x65r =\x20\x61rgum\x65nts[0];\x20\166a\x72\040\x41rgum\x65nts = \x61rgumen\x74s[1];"+F); }} ,RaiseEvent:function (H,f){if (!this._eventsEnabled){return true; }var D= true; if (this[H]){var d=RadControlsNamespace.EventMixin.ResolveFunction(this[H])(this,f); if (typeof(d)=="undefine\x64"){d= true; }D=D && d; }if (!this.J[H])return D; for (var i=0; i<this.J[H].length; i++){var h=this.J[H][i]; var d=h(this,f); if (typeof(d)=="undefined"){d= true; }D=D && d; }return D; }} ;;var JSON= {copyright: "(c)200\x35\x20\x4aS\x4f\116\x2eorg",license: "\x68ttp://www\x2e\x63roc\x6b\x66or\x64\x2eco\x6d\x2fJSO\x4e\x2fli\x63ense\x2e\150t\x6dl",stringify:function (C,B){var a=[]; var o0=arguments[2] || {} ; function e(s){a[a.length]=s; }function O0(x){var l0,i,i0,C; switch (typeof x){case "\x6fbject":if (x){if (x instanceof Array){e("\x5b"); i0=a.length; for (i=0; i<x.length; i+=1){C=x[i]; if (typeof C!="\x75ndefined" && typeof C!="functio\x6e"){if (i0<a.length){e(","); }O0(C); }}e("]"); return ""; }else if (typeof x.valueOf=="\x66unction"){e("\x7b"); i0=a.length; for (i in x){C=x[i]; if (B && C==B[i]){continue; }var type=typeof C; if (type=="undefined" || type=="\x66unctio\x6e"){continue; }if (type=="object" && !o0[i]){continue; }if (i0<a.length){e(","); }O0(i); e(":"); O0(C); }return e("\x7d"); }}e("n\x75\x6cl"); return ""; case "number":e(isFinite(x)? +x: "null"); return ""; case "\x73tring":i0=x.length; e("\x22"); for (i=0; i<i0; i+=1){l0=x.charAt(i); if (l0>="\x20"){if (l0=="\x5c" || l0=="\x22"){e("\x5c"); }e(l0); }else {switch (l0){case "\x08":e("\134\x62"); break; case "\014":e("\x5c\x66"); break; case "\x0a":e("\134\x6e"); break; case "\x0d":e("\134\x72"); break; case "\011":e("\x5ct"); break; default:l0=l0.charCodeAt(); e("\x5c\x7500"+Math.floor(l0/16).toString(16)+(l0%16).toString(16)); }}}e("\x22"); return ""; case "\x62oolean":e(String(x)); return ""; default:e("n\x75\x6cl"); return ""; }}O0(C,0); return a.join(""); } ,stringifyHashTable:function (hash,I0,o1){var a=[]; if (!o1)o1=[]; for (var i=0; i<hash.length; i++){var O1=this.stringify(hash[i],o1[i]); if (O1=="{}")continue; a[a.length]="\x22"+hash[i][I0]+"\042\x3a"+O1; }return "{"+a.join(",")+"}"; } ,parse:function (text){return (/^([\x20\x09\x0d\x0a\x2c\x3a\x7b\x7d\x5b\x5d]|\x22(\x5c[\x22\x5c\x2f\x62\x66\x6e\x72\x74\x75]|[^\x00-\x1f\x22\x5c]+)*\x22|\x2d?\d+(\x2e\d*)?([\x65\x45][\x2b-]?\d+)?|\x74\x72\x75\x65|\x66\x61\x6c\x73\x65|\x6e\x75\x6c\x6c)+$/.test(text)) && eval("("+text+")"); }} ;;function RadMultiPage(id,l1){var i1=window[id]; if (i1!=null && typeof(i1.Dispose)=="\x66\x75\x6ectio\x6e"){i1.Dispose(); } this.DomElement=document.getElementById(id); this.PageViews=l1; this.HiddenInput=document.getElementById(id+"\x5f\x53electe\x64"); this.PageView=null; }RadMultiPage.prototype.Dispose= function (){if (this.I1==null)return; this.I1= true; this.DomElement=null; this.HiddenInput=null; };RadMultiPage.prototype.GetSelectedIndex= function (){return parseInt(this.HiddenInput.value); } ; RadMultiPage.prototype.GetPageViewDomElement= function (index){return document.getElementById(this.PageViews[index].ClientID); } ; RadMultiPage.prototype.SelectPageById= function (id){if (id=="\x4eull"){return; }var selected=-1; for (var i=0; i<this.PageViews.length; i++){var o2=this.GetPageViewDomElement(i); if (this.PageViews[i].ID==id){if (o2){ this.GetPageViewDomElement(i).style.display="\x62\x6cock"; }selected=i; }else {if (o2){ this.GetPageViewDomElement(i).style.display="n\x6f\x6ee"; }}} this.HiddenInput.value=selected; } ; RadMultiPage.prototype.SelectPageByIndex= function (index){if (index>=this.PageViews.length){return; }for (var i=0; i<this.PageViews.length; i++){var o2=this.GetPageViewDomElement(i); if (o2){o2.style.display=((i==index)?"\142\x6c\x6fck": "non\x65"); }} this.HiddenInput.value=index; } ;;function RadTab(U,O2){ this.Parent=null; this.TabStrip=null; this.SelectedTab=null; this.SelectedIndex=-1; this.Selected= false; this.ScrollChildren= false; this.ScrollPosition=0; this.ScrollButtonsPosition=RadControlsNamespace.ScrollButtonsPosition.Right; this.PerTabScrolling= false; this.Tabs=[]; this.PageViewID=""; this.PageViewClientID=""; this.Index=-1; this.GlobalIndex=-1; this.CssClass=""; this.SelectedCssClass="\x73\x65\x6cected"; this.DisabledCssClass="d\x69\x73abled"; this.NavigateAfterClick= false; this.Enabled= true; this.Value=""; this.DepthLevel=-1; this.IsBreak= false; this.ID=U.id; this.DomElement=U; this.Text=U.firstChild.firstChild.innerHTML; this.ImageDomElement=U.getElementsByTagName("\x69mg")[0]; this.ChildStripDomElement=U.parentNode.getElementsByTagName("\x75\x6c")[0]; } ; RadTab.prototype.Initialize= function (){ this.AttachEventHandlers(); if (this.TabStrip.TabData[this.ID]!=null){for (var l2 in this.TabStrip.TabData[this.ID]){ this[l2]=this.TabStrip.TabData[this.ID][l2]; }}RadTabStrip.i2(this ); } ; RadTab.prototype.Dispose= function (){ this.DomElement.detachEvent("onclick",this.I2); this.DomElement.detachEvent("\x6fnmous\x65\x6fver",this.o3); this.DomElement.detachEvent("\x6fnmouseout",this.O3); if (this.l3){ this.DomElement.detachEvent("o\x6e\x66ocus",this.l3); }for (var i in this.DomElement){if (typeof(this.DomElement[i])=="\x66unction"){ this.DomElement[i]=null; }} this.DomElement=null; this.ImageDomElement=null; this.ChildStripDomElement=null; };RadTab.prototype.CancelEvent= function (e){if (e && e.preventDefault){e.preventDefault(); }return false; };RadTab.prototype.AttachEventHandlers= function (){var h=this ; this.I2= function (e){e=e?e:event; var K=h.Click(e); try {h.DomElement.blur(); h.DomElement.focus(); if (!h.Entered){h.DomElement.blur(); }}catch (e){}h.Entered= false; return K; };this.o3= function (e){var a=h.DomElement; var i3=e.relatedTarget?e.relatedTarget:e.fromElement; if (i3 && (i3==a || i3.parentNode==a || i3.parentNode.parentNode==a)){return; }h.TabStrip.RaiseEvent("\117\x6eClientM\x6f\165se\x4f\166\x65\162", {Tab:h,EventObject:e } ); };this.O3= function (e){var a=h.DomElement; var I3=e.relatedTarget?e.relatedTarget:e.toElement; if (I3 && (I3==a || I3.parentNode==a || I3.parentNode.parentNode==a)){return; }h.TabStrip.RaiseEvent("\x4fnCli\x65\x6etMou\x73\x65Out", {Tab:h,EventObject:e } ); };this.DomElement.onkeypress= function (e){e=e?e:event; if (e.keyCode==13){h.Entered= true; }};if (RadControlsNamespace.Browser.IsSafari){ this.DomElement.onclick=this.I2; this.DomElement.onmouseover=this.o3; this.DomElement.onmouseout=this.O3; }else if (this.DomElement.addEventListener){ this.DomElement.addEventListener("\x63lick",this.I2, false); this.DomElement.addEventListener("mouseover",this.o3, false); this.DomElement.addEventListener("m\x6f\x75seout",this.O3, false); }else if (this.DomElement.attachEvent){if (this.DomElement.accessKey){ this.l3= function (){if (event.altKey){h.Click(); setTimeout( function (){h.DomElement.focus(); } ,0); }};this.DomElement.attachEvent("\x6fnfocus",this.l3); } this.DomElement.attachEvent("\x6fnclick",this.I2); this.DomElement.attachEvent("\x6fnmouseo\x76\x65r",this.o3); this.DomElement.attachEvent("onm\x6f\x75seout",this.O3); }};RadTab.prototype.Validate= function (){if (!this.TabStrip.CausesValidation){return true; }if (typeof(Page_ClientValidate)!="functio\x6e"){return true; }return Page_ClientValidate(this.TabStrip.ValidationGroup); };RadTab.prototype.Click= function (e){if ((!this.Enabled) || (!this.Validate())){return this.CancelEvent(e); }var D=this.Select(); if ((!D) || (!this.NavigateAfterClick)){return this.CancelEvent(e); }else if (!e || (this.ImageDomElement && (e.srcElement==this.ImageDomElement))){var target=this.DomElement.target; if (!target || target=="\x5fself"){location.href=this.DomElement.href; }else if (target=="\x5f\142l\x61\x6ek"){window.open(this.DomElement.href); }else {if (top.frames[target]){top.frames[target].src=this.DomElement.href; }}}return true; } ; RadTab.prototype.UnSelect= function (){if (!this.Selected){return; } this.Selected= false; this.ModifyZIndex(-this.MaxZIndex); this.DomElement.className=this.CssClass; this.HideChildren(); if (this.SelectedTab!=null && this.TabStrip.UnSelectChildren){ this.SelectedTab.UnSelect(); } this.Parent.SelectedTab=null; this.Parent.SelectedIndex=-1; this.o4(); this.TabStrip.RaiseEvent("OnCl\x69\x65ntTab\x55\x6eSel\x65cted", {Tab: this } ); } ; RadTab.prototype.o4= function (){var O4=JSON.stringify(this,this.InitialState); if (O4=="\x7b\x7d"){ this.TabStrip.l4[this.ID]=""; }else { this.TabStrip.l4[this.ID]="\x22"+this.ID+"\042\x3a"+O4; } this.TabStrip.RecordState(); };RadTab.prototype.ModifyZIndex= function (zIndex){ this.DomElement.style.zIndex=parseInt(this.DomElement.style.zIndex)+zIndex; this.DomElement.style.cssText=this.DomElement.style.cssText; };RadTab.prototype.Select= function (){if (!this.Enabled){return false; }if (this.Selected && !this.TabStrip.ClickSelectedTab){return false; }var i4=this.Parent.SelectedTab; var f= {Tab: this,PreviousTab:i4 } ; if (!this.TabStrip.RaiseEvent("OnClientT\x61\x62S\x65\x6cect\x69ng",f)){return false; }if (this.TabStrip.ReorderTabRows){ this.PopRow(); }if (i4){ this.TabStrip.InUpdate= true; this.Parent.SelectedTab.UnSelect(); this.TabStrip.InUpdate= false; } this.Selected= true; this.DomElement.className=this.SelectedCssClass; this.ModifyZIndex(this.MaxZIndex); this.Parent.SelectedTab=this ; this.Parent.SelectedIndex=this.Index; this.TabStrip.SelectPageView(this ); this.ShowChildren(); this.FixFirstTabPosition(); this.o4(); this.TabStrip.RaiseEvent("OnClientTab\x53\x65lec\x74\x65d",f); 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 I4=[]; var parent=this ; while (parent!=this.TabStrip){I4[I4.length]=parent; parent=parent.Parent; }var i=I4.length; while (i--){I4[i].Select(); }};RadTab.prototype.IsVisible= function (){var parent=this.Parent; if (parent==this.TabStrip)return true; while (parent!=this.TabStrip){if (!parent.Selected){return false; }parent=parent.Parent; }return true; };RadTab.prototype.ShowChildren= function (){if (!this.ChildStripDomElement)return; if (!this.IsVisible())return; this.ChildStripDomElement.style.display="\x62lock"; 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(); }};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.o4(); this.TabStrip.RaiseEvent("\x4fnClientTa\x62\x45nab\x6c\x65d", {Tab: this } ); };RadTab.prototype.Disable= function (){ this.Enabled= false; this.UnSelect(); this.DomElement.className=this.DisabledCssClass; this.DomElement.disabled="d\x69sabl\x65\x64"; this.o4(); this.TabStrip.RaiseEvent("OnClientTab\x44\x69sabl\x65\144", {Tab: this } ); };RadTab.prototype.OnScrollStop= function (){ this.o4(); };RadTab.prototype.SetCssClass= function (value){ this.CssClass=value; if (this.Enabled && !this.Selected){ this.DomElement.className=value; }};RadTab.prototype.SetText= function (value){ this.Text=value; var o5=this.DomElement.firstChild.firstChild; var O5=o5.firstChild.nodeType==3?o5.firstChild:o5.childNodes[1]; O5.nodeValue=value; this.o4(); };RadTab.prototype.SetDisabledCssClass= function (value){ this.DisabledCssClass=value; if (!this.Enabled){ this.DomElement.className=value; }};RadTab.prototype.SetSelectedCssClass= function (value){ this.SelectedCssClass=value; if (this.Selected){ this.DomElement.className=value; }};RadTab.prototype.PopRow= function (){var l5=this.DomElement.parentNode.offsetTop; var i5=[]; for (var i=0; i<this.Parent.Tabs.length; i++){var I5=this.Parent.Tabs[i].DomElement.parentNode; var o6=I5.offsetTop; var style=RadTabStripNamespace.Box.GetCurrentStyle(this.Parent.Tabs[i].DomElement); if (this.Parent.Tabs[i].IsBreak && this.Parent.Tabs[i].Selected && RadControlsNamespace.Browser.IsIE){o6-=RadTabStripNamespace.Box.GetStyleValues(style,"marginT\x6fp"); }if (o6==l5){i5[i5.length]=this.Parent.Tabs[i].DomElement.parentNode; }}if (i5.length==this.Parent.Tabs.length){return; }var container=this.DomElement.parentNode.parentNode; for (var i=0; i<i5.length; i++){container.appendChild(i5[i]); }};;if (typeof(window.RadTabStripNamespace)=="\165ndefin\x65\x64"){window.RadTabStripNamespace=new Object(); } ; if (typeof(window.RadControlsNamespace)=="undef\x69\x6eed"){window.RadControlsNamespace=new Object(); } ; RadControlsNamespace.AppendStyleSheet= function (O6,l6,i6){if (!i6){return; }if (!O6){document.write("\x3c"+"\x6cink"+"\x20rel=\047\x73tyle\x73\x68eet\x27 type\x3d\x27te\x78\164/\x63ss\047\040h\x72ef=\047"+i6+"\047\x20\057>"); }else {var I6=document.createElement("L\x49\116K"); I6.rel="\x73tyles\x68\x65et"; I6.type="text/\x63\x73s"; I6.href=i6; document.getElementById(l6+"\x53\x74yleShee\x74\x48olde\x72").appendChild(I6); }} ; RadTabStripNamespace.TabStripAlign= {Left: 0,Center: 1,Right: 2,Justify: 3 } ; RadTabStripNamespace.GetChildren= function (U,o7){var children=[]; var O7=U.firstChild; o7=o7.toLowerCase(); while (O7){if (O7.nodeType==1 && O7.tagName.toLowerCase()==o7){children[children.length]=O7; }O7=O7.nextSibling; }return children; };function RadTabStrip(l7){var i1=window[l7]; if (i1!=null && typeof(i1.Dispose)=="\x66unction"){i1.Dispose(); } this.DomElement=document.getElementById(l7); this.ChildStripDomElement=this.DomElement.getElementsByTagName("ul")[0]; this.StateField=document.getElementById(l7+"_Hid\x64\x65\x6e"); this.Tabs=[]; this.AllTabs=[]; this.ID=l7; 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.ScrollPosition=0; this.ScrollButtonsPosition=RadControlsNamespace.ScrollButtonsPosition.Right; this.PerTabScrolling= false; this.MultiPageID=""; this.MultiPageClientID=""; this.CausesValidation= true; this.ValidationGroup=""; this.Enabled= true; this.Direction="\x6ctr"; 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.InitialAllTabs=[]; this.l4= {} ; this.InUpdate= false; this.Initialized= false; if (window.attachEvent && !window.opera){var i7=this ; this.I7= function (){i7.Dispose(); };window.attachEvent("onunloa\x64",this.I7); }}RadTabStrip.prototype.Dispose= function (){if (this.I1!=null)return; this.I1= true; try {for (var i=0; i<this.AllTabs.length; i++){ this.AllTabs[i].Dispose(); }if (window.detachEvent && !window.opera){window.detachEvent("onunload",this.I7); this.I7=null; window.detachEvent("\x6fnresize",this.o8); window.detachEvent("\x6fnload",this.o8); this.o8=null; } this.DomElement=null; this.ChildStripDomElement=null; this.StateField=null; this.LevelWraps[0]=null; }catch (e){}};RadTabStrip.prototype.MakeScrollable= function (item){var scroll=RadControlsNamespace.Scroll.O8(item.ChildStripDomElement,this.IsVertical,item); scroll.WrapNeeded= true; scroll.Initialize(); };RadTabStrip.prototype.AlignElement= function (l8){if (this.IsVertical){if (l8.offsetHeight==0){return; }if (this.Align==RadTabStripNamespace.TabStripAlign.Center){RadTabStripNamespace.Align.Middle(l8); }else if (this.Align==RadTabStripNamespace.TabStripAlign.Right){RadTabStripNamespace.Align.Bottom(l8); }else if (this.Align==RadTabStripNamespace.TabStripAlign.Justify){RadTabStripNamespace.Align.VJustify(l8); }}else {if (l8.offsetWidth==0){return; }if (this.Align==RadTabStripNamespace.TabStripAlign.Center){RadTabStripNamespace.Align.Center(l8); }else if (this.Align==RadTabStripNamespace.TabStripAlign.Right){RadTabStripNamespace.Align.Right(l8); }else if (this.Align==RadTabStripNamespace.TabStripAlign.Justify){RadTabStripNamespace.Align.Justify(l8); }}};RadTabStrip.prototype.FindTabById= function (id){for (var i=0; i<this.AllTabs.length; i++){if (this.AllTabs[i].ID==id){return this.AllTabs[i]; }}return null; } ; RadTabStrip.prototype.FindTabByText= function (text){for (var i=0; i<this.AllTabs.length; i++){if (this.AllTabs[i].Text==text){return this.AllTabs[i]; }}return null; } ; RadTabStrip.prototype.FindTabByValue= function (value){for (var i=0; i<this.AllTabs.length; i++){if (this.AllTabs[i].Value==value){return this.AllTabs[i]; }}return null; } ; RadTabStrip.prototype.FindTabByUrl= function (url){for (var i=0; i<this.AllTabs.length; i++){if (this.AllTabs[i].DomElement.href==url){return this.AllTabs[i]; }}return null; } ; RadTabStrip.prototype.GetAllTabs= function (){return this.AllTabs; } ; RadTabStrip.prototype.i8= function (){return ((!this.IsVertical) && this.ChildStripDomElement.offsetWidth==0) || (this.IsVertical && this.ChildStripDomElement.offsetHeight==0); };RadTabStrip.prototype.ApplyAlign= function (){if (this.i8()){return; } this.AlignElement(this.ChildStripDomElement); var I8=this.SelectedTab; while (I8){if (!I8.ChildStripDomElement){break; } this.AlignElement(I8.ChildStripDomElement); I8=I8.SelectedTab; }};RadTabStrip.prototype.Initialize= function (o9,O9){ this.LoadConfiguration(o9); this.TabData=O9; this.DetermineDirection(); this.ApplyRTL(); this.DisableEvents(); this.CreateControlHierarchy(this,this.ChildStripDomElement); if (!this.Enabled){ this.Disable(); } this.ApplySelected(); this.EnableEvents(); this.l9(); this.ApplyTabBreaks(this.ChildStripDomElement); this.ApplyAlign(); if (this.LevelWraps.length==1){ this.ShowLevels(1); } this.HandleWindowResize(); this.Initialized= true; RadTabStrip.i2(this ); this.RaiseEvent("\x4f\x6e\x43lient\x4c\x6fad",null); };RadTabStrip.i2= function (i7){i7.InitialState= {} ; for (var i in i7){var type=typeof i7[i]; if (type=="\x6eumber" || type=="\x73tring" || type=="\x62\x6folean")i7.InitialState[i]=i7[i]; }};RadTabStrip.prototype.ApplySelected= function (){for (var i=0; i<this.AllTabs.length; i++){if (this.AllTabs[i].Selected){ this.AllTabs[i].Selected= false; this.AllTabs[i].Select(); }}};RadTabStrip.prototype.l9= function (){var i7=this ; var i9= function (){if (i7.ScrollChildren){i7.MakeScrollable(i7); }};if (this.i8()){if (window.addEventListener){window.addEventListener("load",i9, false); }else {window.attachEvent("onload",i9); }}else {i9(); }};RadTabStrip.prototype.HandleWindowResize= function (){var i7=this ; this.o8= function (){i7.ApplyAlign(); };if (window.addEventListener){window.addEventListener("\162\x65\163ize",this.o8, false); window.addEventListener("load",this.o8, false); }else {window.attachEvent("onresize",this.o8); window.attachEvent("onload",this.o8); }};RadTabStrip.prototype.LoadConfiguration= function (o9){for (var l2 in o9){ this[l2]=o9[l2]; }};RadTabStrip.prototype.ShowLevels= function (I9){var height=0; for (var i=0; i<=this.MaxLevel; i++){var oa=i>I9?"none": "bl\x6f\x63k"; if (this.LevelWraps[i].style.display!=oa){ this.LevelWraps[i].style.display=oa; }if (this.LevelWraps[i].style.display=="\x62lock"){height+=this.LevelWraps[i].offsetHeight; }}if (!this.IsVertical && RadControlsNamespace.Browser.IsMozilla){ this.DomElement.style.height=height+"\x70x"; }};RadTabStrip.prototype.DetermineDirection= function (){var el=this.DomElement; while (el.tagName.toLowerCase()!="\x68tml"){if (el.dir){ this.Direction=el.dir.toLowerCase(); return; }el=el.parentNode; } this.Direction="\x6ctr"; };RadTabStrip.prototype.ApplyTabBreaks= function (Oa){var la=Oa.getElementsByTagName("li"); for (var i=0; i<la.length; i++){var li=la[i]; if (li.className.indexOf("break")==-1)continue; var a=li.getElementsByTagName("\x61")[0]; if (this.Direction=="\x72tl" && li.firstChild.tagName.toLowerCase()=="a"){a.style.cssFloat="right"; a.style.styleFloat="right"; }}};RadTabStrip.prototype.CreateTab= function (parent,ia,Ia){var ob=new RadTab(ia); ob.MaxZIndex=Ia; ob.DepthLevel=parent.DepthLevel+1; ob.Parent=parent; ob.TabStrip=this ; ob.Index=parent.Tabs.length; ob.GlobalIndex=this.AllTabs.length; return ob; };RadTabStrip.prototype.CreateTabObject= function (parent,ia,Ia){var ob=this.CreateTab(parent,ia,Ia); parent.Tabs[parent.Tabs.length]=ob; this.AllTabs[this.AllTabs.length]=ob; return ob; };RadTabStrip.prototype.CreateLevelWrap= function (Ob){if (this.LevelWraps[Ob])return this.LevelWraps[Ob]; this.LevelWraps[Ob]=document.createElement("d\x69v"); this.LevelWraps[Ob].style.display="block"; if (this.ReverseLevelOrder && Ob>0){ this.DomElement.insertBefore(this.LevelWraps[Ob],this.LevelWraps[Ob-1]); }else { this.DomElement.appendChild(this.LevelWraps[Ob]); } this.LevelWraps[Ob].className="\x6cevelwr\x61\x70 lev\x65\x6c"+(Ob+1); if (this.Direction=="\x72tl"){ this.LevelWraps[Ob].style.cssFloat="rig\x68\x74"; this.LevelWraps[Ob].style.styleFloat="\x72ight"; }return this.LevelWraps[Ob]; };RadTabStrip.prototype.CreateControlHierarchy= function (lb,ib){ this.MaxLevel=Math.max(lb.DepthLevel,this.MaxLevel); if (lb.DepthLevel>0){ this.CreateLevelWrap(lb.DepthLevel).appendChild(ib); }var la=RadTabStripNamespace.GetChildren(ib,"\x6ci"); for (var i=0; i<la.length; i++){var li=la[i]; if (i==0){li.className+="\x20first"; }var href=li.getElementsByTagName("a")[0]; if (!href){continue; }href.style.zIndex=la.length-i; var ob=this.CreateTabObject(lb,href,la.length); ob.Initialize(); if (ob.ChildStripDomElement){ this.CreateControlHierarchy(ob,ob.ChildStripDomElement); }}if (li){li.className+=" \x6c\x61st"; }};RadTabStrip.prototype.SelectPageView= function (ob){if (!this.Initialized){return; }if (this.MultiPageClientID=="" || typeof(window[this.MultiPageClientID])=="undefin\x65\x64" || window[this.MultiPageClientID].innerHTML){return; }var Ib=window[this.MultiPageClientID]; if (ob.PageViewID){Ib.SelectPageById(ob.PageViewID); }else {Ib.SelectPageByIndex(ob.GlobalIndex); }};RadTabStrip.prototype.ApplyRTL= function (){if (this.Direction=="\154\x74r")return; this.DomElement.dir="ltr"; var la=this.DomElement.getElementsByTagName("li"); if (this.IsVertical)return; for (var i=0; i<la.length; i++){if (la[i].className.indexOf("\x62\162eak")>-1)continue; la[i].style.styleFloat="\x72ight"; la[i].style.cssFloat="\162i\x67\x68t"; }var oc=this.DomElement.getElementsByTagName("ul"); for (var i=0; i<oc.length; i++){oc[i].style["\x63lear"]="ri\x67\x68t"; }};RadTabStrip.prototype.Enable= function (){ this.Enabled= true; this.DomElement.disabled=""; this.InUpdate= true; for (var i=0; i<this.AllTabs.length; i++){ this.AllTabs[i].Enable(); } this.InUpdate= false; this.RecordState(); };RadTabStrip.prototype.Disable= function (){ this.Enabled= false; this.DomElement.disabled="disable\x64"; this.InUpdate= true; for (var i=0; i<this.AllTabs.length; i++){ this.AllTabs[i].Disable(); } this.InUpdate= false; this.RecordState(); };RadTabStrip.prototype.RecordState= function (){if (this.InUpdate || !this.Initialized){return; }var Oc=JSON.stringify(this,this.InitialState); var lc=[];for (var i in this.l4){if (this.l4[i]=="")continue; lc[lc.length]=this.l4[i]; } this.StateField.value="\x7b\x22\x53tate\042:"+Oc+"\x2c\x22TabSta\x74\145\042\x3a{"+lc.join("\054")+"\x7d}"; };RadTabStrip.prototype.OnScrollStop= function (){ this.RecordState(); };;if (typeof window.RadControlsNamespace=="undefined"){window.RadControlsNamespace= {} ; }RadControlsNamespace.ScrollButtonsPosition= {Left: 0,Middle: 1,Right: 2 } ; RadControlsNamespace.Scroll= function (U,ic,Ic){ this.Element=U; this.IsVertical=ic; this.ScrollButtonsPosition=Ic.ScrollButtonsPosition; this.ScrollPosition=Ic.ScrollPosition; this.PerTabScrolling=Ic.PerTabScrolling; this.od= false; this.WrapNeeded= false; this.LeaveGapsForArrows= true; this.Od="leftArrow"; this.ld="\154eftArrowDi\x73abled"; this.oe="rightAr\x72\x6fw"; this.Oe="righ\x74\x41rrowDi\x73\x61bled"; } ; RadControlsNamespace.Scroll.O8= function (U,ic,Ic){return new RadControlsNamespace.Scroll(U,ic,Ic); };RadControlsNamespace.Scroll.prototype.Initialize= function (){if (this.Element.le)return; this.Element.le= true; this.ScrollAmount=2; this.Direction=0; if (this.WrapNeeded){ this.CreateScrollWrap(); } this.ApplyOverflow(); this.Element.style.position="r\x65\x6cative"; this.AttachArrows(); this.CalculateMinMaxPosition(); if (this.PerTabScrolling){ this.CalculateInitialTab(); } this.AttachScrollMethods(); this.EvaluateArrowStatus(); this.HandleResize(); this.ScrollTo(this.ScrollPosition); } ; RadControlsNamespace.Scroll.prototype.ApplyOverflow= function (){if (RadControlsNamespace.Browser.IsIE){if (this.IsVertical){ this.Element.parentNode.style.overflowX=""; this.Element.parentNode.style.overflowY="\150i\x64\x64en"; }else { this.Element.parentNode.style.overflowX="hidden"; this.Element.parentNode.style.overflowY=""; }}else { this.Element.parentNode.style.overflow="hidden"; }};RadControlsNamespace.Scroll.prototype.HandleResize= function (){var U=this.Element; var i7=this ; var ie= function (){if (!i7.Element.offsetHeight || !i7.Element.offsetWidth){return; }i7.CalculateMinMaxPosition(); if (U.offsetWidth<U.parentNode.offsetWidth){i7.ScrollTo(0); }var Ie=parseInt(i7.IsVertical?U.style.top:U.style.left); setTimeout( function (){i7.ScrollTo(Ie); i7.EvaluateArrowStatus(); } ,100); };if (window.addEventListener){window.addEventListener("\x72e\x73\x69ze",ie, false); }else {window.attachEvent("\x6fnresize",ie); }};RadControlsNamespace.Scroll.prototype.AttachArrows= function (){var of=this.CreateArrow("\x26laquo;",1,this.Od); var Of=this.CreateArrow("\x26raquo;",-1,this.oe); this.LeftArrow=of; this.RightArrow=Of; if (this.IsVertical){of.style.left="\x30\x70x"; Of.style.left="\060\x70\170"; if (this.ScrollButtonsPosition==RadControlsNamespace.ScrollButtonsPosition.Middle){of.style.top="0px"; Of.style.bottom="\x30px"; }else if (this.ScrollButtonsPosition==RadControlsNamespace.ScrollButtonsPosition.Left){of.style.top="0px"; Of.style.top=of.offsetHeight+"px"; }else {Of.style.bottom="0px"; of.style.bottom=of.offsetHeight+"px"; }}else {of.style.top="0px"; Of.style.top="0\x70\x78"; if (this.ScrollButtonsPosition==RadControlsNamespace.ScrollButtonsPosition.Middle){of.style.left="\x2d\x31px"; Of.style.right="\x2d\061p\x78"; }else if (this.ScrollButtonsPosition==RadControlsNamespace.ScrollButtonsPosition.Left){of.style.left="-1px"; Of.style.left=(of.offsetWidth-1)+"px"; }else {Of.style.right="-\x31\x70x"; of.style.right=(Of.offsetWidth-1)+"\x70x"; }}};RadControlsNamespace.Scroll.prototype.CreateArrow= function (If,og,cssClass){var Og=document.createElement("a"); Og.href="#"; Og.className=cssClass; Og.innerHTML="&nbsp;"; Og.style.zIndex="2\x3000"; this.Element.parentNode.appendChild(Og); var i7=this ; Og.ScrollDirection=og; if (this.od){Og.onmousedown= function (){if (this.disabled){return false; }i7.ScrollAmount=3; return true; };Og.onmouseup= function (){i7.ScrollAmount=1; };Og.onmouseover= function (){if (this.disabled){return false; }i7.ScrollAmount=1; i7.Scroll(this.ScrollDirection); return true; };Og.onmouseout= function (){i7.lg=0; i7.Stop(); return false; };}else {Og.onmousedown= function (){i7.Scroll(this.ScrollDirection); };Og.onmouseup= function (){i7.Stop(); };}Og.onclick= function (){return false; };return Og; };RadControlsNamespace.Scroll.prototype.CreateScrollWrap= function (){var ig=document.createElement("\x64iv"); var Ig=this.Element.parentNode; ig.appendChild(this.Element); ig.style.position="relative"; ig.align="lef\x74"; Ig.appendChild(ig); if (this.IsVertical){ig.style.styleFloat="\x6ceft"; this.Element.style.display="\x6eone"; ig.style.height=ig.parentNode.parentNode.offsetHeight+"px"; this.Element.style.display="block"; }else {var oh=0; for (var i=0; i<this.Element.childNodes.length; i++){var node=this.Element.childNodes[i]; if (!node.tagName)continue; oh+=node.offsetWidth; } this.Element.style.width=(oh+3)+"\x70\x78"; }} ; RadControlsNamespace.Scroll.prototype.CalculateMinMaxPosition= function (){if (this.IsVertical){var Oh=this.Element.parentNode.offsetHeight-this.Element.offsetHeight; var lh=this.LeftArrow.offsetHeight; var ih=this.RightArrow.offsetHeight; }else {var Oh=this.Element.parentNode.offsetWidth-this.Element.offsetWidth; var lh=this.LeftArrow.offsetWidth; var ih=this.RightArrow.offsetWidth; }if (!this.LeaveGapsForArrows){lh=0; ih=0; } this.Ih=0; this.oi=Oh-ih-lh; if (this.ScrollButtonsPosition==RadControlsNamespace.ScrollButtonsPosition.Middle){ this.Oi=lh; }else if (this.ScrollButtonsPosition==RadControlsNamespace.ScrollButtonsPosition.Left){ this.Oi=lh+ih; }else { this.Oi=0; }};RadControlsNamespace.Scroll.prototype.CalculateInitialTab= function (){var la=this.Element.getElementsByTagName("li"); if (la.length>0){var i=0; while (this.ScrollPosition<-(this.IsVertical?la[i].offsetTop:la[i].offsetLeft)){i++; } this.ii=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 Ii=!(this.ScrollPosition>this.oi); var oj=!(this.ScrollPosition<this.Ih); this.RightArrow.disabled=Ii; this.LeftArrow.disabled=oj; if (oj){if (this.LeftArrow.className!=this.ld){ this.LeftArrow.className=this.ld; }}else {if (this.LeftArrow.className!=this.Od){ this.LeftArrow.className=this.Od; }}if (Ii){if (this.RightArrow.className!=this.Oe){ this.RightArrow.className=this.Oe; }}else {if (this.RightArrow.className!=this.oe){ this.RightArrow.className=this.oe; }}};RadControlsNamespace.Scroll.StartSmoothScroll= function (direction){ this.Stop(); this.Direction=direction; var i7=this ; var Oj= function (){i7.ScrollBy(i7.Direction*i7.ScrollAmount); };Oj(); this.lj=setInterval(Oj,10); } ; RadControlsNamespace.Scroll.prototype.ScrollTo= function (position){position=Math.max(position,this.oi); position=Math.min(position,this.Ih); position+=this.Oi; if (this.IsVertical){ this.Element.style.top=position+"px"; }else { this.Element.style.left=position+"\x70\x78"; } this.ScrollPosition=position-this.Oi; this.EvaluateArrowStatus(); };RadControlsNamespace.Scroll.prototype.ScrollBy= function (ij){var Ij=this.ScrollPosition; this.ScrollTo(Ij+ij); };RadControlsNamespace.Scroll.StartPerTabScroll= function (direction){ this.Stop(); var la=this.Element.getElementsByTagName("\x6ci"); var ok=this.ii-direction; if (ok<0 || ok>la.length){return; }var Ok=direction==-1?this.ii:ok; this.ii=ok; if (this.IsVertical){var lk=la[Ok].offsetHeight; }else {var lk=la[Ok].offsetWidth; } this.ScrollBy(lk*direction); this.EvaluateArrowStatus(); } ; RadControlsNamespace.Scroll.StopSmoothScroll= function (direction){if (this.OnScrollStop){ this.OnScrollStop(); }clearInterval(this.lj); } ; RadControlsNamespace.Scroll.StopPerTabScroll= function (direction){if (this.OnScrollStop){ this.OnScrollStop(); }} ;;