
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 11/20/2007 10:34:39 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 WebMenuControlBase(v53127){ this.ClassName ="WebMenuControlBase"; this.Version ="1.5.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.5"; this.RequiredFrameworkVersion ="2.0.5000.18"; ISControl.call(this,v53127); this.ScriptDirectory ="/CommonLibrary/WebDesktop/V2_0_2007/"; this.ImageSize =new UnitSize(); this.IntegratedTo ="None"; this.MenuStyleSettings =new WebMenuStyles(); this.Initialized =false; this.Id =this.ClientId =v53127; this.ShowDelay =500; this.TopAdjustment =0; this.LeftAdjustment =0; this.AutoPostBack ="No";  this.ImageSize.Width =16; this.ImageSize.Height =16; this.OnRootMenuClosed =null;  this.MenuWindowType ="Popup"; this.MenuDropShadow =false; this.MenuAnimation =false; this.MenuAnimationMode ="Fading"; this.AnimatedObj =null; this.SkipAnimation =false; this.SkipAlpha =false; this.AnimationSpeed ="Fast"; this.AnimationInterval =10; this.DrawImageBackground =false;  this.GetStyleString =function() { return wdf2e69.m5dd5(this); };  this.CreateDefaultStyles =function() { wdf2e69.m4d697(this); };  this.Destroy =function() { if (this.MenuWindowType =="Normal") { for (var v11d72=0; v11d72<this.RootMenu.Items.length; v11d72++) { var v55252 =this.RootMenu.Items[v11d72];  if (v55252.HasSubMenu()&&v55252.SubMenu.Popup !=null) v55252.SubMenu.Destroy(); }  this.RootMenu.Destroy(); } };  this.ApplyStyles =function() {  };  this.GetAllMenus =function() {  };  this.GetAllOpenMenus =function() {  };  this.SetIntegratedToDesktopManager =function() { wdf2e69.m89215(this); };  this.SetIntegratedToPlaceHolderManager =function() { wdf2e69.m2fa20(this); };  this.CopyMenuSetting =function(v9f811) { this.MenuAnimation =v9f811.MenuAnimation; this.MenuAnimationMode =v9f811.MenuAnimationMode; this.MenuDropShadow =v9f811.MenuDropShadow; this.MenuWindowType =v9f811.MenuWindowType; this.AnimationSpeed =v9f811.AnimationSpeed; }; }function WebContextMenu(v54021){ WebMenuControlBase.call(this,v54021); this.ClassName ="WebContextMenu"; this.RootMenu =new WebMenu(); this.RootMenu.MenuControl =this; this.RootMenu.Direction ="Vertical"; this.RootMenu.OffsetAlignment ="LeftBottom"; this.Items =this.RootMenu.Items; this.ControlId =""; this.ClientSideEvents =new WebContextMenuClientSideEvents(); this.UseCustomContent =false; this.CustomContentElement =null; this.OnUnload =function() { this.ClearAll(); };  this.OnPropertiesInitialized =function() { if (this.Events !=null) { var v60f46; for(v60f46 in this.Events) { if (typeof(this.Events[v60f46])=="string") this.ClientSideEvents[v60f46] =this.Events[v60f46]; } }  var v9b441 =ISXml.GetAttribute(this.XmlNode,"ImageSize");  if (v9b441 !="" &&v9b441 !=null) { this.ImageSize =new UnitSize(); this.ImageSize.Parse(v9b441); } }; this.ClearAll =function() { wdf2e69.m8a33(this.RootMenu); this.RootMenu.MenuControl =this; this.Items =this.RootMenu.Items; };  this.IsAllItemsInvisible =function(v82457) { for (var vb8842=0; vb8842<v82457.length; vb8842++) { if (v82457[vb8842].Visible) return false; }  return true; };  this.Show =function(v15341,v22d39) { if ((this.Items.length ==0 ||this.IsAllItemsInvisible(this.Items))&&!this.UseCustomContent) return;  if (typeof(v15341)=="object") { v22d39 =v15341.Y; v15341 =v15341.X; } this.RootMenu.Show(v15341,v22d39); };  this.SetOffsetElement =function(ve1996) { this.RootMenu.OffsetElement =ve1996; };  this.HideAll =function() { if (this.RootMenu.IsOpen()) this.RootMenu.Hide(); };  this.RefreshStructure =function() { if (this.MenuStyleSettings !=null) { this.MenuAnimation =this.MenuStyleSettings.MenuAnimation; this.MenuDropShadow =this.MenuStyleSettings.MenuDropShadow; this.MenuWindowType =this.MenuStyleSettings.MenuWindowType; this.MenuAnimationMode =this.MenuStyleSettings.MenuAnimationMode; }  wdf2e69.m50980(this.Items,this); };}function WebContextMenuClientSideEvents(){ this._Type ="WebContextMenuClientSideEvents"; ISObject.call(this); this.OnInitialize =""; this.OnShowMenu =""; this.OnMenuItemClick ="";}function WebMenuStyles(){ this._Type ="WebMenuStyles"; ISObject.call(this); this.ItemStyle =null; this.FrameStyle =""; this.DisabledItemStyle =null; this.CheckedItemStyle =null; this.SeparatorStyle =""; this.BackgroundStripWidth =23; this.HasBackgroundStrip =true; this.BackgroundStripColor ="FFFFFF"; this.BackgroundStripColor2 ="C4C3AC"; this.ItemPadding =3; this.ContentPadding =7; this.MenuWindowType ="Popup"; this.MenuDropShadow =false; this.MenuAnimation =false; this.MenuAnimationMode ="Fading";  this.IconCellWidth =20; this.BackgroundStripImage =""; this.HighlightMode ="UseWebStyle"; this.UseSmartWebResources =true; this.HighlightDisabledItem =false; this.ImagesSettings =new WebMenuImagesSettings(); this.CustomStyle ="";  this.OnPropertiesInitialized =function() { this.Parent.MenuWindowType =this.MenuWindowType; this.Parent.MenuDropShadow =this.MenuDropShadow; this.Parent.MenuAnimation =this.MenuAnimation; this.Parent.MenuAnimationMode =this.MenuAnimationMode; };}function WebMenuImagesSettings(){ this._Type ="WebMenuImagesSettings"; ISObject.call(this); this.OverLeft =""; this.OverCenter =""; this.OverRight =""; this.ActiveIconCell =""; this.DisabledLeft =""; this.DisabledCenter =""; this.DisabledRight ="";}function WebMenu(v23348){ this._Type ="WebMenu"; ISObject.call(this); this.Name =""; this.Items =new ISArray(); this.ParentMenu =null; this.ParentMenuItem =null; this.MenuControl =null;  this.DisplayMode ="ImageAndText"; this.IconViewMode =false; this.ActiveItemIndex =-1; this.ActiveItem =null; this.Direction ="Horizontal"; this.OffsetAlignment ="RightTop";  this.Width =null; this.Initialized =false; this.Element =null; this.Popup =null; this.OffsetElement =null;  this.Items.Parent =this; this.ScrollInterval =-1; this.ScrollEnabled =false; this.RuntimeHeight =0;  this._TempDiv =null; this._NeedSizeRecalc =false; this._CloseIntervalId =-1;  if (v23348) { this.ParentMenuItem =v23348; }  this.IsOpen =function() { if (this.Popup) return this.Popup.isOpen; else return false; };  this.IsRootMenu =function() { return (this.ParentMenuItem ==null); };  this.GetGroupItems =function() { var vcb232 =new Array(); var vc0188 =null; for (var vf6e65=0; vf6e65<this.Items.length; vf6e65++) { var v6d257 =this.Items[vf6e65]; if ((v6d257.Text ==null ||v6d257.Text =="" ||(v6d257.Text !="" &&v6d257.IconViewDisplayMode =="Image"))&&v6d257.Type !="Separator" &&v6d257.Type !="Custom") { if (vc0188 ==null ||(vc0188 !=null &&vc0188.constructor !=Array)) vc0188 =new ISArray();  vc0188.Add(v6d257); } else { vc0188 =v6d257; }  var vac071 =this.Items[vf6e65+1]; if (vac071 &&(vac071.Type =="Separator" ||vac071.ImageURL =="" ||vac071.ImageURL ==null ||(vac071.ImageURL !="" &&vac071.IconViewDisplayMode =="Text"))) { vcb232.push(vc0188); vc0188 =null; } else if (!vac071) { vcb232.push(vc0188); } }  return vcb232; };  this.GetOpenSubMenu =function() { for (var vf6e65=0; vf6e65<this.Items.length; vf6e65++) { var v6d257 =this.Items[vf6e65]; if (v6d257.HasSubMenu()&&v6d257.Enabled &&v6d257.IsSubMenuOpen()) { return v6d257; } }  return null; };  this.GetId =function() { var v01c31 =this.MenuControl.Id +"_"; var v50588 =""; var va7868 =""; var v38976 =this.ParentMenuItem; var v98c69 =new Array();  while (v38976 !=null) { v98c69.push(v38976.Name); v38976 =v38976.OwnerMenu.ParentMenuItem; } v98c69.reverse();  for(var vf6e65=0; vf6e65<v98c69.length; vf6e65++) va7868 =v98c69[vf6e65] +"_";  v50588 =v01c31 +va7868;  return v50588; };  this.GetDocument =function() { if (this.Popup) { try { return this.Popup.document; } catch(e) { return null; } } else return null; };  this.GetElement =function() { return this.Element; };  this.GetMenuBodyElement =function() { var v60a18 =this.GetDocument(); if (v60a18) return v60a18.getElementById(this.GetId()+"_body"); else return null; };  this.GetMenuContainerElement =function() { var v60a18 =this.GetDocument(); if (v60a18) return v60a18.getElementById(this.GetId()+"_container"); else return null; };  this.GetScrollElement =function(ve1e84) { var v60a18 =this.GetDocument(); return v60a18.getElementById(this.GetId()+"_scroll_" +ve1e84); };  this.GetSelectedItemByGroup =function(v2d067) { for (var vf6e65=0; vf6e65<this.Items.length; vf6e65++) { var v6d257 =this.Items[vf6e65];  if (v6d257.Type =="Radio" &&v6d257.GroupName ==v2d067 &&v6d257.Checked) return v6d257; }  return null; };  this.Destroy =function() { var v5ae0 =this.Element;  if (v5ae0) Listener.Unload(v5ae0);  if (this.Popup) { if (this.MenuControl.MenuWindowType =="Popup") { var v69320 =this.GetDocument(); v69320.open("text/plain","replace"); v69320.write(""); v69320.close(); this.Popup =null; } else { document.body.removeChild(this.Popup._e); ISDeleteObject(this.Popup); } } };  this.Show =function(v04939,vc996) { if (!this.Initialized) { wdf2e69.maa443(this); }  wdf2e69.m80d65(this,v04939,vc996); };  this.Initialize =function() { if (!this.Initialized) { wdf2e69.maa443(this); } };  this.InstantiateIn =function(v5ae0) { this.Initialize();  if (this.MenuControl.MenuWindowType !="Normal") { alert("InstantiateIn method can only be used with Normal MenuWindowType"); return; } v5ae0.appendChild(this.Popup._e); };  this.SetStaticVisibility =function() { this.Popup._e.style.cssText =""; this.Popup._e.keepVisible =true; this.GetElement().style.position =""; this.GetMenuBodyElement().parentElement.style.position =""; this.GetMenuContainerElement().style.position =""; };  this.Hide =function() { if (!this.IsOpen()) return;  if (this.Popup &&this.Popup.hide) this.Popup.hide();  if (!IS.ie ||this.MenuControl.MenuWindowType =="Normal") { var v8e012 =this.GetOpenSubMenu(); if (v8e012) v8e012.SubMenu.Hide(); }  if (IS.ie &&this.MenuControl.MenuWindowType =="Normal") { if (this.ParentMenu !=null) this.ParentMenu.SetActive(); }  if (this.MenuControl.MenuAnimation) { var ve6572 =this.MenuControl.AnimatedObj.IntervalId;  if (ve6572 >0) { clearTimeout(ve6572); this.MenuControl.AnimatedObj.IntervalId =-1; }  wdf2e69.m97740(this); } };  this.GetDocumentEvent =function() { return this.GetDocument().parentWindow.event; };  this.GetContentWindow =function() { return this.GetDocument().parentWindow; };  this.Invalidate =function() { };  this.GetStripElement =function() { var vd1977 =this.MenuControl; var v2ae5 =vd1977.MenuStyleSettings; if (v2ae5.HasBackgroundStrip &&!this.IconViewMode) { var v60a18 =this.GetDocument(); if (v60a18) return v60a18.getElementById(this.GetId()+"_strip"); }  return null; };   this.SetActive =function() { if (IS.ie) { try { this.Element.setActive(); } catch(e) { } } };  this.GetRootMenu =function() { var vdef59 =this.ParentMenu;  if (vdef59 ==null) return this;  while (true) { if (vdef59.ParentMenu ==null) return vdef59; else vdef59 =vdef59.ParentMenu; }  return null; };  this.SetDirty =function() { this._NeedSizeRecalc =true; };  this.GetItem =function(v40295) { return this.Items.GetNamedItem(v40295); };  this.Clear =function() { wdf2e69.m8a33(this); };  this.SetHeight =function(v77478) { var v5ae0 =this.GetElement(); v5ae0.style.height =v77478; };}function WebMenuSeparatorItem(v06614){ WebMenuItem.call(this);  if (v06614) this.Name =v06614;  this.Type ="Separator";}function WebMenuRadioItem(vf6c98,v72d34,v66337,v5e085,vb6110,v8c633,v5c269){ WebMenuItem.call(this,vf6c98,v66337,v5e085,vb6110,v8c633);  this.Type ="Radio";  if (v72d34) this.GroupName =v72d34;  if (v5c269) this.Checked =v5c269;}function WebMenuCheckBoxItem(vb9d9,v01793,v74e8,vf4191,vb3354,v3c148){ WebMenuItem.call(this,vb9d9,v01793,v74e8,vf4191,vb3354);  this.Type ="CheckBox";  if (v3c148) this.Checked =v3c148;}function WebMenuItem(v28787,v78859,v4a433,vf9737,v95511){ this._Type ="WebMenuItem"; ISObject.call(this); this.Name =""; this.Index =-1; this.Collection =null; this.ParentMenu =null; this.SubMenu =new WebMenu(this); this.OwnerMenu =null; this.Element =null; this.Items =this.SubMenu.Items;  this.Type ="Normal"; this.Text =""; this.ImageURL =""; this.OnClick =null; this.KeepMenuVisible =false; this.Enabled =true; this.AccessKey =""; this.Shortcut =new ShortcutKey(); this.Tooltip =""; this.Visible =true; this.TargetURL =""; this.TargetFrame ="blank"; this.GroupName =""; this.IconViewDisplayMode ="Image"; this.IconViewMode =false; this.UseFontImage =false; this.AutoPostBack ="Default"; this.Tag ="";  this.Selected =false; this.Checked =false; this.PredefinedId =""; this.IsPredefinedItem =false; this.CustomElement =null; this.QueueId =-1; this.CloseQueueId =-1;  if (v28787) this.Name =v28787;  if (v78859) this.Text =v78859;  if (v4a433) this.ImageURL =v4a433;  if (vf9737) this.OnClick =vf9737;  if (v95511) this.Shortcut =v95511;  this.OnPropertiesInitialized =function() { if (this.Parent.GetType()=="WebContextMenu") this.OwnerMenu =this.Parent.RootMenu; else if (this.Parent.GetType()=="WebNotification") this.OwnerMenu =this.Parent.ActionMenu; else if (this.Parent.GetType()=="WebMenuItem") this.OwnerMenu =this.Parent.SubMenu; else if (this.Parent.GetType()=="WebMenu") this.OwnerMenu =this.Parent;  this.Collection =this.OwnerMenu.Items; this.Index =this.Collection.length; };  this.OnAdd =function() { if (!this.OwnerMenu) this.OwnerMenu =this.Parent;  this.Collection =this.OwnerMenu.Items;  if (this.OwnerMenu.Element !=null) wdf2e69.m4b775(this);  this.Collection.ReindexPosition(); };  this.OnInsert =function(v9aa53) { this.OwnerMenu =this.Parent; this.Collection =this.OwnerMenu.Items;  if (this.OwnerMenu.Element !=null) wdf2e69.m3622(this,v9aa53);  this.Collection.ReindexPosition(); };  this.OnRemove =function() { if (this.OwnerMenu.Element !=null) wdf2e69.mf7060(this);  this.Collection.ReindexPosition(); };  this.IsUsingImageIconViewMode =function() { if (this.OwnerMenu.IconViewMode) { if (this.Text ==null ||this.Text =="" ||(this.Text !="" &&this.IconViewDisplayMode =="Image")) return true; }  return false; };  this.ScrollIntoView =function() { var vf2a19 =this.OwnerMenu.GetMenuBodyElement().parentElement; var v60c51 =this.GetElement(); var va9078 =vf2a19.scrollTop; var vcc398 =vf2a19.clientHeight; var vf8598 =v60c51.offsetTop; var v82563 =v60c51.offsetHeight;  if (vf8598 <va9078 ) vf2a19.scrollTop =vf8598; else if (vf8598 +v82563 >va9078 +vcc398 ) vf2a19.scrollTop =vf8598 +v82563 -vcc398; };  this.GetElement =function() { if (!this.Element) { var vaad93 =this.OwnerMenu.GetMenuBodyElement(); var vfad41 =this.OwnerMenu;  if (vaad93) { if (vfad41.IconViewMode) { for (var v9ed78=0; v9ed78<vaad93.rows.length; v9ed78++) { var vd9a10 =vaad93.rows[v9ed78];  if (this.IsUsingImageIconViewMode()) { if (IS.GetAttr(vd9a10,"type")=="GroupItem") { var v8be86 =vd9a10.cells[1]; for(var v5d971=0; v5d971<v8be86.children.length; v5d971++) { var vd5218 =v8be86.children[v5d971]; if (IS.GetAttr(vd5218,"name")==this.Name) { this.Element =vd5218; break; } } } } else { if (IS.GetAttr(vd9a10,"name")==this.Name) { this.Element =vd9a10; break; } } } } else { for (var v9ed78=0; v9ed78<vaad93.rows.length; v9ed78++) { var vd9a10 =vaad93.rows[v9ed78]; if (IS.GetAttr(vd9a10,"name")==this.Name) { this.Element =vd9a10; break; } } } } } return this.Element; };  this.HasSubMenu =function() { return (this.Items.length >0); };  this.Click =function() { wdf2e69.m1df10(this); };  this.GetPreviousSelectableItem =function() { var v06820 =this.Index-1;  if (v06820 <0) v06820 =this.Collection.length-1;  var v2a940 =this.Collection[v06820];  if (v2a940) { if (v2a940.Visible &&v2a940.Type !="Separator" &&v2a940.Type !="Custom") return v2a940; else return v2a940.GetPreviousSelectableItem(); }  return null; };  this.GetNextSelectableItem =function() { var v9e996 =this.Index+1; if (v9e996 >(this.Collection.length-1)) v9e996 =0; var v2a940 =this.Collection[v9e996];  if (v2a940) { if (v2a940.Visible &&v2a940.Type !="Separator" &&v2a940.Type !="Custom") return v2a940; else return v2a940.GetNextSelectableItem(); }  return null; };  this.SetChecked =function(v11872,v1815) { var v60c51 =this.GetElement(); var v8be86; var vd5218; var v52583;  if (typeof(v11872)=="undefined")v11872 =true; if (this.Type =="Radio" &&v11872) { var v27898 =this.OwnerMenu.GetSelectedItemByGroup(this.GroupName);  if (v27898 &&v27898 ==this) return false;  if (v27898) v27898.SetChecked(false); } this.Checked =v11872;  if (!v60c51)return;  if (v60c51.tagName =="TR") { v8be86 =v60c51.cells[0]; vd5218 =v8be86.children[0];  if (IS.ie ||IS.moz) v52583 =vd5218.children[0].children[0]; else v52583 =vd5218.children[0]; } else if (v60c51.tagName =="SPAN"){ vd5218 =v60c51;  if (IS.ie ||IS.moz) v52583 =vd5218.children[0].children[0]; else v52583 =vd5218.children[0]; }  var v84549 =this.OwnerMenu.MenuControl.MenuStyleSettings; if (this.Checked) { if (this.UseFontImage) { v52583.innerHTML =wdf2e69.m5c878(v84549,this.Type =="CheckBox" ? "a" :  this.Type =="Radio" ? "=" : ""); }  if (v84549.HighlightMode =="UseWebStyle") { if (!v1815) DynamicStyleEngine.SetToOverStyle(null,v84549.CheckedItemStyle,vd5218); else DynamicStyleEngine.SetToStyle(null,v84549.CheckedItemStyle,vd5218); } else { with (vd5218.style) { backgroundImage ="url(" +wdf2e69.m75585(v84549,"ActiveIconCell",true)+")"; backgroundRepeat ="no-repeat"; backgroundPosition ="top left"; marginTop ="-1px"; height ="22px";  if (IS.ie) { paddingTop ="3px"; paddingRight ="3px"; } } } } else { if (this.UseFontImage) v52583.innerHTML ="";  vd5218.className =""; vd5218.style.backgroundImage ="none"; } };  this.Enable =function() { if (this.Enabled) return;  var v66b54 =this.GetElement(); var v5ca4 =this.OwnerMenu.MenuControl.MenuStyleSettings.ItemStyle;  if (v66b54) { if (this.OwnerMenu.IconViewMode) { } else { for (var v9ed78=0; v9ed78<v66b54.cells.length; v9ed78++) { var v8be86 =v66b54.cells[v9ed78]; v8be86.disabled =false; DynamicStyleEngine.SetToStyle(null,v5ca4,v8be86); } }  if (this.ImageURL !="") { var v46469 =this.GetImageElement();  v46469.style.filter =""; v46469.style.backgroundColor =""; } }  this.Enabled =true; };  this.Disable =function() { if (!this.Enabled) return; var v66b54 =this.GetElement(); var v6b335 =this.OwnerMenu.MenuControl; var v5ca4 =this.OwnerMenu.MenuControl.MenuStyleSettings.DisabledItemStyle; if (v66b54) { if (this.OwnerMenu.IconViewMode) { } else { for (var v9ed78=0; v9ed78<v66b54.cells.length; v9ed78++) { var v8be86 =v66b54.cells[v9ed78]; v8be86.disabled =true; DynamicStyleEngine.SetToStyle(null,v5ca4,v8be86); } }  if (this.ImageURL !="") { var v46469 =this.GetImageElement();  v46469.style.filter =(this.OwnerMenu.MenuControl.SkipAlpha ? "" : "Alpha(Opacity=50),")+"Gray()"; if (v6b335.DrawImageBackground) v46469.style.backgroundColor =v6b335.MenuStyleSettings.BackgroundStripColor; } }  this.Enabled =false; };  this.Show =function() { if (this.Visible) return; var v66b54 =this.GetElement(); if (v66b54) v66b54.style.display ="";  this.Visible =true; };  this.Hide =function() { if (!this.Visible) return; var v66b54 =this.GetElement(); if (v66b54) v66b54.style.display ="none";  this.Visible =false; };  this.GetContentElement =function() { var v66b54 =this.GetElement(); if (v66b54.tagName =="TR") return v66b54.cells[1];  return null; };  this.SetText =function(v78859) { var v66b54 =this.GetElement(); if (v66b54) { if (v66b54.tagName =="TR") { var v9f064 =v66b54.cells[1]; v9f064.innerHTML =v78859; } }  this.Text =v78859; };  this.GetImageElement =function() { var v66b54 =this.GetElement(); if (v66b54) { if (v66b54.tagName =="TR") { var v9f064 =v66b54.cells[0]; return v9f064.children[0].children[0]; } else if (v66b54.tagName =="SPAN") { return v66b54.children[0]; } } };  this.SetImage =function(v5ea47) { var v66b54 =this.GetElement(); if (v66b54) { if (v66b54.tagName =="TR") { var v9f064 =v66b54.cells[0]; v9f064.children[0].src =v5ea47; } else if (v66b54.tagName =="SPAN") { v66b54.children[0].src =v5ea47; } }  this.ImageURL =v5ea47; };  this.Destroy =function() { var v66b54 =this.GetElement(); if (v66b54) Listener.Unload(v66b54); };   this.Delete =function() { this.Collection.Remove(this); };  this.Unselect =function() { if (this.Type =="Separator") return;  wdf2e69.m43578(this); };  this.IsSelected =function() { return (this.OwnerMenu.ActiveItem ==this); };  this.Select =function(vcd619) { if (this.Type =="Separator") return;  if (this.IsSelected()) return; if (typeof(vcd619)=="undefined") vcd619 =true;  if (vcd619) { if (this.ActiveItem) wdf2e69.m43578(this.ActiveItem); }  wdf2e69.m9ac70(this); };  this.IsSubMenuOpen =function() { return this.SubMenu.IsOpen(); };  this.HideSubMenuQueue =function() { if (this.HasSubMenu()&&this.IsSubMenuOpen()) { var vfad41 =this.SubMenu; this.CloseQueueId =setTimeout(function(){if (vfad41.ParentMenuItem.InHideQueue())vfad41.Hide();},this.OwnerMenu.MenuControl.ShowDelay); } };  this.ShowSubMenu =function(v32139) { if (this.HasSubMenu()) { var vfad41 =this.SubMenu; vfad41.MenuControl =this.OwnerMenu.MenuControl; vfad41.ParentMenu =this.OwnerMenu; vfad41.OffsetElement =this.GetElement(); vfad41.Show();   if (v32139) { var vbc451 =vfad41.Items[0];   if (vbc451 &&(vbc451.Type =="Custom" ||vbc451.Type =="Separator")) vbc451 =vbc451.GetNextSelectableItem();  if (vbc451) vbc451.Select();  } } };  this.ShowSubMenuQueue =function(v20558,v32139) { if (this.HasSubMenu()) { var vfad41 =this.SubMenu; var v9e230 =this.OwnerMenu.MenuControl.ShowDelay; vfad41.MenuControl =this.OwnerMenu.MenuControl; vfad41.ParentMenu =this.OwnerMenu; vfad41.OffsetElement =this.GetElement();  if (v20558)v9e230 =1;  this.QueueId =setTimeout(function() { vfad41.Show();   if (v32139) { var vbc451 =vfad41.Items[0];   if (vbc451 &&(vbc451.Type =="Custom" ||vbc451.Type =="Separator")) vbc451 =vbc451.GetNextSelectableItem();  if (vbc451) vbc451.Select();  } },v9e230); } };  this.CancelShow =function() { if (this.QueueId >0) { clearTimeout(this.QueueId); this.QueueId =-1; } };  this.CancelHide =function() { if (this.CloseQueueId >0) { clearTimeout(this.CloseQueueId); this.CloseQueueId =-1; } };  this.InShowQueue =function() { return this.QueueId >0; };  this.InHideQueue =function() { return this.CloseQueueId >0; };  }function InitWebContextMenu(v7b952){ var v02e13 =new WebContextMenu(v7b952);  var vf2231 =null; try {vf2231 =ISXml.GetNode(v02e13.XmlDt,"//WebContextMenu"); }catch(e){} if (vf2231 ==null)vf2231 =v02e13.XmlDt.documentElement;  if (vf2231!=null) { IS.SetPropertiesRecursive(v02e13,vf2231); var vc6964 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"]; DynamicStyleEngine.AssignFromArray(v02e13.MenuStyleSettings,v02e13.MenuStyleSettings.XmlNode,vc6964); }  ISEvent.Raise(v02e13.ClientSideEvents.OnInitialize,v7b952);  window.attachEvent("onload",function(){OnContextMenuLoad(v02e13);}); window.attachEvent("onunload",function(){OnContextMenuUnload(v02e13);});}function OnContextMenuUnload(v8ce88){ window.detachEvent("onload",function(){OnContextMenuLoad(v8ce88);}); window.detachEvent("onunload",function(){OnContextMenuUnload(v8ce88);});}function OnContextMenuLoad(v4fc63){ if (v4fc63.ControlId !="") { var vcf824 =null;  if (v4fc63.ControlId =="Page") vcf824 =document.body; else vcf824 =ISGetObject(v4fc63.ControlId);  if (!vcf824)vcf824 =document.getElementById(v4fc63.ControlId);  if (!vcf824) { vcf824 =document.getElementsByName(v4fc63.ControlId); if (vcf824 &&vcf824.length >0) vcf824 =vcf824[0]; } if (vcf824 &&vcf824.tagName) { if (v4fc63.ControlId !="Page") v4fc63.SetOffsetElement(vcf824); Listener.Add(vcf824,"oncontextmenu",function(){OnGenericControlContextMenu(v4fc63);}); } else if (vcf824 &&vcf824.ClassName &&vcf824.FrameObj) { var v3dd89 =vcf824.FrameObj; Listener.Add(v3dd89,"oncontextmenu",function(){OnISControlContextMenu(v4fc63);}); } }  if (v4fc63.IntegratedTo =="None") v4fc63.CreateDefaultStyles(); else if (v4fc63.IntegratedTo =="DesktopManager") v4fc63.SetIntegratedToDesktopManager(); else v4fc63.SetIntegratedToPlaceHolderManager();}function OnISControlContextMenu(v62655){ event.cancelBubble =true; event.returnValue =false;  var v5f283 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var vee218 =(IS.ie)? event.screenY : event.clientY +window.screenTop; if (IS.ie &&v62655.MenuWindowType =="Normal") { v5f283 -=window.screenLeft; vee218 -=window.screenTop; } v62655.Show(v5f283,vee218);}function OnGenericControlContextMenu(v21438){ event.cancelBubble =true; event.returnValue =false; var v87f38 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var v42b97 =(IS.ie)? event.screenY : event.clientY +window.screenTop;  if (IS.ie &&v21438.MenuWindowType =="Normal") { v87f38 -=window.screenLeft; v42b97 -=window.screenTop; }  if (v21438.ControlId =="Page") v21438.Show(v87f38,v42b97); else v21438.Show();}var wdf2e69 ={ maa443:function(v58471) { var ve8535 =wdf2e69.m92161(v58471); wdf2e69.mb4528(v58471,ve8535); wdf2e69.mc8b81(v58471); v58471.Initialized =true; },  mc8b81:function(v60410) { var v23955 =v60410.Element; var va3216 =v60410.GetDocument(); var v9cf44 =window; if (v23955) { if (!v60410.MenuControl.UseCustomContent) { Listener.Add(v23955,"onmouseover",wdf2e69.m9a965,v60410); Listener.Add(v23955,"onmouseout",wdf2e69.m9a965,v60410); Listener.Add(v23955,"onmousedown",wdf2e69.m9a965,v60410); Listener.Add(v23955,"onmouseup",wdf2e69.m9a965,v60410); Listener.Add(v23955,"onmousewheel",wdf2e69.me5478,v60410); }  Listener.Add(v23955,"onselectstart",wdf2e69.m02922,v60410); Listener.Add(v9cf44,"onunload",wdf2e69.ma1a19,v60410); Listener.Add(v23955,"oncontextmenu",wdf2e69.meb533,v60410); if (v60410.MenuControl.MenuWindowType =="Popup") Listener.Append(0,va3216,"onkeydown",wdf2e69.mff927,v60410); else Listener.Add(v23955,"onkeydown",wdf2e69.mff927,v60410); } },  ma1a10:function(vc0385,va8b84) { if (!IS.GetCssObject(null,va8b84)) { var v3cd30 =vc0385.GetCssObject(va8b84);  var vbea5 =IS.GetRuntimeStyleSheetExact(); if (v3cd30) { if (IS.ie) vbea5.addRule(v3cd30.selectorText,v3cd30.style.cssText); else vbea5.innerHTML +=v3cd30.selectorText +" { " +v3cd30.style.cssText +" }\n";  return true; } }  return false; },  DefaultFrameStyle : "border: #8A867A 1px solid; background-color: white", DefaultItemNormalStyle : "font-family: Tahoma; font-size: 8pt", DefaultItemOverStyle: "font-family: Tahoma; font-size: 8pt; border: #316AC5 1px solid; background-color: #C1D2EE;", DefaultCheckedNormalStyle : "border: #316AC5 1px solid; background-color: #E1E6E8", DefaultCheckedOverStyle : "border: #4B4B6F 1px solid; background-color: #316AC5", DefaultDisabledNormalStyle : "font-family: Tahoma; font-size: 8pt; color: Silver", DefaultDisabledOverStyle : "font-family: Tahoma; font-size: 8pt; border: Gray 1px solid; background-color:WhiteSmoke; color: Gray", DefaultSeparatorStyle : "border-top: #C4C3AC 1px solid", DefaultCustomStyle: "background-color: #dde7ee; border-bottom: #c5c5c5 solid 1px; color: #00156E; font-family: Segoe UI, Tahoma; font-size: 9pt; padding: 4px; font-weight: bold",  m4d697:function(v62f41) { var v4e257 =v62f41.MenuStyleSettings; IS.AddRuntimeCssStyle(v4e257.FrameStyle,wdf2e69.DefaultFrameStyle); IS.AddRuntimeCssStyle(v4e257.ItemStyle.Normal,wdf2e69.DefaultItemNormalStyle); IS.AddRuntimeCssStyle(v4e257.ItemStyle.Over,wdf2e69.DefaultItemOverStyle); IS.AddRuntimeCssStyle(v4e257.CheckedItemStyle.Normal,wdf2e69.DefaultCheckedNormalStyle); IS.AddRuntimeCssStyle(v4e257.CheckedItemStyle.Over,wdf2e69.DefaultCheckedOverStyle); IS.AddRuntimeCssStyle(v4e257.DisabledItemStyle.Normal,wdf2e69.DefaultDisabledNormalStyle); IS.AddRuntimeCssStyle(v4e257.DisabledItemStyle.Over,wdf2e69.DefaultDisabledOverStyle); IS.AddRuntimeCssStyle(v4e257.SeparatorStyle,wdf2e69.DefaultSeparatorStyle);  if (v4e257.CustomStyle !="") IS.AddRuntimeCssStyle(v4e257.CustomStyle,wdf2e69.DefaultCustomStyle); },  m89215:function(v6a896) { var va7477 =ISGetDesktopManager(); if (!va7477) { alert("Can't integrate to DesktopManager because no DesktopManager instance were found!"); v6a896.CreateDefaultStyles(); return; }  if (!va7477.MenuStyles.Application) { alert("Integration failed because ContextMenu is currently disabled in DesktopManager. Please set EnableContextMenu to true."); v6a896.CreateDefaultStyles(); return; }  v6a896.MenuStyleSettings.CopyFrom(va7477.MenuStyles.Application); v6a896.MenuStyleSettings.Parent =v6a896; v6a896.MenuStyleSettings.OnPropertiesInitialized();  wdf2e69.m37912(va7477,v6a896.MenuStyleSettings); },  m2fa20:function(vd7516) { var vb2e32 =ISGetPlaceHolderManager(); if (vb2e32) { vb2e32.IntegrateMenuControl(vd7516); wdf2e69.m37912(vb2e32,vd7516.MenuStyleSettings); } },  m37912:function(vbfb16,v82252) { if (!wdf2e69.ma1a10(vbfb16,v82252.FrameStyle)) IS.AddRuntimeCssStyle(v82252.FrameStyle,wdf2e69.DefaultFrameStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.ItemStyle.Normal)) IS.AddRuntimeCssStyle(v82252.ItemStyle.Normal,wdf2e69.DefaultItemNormalStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.ItemStyle.Over)) IS.AddRuntimeCssStyle(v82252.ItemStyle.Over,wdf2e69.DefaultItemOverStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.CheckedItemStyle.Normal)) IS.AddRuntimeCssStyle(v82252.CheckedItemStyle.Normal,wdf2e69.DefaultCheckedNormalStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.CheckedItemStyle.Over)) IS.AddRuntimeCssStyle(v82252.CheckedItemStyle.Over,wdf2e69.DefaultCheckedOverStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.DisabledItemStyle.Normal)) IS.AddRuntimeCssStyle(v82252.DisabledItemStyle.Normal,wdf2e69.DefaultDisabledNormalStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.DisabledItemStyle.Over)) IS.AddRuntimeCssStyle(v82252.DisabledItemStyle.Over,wdf2e69.DefaultDisabledOverStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.SeparatorStyle)) IS.AddRuntimeCssStyle(v82252.SeparatorStyle,wdf2e69.DefaultSeparatorStyle); if (!wdf2e69.ma1a10(vbfb16,v82252.CustomStyle)) IS.AddRuntimeCssStyle(v82252.CustomStyle,wdf2e69.DefaultCustomStyle); },  m02922:function() { this.GetDocumentEvent().returnValue =false; },  meb533:function() { this.GetDocumentEvent().returnValue =false; },  mff927:function(v08887,vfea45) { var vfad52 =this;  if (v08887 !=window &&typeof(v08887)=="object" &&v08887.GetType) vfad52 =v08887; var vd8321 =vfad52.GetDocumentEvent(); if (vfea45)vd8321 =vfea45;  var vf1037 =vd8321.srcElement; var vc4e74 =wdf2e69.m49049(vf1037); var v10034 =vd8321.keyCode; var v76032 =false;  if (vfad52.IconViewMode) { if (v10034 ==ISKeyboardKey.LEFT) v10034 =ISKeyboardKey.UP;  if (v10034 ==ISKeyboardKey.RIGHT) v10034 =ISKeyboardKey.DOWN; }  switch (v10034) { case ISKeyboardKey.ESC: { if (vfad52.ActiveItem) vfad52.ActiveItem.OwnerMenu.Hide();  break; } case ISKeyboardKey.UP: { var va8a74 =vfad52.ActiveItem;  if (!va8a74 &&vfad52.Items.length >0) va8a74 =vfad52.Items[0];  if (va8a74) { var ve6885 =va8a74.GetPreviousSelectableItem(); if (ve6885) ve6885.Select();  if (vfad52.ScrollEnabled) { ve6885.ScrollIntoView(); wdf2e69.m0f752(vfad52); }  v76032 =true; } break; } case ISKeyboardKey.DOWN: { var va8a74 =vfad52.ActiveItem; if (!va8a74 &&vfad52.Items.length >0) va8a74 =vfad52.Items[vfad52.Items.length-1];  if (va8a74) { var v6889 =va8a74.GetNextSelectableItem(); if (v6889) v6889.Select();  if (vfad52.ScrollEnabled) { v6889.ScrollIntoView(); wdf2e69.m0f752(vfad52); } v76032 =true; } break; } case ISKeyboardKey.LEFT: { var va8a74 =vfad52.ActiveItem; if (va8a74) { if (va8a74.OwnerMenu.ParentMenu !=null) { vfad52.Hide(); v76032 =true; } else wdf2e69.mfd757(v10034,va8a74); } break; } case ISKeyboardKey.RIGHT: { var va8a74 =vfad52.ActiveItem; if (va8a74) { if (va8a74.Enabled &&va8a74.Visible &&va8a74.HasSubMenu()) { va8a74.OwnerMenu.MenuControl.SkipAnimation =true; va8a74.ShowSubMenuQueue(true,true); } else wdf2e69.mfd757(v10034,va8a74); }  v76032 =true; break; } case ISKeyboardKey.ENTER: { var va8a74 =vfad52.ActiveItem; if (va8a74) { if (va8a74.HasSubMenu()) { va8a74.ShowSubMenuQueue(true,true); } else { if (va8a74.Enabled) va8a74.Click(); } v76032 =true; } break; } default: { var vbc613 =String.fromCharCode(v10034).toLowerCase(); var vdbc29 =vfad52.Items; var v5ff8 =vdbc29.length;  for (var vfc63 =0; vfc63 <v5ff8; vfc63++) { if (vdbc29[vfc63].AccessKey ==vbc613 &&vdbc29[vfc63].Enabled &&vdbc29[vfc63].Type !="Separator" &&vdbc29[vfc63].Type !="Custom") { vdbc29[vfc63].Select(); vdbc29[vfc63].Click(); v76032 =true; break; } } } }  if (v76032) { vd8321.cancelBubble =true; vd8321.returnValue =false; } },  mfd757:function(v58982,ve6544) { if (ve6544.Parent!=null) { var v08542 =ve6544.Parent.MenuControl; if (v08542 &&v08542.ClassName=="WebMenuBar") { var v31625 =v08542.OnMenuKeyDown; if (typeof(v31625)=="string") ISEvent.Raise(v31625,v58982,ve6544); else if (typeof(v31625)=="function") v31625(v58982,ve6544); } }  },  me5478:function(v9e828) { var v44d37 =this;  if (v44d37.ScrollEnabled) { var v6cb23 =v44d37.GetMenuBodyElement().parentElement; var vf2068 =v44d37.GetDocumentEvent(); if (v9e828) vf2068 =v9e828;  v6cb23.scrollTop -=3 *vf2068.wheelDelta /120 *20; wdf2e69.m0f752(v44d37);  vf2068.cancelBubble =true; vf2068.returnValue =false; } },  m9a965:function(v47f0,vb9e65) { var v52012 =this;  if (v47f0 !=window &&typeof(v47f0)=="object" &&v47f0.GetType) v52012 =v47f0;  var v2cb11 =v52012.GetDocumentEvent(); if (vb9e65)v2cb11 =vb9e65;  var vb1f20 =v2cb11.srcElement; var vc1670 =wdf2e69.m49049(vb1f20); if (vc1670 =="") { if (v52012.IconViewMode) { var vb778 =wdf2e69.m83a49(vb1f20); if (vb778 ==null)vb1f20 =wdf2e69.mdb251(vb1f20); else vb1f20 =vb778;  vc1670 =wdf2e69.m49049(vb1f20); } else { vb1f20 =wdf2e69.mdb251(vb1f20); vc1670 =wdf2e69.m49049(vb1f20); } }  if (vc1670 =="") { if (vb1f20 !=null &&v52012.GetElement().contains(vb1f20)) { vb1f20.cancelBubble =true; v2cb11.cancelBubble =true; v2cb11.returnValue =false; } return; }  switch (v2cb11.type) { case "mouseover": if (vc1670 =="MenuItem") { var v98146 =wdf2e69.mc3757(vb1f20); var v7e354 =v52012.Items.GetNamedItem(v98146); if ((!v7e354.Enabled &&!v52012.MenuControl.MenuStyleSettings.HighlightDisabledItem)||v7e354.Type =="Custom") { wdf2e69.md9723(v52012,v7e354); return; }  v7e354.Select(false);  if (v7e354.HasSubMenu()&&!v7e354.IsSubMenuOpen()&&!v7e354.InShowQueue()&&v7e354.Enabled) { if (v52012.MenuControl.MenuWindowType =="Normal") { wdf2e69.md9723(v52012,v7e354); } v7e354.OwnerMenu.MenuControl.SkipAnimation =false; v7e354.ShowSubMenuQueue(); } else if (v7e354.HasSubMenu()&&v7e354.IsSubMenuOpen()) { if (v7e354.InHideQueue()) { v7e354.CancelHide(); } } else { wdf2e69.md9723(v52012,v7e354); }  if (v52012.ParentMenuItem !=null) { if (v52012.ParentMenuItem.InHideQueue()) v52012.ParentMenuItem.CancelHide(); } } else if (vc1670 =="ScrollUp") { v52012.ScrollInterval =setInterval(function(){wdf2e69.m06948(v52012,"up");},100); } else if (vc1670 =="ScrollDown") { v52012.ScrollInterval =setInterval(function(){wdf2e69.m06948(v52012,"down");},100); } break; case "mouseout": if (vc1670 =="MenuItem") { var v98146 =wdf2e69.mc3757(vb1f20); var v7e354 =v52012.Items.GetNamedItem(v98146); var v36333 =v2cb11.toElement; var v58e69 =v52012.GetElement();  if ((!v7e354.Enabled &&!v52012.MenuControl.MenuStyleSettings.HighlightDisabledItem)||v7e354.Type =="Custom") return; if (v52012.ActiveItem !=null &&v52012.ActiveItem !=v7e354 &&v36333 !=null) v52012.ActiveItem.Unselect();  if (v52012.ActiveItem !=null &&v52012.ActiveItem.GetElement().contains(v36333)) return;  if (v58e69.contains(v36333)) v7e354.Unselect();  if (v7e354.HasSubMenu()&&v7e354.InShowQueue()) v7e354.CancelShow(); } else if (vc1670 =="ScrollUp") { if (v52012.ScrollInterval >0) clearInterval(v52012.ScrollInterval); } else if (vc1670 =="ScrollDown") { if (v52012.ScrollInterval >0) clearInterval(v52012.ScrollInterval); } break;  case "mousedown": if (!IS.ie ||v52012.MenuControl.MenuWindowType =="Normal") { v2cb11.srcElement.cancelBubble =true; v2cb11.cancelBubble =true; v2cb11.returnValue =false; } break; case "mouseup": if (vc1670 =="MenuItem") { var v98146 =wdf2e69.mc3757(vb1f20); var v7e354 =v52012.Items.GetNamedItem(v98146); var v36333 =v2cb11.toElement; var v58e69 =v52012.GetElement(); var vb286 =v52012.MenuControl;  if (!v7e354.Enabled) return;  if (vb286.MenuAnimation &&vb286.AnimatedObj !=null &&vb286.AnimatedObj.IntervalId >0) return; if (IS.moz) { v2cb11.cancelBubble =true; v2cb11.returnValue =false; }  if (v7e354.HasSubMenu()&&!v7e354.IsSubMenuOpen()&&v7e354.Enabled) { if (v7e354.InShowQueue()) v7e354.CancelShow();  if (!v7e354.IsSubMenuOpen()) v7e354.ShowSubMenuQueue(true);  if (v52012.MenuControl.MenuWindowType =="Normal") wdf2e69.md9723(v52012,v7e354,true); } else if (!v7e354.HasSubMenu()) { if (v7e354.Type !="Custom" &&v7e354.Type !="Separator") { v7e354.Click(); } } } break; } },  md9723:function(v25c75,v6b654,vfb369) { var v4253 =v25c75.GetOpenSubMenu(); if (v4253 &&v4253 !=v6b654) { if (vfb369) v4253.SubMenu.Hide(); else v4253.HideSubMenuQueue(); } },  m49049:function(ve9b49) { if (!ve9b49)return "";  if (ve9b49.tagName =="TD") { var v6c714 =ve9b49.parentElement; if (IS.GetAttr(v6c714,"type")=="MenuItem") return "MenuItem"; } else if (ve9b49.tagName =="DIV" ||((ve9b49.tagName =="FONT" ||ve9b49.tagName =="IMG")&&ve9b49.parentElement.tagName =="DIV")) { if (ve9b49.tagName =="FONT" ||ve9b49.tagName =="IMG") ve9b49 =ve9b49.parentElement;  if (ve9b49.id.indexOf("scroll_up")>-1) return "ScrollUp"; else if (ve9b49.id.indexOf("scroll_down")>-1) return "ScrollDown"; } else if (ve9b49.tagName =="SPAN") { if (IS.GetAttr(ve9b49,"name")!="") return "MenuItem"; else { var v6c714 =ve9b49.parentElement; if (v6c714 &&v6c714.tagName =="SPAN" &&IS.GetAttr(v6c714,"name")!="") return "MenuItem"; } } else if (ve9b49.tagName =="IMG") { var v6c714 =ve9b49.parentElement; if (v6c714 &&v6c714.tagName =="SPAN" &&IS.GetAttr(v6c714,"name")!="") return "MenuItem"; }  return ""; },  mc3757:function(v7e25) { if (v7e25.tagName =="TD") return IS.GetAttr(v7e25.parentElement,"name"); else if (v7e25.tagName =="TR") return IS.GetAttr(v7e25,"name"); else if (v7e25.tagName =="SPAN") { if (IS.GetAttr(v7e25,"type")=="MenuItem") return IS.GetAttr(v7e25,"name"); else return IS.GetAttr(v7e25.parentElement,"name"); } else if (v7e25.tagName =="IMG" &&v7e25.parentElement.tagName =="SPAN" &&IS.GetAttr(v7e25.parentElement,"name")!="") return IS.GetAttr(v7e25.parentElement,"name"); },  mdb251:function(v54a5) { if (!v54a5)return;  while (v54a5 &&v54a5.tagName !="TD") { v54a5 =v54a5.parentElement; }  if (v54a5 &&v54a5.tagName =="TD") return v54a5; else return null; },  m83a49:function(v75b88) { if (!v75b88)return;  while (v75b88 &&v75b88.tagName !="SPAN") { v75b88 =v75b88.parentElement; }  if (v75b88 &&v75b88.tagName =="SPAN") return v75b88; else return null; },  m43578:function(v8f974) {  var vcdc24 =v8f974.GetElement(); var v56f31 =v8f974.OwnerMenu; var v84b73 =v56f31.MenuControl; var v94c87 =v84b73.MenuStyleSettings; var v2d726 =v94c87.ItemStyle;  if (!v8f974.Enabled) v2d726 =v94c87.DisabledItemStyle; if (v56f31.IconViewMode &&vcdc24.tagName =="SPAN") { wdf2e69.m51741(v8f974); return; }  for (var v4e646=0; v4e646<vcdc24.cells.length; v4e646++) { var v62a80 =vcdc24.cells[v4e646];  if (v94c87.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToStyle(null,v2d726,v62a80); else v62a80.style.backgroundImage ="none";  if (v4e646 ==0) { v62a80.style.padding ="1px"; if ((v8f974.Type =="Radio" ||v8f974.Type =="CheckBox")&&v8f974.Checked) { if (v94c87.HighlightMode =="UseWebStyle") { var v7be25 =v62a80.children[0]; DynamicStyleEngine.SetToStyle(null,v94c87.CheckedItemStyle,v7be25); } } } else if (v4e646 ==3) { v62a80.style.padding =v94c87.ItemPadding; } else { v62a80.style.paddingTop =v62a80.style.paddingBottom =v94c87.ItemPadding; } }  v8f974.Selected =false; v8f974.OwnerMenu.ActiveItemIndex =-1; v8f974.OwnerMenu.ActiveItem =null; },  m51741:function(vcfc40) { var vd7030 =vcfc40.GetElement(); var v3dc87 =vcfc40.OwnerMenu.MenuControl; var v76063 =vcfc40.OwnerMenu; var ved320 =v3dc87.MenuStyleSettings; var v3b491 =ved320.ItemStyle;  if (vcfc40.Type =="Normal") {  } else if (vcfc40.Type =="Radio" ||vcfc40.Type =="CheckBox") { if (vcfc40.Checked) v3b491 =ved320.CheckedItemStyle; }  DynamicStyleEngine.SetToStyle(null,v3b491,vd7030); vcfc40.Selected =false; v76063.ActiveItemIndex =-1; v76063.ActiveItem =null; },  m28e99:function(v29271) { var vf0d60 =v29271.GetElement(); var v0b655 =v29271.OwnerMenu.MenuControl; var v6f00 =v29271.OwnerMenu; var v25988 =v0b655.MenuStyleSettings; var v96235 =v25988.ItemStyle;  if (v29271.Type =="Normal") {  } else if (v29271.Type =="Radio" ||v29271.Type =="CheckBox") { if (v29271.Checked) v96235 =v25988.CheckedItemStyle; }  DynamicStyleEngine.SetToOverStyle(null,v96235,vf0d60); v6f00.ActiveItemIndex =v29271.Index; v6f00.ActiveItem =v29271; v29271.Selected =true;  if (v6f00.ParentMenuItem !=null &&!v6f00.ParentMenuItem.IsSelected()) { v6f00.ParentMenuItem.Select(false); } },  m9ac70:function(v03470) { var v14a90 =v03470.GetElement(); var vdb323 =v03470.OwnerMenu.MenuControl; var vb9938 =v03470.OwnerMenu; var v65056 =vdb323.MenuStyleSettings; var v4f879 =v65056.ItemStyle;  if (vb9938.ActiveItemIndex >-1) vb9938.ActiveItem.Unselect();  if (vb9938.IconViewMode &&v14a90.tagName =="SPAN") { wdf2e69.m28e99(v03470); return; }  if (!v03470.Enabled) v4f879 =v65056.DisabledItemStyle;  for (var vd9934=0; vd9934<v14a90.cells.length; vd9934++) { var v47b77 =v14a90.cells[vd9934];  if (v65056.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,v4f879,v47b77); else { var vd7e51 =new Array("OverLeft","OverCenter","OverCenter","OverRight"); v47b77.style.backgroundImage ="url(" +wdf2e69.m75585(v65056,vd7e51[vd9934],true)+")"; v47b77.style.backgroundRepeat ="repeat-x";  if (vd9934 ==3) v47b77.style.backgroundPosition ="top right"; }  var vce245 =parseFloat(v47b77.currentStyle.borderWidth);  if (!IS.ie) vce245 =parseFloat(v47b77.currentStyle.borderTopWidth);  if (isNaN(vce245)) vce245 =0; if (vce245 >0) { var vc2098 =v65056.ItemPadding -vce245;  if (vd9934 ==0) { var vbca20 =1-vce245;  with (v47b77.style) paddingLeft =paddingTop =paddingBottom =(vbca20 +"px");  if ((v03470.Type =="Radio" ||v03470.Type =="CheckBox")&&v03470.Checked) { var v06459 =v47b77.children[0];  if (v65056.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,v65056.CheckedItemStyle,v06459); } } else if (vd9934 ==3) { with (v47b77.style) paddingRight =paddingTop =paddingBottom =(vc2098 +"px"); } else { with (v47b77.style) paddingTop =paddingBottom =(vc2098 +"px"); } } }  vb9938.ActiveItemIndex =v03470.Index; vb9938.ActiveItem =v03470; v03470.Selected =true;  if (vb9938.ParentMenuItem !=null &&!vb9938.ParentMenuItem.IsSelected()) { vb9938.ParentMenuItem.Select(false); }  },  m85a56:function(ve3d17) { if (ve3d17 !=null &&ve3d17.MenuControl.MenuWindowType =="Normal" &&ve3d17.Popup) { if (ve3d17.ScrollEnabled) { var v4bd62 =ve3d17.GetMenuBodyElement().parentElement; var vb7116 =ve3d17.GetScrollElement("up"); var v8b783 =ve3d17.GetScrollElement("down");  vb7116.style.display ="none"; v8b783.style.display ="none"; v4bd62.style.height ="auto"; }  ve3d17.Popup._e.style.width ="auto"; ve3d17.RuntimeWidth =ve3d17.Popup._e.scrollWidth; ve3d17.RuntimeHeight =ve3d17.Popup._e.scrollHeight; } },  mb4528:function(vdc097,v70b41) { var v40172 =vdc097.MenuControl;  if (vdc097.Popup ==null) { if (!IS.ie ||v40172.MenuWindowType =="Popup") { if (vdc097.ParentMenu ==null) vdc097.Popup =window.createPopup(); else vdc097.Popup =vdc097.ParentMenu.GetDocument().parentWindow.createPopup(); } else { var v59675 =new WindowInfo(); v59675.DisplayPosition ="Bottom"; v59675.DisplayType ="Normal"; v59675.OffsetControlID =v40172.Id; var vb5a53 =new WindowPopup(v59675); v59675.Popup =vb5a53; vb5a53.Init(); vdc097.Popup =vb5a53; vb5a53.document.parentWindow =window; v0c354 =vb5a53.document; } }  if (IS.ie &&v40172.MenuWindowType =="Popup") { var va505 =IS.GetTempIFrame(); var v0c354 =va505.contentWindow.document; v0c354.open("text/html","replace"); v0c354.write(v70b41); v0c354.close();  vdc097.RuntimeWidth =v0c354.body.scrollWidth; vdc097.RuntimeHeight =v0c354.body.scrollHeight; }  var v30010 =vdc097.GetDocument(); v30010.open("text/html","replace");  v30010.write(v70b41); v30010.close();  if (IS.ie &&v40172.MenuWindowType =="Popup") vdc097.Element =v30010.body.firstChild;  else { vdc097.Element =v30010._e.firstChild; vdc097.RuntimeHeight =vdc097.Popup._e.scrollHeight; vdc097.RuntimeWidth =vdc097.Popup._e.scrollWidth; }   for (var vcc62=0; vcc62<vdc097.Items.length; vcc62++) { var v28125 =vdc097.Items[vcc62];  if (v28125.Type =="Template") { var v64764 =document.getElementById("mi_View" +v28125.Name);  if (v64764) { var v53f49 =v28125.GetContentElement(); v53f49.innerHTML =""; v53f49.appendChild(v64764); v64764.style.display =""; } } }  if (v40172.UseCustomContent &&v40172.CustomContentElement !=null) { var v2de89 =vdc097.GetMenuContainerElement(); v2de89.appendChild(v40172.CustomContentElement); } },  m68553:function() { if (window.screenLeft >window.screen.width) return true;  return false; },  m80d65:function(vfc324,v9e413,v7ee40) { var vdc953 =""; var v39c20 =true; var vfce95 =vfc324.MenuControl; var v74f2 =0; var v8f640 =0;  if (vfc324) vdc953 =vfc324.OffsetAlignment;  if (vfc324.IsOpen()) return;  if (IS.ie &&vfc324 &&vfc324.OffsetElement) { var v3df67 =ISPosLib.getScreenLeft(vfc324.OffsetElement)+ISPosLib.getWidth(vfc324.OffsetElement);  if (!wdf2e69.m68553()&&v3df67 >window.screen.availWidth -10 &&vdc953.indexOf("Right")>-1) vdc953 =vdc953.replace(/Right/ig,"Left"); }  if (vfc324.OffsetElement) { if (!IS.ie ||vfce95.MenuWindowType =="Popup") { v74f2 =ISPosLib.getScreenLeft(vfc324.OffsetElement); v8f640 =ISPosLib.getScreenTop(vfc324.OffsetElement); } else { v74f2 =ISPosLib.getLeft(vfc324.OffsetElement); v8f640 =ISPosLib.getTop(vfc324.OffsetElement); } }  if (vfce95.MenuWindowType =="Normal") wdf2e69.m85a56(vfc324);  if (!v9e413) { if (vfc324.OffsetElement) { if (vfc324.Direction =="Horizontal") { if (vdc953.indexOf("Right")>-1) v9e413 =v74f2 +ISPosLib.getWidth(vfc324.OffsetElement); else if (vdc953.indexOf("Left")>-1) v9e413 =v74f2 -vfc324.RuntimeWidth; } else { if (vdc953.indexOf("Left")>-1) v9e413 =v74f2; else if (vdc953.indexOf("Right")>-1) v9e413 =v74f2 +ISPosLib.getWidth(vfc324.OffsetElement); } } }  if (!v7ee40) { if (vfc324.OffsetElement) { if (vfc324.Direction =="Horizontal") { if (vdc953.indexOf("Top")>-1) v7ee40 =v8f640; else v7ee40 =v8f640 +ISPosLib.getHeight(vfc324.OffsetElement); } else { if (vdc953.indexOf("Bottom")>-1) v7ee40 =v8f640 +ISPosLib.getHeight(vfc324.OffsetElement); else { v7ee40 =v8f640 -vfc324.RuntimeHeight; if (v7ee40 <0)v7ee40 =0; } } } }  if (vfc324.ActiveItem !=null) vfc324.ActiveItem.Unselect();  if (vfc324.ParentMenuItem !=null) { if (vfc324.ParentMenuItem.QueueId >0) vfc324.ParentMenuItem.QueueId =-1; }  if (vfc324._NeedSizeRecalc) { wdf2e69.m21427(vfc324); vfc324._NeedSizeRecalc =false; }  if (!IS.ie ||vfce95.MenuWindowType =="Normal") { if (!IS.ie) { if (vfc324.ParentMenu !=null) { var v41492 =vfc324.ParentMenu.GetOpenSubMenu(); if (v41492) { v41492.SubMenu.Hide(); } } }  if (!IS.ie ||!vfc324.OffsetElement) { v9e413 +=document.body.scrollLeft; v7ee40 +=document.body.scrollTop; }  var v4b522 =wdf2e69.m21999(new OffsetLocation(v9e413,v7ee40), vfc324.Popup._e.firstChild,vfc324.ParentMenu,IS.ie &&vfce95.MenuWindowType =="Normal"); v9e413 =v4b522.X; v7ee40 =v4b522.Y; } var v69040 =wdf2e69.m17e29(vfc324,v9e413,v7ee40); if (v69040) { v9e413 =v69040.X; v7ee40 =v69040.Y; vfc324.RuntimeHeight =v69040.Height; }  if (IS.ie &&IS.GetIEVersion()<7) { var v2d311 =vfc324.GetStripElement(); if (v2d311 &&vfc324.RuntimeHeight >4) v2d311.style.height =vfc324.RuntimeHeight -4; } if (vfc324.IsRootMenu()) { if (vfc324._CloseIntervalId ==-1)vfc324._CloseIntervalId =setInterval(function(){wdf2e69.mf109(vfc324);},100); }  if (vfce95 &&vfce95.GetType()=="WebContextMenu") v39c20 =ISEvent.Raise(vfce95.ClientSideEvents.OnShowMenu,vfce95.Id,vfc324,v9e413,v7ee40,vfc324.RuntimeWidth,vfc324.RuntimeHeight);  if (v39c20) { if (typeof(v39c20)=="object") { v9e413 =v39c20.X; v7ee40 =v39c20.Y; }  vfc324.Popup.show(v9e413,v7ee40,vfc324.RuntimeWidth,vfc324.RuntimeHeight);  if (IS.ie &&vfce95.MenuWindowType =="Normal") vfc324.SetActive();  if (vfce95.MenuAnimation &&!vfce95.SkipAnimation) { if (vfce95.AnimatedObj ==null) { var vf3b91 =new ISAnimatedObject(); vf3b91.OnCompleted =wdf2e69.meb360; vf3b91.Speed =vfce95.AnimationSpeed; vf3b91.Type =(vfce95.MenuAnimationMode =="Fading" ? "FadeIn" : "MenuSlideDown"); vf3b91.StepInterval =vfce95.AnimationInterval;  vfce95.AnimatedObj =vf3b91; }  var v15792 =vfc324.Element; wdf2e69.m97740(vfc324);  if (vfce95.MenuAnimationMode =="Sliding") { if (!vfc324.IsRootMenu()) vfce95.AnimatedObj.Type ="MenuSlideRight"; else vfce95.AnimatedObj.Type ="MenuSlideDown";  v15792 =v15792.parentElement; v15792.removeAttribute("OriginalLeft"); v15792.removeAttribute("OriginalWidth"); v15792.removeAttribute("OriginalTop"); v15792.removeAttribute("OriginalHeight");  if (!IS.ie) { v15792.OriginalTop =0; v15792.OriginalWidth =0; v15792.OriginalLeft =0; v15792.OriginalHeight =0; } }  vfce95.AnimatedObj.Owner =vfc324; vfce95.AnimatedObj.Element =v15792; vfce95.AnimatedObj.Play(); } else { if (vfce95.MenuDropShadow) vfc324.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)"; } } },  meb360:function() { var v6a838 =this.Owner;  wdf2e69.m97740(v6a838);  if (v6a838.MenuControl.MenuDropShadow) v6a838.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)";  this.IntervalId =-1; },  m97740:function(v79174) { v79174.Element.style.filter =""; },  mf109:function(veb329) { if (!veb329.IsOpen()) { clearInterval(veb329._CloseIntervalId); veb329._CloseIntervalId =-1;  var v4f393 =veb329.MenuControl; if (v4f393.OnRootMenuClosed !=null) { if (typeof(v4f393.OnRootMenuClosed)=="string") ISEvent.Raise(v4f393.OnRootMenuClosed,veb329); else if (typeof(v4f393.OnRootMenuClosed)=="function") v4f393.OnRootMenuClosed(veb329); } } },  m17e29:function(ve6054,vf3536,v64186) { var v04213 =window.screen.availHeight; var ve8410 =ve6054.RuntimeHeight; var v8f078 =0; var v9c898 =ve6054.MenuControl;  if (!IS.ie ||v9c898.MenuWindowType =="Normal") { v04213 =document.body.clientHeight;  }  if (ve8410 >v04213 &&!v9c898.UseCustomContent) { var v43414 =ve6054.GetMenuBodyElement().parentElement; var vce180 =ve6054.GetScrollElement("up"); var v26973 =ve6054.GetScrollElement("down");  vce180.style.display =""; v26973.style.display ="";  var v49917 =v04213 -vce180.style.posHeight -v26973.style.posHeight -8;  if (v49917 <0) v49917 =5;  v43414.style.height =v49917; v8f078 =v04213-4; ve8410 =2; ve6054.ScrollEnabled =true;  if (v9c898.MenuWindowType =="Normal") ve8410 +=document.body.scrollTop;  return new Rectangle(vf3536,ve8410,null,v8f078); } else { if (ve6054.ScrollEnabled &&v9c898.MenuWindowType =="Normal") { var v43414 =ve6054.GetMenuBodyElement().parentElement; var vce180 =ve6054.GetScrollElement("up"); var v26973 =ve6054.GetScrollElement("down");  vce180.style.display ="none"; v26973.style.display ="none"; v43414.style.height ="auto"; v8f078 =v43414.offsetHeight;  ve6054.ScrollEnabled =false;  return new Rectangle(vf3536,v64186,null,v8f078); } } },  m21999:function(vd0048,vac734,v3245,v96b99) { var v2c845 =vd0048.Y; var vfa784 =vd0048.X;  if (!IS.ie ||v96b99) { if (!v96b99) { v2c845 -=window.screenTop; vfa784 -=window.screenLeft; }  if (v2c845 +ISPosLib.getHeight(vac734)>document.body.clientHeight +document.body.scrollTop) { v2c845 =((document.body.clientHeight +document.body.scrollTop)-ISPosLib.getHeight(vac734));  if (v96b99) v2c845 -=4; } if (vfa784 +(ISPosLib.getWidth(vac734))>document.body.clientWidth) { if (!v3245) vfa784 =document.body.clientWidth -ISPosLib.getWidth(vac734); else vfa784 =ISPosLib.getLeft(v3245.Popup._e.firstChild)-ISPosLib.getWidth(vac734);  if (v96b99) vfa784 -=4; }  if (!v96b99) { v2c845 +=window.screenTop; vfa784 +=window.screenLeft; } else { if (v2c845 <0) v2c845 =2; } }  return new OffsetLocation(vfa784,v2c845); },  mf6f73:function(vf2259) { var v32776 ="<html><head>" + "<style type=\"text/css\">" +vf2259.MenuControl.GetStyleString()+"</style>" + "</head><body style='margin:0px;padding:0px;overflow:hidden;border:0px'>";  if (IS.ie &&vf2259.MenuControl.MenuWindowType =="Popup") return v32776; else return ""; },  mc880:function(v32679) { var veff95 ="</body></html>";  if (IS.ie &&v32679.MenuControl.MenuWindowType =="Popup") return veff95; else return ""; },  m5dd5:function(v56d9,vcc669) { if ((v56d9.GetType()=="WebMenuBar" ||(v56d9.GetType()=="WebContextMenu" &&v56d9.IntegratedToBar))&&!vcc669) { if (v56d9.GetType()=="WebContextMenu") v56d9 =v56d9._ToolCommand._Bar;  return v56d9.GetCachedMenuStyleString(v56d9); } var vb3479 =v56d9.MenuStyleSettings; var vbc02 =new Array("ItemStyle","FrameStyle","DisabledItemStyle","SeparatorStyle","CheckedItemStyle","CustomStyle"); var vf5842 ="";  for (var v62367=0; v62367<vbc02.length; v62367++) { var vdd566 =vbc02[v62367]; if (typeof(vb3479[vdd566])=="string") { if (vb3479[vdd566] !="") { vf5842 +=wdf2e69.m98a76(vb3479[vdd566]); } } else if(typeof(vb3479[vdd566])=="object") { var v89067 =vb3479[vdd566]; if (v89067.Normal !="") vf5842 +=wdf2e69.m98a76(v89067.Normal);  if (v89067.Over !="") vf5842 +=wdf2e69.m98a76(v89067.Over);  if (v89067.Active !="") vf5842 +=wdf2e69.m98a76(v89067.Active); } }  return vf5842; },  m98a76:function(v75c65) { return IS.GetStyleText(null,v75c65); },  m75585:function(v4c020,vd9927,vaac50) { var v64d36 =v4c020;  if (vaac50) v64d36 =v4c020.ImagesSettings;  if (v4c020.UseSmartWebResources) return "ISRes.axd?D/" +v64d36[vd9927]; else return v64d36[vd9927]; },  m5c878:function(vbb931,va2386,v25520) { if (IS.ie ||IS.moz) { if (v25520) return va2386; else return "<font face='Webdings' style='font-size: 8pt'>" +va2386 +"</font>"; } else { var v6fa11 ="";  if (va2386 =="6") v6fa11 ="arrow_down.gif"; else if (va2386 =="=") v6fa11 ="radio.gif"; else if (va2386 =="a") v6fa11 ="checkbox.gif"; else if (va2386 =="4") v6fa11 ="arrow_right.gif"; else if (va2386 =="5") v6fa11 ="arrow_up.gif";  if (vbb931.UseSmartWebResources) v6fa11 ="ISRes.axd?D/" +v6fa11; else v6fa11 =vbb931.Parent +v6fa11;  return "<img valign='absmiddle' height='16' src='" +v6fa11 +" ' />"; } },  m92161:function(v92f72) { var v5c470 =v92f72.MenuControl; var v1335 =v5c470.MenuStyleSettings;  var v44254 ="<table class='" +v1335.FrameStyle +"' border='0' cellpadding='1' cellspacing='0' style='position: relative;'>";  v44254 +="<tr>"; v44254 +="<td valign='top'>"; v44254 +="<div id='" +v92f72.GetId()+"_container' style='position: relative;";  if (v92f72.IconViewMode) v44254 +="width:" +v92f72.Width +";";  v44254 +="'>";  if (v5c470.GetType()=="WebContextMenu" &&v5c470.UseCustomContent) { v44254 +="</div></td></tr></table>"; return v44254; }  if (v1335.HasBackgroundStrip &&!v92f72.IconViewMode) { v44254 +="<div id='" +v92f72.GetId()+"_strip' style='position: absolute; left: 0px; top: 0px;"; v44254 +="width: " +v1335.BackgroundStripWidth +"px"; if (IS.ie) { if (IS.GetIEVersion()<7) v44254 +=";height:auto"; else v44254 +=";height:expression(this.parentElement.offsetHeight)"; } else v44254 +=";height:100%"; if (v1335.BackgroundStripColor2 =="" ||v1335.BackgroundStripColor2 =="000000") { v44254 +=";background-color:#" +v1335.BackgroundStripColor; } else { if (IS.ie) v44254 +=";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF" +v1335.BackgroundStripColor +", endColorstr=#FF" +v1335.BackgroundStripColor2 +", GradientType=1)"; else v44254 +=";background-color:#" +v1335.BackgroundStripColor2; }  if (v1335.BackgroundStripImage !="") v44254 +=";background-image: url(" +wdf2e69.m75585(v1335,"BackgroundStripImage")+"); background-repeat: repeat-y"; v44254 +="'>"; v44254 +="</div>"; }  v44254 +="<div id='" +v92f72.GetId()+"_scroll_up' align='center' disabled style='height:18px;position:relative;display:none;cursor:default'>"; v44254 +=wdf2e69.m5c878(v1335,"5"); v44254 +="</div>"; v44254 +="<div style='position: relative; overflow: hidden;'>"; v44254 +="<table id='" +v92f72.GetId()+"_body' border='0' cellpadding='0' cellspacing='0' style='cursor:default; width:100%'>"; if (v92f72.IconViewMode) { var vbd371 =v92f72.GetGroupItems(); for (var vcba97=0; vcba97<vbd371.length; vcba97++) { var v29939 =vbd371[vcba97]; if (v29939.constructor ==Array) v44254 +=wdf2e69.m01772(v29939); else v44254 +=wdf2e69.m0ab31(v29939); } } else { for (var vcba97=0; vcba97<v92f72.Items.length; vcba97++) { v44254 +=wdf2e69.m0ab31(v92f72.Items[vcba97]); } }  v44254 +="</table>"; v44254 +="</div>";  v44254 +="<div id='" +v92f72.GetId()+"_scroll_down' align=center style='height:18px;position:relative;display:none;cursor:default'>"; v44254 +=wdf2e69.m5c878(v1335,"6"); v44254 +="</div>"; v44254 +="</div>"; v44254 +="</td></tr></table>"; return wdf2e69.mf6f73(v92f72)+v44254 +wdf2e69.mc880(v92f72); },  m01772:function(vda72) { var ve1291 =vda72[0].OwnerMenu; var vae821 =ve1291.MenuControl; var v90c95 =vae821.MenuStyleSettings; var v13784 ="<tr type='GroupItem'>"; v13784 +="<td>"; v13784 +="</td>";  v13784 +="<td colspan=3 width='" +ve1291.Width +"'>";  for (var v8db85=0; v8db85<vda72.length; v8db85++) { var ve7968 =vda72[v8db85];  v13784 +=wdf2e69.m02f11(ve7968); }  v13784 +="</td>"; v13784 +="</tr>";  return v13784; },  m02f11:function(v81f16) { var v85622 ="<span type='MenuItem' name='" +v81f16.Name +"' "; var vba489 =v81f16.OwnerMenu; var v8b832 =vba489.MenuControl; var vf6452 =v8b832.MenuStyleSettings;  if ((v81f16.Type =="Radio" ||v81f16.Type =="CheckBox")&&v81f16.Checked)v85622 +="class='" +vf6452.CheckedItemStyle.Normal +"'"; if (v81f16.Tooltip !="")v85622 +=" title='" +v81f16.Tooltip +"'";  v85622 +=" style='width:" +(v8b832.ImageSize.Width+4)+"px; height:" +(v8b832.ImageSize.Width+4) +"px;text-align:center;padding-top:1px;margin-top:2px;margin-right:2px;";  if (IS.moz) v85622 +="display:-moz-inline-box;"; else if (!IS.ie) v85622 +="display:block;";  v85622 +="'>";  if ((v81f16.Type =="Radio" ||v81f16.Type =="CheckBox")&&v81f16.ImageURL =="") v81f16.UseFontImage =true;  if (v81f16.UseFontImage) { v85622 +="<span>";  var v8ae28 ="";  if (v81f16.Type =="Radio" &&v81f16.Checked) v8ae28 ="="; else if (v81f16.Type =="CheckBox" &&v81f16.Checked) v8ae28 ="a"; else v85622 +="<font face=Webdings style='font-size: 8pt'>" +v81f16.ImageURL +"</font>";  if (v8ae28 !="") v85622 +=wdf2e69.m5c878(vf6452,v8ae28);  v85622 +="</span>"; } else { v85622 +="<img align='absmiddle' width=" +v8b832.ImageSize.Width +" height=" +v8b832.ImageSize.Height +" ";  if (v81f16.ImageURL !="") { v85622 +="src='" +v81f16.ImageURL +"' ";  if (!v81f16.Enabled) v85622 +="style='filter:Alpha(Opacity=50), Gray()'"; } else v85622 +="style='visibility: hidden'";  v85622 +="/>"; } if (v81f16.HasSubMenu()) v85622 +="<span>" +wdf2e69.m5c878(vf6452,"6")+"</span>";  v85622 +="</span>";   return v85622; },  m0ab31:function(v7aa77) { var vcd971 =v7aa77.OwnerMenu; var v0f266 =vcd971.MenuControl; var v1a137 =v0f266.MenuStyleSettings; var vc3a81 =""; var vaa672 =v1a137.ItemStyle.Normal;  vc3a81 +="<tr type='MenuItem' name='" +v7aa77.Name +"'";  if (v7aa77.Tooltip !="") vc3a81 +=" title='" +v7aa77.Tooltip +"'";  if (!v7aa77.Visible) vc3a81 +=" style='display: none'";  vc3a81 +=">";  if (!v7aa77.Enabled) vaa672 =v1a137.DisabledItemStyle.Normal;  if (v7aa77.Type =="Separator") { vc3a81 +="<td></td>"; } else if (v7aa77.OwnerMenu.IconViewMode) { vc3a81 +="<td class='" +vaa672 +"' width=1 style='border-right-style: none; padding: 1px'><img style='visibility:hidden; width:1px; height:" +(v0f266.ImageSize.Height+4)+"' /></td>"; } else if (v7aa77.Type =="Custom") { vc3a81 +="<td class='" +v1a137.CustomStyle +"' colSpan=4>";  if (v7aa77.ImageURL !="") { vc3a81 +="<img align='absmiddle' "; vc3a81 +="src='" +v7aa77.ImageURL +"' "; vc3a81 +="/> &nbsp;"; }  vc3a81 +=v7aa77.Text +"</td>";  return vc3a81 +"</tr>"; } else { vc3a81 +="<td valign=absmiddle class='" +vaa672 +"' style='border-right-style: none; padding: 1px' "; if (!v7aa77.Enabled)vc3a81 +="disabled "; vc3a81 +=">";  vc3a81 +="<span ";  if ((v7aa77.Type =="Radio" ||v7aa77.Type =="CheckBox")&&v7aa77.Checked) { vc3a81 +="class='" + (v1a137.HighlightMode =="UseWebStyle" ? v1a137.CheckedItemStyle.Normal : "")+"'"; }  vc3a81 +=" style='width:" +(v1a137.IconCellWidth)+"px; height:" + (parseFloat(v0f266.ImageSize.Width)+4)+"px; text-align:center; padding-top:1px;";  if ((v7aa77.Type =="Radio" ||v7aa77.Type =="CheckBox")&&v7aa77.Checked &&v1a137.HighlightMode =="UseComplexImages") { vc3a81 +="background-image: url(" +wdf2e69.m75585(v1a137,"ActiveIconCell",true)+");" + "background-repeat: no-repeat; background-position: top left; margin-top: -1px; height: 22px;";  if (IS.ie) vc3a81 +="padding-top: 3px; padding-right: 3px"; }  if (IS.moz) vc3a81 +="display:-moz-inline-block;"; else if (IS.safari ||IS.opera) vc3a81 +="display:block;";  vc3a81 +="'>";  if ((v7aa77.Type =="Radio" ||v7aa77.Type =="CheckBox")&&v7aa77.ImageURL =="") v7aa77.UseFontImage =true;  if (v7aa77.UseFontImage) { vc3a81 +="<span>";  var ve9d24 ="";  if (v7aa77.Type =="Radio" &&v7aa77.Checked) ve9d24 ="="; else if (v7aa77.Type =="CheckBox" &&v7aa77.Checked) ve9d24 ="a"; else vc3a81 +="<font face=Webdings style='font-size: 8pt'>" +v7aa77.ImageURL +"</font>";  if (ve9d24 !="") vc3a81 +=wdf2e69.m5c878(v1a137,ve9d24);  vc3a81 +="</span>"; } else { var v3da86 ="";  if (v0f266.DrawImageBackground) v3da86 ="; background-color: " +v1a137.BackgroundStripColor;  vc3a81 +="<img align='absmiddle' width=" +v0f266.ImageSize.Width +" height=" +v0f266.ImageSize.Height +" ";  if (v7aa77.ImageURL !="") { vc3a81 +="src='" +v7aa77.ImageURL +"' ";  if (!v7aa77.Enabled) vc3a81 +="style='filter:" +(v0f266.SkipAlpha ? "" : "Alpha(Opacity=50),")+" Gray()" +v3da86 +"'"; } else vc3a81 +="style='visibility: hidden'";  vc3a81 +="/>"; }  vc3a81 +="</span>";  vc3a81 +="</td>"; }  if (v7aa77.Type =="Separator") { vc3a81 +="<td colSpan=3 noWrap style='padding-left:2px; padding-bottom:0px;padding-right:0px;padding-top:2px'><div ";  if (v1a137.SeparatorStyle !="") vc3a81 +="class='" +v1a137.SeparatorStyle +"' style='width:100%; font-size:0.01em;' "; else vc3a81 +="style='height:1px; width:100%; font-size:0.01em; border-top: gray 1px solid' ";  vc3a81 +="></div></td>";  } else { vc3a81 +="<td" +(v7aa77.Type =="Template" ? "" : " nowrap")+" class='" +vaa672 +"' style='border-left-style: none; padding-top: " +v1a137.ItemPadding +"px; padding-bottom: " +v1a137.ItemPadding +"px;"; vc3a81 +="border-right-style: none; padding-left: " +v1a137.ContentPadding +"px; padding-right: " +v1a137.ContentPadding +"px' "; if (!v7aa77.Enabled)vc3a81 +="disabled "; if (v7aa77.Tooltip !="")vc3a81 +="title='" +v7aa77.Tooltip +"' ";  vc3a81 +=">";  vc3a81 +=wdf2e69.m88988(v7aa77);  vc3a81 +="</td>"; vc3a81 +="<td align=right class='" +vaa672 +"' style='border-left-style: none; border-right-style: none; padding:" +v1a137.ItemPadding +"px; padding-left:" +(v1a137.ContentPadding+2)+"px' ";  if (!v7aa77.Enabled)vc3a81 +="disabled ";  vc3a81 +=">"; vc3a81 +=v7aa77.Shortcut.IsEmpty()? "&nbsp;" : v7aa77.Shortcut.GetString(); vc3a81 +="</td>"; vc3a81 +="<td class='" +vaa672 +"' style='border-left-style: none; padding:" +v1a137.ItemPadding +"px'>";  if (v7aa77.SubMenu.Items.length >0) vc3a81 +=wdf2e69.m5c878(v1a137,vcd971.IconViewMode ? "6" : "4"); else vc3a81 +="&nbsp;";  vc3a81 +="</td>"; }  vc3a81 +="</tr>";  return vc3a81; },  m88988:function(v6ec43) { var va0c68 =v6ec43.Text;  if (va0c68 =="") va0c68 ="&nbsp;"; else { if (v6ec43.AccessKey !="") { var v9ee71 =va0c68.toLowerCase(); var vca730 =v6ec43.AccessKey.toLowerCase();  if (v9ee71.indexOf(vca730)>-1) { var v95059 =v9ee71.indexOf(vca730); va0c68 =va0c68.substring(0,v95059)+"<u>" +va0c68.substring(v95059,v95059+1)+"</u>" +va0c68.substring(v95059+1); } } }  return va0c68; },  m1df10:function(vc6e93) { var v6ad62 =true; var v46669 =vc6e93.OwnerMenu.MenuControl; if (!vc6e93.Enabled ||v46669.ClassName ==null)return false;  if (vc6e93.Type =="CheckBox") { vc6e93.SetChecked(!vc6e93.Checked); } else if (vc6e93.Type =="Radio") { vc6e93.SetChecked(true); }  if (vc6e93.OnClick !=null) { if (typeof(vc6e93.OnClick)=="string") v6ad62 =ISEvent.Raise(vc6e93.OnClick,vc6e93); else if (typeof(vc6e93.OnClick)=="function") v6ad62 =vc6e93.OnClick(vc6e93);  if (!vc6e93.KeepMenuVisible) { if (v46669.HideAll) v46669.HideAll(); else return; } }  if (v6ad62 &&v46669.GetType()=="WebContextMenu") { v6ad62 =ISEvent.Raise(v46669.ClientSideEvents.OnMenuItemClick,v46669.Id,vc6e93); if (v46669.ClientSideEvents.OnMenuItemClick !="" &&v6ad62) { if (!vc6e93.KeepMenuVisible) { if (v46669.HideAll) v46669.HideAll(); else return; } } }  if (v6ad62 &&vc6e93.TargetURL !="") { if (vc6e93.TargetFrame =="") document.location.href =vc6e93.TargetURL; else { var v70849 =vc6e93.TargetFrame;  if (v70849 =="Blank" ||v70849 =="Parent" ||v70849 =="Search" || v70849 =="Self" ||v70849 =="Top" ||v70849 =="UseBase") v70849 ="_" +v70849.toLowerCase();  window.open(vc6e93.TargetURL,v70849); }  if (!vc6e93.KeepMenuVisible) vc6e93.OwnerMenu.MenuControl.HideAll(); }  if ((v6ad62 ||typeof(v6ad62)=="undefined")&&v46669.GetType()=="WebContextMenu" &&!v46669.IntegratedToBar) { var v2e685 =vc6e93.AutoPostBack; if (v2e685 =="Default")v2e685 =v46669.AutoPostBack; if (v2e685 =="Yes") { v46669.HideAll(); __doPostBack(v46669.ServerUniqueID,"ItemClick:" +wdf2e69.m01941(vc6e93)); } } }, m01941:function(vff268) { var v38848 =""; var vd4516 =vff268;  while(vd4516.Parent !=null &&vd4516._Type =="WebMenuItem") { v38848 =vd4516.Name +";" +v38848; vd4516 =vd4516.Parent; }  return v38848; },  ma1a19:function(veb943) { if (veb943 ==null ||veb943 ==window) veb943 =this;  var v34239 =veb943.Element; if (!v34239)return;  var ve8765 =veb943.GetDocument(); if (!ve8765 ||veb943.Popup ==null)return;  var v78e75 =veb943.GetContentWindow(); Listener.Unload(v34239); Listener.Unload(ve8765); Listener.Unload(v78e75); Listener.Unload(window); if (veb943.Popup) { ve8765.open("text/plain","replace"); ve8765.write(""); ve8765.close(); }  veb943.Popup =null; },  m06948:function(v06d34,v39663) { var v0ba98 =v06d34.GetMenuBodyElement().parentElement;  if (v39663 =="down") v0ba98.scrollTop +=20; else v0ba98.scrollTop -=20;  wdf2e69.m0f752(v06d34); },  m0f752:function(v10f53) { var v0ae70 =v10f53.GetMenuBodyElement().parentElement;  if (v0ae70.scrollTop ==0) v10f53.GetScrollElement("up").disabled =true; else v10f53.GetScrollElement("up").disabled =false;  if (v0ae70.scrollHeight -v0ae70.clientHeight <=v0ae70.scrollTop) v10f53.GetScrollElement("down").disabled =true; else v10f53.GetScrollElement("down").disabled =false; },  m8a33:function(vc8e9) { for (var veb089=0; veb089<vc8e9.Items.length; veb089++) { var v0ee42 =vc8e9.Items[veb089]; if (v0ee42.HasSubMenu()) { wdf2e69.m8a33(v0ee42.SubMenu); ISDeleteObject(v0ee42.SubMenu); } }  wdf2e69.ma1a19(vc8e9); vc8e9.Items =null; vc8e9.Items =new ISArray(); vc8e9.Items.Parent =vc8e9; vc8e9.ActiveItem =vc8e9.Element =null; vc8e9.ActiveItemIndex =-1; vc8e9.Initialized =false; },  m21427:function(v7090) { if (IS.ie &&v7090.MenuControl.MenuWindowType =="Popup") { var v9cb45 =IS.GetTempIFrame(); var vbbc21 =v9cb45.contentWindow.document; var v98164 =v7090.GetDocument().body.parentElement.outerHTML;  vbbc21.open("text/html","replace"); vbbc21.write(v98164); vbbc21.close();  v7090.RuntimeWidth =vbbc21.body.scrollWidth; v7090.RuntimeHeight =vbbc21.body.scrollHeight; } },  m4b775:function(v0eb95) { var vc3620 =v0eb95.OwnerMenu; var v50210 =null; var v36a16 =""; var v07399 =vc3620.GetMenuBodyElement(); var vbd399 =vc3620.GetDocument();  if (!vc3620._TempDiv) vc3620._TempDiv =vbd399.createElement("DIV");  v50210 =vc3620._TempDiv;  if (vc3620.IconViewMode &&v0eb95.IsUsingImageIconViewMode()) v36a16 =wdf2e69.m02f11(v0eb95); else v36a16 =wdf2e69.m0ab31(v0eb95);  v50210.innerHTML ="<table>" +v36a16 +"</table>"; el =v50210.children[0].rows[0]; v07399.tBodies[0].appendChild(el);  vc3620._NeedSizeRecalc =true;  return el; },  m3622:function(v2e925,vd9c66) { var vd8914 =wdf2e69.m4b775(v2e925); var v8788 =v2e925.OwnerMenu.Items[vd9c66]; var vc4b35 =v8788.GetElement();  if (vc4b35 !=null &&vd8914 !=null) { var v9b926 =vd8914.parentElement.parentElement; v9b926.moveRow(vd8914.rowIndex,vc4b35.rowIndex); } },  mf7060:function(v3fa64) { var v5e844 =v3fa64.OwnerMenu; var v98a76 =v3fa64.GetElement(); if (v98a76) v98a76.removeNode(true);  if (v3fa64.HasSubMenu()&&v3fa64.SubMenu.Popup !=null) v3fa64.SubMenu.Destroy();  v5e844._NeedSizeRecalc =true; },  m50980:function(vb4675,v75243) { var v9c60 =null;  if (v75243.GetType()=="WebContextMenu") v9c60 =v75243.RootMenu; else if (v75243.GetType()=="WebMenuItem") v9c60 =v75243.SubMenu; else if (v75243.GetType()=="WebMenu") v9c60 =v75243; for (var v81f55=0; v81f55<vb4675.length; v81f55++) { var v62258 =vb4675[v81f55];  v62258.OwnerMenu =v9c60;  v62258.Collection =v9c60.Items; v62258.Index =v81f55;  if (v62258.Items.length >0) wdf2e69.m50980(v62258.Items,v62258); } }};if (typeof(RegisterKeyboardHandler)=="function") RegisterKeyboardHandler(); if (typeof(Sys)!="undefined") Sys.Application.notifyScriptLoaded();