
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 10/23/2009 9:57:50 AM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
function WebTab(v71717){ this.ClassName ="WebTab"; this.Version ="1.0.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.0"; this.RequiredFrameworkVersion ="2.0.5000.10"; ISControl.call(this,v71717); this.ActiveTabIndex =0; this.TabPages =new ISArray(); this.Alignment ="Left"; this.EnableKeyboardNavigation =true; this.FrameStyle =null; this.TabItemStyle =null; this.TabSeparatorStyle =null; this.ContainerStyle =null; this.CaptionDisplayMode ="Text"; this.ImageAlignment ="Left"; this.DefaultTabItemWidth =80; this.DefaultTabItemHeight =20; this.Orientation ="Horizontal"; this.Position ="Top"; this.TextDirection ="Horizontal"; this.SizeMode ="Automatic"; this.RoundCornerSettings =new WebTabRoundCornerSettings(); this.TrimSeparatorsWhenActive =true; this.DefaultTabSeparatorWidth =2; this.ActiveTab =null; this.ContainerDropShadow =false; this.TabItemImageStyle =null; this.AllowTextWrapping =true; this.ShowFocusBorder =false; this.ContentMode ="UseInlineContent"; this.IFrameAutoLoadContent =false; this.IFrameAllowTransparency =true; this.RenderMode ="Simple"; this.AutoPostback =false; this.AllowScrolling =false; this.AllowClose ="No"; this.DisabledStyle =null; this.TabSeparator =true; this.NormalTabOffset =4; this.ClientSideEvents =new WebTabClientEvents(); this.ComplexImagesSettings =new WebTabComplexImagesSettings(); this.ImagesSettings =new WebTabImageSettings(); this.IFrameShowLoader =true; this.TextSettings =new WebTabTextSettings(); this.ImagesDirectory ="/CommonLibrary/Images/WebDesktop/"; this.ScriptDirectory ="/CommonLibrary/WebDesktop/V3_0_7200/"; this.AccessKey =""; this.Enabled =true; this.Visible =false; this.Height =null; this.Width =null; this.ClientID =this.Name =this.UniqueID =this.ID =v71717;  this.DivFiller =null; this.FillerBorder =""; this.LastKeyHandled =false; this.ScrollTimeoutID =0; this.WebResourceIdentifier ="D"; this.CloseIndicatorPosition ="EdgeOfContainer"; this.OnInitialize =function() { ISEvent.Raise(this.ClientSideEvents.OnInitialize,this.Id);  this.TabPages.ReindexPosition(); this.ActiveTab =this.TabPages[this.ActiveTabIndex]; this.ActiveTab.IFrameLoaded =true;  wd27b85.m3b27(this); wd27b85.md9667(this);  this.RemoveDynamicStyle(); };  this.OnPropertiesInitialized =function() { if (this.Events !=null) { var vdd851; for(vdd851 in this.Events) { if (typeof(this.Events[vdd851])=="string") this.ClientSideEvents[vdd851] =this.Events[vdd851]; } }  var vdb679 =document.getElementById(this.Id); vdb679.value ="ISWebTab"; };  this.RemoveDynamicStyle =function() { var vc8255 =["TabItem","TabItemImage"]; var v2e322 =["Frame","TabSeparator","Container","Disabled"]; for(var v8bf48=0; v8bf48<vc8255.length; v8bf48++) { var v52f17 =this[vc8255[v8bf48] +"Style"]; if (v52f17) ISXml.RemoveNode(this.XmlNode,vc8255[v8bf48] +"Style"); }  for (var v8bf48=0; v8bf48<v2e322.length; v8bf48++) this.XmlNode.removeAttribute(v2e322[v8bf48] +"Style"); };  this.ReBindingPostBackData =function() { this.Set("ActiveTabIndex",this.ActiveTabIndex,true); };  this.GetContainerBorderWidth =function() { var vc7020 =this.GetTabContentDivElement();  return vc7020.currentStyle.borderTopWidth; };  this.GetHeaderTableElement =function() { return wd27b85.m89959(this); };  this.GetTabContentDivElement =function() { return wd27b85.mf789(this); };  this.GetTabItemNormalStyle =function() { var v22087 =IS.GetCssObject(null,this.TabItemStyle.Normal); if (v22087) { return v22087; } };  this.OnUnload =function() { wd27b85.m8f068(this); };  this.GetIFrameWindow =function(v6d017) { return window.frames[v6d017]; }; this.GetScrollCellElement =function() { return document.getElementById("tdScroll_" +this.Id); };  this.GetScrollLeftButtonElement =function() { var v03c96 =this.GetScrollCellElement(); return v03c96.children[0].children[0]; };  this.GetScrollRightButtonElement =function() { var v03c96 =this.GetScrollCellElement(); return v03c96.children[0].children[1]; };  this.GetCloseButtonElement =function() { var v03c96 =this.GetScrollCellElement(); if (this.AllowScrolling) return v03c96.children[0].children[2]; else return v03c96.children[0].children[0];  };  this.GetActiveTab =function() { return this.ActiveTab; };  this.AddNewTabItem =function(v6d017,vd1916,v47c11,vb6731,v13f14) { var v51b17 =new WebTabItem(); v51b17.Name =v6d017; v51b17.Text =vd1916; v51b17.Image =v47c11; v51b17.ContentURL =vb6731; v51b17.Tab =this; v51b17.Collection =this.TabPages; v51b17.ContentMode ="UseIFrame"; v51b17.Index =this.TabPages.length;  if (v47c11 ==null) v51b17.Image ="";  if (!vb6731) v51b17.ContentURL ="";  if (v6d017 ==null ||v6d017 =="") { throw new Error(this.ClassName +" Exception: Name should not be null or empty."); return; } else if (this.TabPages.GetNamedItem(v6d017)) { throw new Error(this.ClassName +" Exception: Specified Name '" +v6d017 +"' already exist in TabPages collection."); return; }  if (ISEvent.Raise(this.ClientSideEvents.OnCreated,this.Id,v51b17)) { wd27b85.m2de55(v51b17,v13f14); this.TabPages[v51b17.Index] =v51b17; this.TabPages.UpdateChanges();  if (v13f14) v51b17.SetActive(); } return v51b17; };}function WebTabClientEvents(){ this._Type ="WebTabClientEvents"; ISObject.call(this); this.OnBeforeTabChanged =""; this.OnAfterTabChanged =""; this.OnInitialize =""; this.OnBeforeClosed =""; this.OnAfterClosed =""; this.OnCreated =""; this.OnScroll ="";}function WebTabComplexImagesSettings(){ this._Type ="WebTabComplexImagesSettings"; ISObject.call(this); this.AllowOverlappingEdges =false; this.UseSpecialRightSeparator =false; this.RenderDividerForActiveTab =true;}function WebTabImageSettings(){ this._Type ="WebTabImageSettings"; ISObject.call(this); this.NormalCenter =""; this.NormalLeft =""; this.NormalRight =""; this.NormalSeparator =""; this.OverLeft =""; this.OverCenter =""; this.OverRight =""; this.ActiveLeft =""; this.ActiveCenter =""; this.ActiveRight =""; this.SpecialRightSeparator =""; this.CloseButton =""; this.ScrollLeftButton =""; this.ScrollRightButton =""; this.ActiveLeftSeparator =""; this.ActiveRightSeparator =""; this.InProgress ="";  this.OnPropertiesInitialized =function() { if (this.InProgress =="") this.InProgress ="is_progress-16.gif"; };}function WebTabItem(){ this._Type ="WebTabItem"; ISObject.call(this); this.Name =""; this.CaptionDisplayMode ="Default"; this.ImageAlignment ="Default"; this.IsEnabled =true; this.IsSeparator =false; this.Width =null; this.Style =null; this.Text =""; this.Image =""; this.AccessKey =""; this.Tab =null; this.Index =-1; this.ToolTip =""; this.ContentMode ="Default"; this.ContentURL =""; this.AllowClose ="Default"; this.InProgressText =""; this.Collection =null; this.Element =null; this.IFrameLoaded =false; this.IFrameContentLoaded =false; this.IsClosed =false; this.OnPropertiesInitialized =function() { this.Tab =this.Parent; this.Collection =this.Tab.TabPages; };  this.GetDefault =function(va9828) { if (this[va9828] =="Default") return this.Tab[va9828]; else return this[va9828]; };  this.__getter =function(va9828) { switch (va9828) { case "CaptionDisplayMode": case "ImageAlignment": case "ContentMode": case "AllowClose": return this.GetDefault(va9828); break; } };   this.IsActiveTab =function() { return (this.Index ==this.Tab.ActiveTabIndex); };  this.SetActive =function() { var v0c312 =this.Tab;  if (!this.IsSeparator &&this.IsEnabled &&!this.IsActiveTab()) { var ved214 =v0c312.ActiveTab; var v3a630 =ISEvent.Raise(v0c312.ClientSideEvents.OnBeforeTabChanged,v0c312.Id,v0c312.ActiveTab,this);  if (v3a630) { wd27b85.mf5294(this); v0c312.ActiveTabIndex =this.Index; v0c312.ActiveTab =this;  ISEvent.Raise(this.Tab.ClientSideEvents.OnAfterTabChanged,this.Tab.Id,this);  if (v0c312.AutoPostback) { __doPostBack(v0c312.ServerUniqueID,"TabChanged:" +ved214.Name +"," +this.Name); } } } };  this.Enable =function() { var v70158 =this.GetElement(); var vf3135 =v70158.children[0]; this.IsEnabled =true; vf3135.disabled =false; if (this.Tab.RenderMode =="ComplexImages") return;  if (this.Tab.RenderMode =="RoundCorner") vf3135 =v70158.children[v70158.children.length-1]; if (this.IsActiveTab()) DynamicStyleEngine.SetToActiveStyle(null,this.Tab.TabItemStyle,vf3135); else DynamicStyleEngine.SetToStyle(null,this.Tab.TabItemStyle,vf3135); };  this.Disable =function() { var v70158 =this.GetElement(); var vf3135 =v70158.children[0]; this.IsEnabled =false; vf3135.disabled =true; if (this.Tab.RenderMode !="ComplexImages") { var v72a62 =IS.GetCssObject(null,this.Tab.DisabledStyle); if (v72a62) { if (this.Tab.RenderMode =="Simple") vf3135.className =this.Tab.DisabledStyle; else v70158.children[v70158.children.length-1].className =this.Tab.DisabledStyle; } } };  this.Close =function() { wd27b85.m43797(this.Tab,this); };  this.GetElement =function() { if (this.Element ==null) { var v31d80 =wd27b85.m89959(this.Tab); var vd2b15 =v31d80.rows[0];  for(var vc0a28=0; vc0a28<vd2b15.cells.length; vc0a28++) { if (IS.GetAttr(vd2b15.cells[vc0a28],"name")==this.Name) { this.Element =vd2b15.cells[vc0a28]; break; } } }  return this.Element; };  this.GetInnerTableElement =function() { var v70158 =this.GetElement(); return v70158.children[0].children[0]; };  this.GetLeftImageElement =function() { var v31d80 =this.GetInnerTableElement(); return v31d80.rows[0].cells[0].children[0]; };  this.GetCenterImageCellElement =function() { var v31d80 =this.GetInnerTableElement(); return v31d80.rows[0].cells[1]; };  this.GetRightImageElement =function() { var v31d80 =this.GetInnerTableElement(); if (v31d80.rows[0].cells.length >2) return v31d80.rows[0].cells[2].children[0]; return null; };  this.GetDivElement =function() { var v70158 =this.GetElement(); if (!this.IsSeparator) { if (this.Tab.RenderMode =="ComplexImages") { var vedc21 =this.GetCenterImageCellElement(); return vedc21.children[0]; } else { if (this.Tab.RenderMode =="Simple" ||this.Tab.Position =="Bottom") return v70158.children[0]; else return v70158.children[3]; } }  return null; };  this.SetCaption =function(vb2563) { wd27b85.m80413(this,vb2563); };  this.SetImage =function(vb2563) { wd27b85.mbdb99(this,vb2563); };  this.SetContentURL =function(vb2563) { if (this.Get("ContentMode")=="UseIFrame") { this.ContentURL =vb2563; this.IFrameLoaded =false; this.IFrameContentLoaded =false;  if (this.Tab.IFrameShowLoader &&IS.ie) { var ve3a26 =this.GetTabPageIFrameElement(); ve3a26.style.display ="none"; } this.LoadContent(); } };  this.IsFirstItem =function() { return (this.Index ==0); };  this.IsLastItem =function() { return (this.Index ==this.Collection.length-1); };  this.IsRightPositionFromActive =function() { return (this.Index >this.Tab.ActiveTabIndex); };  this.GetLeftSeparatorElement =function() { if (!this.IsFirstItem()) { var v70158 =this.GetElement(); return v70158.previousSibling; }  return null; };  this.GetRightSeparatorElement =function() { if (!this.IsLastItem()) { var v70158 =this.GetElement(); return v70158.nextSibling; }  return null; };  this.GetLeftItem =function() { if (!this.IsFirstItem()) return this.Collection[this.Index-1];  return null; };  this.GetRightItem =function() { if (!this.IsLastItem()) return this.Collection[this.Index+1];  return null; };  this.GetRoundCornerDiv1 =function() { var v70158 =this.GetElement(); if (this.Tab.Position =="Top") return v70158.children[0]; else return v70158.children[3]; };  this.GetRoundCornerDiv2 =function() { var v70158 =this.GetElement(); if (this.Tab.Position =="Top") return v70158.children[1]; else return v70158.children[2]; }; this.GetRoundCornerDiv3 =function() { var v70158 =this.GetElement(); if (this.Tab.Position =="Top") return v70158.children[2]; else return v70158.children[1]; };  this.GetRoundCornerDivContent =function() { var v70158 =this.GetElement(); if (this.Tab.Position =="Top") return v70158.children[3]; else return v70158.children[0]; };  this.GetActiveTabBackgroundColor =function() { var v70158 =this.GetElement();  if (this.Tab.RenderMode =="ComplexImages") {  } else { var vc4296 =this.GetDivElement();  if (vc4296.currentStyle.filter =="" ||IS.moz) return vc4296.currentStyle.backgroundColor; else { var v8400 =vc4296.currentStyle.filter; if (v8400.indexOf("endColorstr")>-1) { var v50d25 =v8400.indexOf("endColorstr"); return "#" +v8400.substring(v50d25+15,v50d25+21); } else return vc4296.currentStyle.backgroundColor; } } };  this.GetActiveTabBorderWidth =function() { var v70158 =this.GetElement();  if (this.Tab.RenderMode =="ComplexImages") {  } else { var vc4296 =this.GetDivElement(); return vc4296.currentStyle.borderLeftWidth; } };  this.GetTabPageElement =function() { var vc4296 =this.Tab.GetTabContentDivElement(); var vfa379 =vc4296.children[this.Index];  if (!vfa379) vfa379 =vc4296.childNodes[this.Index];  return vfa379; };  this.GetTabPageIFrameElement =function() { var vc4d46 =this.GetTabPageElement(); return vc4d46.children[0]; };  this.LoadContent =function() { if (this.Get("ContentMode")=="UseIFrame") { wd27b85.m44076(this); } };  this.GetInProgressText =function() { if (this.InProgressText =="") return this.Tab.TextSettings.InProgressText; else return this.InProgressText; };  this.ScrollIntoView =function() { wd27b85.m73a41(this); }; }function WebTabRoundCornerSettings(){ this._Type ="WebTabRoundCornerSettings"; ISObject.call(this); this.TopBorderColor =""; this.FillerBorderColor =""; this.ApplyHover =true;  this.OnPropertiesInitialized =function() { if (this.TopBorderColor !="") { if (this.TopBorderColor.indexOf(",")>-1) this.TopBorderColor ="rgb(" +this.TopBorderColor +")"; }  if (this.FillerBorderColor !="") { if (this.FillerBorderColor.indexOf(",")>-1) this.FillerBorderColor ="rgb(" +this.FillerBorderColor +")"; } };}function WebTabTextSettings(){ this._Type ="WebTabTextSettings"; ISObject.call(this); this.InProgressText ="Loading..."; this.ScrollLeftButtonTooltipText =""; this.ScrollRightButtonTooltipText =""; this.CloseButtonTooltipText ="Close";}function InitWebTab(v3fc83){ var v39483 =wd27b85.mec573(v3fc83); v39483.OnInitialize();}var wd27b85 ={ Initialized: false,  mec573:function(v81751) { var vcfc51 =new WebTab(v81751); wd27b85.mc6a53(vcfc51); wd27b85.m10428(vcfc51); wd27b85.mc7b94(vcfc51); vcfc51.IsInit =true; return vcfc51; },  mc6a53:function(v6ce87) { if (v6ce87 ==null) return;  if (!v6ce87.IsInit) { var v97351 =null; if (typeof (IS_ReleaseType)!="undefined" &&IS_ReleaseType =="Beta") { v6ce87.ScriptDirectory ="/CommonLibraryBeta/WebDesktop/V3_0_7200/"; v6ce87.ImagesDirectory ="/CommonLibraryBeta/Images/WebDesktop/"; }  try { v97351 =ISXml.GetNode(v6ce87.XmlDt,"//WebTab"); } catch(e) {} if (v97351 ==null) v97351 =v6ce87.XmlDt.documentElement;  if (v97351!=null) { IS.SetPropertiesRecursive(v6ce87,v97351); v6ce87.TabItemStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v6ce87.XmlDt,"//TabItemStyle")); v6ce87.TabItemImageStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v6ce87.XmlDt,"//TabItemImageStyle")); } } },  m89959:function(v45f7) { var v89b7 =document.getElementById("tbHeader_" +v45f7.Id); return v89b7; },  mf789:function(v82443) { return document.getElementById("dvTabCnt_" +v82443.Id); },  m2de52:function(v94b43) { return document.getElementById("tdScroll_" +v94b43.Id); },  m10428:function(vafd26) { var v97d43 =wd27b85.m89959(vafd26); var v16493 =vafd26.FrameObj;  Listener.Add(v97d43,"onmousedown",function(){wd27b85.m52d5(vafd26)}); Listener.Add(v97d43,"onmouseover",function(){wd27b85.m7bf46(vafd26)}); Listener.Add(v97d43,"onmouseout",function(){wd27b85.m2c422(vafd26)}); Listener.Add(v16493,"onresize",function(){wd27b85.md9667(vafd26)}); Listener.Add(v16493,"onkeydown",function(){wd27b85.m08b70(vafd26)});  if (!IS.ie) { window.attachEvent("onresize",function(){wd27b85.md9667(vafd26);}); Listener.Add(v16493,"onkeydown",function(){wd27b85.m7f050(vafd26)}); v16493.style.MozUserFocus ="normal"; }  if (vafd26.AllowScrolling) { Listener.Add(vafd26.GetScrollLeftButtonElement(),"onclick",function(){wd27b85.mc4b76(vafd26,"left");}); Listener.Add(vafd26.GetScrollRightButtonElement(),"onclick",function(){wd27b85.mc4b76(vafd26,"right");}); } if (vafd26.AllowClose =="Yes" &&vafd26.CloseIndicatorPosition =="EdgeOfContainer") Listener.Add(vafd26.GetCloseButtonElement(),"onclick",function(){wd27b85.m43797(vafd26);}); if (vafd26.GetScrollCellElement()) Listener.Add(vafd26.GetScrollCellElement(),"onselectstart",function(){return false;});  },  m8f068:function(v6b662) { var v43c26 =wd27b85.m89959(v6b662); var v7a634 =v6b662.FrameObj;  Listener.Unload(v43c26); Listener.Unload(v7a634);  if (v6b662.AllowScrolling) { Listener.Unload(v6b662.GetScrollLeftButtonElement()); Listener.Unload(v6b662.GetScrollRightButtonElement()); } if (v6b662.AllowClose =="Yes" &&v6b662.CloseIndicatorPosition =="EdgeOfContainer") Listener.Unload(v6b662.GetCloseButtonElement()); if (v6b662.GetScrollCellElement()) Listener.Unload(v6b662.GetScrollCellElement()); },  mc7b94:function(vc9b98) { if (IS.moz) { if (vc9b98.RenderMode =="RoundCorner") { var v07c62 =vc9b98.GetHeaderTableElement(); v07c62.style.height =v07c62.offsetHeight -2; v07c62.style.height ="100%";  if (vc9b98.Position =="Top") { var vae23 =vc9b98.FrameObj; vae23.children[0].rows[0].cells[0].valign ="bottom"; } } } },  m57f59:function(v56898) { while (v56898 !=null) { if (v56898.tagName =="TD" &&IS.GetAttr(v56898,"type")=="Tab") return v56898;  if (v56898.tagName =="TABLE" &&v56898.id.length >7 &&v56898.id.substring(0,7)=="tbHeader") return null;  v56898 =v56898.parentElement; }  return v56898; },  GetObjectType: function(v40a98) { var v4d898 =wd27b85.m57f59(v40a98);  if (v4d898) { if (IS.GetAttr(v40a98,"type")=="Tab") return "TabItem"; } },  m08b70:function(vfff73) { var vdd098 =event.keyCode; if (event.altKey) { var v0cf73 =ISKeyboardKey.GetChar(vdd098);  if (v0cf73 !="") { for(var va4723=0; va4723<vfff73.TabPages.length; va4723++) { var v15579 =vfff73.TabPages[va4723];  if (v15579.IsEnabled &&!v15579.IsSeparator &&!v15579.IsClosed) { if (v15579.AccessKey ==v0cf73) { v15579.SetActive(); vfff73.LastKeyHandled =true; break; } } } } }  if (vdd098 ==32 ||vdd098 ==13) { var v3e523 =event.srcElement; var v1a570 =wd27b85.m89959(vfff73);  if (v1a570.contains(v1a570)&&v3e523.tagName =="DIV") { var v2ad12 =v3e523.parentElement; var v15579 =vfff73.TabPages.GetNamedItem(v2ad12.name);  if (v15579) { v15579.SetActive(); event.cancelBubble =true; event.returnValue =false; return; } } }  if (vfff73.EnableKeyboardNavigation) { if (event.ctrlKey &&event.altKey) { var vcae14 =vfff73.GetActiveTab(); var v7ac87 =null;  if (vdd098 ==ISKeyboardKey.LEFT) { if (vcae14.Index ==0) v7ac87 =vfff73.TabPages[vfff73.TabPages.length-1]; else v7ac87 =vfff73.TabPages[vcae14.Index-1]; } else if (vdd098 ==ISKeyboardKey.RIGHT) { if (vcae14.Index ==vfff73.TabPages.length-1) v7ac87 =vfff73.TabPages[0]; else v7ac87 =vfff73.TabPages[vcae14.Index+1]; }  if (v7ac87) { v7ac87.SetActive(); event.cancelBubble =true; event.returnValue =false; } } }  },  m7f050:function(v41873) { if (IS.moz &&v41873.LastKeyHandled) { event.cancelBubble =true; event.returnValue =false; v41873.LastKeyHandled =false; } },  m52d5:function(v98432) { var v26e57 =event.srcElement; var vcc71 =wd27b85.m57f59(v26e57);  if (vcc71) { var v95e23 =IS.GetAttr(vcc71,"name"); var vcd964 =v98432.TabPages.GetNamedItem(v95e23); if (!vcd964.IsActiveTab()&&!vcd964.IsSeparator) { vcd964.SetActive(); }  if ((v26e57.tagName =="IMG" ||v26e57.tagName =="FONT")&&v98432.CloseIndicatorPosition =="EdgeOfTabHeader") { vcd964.Close(); } } },  m7bf46:function(v61a59) { var v2b867 =event.srcElement; var v6ed59 =wd27b85.m57f59(v2b867);  if (v6ed59) { var v86394 =IS.GetAttr(v6ed59,"name"); var vbb370 =v61a59.TabPages.GetNamedItem(v86394); if (!vbb370.IsActiveTab()&&!vbb370.IsSeparator) { if (IS.moz) { if (v61a59.RenderMode =="RoundCorner") { var v96666 =vbb370.GetDivElement(); if (v96666.className ==v61a59.TabItemStyle.Over) return; } } wd27b85.ma5e12(vbb370); } } },  m2c422:function(v31862) { var v35559 =event.srcElement; var vae98 =event.toElement; var vd0a97 =wd27b85.m57f59(v35559); if (vd0a97) { var v3d715 =IS.GetAttr(vd0a97,"name"); var v2ba10 =v31862.TabPages.GetNamedItem(v3d715); if (!v2ba10.IsActiveTab()&&!v2ba10.IsSeparator) { if (v31862.RenderMode !="ComplexImages" &&v2ba10.GetDivElement().className ==v31862.TabItemStyle.Over &&vae98 !=null &&vd0a97.contains(vae98)) return; else if (v31862.RenderMode =="ComplexImages" &&vae98 !=null &&vd0a97.contains(vae98)) return;  wd27b85.mce847(v2ba10); } } },  md9667:function(ve7e62) { if (ve7e62.AllowScrolling) { var v01c62 =wd27b85.m89959(ve7e62); var v7cb58 =v01c62.parentElement; if (v01c62.offsetWidth >v7cb58.offsetWidth) { wd27b85.mf314(ve7e62); } else { v01c62.style.position =""; v01c62.style.left =""; }  wd27b85.m82515(ve7e62); wd27b85.m23e61(ve7e62); } },  mf314:function(ve2898) { var v57962 =wd27b85.m89959(ve2898); var v74d58 =v57962.parentElement; if (v57962.style.position =="relative" &&v57962.style.posLeft <0) { var v70913 =v57962.style.posLeft;  if (v74d58.offsetWidth -v57962.offsetWidth >v70913) v57962.style.left =v74d58.offsetWidth -v57962.offsetWidth; } },  m23e61:function(v7df17) { var vb0598 =v7df17.GetScrollLeftButtonElement(); var v29927 =wd27b85.m89959(v7df17); if (v29927.style.posLeft <0) { vb0598.disabled =false; vb0598.style.cursor ="pointer"; if (!IS.ie) { vb0598.style.color ="black"; } } else { vb0598.disabled =true; vb0598.style.cursor ="default"; if (!IS.ie) { vb0598.style.color ="gray"; } } },  m82515:function(v39373) { var vbde17 =v39373.GetScrollRightButtonElement(); var v99e37 =v39373.GetScrollCellElement().parentElement; var v0cc98 =wd27b85.m89959(v39373); var v8bc0 =v0cc98.style.posLeft; if (typeof(v8bc0)!="number" ||isNaN(v8bc0)) v8bc0 =0; if (v0cc98.offsetWidth >=v99e37.offsetWidth -v8bc0) { vbde17.disabled =false; vbde17.style.cursor ="pointer";  if (!IS.ie) { vbde17.style.color ="black"; } } else { vbde17.disabled =true; vbde17.style.cursor ="default"; if (!IS.ie) { vbde17.style.color ="gray"; } } },  mc4b76:function(va4548,v5545) { var vaba73 =va4548.GetScrollCellElement().parentElement; var v1c316 =wd27b85.m89959(va4548); var vb3183 =v1c316.style.posLeft;  if (v5545 =="left") { var vaa93 =va4548.GetScrollLeftButtonElement(); if (vaa93.disabled)return;  } else { var ve8731 =va4548.GetScrollRightButtonElement(); if (ve8731.disabled)return;  if (typeof(vb3183)!="number" ||isNaN(vb3183)) vb3183 =0;  v1c316.style.position ="relative"; } wd27b85.mc648(va4548,vaba73,v1c316,v5545); },  mc648:function(v49e3,v2f084,v26a20,vd6971) { var v10819 =v26a20.style.posLeft;  if (typeof(v10819)!="number" ||isNaN(v10819)) v10819 =0;  if (v49e3.ScrollTimeoutID !=0) return; if (vd6971 =="right") { var v21243 =(v26a20.offsetWidth -v2f084.offsetWidth)+v10819 +45;  if (v21243 >v2f084.offsetWidth) v21243 =v2f084.offsetWidth -50;  v49e3.ScrollTimeoutID =setTimeout(function(){wd27b85.m7342(v49e3,v26a20,vd6971,0,v21243);},10); } else { var v21243 =0-v10819; if (v21243 >v2f084.offsetWidth) v21243 =v2f084.offsetWidth -50; v49e3.ScrollTimeoutID =setTimeout(function(){wd27b85.m7342(v49e3,v26a20,vd6971,0,v21243);},10); } },  m7342:function(vf8978,vf0c72,v79373,vb6436,v6ad96) { var v74758 =v6ad96 -vb6436; var v81963 =vf0c72.style.posLeft;  if (typeof(v81963)!="number" ||isNaN(v81963)) v81963 =0;  if (v79373 =="right") { if (v74758 >1) { if (v74758 >15) v74758 =15; v81963 -=v74758; vf0c72.style.left =v81963;  vb6436 +=15;  setTimeout(function(){wd27b85.m7342(vf8978,vf0c72,v79373,vb6436,v6ad96);},10); } else { wd27b85.m23e61(vf8978); wd27b85.m82515(vf8978); vf8978.ScrollTimeoutID =0; } } else { if (v74758 >1) { if (v74758 >15) v74758 =15; v81963 +=v74758; vf0c72.style.left =v81963;  vb6436 +=15;  setTimeout(function(){wd27b85.m7342(vf8978,vf0c72,v79373,vb6436,v6ad96);},10); } else { wd27b85.m23e61(vf8978); wd27b85.m82515(vf8978); vf8978.ScrollTimeoutID =0; } } },  m43797:function(v4b18,vdce40) { var v3e233 =false;  if (!vdce40) { vdce40 =v4b18.ActiveTab; v3e233 =true;  if (vdce40.Get("AllowClose")=="No") return; } if (vdce40 ) { if (ISEvent.Raise(v4b18.ClientSideEvents.OnBeforeClosed,v4b18.Id,vdce40)) { if (vdce40.IsFirstItem()&&vdce40.IsLastItem())return; var va9c51 =vdce40.GetElement(); var v96d58 =vdce40.GetTabPageElement(); var vd8339; var v8a818; var va740 =vdce40.IsActiveTab();  if (v4b18.RenderMode !="ComplexImages" &&v4b18.TabSeparator &&v4b18.TrimSeparatorsWhenActive) { if (!vdce40.IsLastItem()) va9c51.nextSibling.removeNode(true); else va9c51.previousSibling.removeNode(true); } va9c51.removeNode(true); v96d58.removeNode(true);  vd8339 =vdce40.GetLeftItem(); v8a818 =vdce40.GetRightItem(); vdce40.IsClosed =true;  v4b18.TabPages.Remove(vdce40); v4b18.TabPages.UpdateChanges();  if (va740) { v4b18.ActiveTabIndex =-1; v4b18.ActiveTab =null; if (v8a818) v8a818.SetActive(); else if (vd8339) vd8339.SetActive(); }  if (v4b18.AllowScrolling) { wd27b85.mf314(v4b18); wd27b85.m23e61(v4b18); wd27b85.m82515(v4b18); } }  ISEvent.Raise(v4b18.ClientSideEvents.OnAfterClosed,v4b18.Id,vdce40); } },  m3b27:function(v17485) { var v19364 =""; var v94a19 =v17485.GetTabContentDivElement(); var vddc95 =v17485.GetHeaderTableElement(); var v8e47 =vddc95.rows[0]; var v30761; v30761 =IS.GetCssObject(null,v94a19.className); if (v17485.Position =="Top") { v19364 =v30761.borderTop;  if (v19364 =="") v19364 =v30761.borderStyle +" " +v30761.borderColor +" " +v30761.borderWidth;  v94a19.style.borderTop ="none"; } else { v19364 =v30761.borderBottom; if (v19364 =="") v19364 =v30761.borderStyle +" " +v30761.borderColor +" " +v30761.borderWidth; v94a19.style.borderBottom ="none"; } if (v17485.RenderMode !="ComplexImages") { for (var v97423=0; v97423<v8e47.cells.length; v97423++) { var vdb989 =v8e47.cells[v97423].style;  if (v17485.Position =="Top") { vdb989.borderBottom =v19364; } else { vdb989.borderTop =v19364; } if (!IS.ie) vdb989.emptyCells ="show"; } } else { var v37d59 =v8e47.cells[v8e47.cells.length-1]; if (v37d59.width =="100%") { if (v17485.Position =="Top") v37d59.style.borderBottom =v19364; else v37d59.style.borderTop =v19364; } }  var v28778 =wd27b85.m2de52(v17485); if (v28778) { v28778 =v28778.children[0]; if (v17485.Position =="Top") v28778.style.borderBottom =v19364; else v28778.style.borderTop =v19364; }  if (v17485.RenderMode !="ComplexImages") { var v4bd97 =v17485.ActiveTab.GetElement(); if (v17485.Position =="Top") v4bd97.style.borderBottom ="none"; else v4bd97.style.borderTop ="none"; if (v17485.RenderMode =="RoundCorner") { for (var v97423=0; v97423<v17485.TabPages.length; v97423++) { var va7634 =v17485.TabPages[v97423]; var v0f059 =va7634.GetRoundCornerDivContent(); var vc726 =v0f059.parentElement;  va7634.GetRoundCornerDiv1().style.fontSize ="1px"; va7634.GetRoundCornerDiv2().style.fontSize ="1px"; va7634.GetRoundCornerDiv3().style.fontSize ="1px"; }  if (v17485.Position =="Top") { var v61b20 =ISPosLib.getHeight(vddc95)-8;  for (var v97423=0; v97423<v17485.TabPages.length; v97423++) { var va7634 =v17485.TabPages[v97423]; var v0f059 =va7634.GetRoundCornerDivContent(); var vc726 =v0f059.parentElement;  } } } else { if (IS.safari) { var va2857 =v4bd97.children[0]; va2857.style.height =parseFloat(v4bd97.offsetHeight); } } }  if (v17485.RenderMode =="RoundCorner" &&v17485.ActiveTab) wd27b85.m1d18(v17485.ActiveTab);  if (IS.safari &&v17485.Position =="Bottom") vddc95.parentElement.style.top ="-11px";  v17485.FillerBorder =v19364; },  ma5e12:function(vcf35) { var vfed85 =vcf35.Tab; if (vfed85.RenderMode !="ComplexImages" &&vcf35.IsEnabled) { var v13a35 =vcf35.GetDivElement(); var v5cb36 =IS.GetCssObject(null,vfed85.TabItemStyle.Over); if (v5cb36) DynamicStyleEngine.SetToOverStyle(null,vfed85.TabItemStyle,v13a35);  if (vfed85.RenderMode =="RoundCorner" &&vfed85.RoundCornerSettings.ApplyHover) { if (vfed85.ActiveTab.GetRightItem()==vcf35) wd27b85.m72697(vcf35,true); else if (vfed85.ActiveTab.GetLeftItem()==vcf35) wd27b85.me0185(vcf35,true); else wd27b85.m1d18(vcf35); } } else if (vcf35.IsEnabled &&!vcf35.IsActiveTab()) { wd27b85.mf4885(vcf35); } },  mce847:function(v13f44) { var v7dc60 =v13f44.Tab; if (v7dc60.RenderMode !="ComplexImages" &&v13f44.IsEnabled) { var v50f24 =v13f44.GetDivElement(); DynamicStyleEngine.SetToStyle(null,v7dc60.TabItemStyle,v50f24); if (v7dc60.RenderMode =="RoundCorner" &&v7dc60.RoundCornerSettings.ApplyHover) { if (v7dc60.ActiveTab.GetRightItem()==v13f44) wd27b85.m72697(v13f44); else if (v7dc60.ActiveTab.GetLeftItem()==v13f44) wd27b85.me0185(v13f44); else wd27b85.m8fe34(v13f44); } } else if (v13f44.IsEnabled) { wd27b85.meb842(v13f44,true); } },  mf5294:function(vad871) { var vc3380 =vad871.Tab; var va9c34 =vc3380.ActiveTab; var vf2a55 =vad871.GetDivElement(); var va3947 =vad871.GetElement(); var v76471 =vad871.GetTabPageElement(); var v1f078;  if (va9c34) v1f078 =va9c34.GetTabPageElement();   wd27b85.m9a972(vad871);  if (va9c34) v1f078.style.display ="none"; v76471.style.display ="";  vad871.LoadContent();  if (vc3380.IFrameAutoLoadContent &&vad871.Get("ContentMode")=="UseIFrame") { var vb8d96 =v76471.children[0]; vb8d96.style.display =""; }  if (vc3380.AllowScrolling) { wd27b85.m73a41(vad871); } },  m73a41:function(ve5e1) { var va8090 =ve5e1.Tab; var v81292 =ve5e1.GetDivElement(); var vef126 =ve5e1.GetElement(); var v7bf53 =ISPosLib.getLeft(vef126); var v1fa15 =ISPosLib.getWidth(vef126); var v5ee93 =wd27b85.m89959(va8090); var v7468 =v5ee93.parentElement; var v46775 =false;  if (v7bf53 +v1fa15 >v7468.offsetWidth) { var v8d816 =(v7bf53 +v1fa15)-v7468.offsetWidth;  if (!ve5e1.IsLastItem()) v8d816 +=7; else { if (v8d816 <=10)return; else v8d816 -=7; }  if (v5ee93.style.position !="relative") { v5ee93.style.position ="relative"; v5ee93.style.left =0; } v5ee93.style.left =v5ee93.style.posLeft -v8d816; v46775 =true; } else if (v7bf53 <0) { var v8d816 =v5ee93.style.posLeft -v7bf53; if (!ve5e1.IsFirstItem()) v5ee93.style.left =v8d816 +15; else v5ee93.style.left =0;  v46775 =true; } if (v46775 &&va8090.AllowScrolling) { wd27b85.m23e61(va8090); wd27b85.m82515(va8090); }  return v46775; },  m3b361:function(v2f476) { var vfb985 =v2f476.Tab; var vab190 =v2f476.GetDivElement(); var v95845 =v2f476.GetElement();  if (v2f476.IsEnabled &&!v2f476.IsSeparator &&!v2f476.IsClosed) { DynamicStyleEngine.SetToStyle(null,vfb985.TabItemStyle,vab190);  if (vfb985.RenderMode =="ComplexImages") { } else { if (vfb985.NormalTabOffset >-1) { if (vfb985.Position =="Top" ||vfb985.Position =="Left") v95845.style.paddingTop =vfb985.NormalTabOffset +"px"; else { if (vfb985.RenderMode =="Simple") v95845.style.paddingBottom =vfb985.NormalTabOffset +"px"; else vab190.style.paddingTop =""; } }  if (vfb985.Position =="Top") v95845.style.borderBottom =vfb985.FillerBorder; else v95845.style.borderTop =vfb985.FillerBorder;  var v68979 =vfb985.TabPages[vfb985.TabPages.length-1]; if (v68979.IsActiveTab()) { if (vfb985.TabSeparator &&vfb985.TrimSeparatorsWhenActive) { var v56c36 =v2f476.GetLeftSeparatorElement(); v56c36.style.display ="none";  vab190.style.borderLeftStyle ="none"; } }  if (vfb985.RenderMode =="RoundCorner") { if (v2f476.GetLeftItem()==vfb985.ActiveTab) wd27b85.m72697(v2f476); else if (v2f476.GetRightItem()==vfb985.ActiveTab) wd27b85.me0185(v2f476); else wd27b85.m8fe34(v2f476);  if (vfb985.Position =="Top") vab190.style.borderTopStyle ="none"; else { vab190.style.borderBottomStyle ="none"; vab190.style.height ="auto"; } } } }  },  m9a972:function(v43092) { var v65f60 =v43092.Tab; var v73079 =v65f60.ActiveTab; var v38c97 =v43092.GetDivElement(); var v9c544; var v8da57 =v43092.GetElement(); var ve7335;  if (v73079) { v9c544 =v73079.GetDivElement(); ve7335 =v73079.GetElement(); }  if (v65f60.RenderMode =="ComplexImages") { if(v9c544)DynamicStyleEngine.SetToStyle(null,v65f60.TabItemStyle,v9c544); DynamicStyleEngine.SetToActiveStyle(null,v65f60.TabItemStyle,v38c97);  if (v73079) wd27b85.meb842(v73079);  if (v73079) { if (v73079.GetLeftItem()) wd27b85.meb842(v73079.GetLeftItem()); if (v73079.GetRightItem()) wd27b85.meb842(v73079.GetRightItem()); }  wd27b85.m4fa66(v43092); } else { if(v9c544)DynamicStyleEngine.SetToStyle(null,v65f60.TabItemStyle,v9c544); DynamicStyleEngine.SetToActiveStyle(null,v65f60.TabItemStyle,v38c97);  if (v65f60.NormalTabOffset >-1) { if (v65f60.Position =="Top" ||v65f60.Position =="Left") { v8da57.style.paddingTop ="0px"; if (ve7335)ve7335.style.paddingTop =v65f60.NormalTabOffset +"px"; } else { if (v65f60.RenderMode =="Simple") { v8da57.style.paddingBottom ="0px"; if (ve7335)ve7335.style.paddingBottom =v65f60.NormalTabOffset +"px"; } else { v38c97.style.paddingTop =(v65f60.NormalTabOffset +2)+"px"; if (v9c544)v9c544.style.paddingTop =""; } } }  if (v65f60.TabSeparator &&v65f60.TrimSeparatorsWhenActive &&v65f60.RenderMode !="ComplexImages") { var v94586 =v43092.GetLeftSeparatorElement(); var va0a56 =v43092.GetRightSeparatorElement(); var v78e29; var veca11; var vb5c40 =v43092.GetLeftItem(); var v92859 =v43092.GetRightItem(); var v6e694; var v4e877;  if (v73079) { v78e29 =v73079.GetLeftSeparatorElement(); veca11 =v73079.GetRightSeparatorElement(); v6e694 =v73079.GetLeftItem(); v4e877 =v73079.GetRightItem(); } if (v78e29 &&!v73079.IsClosed) v78e29.style.display =""; if (veca11 &&!v73079.IsClosed) veca11.style.display =""; if (v94586) v94586.style.display ="none"; if (va0a56) va0a56.style.display ="none";  if (v9c544)v9c544.style.borderRightStyle =v9c544.style.borderLeftStyle =""; v38c97.style.borderLeftStyle =v38c97.style.borderRightStyle ="";  if (vb5c40 &&!vb5c40.IsSeparator) vb5c40.GetDivElement().style.borderRightStyle ="none"; if (v92859 &&!v92859.IsSeparator) v92859.GetDivElement().style.borderLeftStyle ="none"; if (v6e694 &&!v6e694.IsSeparator) v6e694.GetDivElement().style.borderRightStyle =""; if (v4e877 &&!v4e877.IsSeparator) v4e877.GetDivElement().style.borderLeftStyle =""; }  if (v65f60.Position =="Top") { v8da57.style.borderBottom ="none"; if (ve7335) ve7335.style.borderBottom =v65f60.FillerBorder; } else { v8da57.style.borderTop ="none";  if (ve7335) ve7335.style.borderTop =v65f60.FillerBorder; }  if (v65f60.RenderMode =="RoundCorner") { if (v73079) wd27b85.m8fe34(v73079);  if (v73079) { if (v73079.GetLeftItem()) wd27b85.m8fe34(v73079.GetLeftItem()); if (v73079.GetRightItem()) wd27b85.m8fe34(v73079.GetRightItem()); }  wd27b85.m1d18(v43092);  if (v43092.GetLeftItem()) wd27b85.me0185(v43092.GetLeftItem()); if (v43092.GetRightItem()) wd27b85.m72697(v43092.GetRightItem());  if (v73079 &&v65f60.Position =="Top") { var v73a78 =v73079.GetRoundCornerDivContent(); var v78c81 =v65f60.GetHeaderTableElement();  v73a78.style.height =ISPosLib.getHeight(v78c81)-8; }  if (v65f60.Position =="Top") v43092.GetRoundCornerDivContent().style.height =""; } else { if (IS.safari) { var v03446 =v8da57.children[0]; var v63914 =0; if (ve7335) ve7335.children[0].style.height ="auto"; v63914 =parseFloat(v8da57.offsetHeight); v03446.style.height =v63914 +"px"; } } } },  m8fe34:function(v68287) { var v09312 =v68287.Tab; var v30563 =v68287.GetRoundCornerDiv1(); var v25e75 =v68287.GetRoundCornerDiv2(); var vc4425 =v68287.GetRoundCornerDiv3(); var v3d989 =[v25e75,vc4425]; var v7a788 =v09312.GetTabItemNormalStyle();  v30563.style.backgroundColor =v7a788.borderTopColor; v30563.style.marginLeft =v30563.style.marginRight ="3px";  for (var v51810=0; v51810<v3d989.length; v51810++) { var ve5659 =v3d989[v51810].style; ve5659.backgroundColor =v7a788.backgroundColor; ve5659.borderLeftColor =ve5659.borderRightColor =v7a788.borderTopColor; ve5659.borderLeftStyle =ve5659.borderRightStyle ="solid"; ve5659.borderLeftWidth =ve5659.borderRightWidth ="1px";  if (IS.ie) ve5659.fontSize ="1px"; }  v25e75.style.marginLeft =v25e75.style.marginRight ="2px"; vc4425.style.marginLeft =vc4425.style.marginRight ="1px";  if (IS.ie) v30563.style.fontSize ="1px";  },  me0185:function(v80d26,v01271) { var vd2e87 =v80d26.Tab; var vbdf51 =v80d26.GetRoundCornerDiv1(); var vf8027 =v80d26.GetRoundCornerDiv2(); var v16890 =v80d26.GetRoundCornerDiv3(); var vd4510 =[vbdf51,vf8027,v16890]; if (v01271) wd27b85.m1d18(v80d26); else wd27b85.m8fe34(v80d26);  if (vd2e87.TrimSeparatorsWhenActive) { for (var v1204=0; v1204<vd4510.length; v1204++) { var v7195 =vd4510[v1204].style; v7195.marginRight ="0px"; v7195.borderRightWidth ="0px"; } } },  m72697:function(v12c56,vf0f38) { var vc2e81 =v12c56.Tab; var v7d550 =v12c56.GetRoundCornerDiv1(); var vdcf46 =v12c56.GetRoundCornerDiv2(); var v34c16 =v12c56.GetRoundCornerDiv3(); var v99932 =[v7d550,vdcf46,v34c16]; if (vf0f38) wd27b85.m1d18(v12c56); else wd27b85.m8fe34(v12c56);  if (vc2e81.TrimSeparatorsWhenActive) { for (var v86a30=0; v86a30<v99932.length; v86a30++) { var ve2e89 =v99932[v86a30].style; ve2e89.marginLeft ="0px"; ve2e89.borderLeftWidth ="0px"; } } },  m1d18:function(v4753) { var v4d492 =v4753.Tab; var vd4d8 =v4753.GetRoundCornerDiv1(); var v6f117 =v4753.GetRoundCornerDiv2(); var v4b523 =v4753.GetRoundCornerDiv3(); var vf1e76 =[v6f117,v4b523]; vd4d8.style.backgroundColor =v4d492.RoundCornerSettings.TopBorderColor; vd4d8.style.marginLeft =vd4d8.style.marginRight ="3px";  for (var v3e044=0; v3e044<vf1e76.length; v3e044++) { var v4891 =vf1e76[v3e044].style; v4891.backgroundColor =v4d492.RoundCornerSettings.FillerBorderColor; v4891.borderLeftColor =v4891.borderRightColor =v4d492.RoundCornerSettings.TopBorderColor; v4891.borderLeftStyle =v4891.borderRightStyle ="solid"; v4891.borderLeftWidth =v4891.borderRightWidth ="1px";  if (IS.ie) v4891.fontSize ="1px"; }  v6f117.style.marginLeft =v6f117.style.marginRight ="2px"; v4b523.style.marginLeft =v4b523.style.marginLeft ="1px"; if (IS.ie) vd4d8.style.fontSize ="1px"; },  meb842:function(v5aa22,v02275) { var v65286 =v5aa22.Tab; var vb606 =v5aa22.GetLeftImageElement(); var v90c35 =v5aa22.GetRightImageElement(); var vc4e49 =v5aa22.GetCenterImageCellElement(); var ve7397 =v65286.ImagesDirectory;  if (v5aa22.IsFirstItem()||!v65286.ComplexImagesSettings.AllowOverlappingEdges) vb606.src =v65286.ResolveImagePath(ve7397,v65286.ImagesSettings.NormalLeft); else if (!v02275) vb606.src =v65286.ResolveImagePath(ve7397,v65286.ImagesSettings.NormalSeparator);  if (!v65286.ComplexImagesSettings.AllowOverlappingEdges ||v5aa22.IsLastItem()) v90c35.src =v65286.ResolveImagePath(ve7397,v65286.ImagesSettings.NormalRight);  vc4e49.style.backgroundImage ="url(" +v65286.ResolveImagePath(ve7397,v65286.ImagesSettings.NormalCenter)+")"; },  mf4885:function(va4d33) { var v33858 =va4d33.Tab;  if (v33858.ImagesSettings.OverCenter !="") { var v05145 =va4d33.GetLeftImageElement(); var v88772 =va4d33.GetRightImageElement(); var v02432 =va4d33.GetCenterImageCellElement(); var v1e542 =v33858.ImagesDirectory;  if (va4d33.IsFirstItem()||!v33858.ComplexImagesSettings.AllowOverlappingEdges) v05145.src =v33858.ResolveImagePath(v1e542,v33858.ImagesSettings.OverLeft);  if (!v33858.ComplexImagesSettings.AllowOverlappingEdges ||va4d33.IsLastItem()) v88772.src =v33858.ResolveImagePath(v1e542,v33858.ImagesSettings.OverRight);  v02432.style.backgroundImage ="url(" +v33858.ResolveImagePath(v1e542,v33858.ImagesSettings.OverCenter)+")"; } },  m4fa66:function(ve4863) { var v85a33 =ve4863.Tab; var v12334 =ve4863.GetLeftImageElement(); var v69324 =ve4863.GetRightImageElement(); var ve9a97 =ve4863.GetCenterImageCellElement(); var v97263 =v85a33.ImagesDirectory;  if (ve4863.IsFirstItem()||!v85a33.ComplexImagesSettings.AllowOverlappingEdges) v12334.src =v85a33.ResolveImagePath(v97263,v85a33.ImagesSettings.ActiveLeft); else v12334.src =v85a33.ResolveImagePath(v97263,v85a33.ImagesSettings.ActiveLeftSeparator); if (!ve4863.IsLastItem()&&v85a33.ComplexImagesSettings.AllowOverlappingEdges) { var vacf83 =ve4863.GetRightItem(); var ve1613 =vacf83.GetLeftImageElement();  ve1613.src =v85a33.ResolveImagePath(v97263,v85a33.ImagesSettings.ActiveRightSeparator); }  if (!v85a33.ComplexImagesSettings.AllowOverlappingEdges ||ve4863.IsLastItem()) { if (!v69324) { var vcb643 =ve4863.GetElement().children[0].children[0]; var v54287 =vcb643.rows[0].insertCell(-1); v54287.valign ="top"; v54287.innerHTML ="<img>"; v69324 =v54287.children[0]; } v69324.src =v85a33.ResolveImagePath(v97263,v85a33.ImagesSettings.ActiveRight); }  ve9a97.style.backgroundImage ="url(" +v85a33.ResolveImagePath(v97263,v85a33.ImagesSettings.ActiveCenter)+")";  if (v85a33.ComplexImagesSettings.UseSpecialRightSeparator) { for (var vf8290=ve4863.Index+2; vf8290<ve4863.Collection.length; vf8290++) { var vacf83 =ve4863.Collection[vf8290]; var v99231 =vacf83.GetLeftImageElement(); v99231.src =v85a33.ResolveImagePath(v97263,v85a33.ImagesSettings.SpecialRightSeparator); } } },  m44076:function(v1ef49) { if (v1ef49.IsClosed) return;  var v87c63 =v1ef49.GetTabPageIFrameElement(); var vc291 =v87c63.parentElement; if (v1ef49.ContentURL !="" &&(v87c63.src =="" ||!v1ef49.IFrameLoaded)) { if (v87c63.src !="" &&v1ef49.Tab.IFrameAutoLoadContent) { v1ef49.IFrameLoaded =true; v1ef49.IFrameContentLoaded =true; return; }  var vef162 =v1ef49.ContentURL; v87c63.src =vef162; v1ef49.IFrameLoaded =true; if (v1ef49.Tab.IFrameShowLoader &&IS.ie) { var v18465 =v1ef49.Tab.GetIFrameWindow(v87c63.name); var vec97 =false;  try { var v9296 =v18465.document; } catch(e) { vec97 =true; } if (v18465 &&v87c63.readyState !="complete") { var vc291 =v87c63.parentElement; var v8c714 =document.createElement("DIV"); var vd1634 =IS.GetCssObject(null,v1ef49.Tab.TabItemStyle.Normal); v8c714.style.cssText ="width:100%;height:100%;vertical-align:middle;"; v8c714.style.fontWeight =vd1634.fontWeight; v8c714.style.display ="none"; v8c714.innerHTML ="<table width=100% height=100%><tr><td valign=center align=center style='font-family:" +vd1634.fontFamily +";font-size:" +vd1634.fontSize +"'>" +"<img align='absmiddle' src='" +v1ef49.Tab.ResolveImagePath(v1ef49.Tab.ImagesDirectory,v1ef49.Tab.ImagesSettings.InProgress)+"'>&nbsp;" +v1ef49.GetInProgressText()+"</td></tr></table>"; vc291.appendChild(v8c714); setTimeout(function(){wd27b85.mf090(v1ef49);},100); } else { v1ef49.IFrameContentLoaded =true; v87c63.style.display =""; } } else { v1ef49.IFrameContentLoaded =true; v87c63.style.display =""; } } },  mf090:function(v2c088) { var vf4e69 =v2c088.GetTabPageIFrameElement(); var veb558 =v2c088.Tab.GetIFrameWindow(vf4e69.name); var v49551 =false;  try { var ved398 =veb558.document; } catch(e) { v49551 =true; }  if (veb558 &&vf4e69.readyState =="complete") { wd27b85.maa054(v2c088); } if (!v2c088.IFrameContentLoaded) { vf4e69.nextSibling.style.display =""; vf4e69.attachEvent("onreadystatechange",function(){wd27b85.maa054(v2c088);}); } },  maa054:function(vedb43) { if (vedb43.IsClosed) return;  var vc8a88 =vedb43.GetTabPageIFrameElement(); var vfeb67 =vedb43.Tab.GetIFrameWindow(vc8a88.name); var v26f18 =vc8a88.parentElement;  if (!vedb43.IFrameContentLoaded) { if (v26f18.children[1] !=null) v26f18.children[1].removeNode(true);  vc8a88.style.display =""; vedb43.IFrameContentLoaded =true; } },  m80413:function(vef899,vf9e25) { var v33b79 =vef899.GetDivElement(); var v33216 =null; var v17e22 =null; if (vef899.Get("CaptionDisplayMode")=="Text") v33216 =v33b79.children[0]; else if (vef899.Get("CaptionDisplayMode")=="TextAndImage") { if (vef899.Get("ImageAlignment")=="Left" ||vef899.Get("ImageAlignment")=="Top") v33216 =v33b79.children[1]; else v33216 =v33b79.children[0]; } if (vef899.Tab.AllowTextWrapping) v17e22 =v33216; else v17e22 =v33216.children[0];  v17e22.innerHTML =vf9e25; },  mbdb99:function(v2d954,v8f65) { var v6ab35 =v2d954.GetDivElement(); var v5e695 =null; if (v2d954.Get("CaptionDisplayMode")=="Text") v5e695 =v6ab35.children[1]; else if (v2d954.Get("CaptionDisplayMode")=="TextAndImage") { if (v2d954.Get("ImageAlignment")=="Left" ||v2d954.Get("ImageAlignment")=="Top") v5e695 =v6ab35.children[0]; else v5e695 =v6ab35.children[1]; }  if (v5e695) { v5e695.src =v8f65; } },  m2de55:function(v4fb15,v7a040) {  var v28738 =v4fb15.Tab; var v71445 =wd27b85.m89959(v28738); var v13f22 =v28738.GetTabContentDivElement(); var vcc889; var vf3915 =v71445.rows[0]; var v9ea88 =""; var vae788; if (vf3915.cells[vf3915.cells.length-1].width !="100%")vcc889 =-1; else vcc889 =vf3915.cells.length-1; if (v28738.TabSeparator) { vae788 =IS.GetCssObject(null,v13f22.className);  if (v28738.Position =="Top") v9ea88 =vae788.borderTop; else v9ea88 =vae788.borderBottom;  var v10680 =vf3915.insertCell(vcc889); v10680.type ="TabSeparator";  if (v28738.RenderMode !="ComplexImages") { if (v28738.Position =="Top") v10680.style.borderBottom =v9ea88; else v10680.style.borderTop =v9ea88; }  v10680.innerHTML ="<div style='width:" +v28738.DefaultTabSeparatorWidth +"px'></div>";  if (vcc889 !=-1)vcc889 +=1; }  var v76c59 =vf3915.insertCell(vcc889); var vf5281 =v28738.TabPages[0];  v76c59.vAlign ="top"; v76c59.type ="Tab"; v76c59.noWrap =true; v76c59.name =v4fb15.Name; v76c59.style.cssText =vf5281.GetElement().style.cssText;  var v91878 ="<div></div>"; var v07b38 =""; var vecf87;  if (v28738.RenderMode =="RoundCorner") { v07b38 =wd27b85.m45414(v28738);  if (v28738.Position =="Top") v91878 =v07b38 +v91878; else v91878 =v91878 +v07b38; }  v76c59.innerHTML =v91878;  if (v28738.RenderMode =="RoundCorner") { if (v28738.Position =="Top") vecf87 =v76c59.children[3]; else vecf87 =v76c59.children[0]; } else vecf87 =v76c59.children[0];  vecf87.align ="center";  if (v28738.CloseIndicatorPosition =="EdgeOfTabHeader") { vecf87.style.position ="relative";  vecf87.style.paddingRight ="20px"; }  if (v4fb15.AccessKey !="") vecf87.accessKey =v4fb15.AccessKey;  if (v4fb15.ToolTip !="") vecf87.title =v4fb15.ToolTip;  if (v28738.ShowFocusBorder) vecf87.tabIndex =0;  if (v28738.RenderMode !="ComplexImages") { if (v28738.Position =="Top") vecf87.style.borderBottom ="none"; else vecf87.style.borderTop ="none"; } else { vecf87 =wd27b85.ma4872(v4fb15,vecf87);  if (v28738.ComplexImagesSettings.AllowOverlappingEdges) { var v93967 =v28738.TabPages[v28738.TabPages.length-1]; var v7e335 =v93967.GetRightImageElement();  v7e335.parentElement.removeNode(true); }  if (v28738.Position =="Top") v76c59.vAlign ="bottom"; }  if (IS.moz) vecf87.style.overflow ="visible";  var v22617 =""; var v0c970 ="";  wd27b85.m96f89(v28738,v4fb15,vecf87,v22617,v0c970); wd27b85.m3b361(v4fb15);  wd27b85.m1ad87(v28738,v4fb15);  if (v28738.AllowScrolling) { wd27b85.m23e61(v28738); wd27b85.m82515(v28738); } },  m96f89:function(v2bc54,v25d59,vf3682,v13229,va1824) { var v77934 =""; var v90c50 =""; var v3f015 =""; if ((v25d59.Get("CaptionDisplayMode")=="Image" ||v25d59.Get("CaptionDisplayMode")=="TextAndImage")&&v25d59.Image !="") { v77934 ="<img class=" +v2bc54.TabItemImageStyle +" hspace=3 src='" +v25d59.Image +"' align=absmiddle vspace=2 />"; }  v90c50 ="<span>"; if (!v2bc54.AllowTextWrapping) v90c50 +="<nobr>";  v90c50 +=v25d59.Text;  if (!v2bc54.AllowTextWrapping) v90c50 +"</nobr>"; v90c50 +="</span>";  if (v25d59.Get("ImageAlignment")=="Left" ||v25d59.Get("ImageAlignment")=="Top") result =v77934 +v90c50; else result =v90c50 +v77934;  if (v25d59.Get("AllowClose")=="Yes" &&v2bc54.CloseIndicatorPosition =="EdgeOfTabHeader") result +=wd27b85.m73376(v2bc54);  vf3682.innerHTML =v13229 +result +va1824; },  m73376:function(v86b45) { var v99945 ="<span style='font-size: 8pt; cursor:pointer"; v99945 +=";position:absolute;right:4px;top:0px' "; v99945 +="title='" +v86b45.TextSettings.CloseButtonTooltipText +"'>";  if (v86b45.ImagesSettings.CloseButton =="") v99945 +="<font face='Webdings'>r</font>"; else v99945 +="<img align=absmiddle src='" +v86b45.ResolveImagePath(v86b45.ImagesDirectory,v86b45.ImagesSettings.CloseButton)+"'>";  v99945 +="</span>"; return v99945; },  m1ad87:function(v3bb84,vb2527) { var v27a29 =v3bb84.GetTabContentDivElement(); var v8eb48 =document.createElement("DIV"); var v0d534 =""; if (vb2527.Get("ContentMode")=="UseIFrame") { v0d534 ="<iframe style='DISPLAY:none;WIDTH:100%;HEIGHT:100%' name='" +vb2527.Name +"' frameBorder=0 " +(v3bb84.IFrameAllowTransparency ? "allowTransparency" : "" )+" ";  if (v3bb84.IFrameAutoLoadContent &&vb2527.ContentURL !="") v0d534 +="src='" +vb2527.ContentURL +"'";  v0d534 +=">"; v0d534 +="</iframe>"; }  v8eb48.style.cssText ="DISPLAY: none; WIDTH: 100%; HEIGHT: 100%; POSITION: relative"; v8eb48.innerHTML =v0d534; v27a29.appendChild(v8eb48); },  m45414:function(vfe159) { var v08756 =""; var v3ee66 =vfe159.TabPages[0]; var va7356 =v3ee66.GetRoundCornerDiv1(); var ve7780 =v3ee66.GetRoundCornerDiv2(); var v69412 =v3ee66.GetRoundCornerDiv3(); if (vfe159.Position =="Top") { v08756 =va7356.outerHTML +ve7780.outerHTML +v69412.outerHTML; } else { v08756 =v69412.outerHTML +ve7780.outerHTML +va7356.outerHTML; }  return v08756; },  ma4872:function(v4f431,v8de55) { var ve9059 =""; var vb1016 =v4f431.Tab; var v99f72 =vb1016.ImagesSettings.NormalLeft;  if (vb1016.ActiveTabIndex ==vb1016.TabPages.length-1) { if (vb1016.ComplexImagesSettings.AllowOverlappingEdges) v99f72 =vb1016.ImagesSettings.ActiveRightSeparator; } else { if (vb1016.ComplexImagesSettings.AllowOverlappingEdges) v99f72 =vb1016.ImagesSettings.NormalSeparator;  if (vb1016.ComplexImagesSettings.UseSpecialRightSeparator) v99f72 =vb1016.ImagesSettings.SpecialRightSeparator; } ve9059 ="<table cellspacing=0 cellpadding=0 width=100%><tr><td valign=top>"; ve9059 +="<img src='" +vb1016.ResolveImagePath(vb1016.ImagesDirectory,v99f72)+"'></td>"; ve9059 +="<td style='background-image: url(" +vb1016.ResolveImagePath(vb1016.ImagesDirectory,vb1016.ImagesSettings.NormalCenter)+"); background-repeat: repeat-x' width='100%'><div align=center></div></td>"; ve9059 +="<td valign=top><img src='" +vb1016.ResolveImagePath(vb1016.ImagesDirectory,vb1016.ImagesSettings.NormalRight)+"'></td></tr></table>";  v8de55.innerHTML =ve9059;  return v8de55.children[0].rows[0].cells[1].children[0]; }};function WebTabDestructor(){ var v50583 =delete wd27b85;}window.attachEvent("onunload",WebTabDestructor);