
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 2/25/2009 5:06:17 PM
// 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(v2f282){ this.ClassName ="WebMenuControlBase"; this.Version ="1.5.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.5"; this.RequiredFrameworkVersion ="2.0.5000.18"; ISControl.call(this,v2f282); 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 =v2f282; 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 wdd9f76.m92a0(this); };  this.CreateDefaultStyles =function() { wdd9f76.ma8e33(this); };  this.Destroy =function() { if (this.MenuWindowType =="Normal") { for (var vd0e62=0; vd0e62<this.RootMenu.Items.length; vd0e62++) { var v4ad93 =this.RootMenu.Items[vd0e62];  if (v4ad93.HasSubMenu()&&v4ad93.SubMenu.Popup !=null) v4ad93.SubMenu.Destroy(); }  this.RootMenu.Destroy(); } };  this.ApplyStyles =function() {  };  this.GetAllMenus =function() {  };  this.GetAllOpenMenus =function() {  };  this.SetIntegratedToDesktopManager =function() { wdd9f76.m42749(this); };  this.SetIntegratedToPlaceHolderManager =function() { wdd9f76.m3d438(this); };  this.CopyMenuSetting =function(v10082) { this.MenuAnimation =v10082.MenuAnimation; this.MenuAnimationMode =v10082.MenuAnimationMode; this.MenuDropShadow =v10082.MenuDropShadow; this.MenuWindowType =v10082.MenuWindowType; this.AnimationSpeed =v10082.AnimationSpeed; }; }function WebContextMenu(v14b37){ WebMenuControlBase.call(this,v14b37); 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 v75c18; for(v75c18 in this.Events) { if (typeof(this.Events[v75c18])=="string") this.ClientSideEvents[v75c18] =this.Events[v75c18]; } }  var v75b72 =ISXml.GetAttribute(this.XmlNode,"ImageSize");  if (v75b72 !="" &&v75b72 !=null) { this.ImageSize =new UnitSize(); this.ImageSize.Parse(v75b72); } }; this.ClearAll =function() { wdd9f76.m7d25(this.RootMenu); this.RootMenu.MenuControl =this; this.Items =this.RootMenu.Items; };  this.IsAllItemsInvisible =function(vaa521) { for (var vd0879=0; vd0879<vaa521.length; vd0879++) { if (vaa521[vd0879].Visible) return false; }  return true; };  this.Show =function(vc9121,vf9922) { if ((this.Items.length ==0 ||this.IsAllItemsInvisible(this.Items))&&!this.UseCustomContent) return;  if (typeof(vc9121)=="object") { vf9922 =vc9121.Y; vc9121 =vc9121.X; } this.RootMenu.Show(vc9121,vf9922); };  this.SetOffsetElement =function(v3af93) { this.RootMenu.OffsetElement =v3af93; };  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; }  wdd9f76.m7bf28(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(vac128){ 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 (vac128) { this.ParentMenuItem =vac128; }  this.IsOpen =function() { if (this.Popup) return this.Popup.isOpen; else return false; };  this.IsRootMenu =function() { return (this.ParentMenuItem ==null); };  this.GetGroupItems =function() { var vd6793 =new Array(); var v15c61 =null; for (var vaa231=0; vaa231<this.Items.length; vaa231++) { var v2dc70 =this.Items[vaa231]; if ((v2dc70.Text ==null ||v2dc70.Text =="" ||(v2dc70.Text !="" &&v2dc70.IconViewDisplayMode =="Image"))&&v2dc70.Type !="Separator" &&v2dc70.Type !="Custom") { if (v15c61 ==null ||(v15c61 !=null &&v15c61.constructor !=Array)) v15c61 =new ISArray();  v15c61.Add(v2dc70); } else { v15c61 =v2dc70; }  var vb5643 =this.Items[vaa231+1]; if (vb5643 &&(vb5643.Type =="Separator" ||vb5643.ImageURL =="" ||vb5643.ImageURL ==null ||(vb5643.ImageURL !="" &&vb5643.IconViewDisplayMode =="Text"))) { vd6793.push(v15c61); v15c61 =null; } else if (!vb5643) { vd6793.push(v15c61); } }  return vd6793; };  this.GetOpenSubMenu =function() { for (var vaa231=0; vaa231<this.Items.length; vaa231++) { var v2dc70 =this.Items[vaa231]; if (v2dc70.HasSubMenu()&&v2dc70.Enabled &&v2dc70.IsSubMenuOpen()) { return v2dc70; } }  return null; };  this.GetId =function() { var v81795 =this.MenuControl.Id +"_"; var vcb479 =""; var vc954 =""; var v45874 =this.ParentMenuItem; var v4b785 =new Array();  while (v45874 !=null) { v4b785.push(v45874.Name); v45874 =v45874.OwnerMenu.ParentMenuItem; } v4b785.reverse();  for(var vaa231=0; vaa231<v4b785.length; vaa231++) vc954 =v4b785[vaa231] +"_";  vcb479 =v81795 +vc954;  return vcb479; };  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 v34664 =this.GetDocument(); if (v34664) return v34664.getElementById(this.GetId()+"_body"); else return null; };  this.GetMenuContainerElement =function() { var v34664 =this.GetDocument(); if (v34664) return v34664.getElementById(this.GetId()+"_container"); else return null; };  this.GetScrollElement =function(v07612) { var v34664 =this.GetDocument(); return v34664.getElementById(this.GetId()+"_scroll_" +v07612); };  this.GetSelectedItemByGroup =function(ve8548) { for (var vaa231=0; vaa231<this.Items.length; vaa231++) { var v2dc70 =this.Items[vaa231];  if (v2dc70.Type =="Radio" &&v2dc70.GroupName ==ve8548 &&v2dc70.Checked) return v2dc70; }  return null; };  this.Destroy =function() { var v7c711 =this.Element;  if (v7c711) Listener.Unload(v7c711);  if (this.Popup) { if (this.MenuControl.MenuWindowType =="Popup") { var ved215 =this.GetDocument(); ved215.open("text/plain","replace"); ved215.write(""); ved215.close(); this.Popup =null; } else { document.body.removeChild(this.Popup._e); ISDeleteObject(this.Popup); } } };  this.Show =function(vfaa48,va4a95) { if (!this.Initialized) { wdd9f76.m60923(this); }  wdd9f76.m16a76(this,vfaa48,va4a95); };  this.Initialize =function() { if (!this.Initialized) { wdd9f76.m60923(this); } };  this.InstantiateIn =function(v7c711) { this.Initialize();  if (this.MenuControl.MenuWindowType !="Normal") { alert("InstantiateIn method can only be used with Normal MenuWindowType"); return; } v7c711.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 vfe620 =this.GetOpenSubMenu(); if (vfe620) vfe620.SubMenu.Hide(); }  if (IS.ie &&this.MenuControl.MenuWindowType =="Normal") { if (this.ParentMenu !=null) this.ParentMenu.SetActive(); }  if (this.MenuControl.MenuAnimation) { var v7a383 =this.MenuControl.AnimatedObj.IntervalId;  if (v7a383 >0) { clearTimeout(v7a383); this.MenuControl.AnimatedObj.IntervalId =-1; }  wdd9f76.m6b413(this); } };  this.GetDocumentEvent =function() { return this.GetDocument().parentWindow.event; };  this.GetContentWindow =function() { return this.GetDocument().parentWindow; };  this.Invalidate =function() { };  this.GetStripElement =function() { var vdd464 =this.MenuControl; var ve2f68 =vdd464.MenuStyleSettings; if (ve2f68.HasBackgroundStrip &&!this.IconViewMode) { var v34664 =this.GetDocument(); if (v34664) return v34664.getElementById(this.GetId()+"_strip"); }  return null; };   this.SetActive =function() { if (IS.ie) { try { this.Element.setActive(); } catch(e) { } } };  this.GetRootMenu =function() { var v5f915 =this.ParentMenu;  if (v5f915 ==null) return this;  while (true) { if (v5f915.ParentMenu ==null) return v5f915; else v5f915 =v5f915.ParentMenu; }  return null; };  this.SetDirty =function() { this._NeedSizeRecalc =true; };  this.GetItem =function(vc4367) { return this.Items.GetNamedItem(vc4367); };  this.Clear =function() { wdd9f76.m7d25(this); };  this.SetHeight =function(va8367) { var v7c711 =this.GetElement(); v7c711.style.height =va8367; };}function WebMenuSeparatorItem(v1af3){ WebMenuItem.call(this);  if (v1af3) this.Name =v1af3;  this.Type ="Separator";}function WebMenuRadioItem(vf9b3,v77c74,vf5310,vc3436,v71c73,v86418,v94b29){ WebMenuItem.call(this,vf9b3,vf5310,vc3436,v71c73,v86418);  this.Type ="Radio";  if (v77c74) this.GroupName =v77c74;  if (v94b29) this.Checked =v94b29;}function WebMenuCheckBoxItem(vd2b42,vd2b93,v68b44,v24960,v89b72,vfd236){ WebMenuItem.call(this,vd2b42,vd2b93,v68b44,v24960,v89b72);  this.Type ="CheckBox";  if (vfd236) this.Checked =vfd236;}function WebMenuItem(vead85,v54080,ve2334,v48644,v52b34){ 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 (vead85) this.Name =vead85;  if (v54080) this.Text =v54080;  if (ve2334) this.ImageURL =ve2334;  if (v48644) this.OnClick =v48644;  if (v52b34) this.Shortcut =v52b34;  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) wdd9f76.m8d029(this);  this.Collection.ReindexPosition(); };  this.OnInsert =function(vb0496) { this.OwnerMenu =this.Parent; this.Collection =this.OwnerMenu.Items;  if (this.OwnerMenu.Element !=null) wdd9f76.m5b320(this,vb0496);  this.Collection.ReindexPosition(); };  this.OnRemove =function() { if (this.OwnerMenu.Element !=null) wdd9f76.mffe82(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 v05097 =this.OwnerMenu.GetMenuBodyElement().parentElement; var vf0372 =this.GetElement(); var v61429 =v05097.scrollTop; var vce163 =v05097.clientHeight; var v6e494 =vf0372.offsetTop; var v88644 =vf0372.offsetHeight;  if (v6e494 <v61429 ) v05097.scrollTop =v6e494; else if (v6e494 +v88644 >v61429 +vce163 ) v05097.scrollTop =v6e494 +v88644 -vce163; };  this.GetElement =function() { if (!this.Element) { var v8c613 =this.OwnerMenu.GetMenuBodyElement(); var v50332 =this.OwnerMenu;  if (v8c613) { if (v50332.IconViewMode) { for (var v47351=0; v47351<v8c613.rows.length; v47351++) { var v05494 =v8c613.rows[v47351];  if (this.IsUsingImageIconViewMode()) { if (IS.GetAttr(v05494,"type")=="GroupItem") { var v66716 =v05494.cells[1]; for(var v2fb92=0; v2fb92<v66716.children.length; v2fb92++) { var vbd919 =v66716.children[v2fb92]; if (IS.GetAttr(vbd919,"name")==this.Name) { this.Element =vbd919; break; } } } } else { if (IS.GetAttr(v05494,"name")==this.Name) { this.Element =v05494; break; } } } } else { for (var v47351=0; v47351<v8c613.rows.length; v47351++) { var v05494 =v8c613.rows[v47351]; if (IS.GetAttr(v05494,"name")==this.Name) { this.Element =v05494; break; } } } } } return this.Element; };  this.HasSubMenu =function() { return (this.Items.length >0); };  this.Click =function() { wdd9f76.mddb90(this); };  this.GetPreviousSelectableItem =function() { var v5c171 =this.Index-1;  if (v5c171 <0) v5c171 =this.Collection.length-1;  var v35e29 =this.Collection[v5c171];  if (v35e29) { if (v35e29.Visible &&v35e29.Type !="Separator" &&v35e29.Type !="Custom") return v35e29; else return v35e29.GetPreviousSelectableItem(); }  return null; };  this.GetNextSelectableItem =function() { var vacc28 =this.Index+1; if (vacc28 >(this.Collection.length-1)) vacc28 =0; var v35e29 =this.Collection[vacc28];  if (v35e29) { if (v35e29.Visible &&v35e29.Type !="Separator" &&v35e29.Type !="Custom") return v35e29; else return v35e29.GetNextSelectableItem(); }  return null; };  this.SetChecked =function(ve4879,v34178) { var vf0372 =this.GetElement(); var v66716; var vbd919; var v9ab68;  if (typeof(ve4879)=="undefined")ve4879 =true; if (this.Type =="Radio" &&ve4879) { var v54a59 =this.OwnerMenu.GetSelectedItemByGroup(this.GroupName);  if (v54a59 &&v54a59 ==this) return false;  if (v54a59) v54a59.SetChecked(false); } this.Checked =ve4879;  if (!vf0372)return;  if (vf0372.tagName =="TR") { v66716 =vf0372.cells[0]; vbd919 =v66716.children[0];  if (IS.ie ||IS.moz) v9ab68 =vbd919.children[0].children[0]; else v9ab68 =vbd919.children[0]; } else if (vf0372.tagName =="SPAN"){ vbd919 =vf0372;  if (IS.ie ||IS.moz) v9ab68 =vbd919.children[0].children[0]; else v9ab68 =vbd919.children[0]; }  var ve6875 =this.OwnerMenu.MenuControl.MenuStyleSettings; if (this.Checked) { if (this.UseFontImage) { v9ab68.innerHTML =wdd9f76.m0942(ve6875,this.Type =="CheckBox" ? "a" :  this.Type =="Radio" ? "=" : ""); if (IsGecko30()&&v9ab68.tagName =="IMG") v9ab68.style.display =""; }  if (ve6875.HighlightMode =="UseWebStyle") { if (!v34178) DynamicStyleEngine.SetToOverStyle(null,ve6875.CheckedItemStyle,vbd919); else DynamicStyleEngine.SetToStyle(null,ve6875.CheckedItemStyle,vbd919); } else { with (vbd919.style) { backgroundImage ="url(" +wdd9f76.m4bd43(ve6875,"ActiveIconCell",true)+")"; backgroundRepeat ="no-repeat"; backgroundPosition ="top left"; marginTop ="-1px"; height ="22px";  if (IS.ie) { paddingTop ="3px"; paddingRight ="3px"; } } } } else { if (this.UseFontImage) { v9ab68.innerHTML =""; if (IsGecko30()&&v9ab68.tagName =="IMG") v9ab68.style.display ="none"; }  vbd919.className =""; vbd919.style.backgroundImage ="none"; } };  this.Enable =function() { if (this.Enabled) return;  var vc3338 =this.GetElement(); var vb8999 =this.OwnerMenu.MenuControl.MenuStyleSettings.ItemStyle;  if (vc3338) { if (this.OwnerMenu.IconViewMode) { } else { for (var v47351=0; v47351<vc3338.cells.length; v47351++) { var v66716 =vc3338.cells[v47351]; v66716.disabled =false; DynamicStyleEngine.SetToStyle(null,vb8999,v66716); } }  if (this.ImageURL !="") { var vd7967 =this.GetImageElement();  vd7967.style.filter =""; vd7967.style.backgroundColor =""; } }  this.Enabled =true; };  this.Disable =function() { if (!this.Enabled) return; var vc3338 =this.GetElement(); var v8be34 =this.OwnerMenu.MenuControl; var vb8999 =this.OwnerMenu.MenuControl.MenuStyleSettings.DisabledItemStyle; if (vc3338) { if (this.OwnerMenu.IconViewMode) { } else { for (var v47351=0; v47351<vc3338.cells.length; v47351++) { var v66716 =vc3338.cells[v47351]; v66716.disabled =true; DynamicStyleEngine.SetToStyle(null,vb8999,v66716); } }  if (this.ImageURL !="") { var vd7967 =this.GetImageElement();  vd7967.style.filter =(this.OwnerMenu.MenuControl.SkipAlpha ? "" : "Alpha(Opacity=50),")+"Gray()"; if (v8be34.DrawImageBackground) vd7967.style.backgroundColor =v8be34.MenuStyleSettings.BackgroundStripColor; } }  this.Enabled =false; };  this.Show =function() { if (this.Visible) return; var vc3338 =this.GetElement(); if (vc3338) vc3338.style.display ="";  this.Visible =true; };  this.Hide =function() { if (!this.Visible) return; var vc3338 =this.GetElement(); if (vc3338) vc3338.style.display ="none";  this.Visible =false; };  this.GetContentElement =function() { var vc3338 =this.GetElement(); if (vc3338.tagName =="TR") return vc3338.cells[1];  return null; };  this.SetText =function(v54080) { var vc3338 =this.GetElement(); if (vc3338) { if (vc3338.tagName =="TR") { var v06b20 =vc3338.cells[1]; v06b20.innerHTML =v54080; } }  this.Text =v54080; };  this.GetImageElement =function() { var vc3338 =this.GetElement(); if (vc3338) { if (vc3338.tagName =="TR") { var v06b20 =vc3338.cells[0]; return v06b20.children[0].children[0]; } else if (vc3338.tagName =="SPAN") { return vc3338.children[0]; } } };  this.SetImage =function(va0f51) { var vc3338 =this.GetElement(); if (vc3338) { if (vc3338.tagName =="TR") { var v06b20 =vc3338.cells[0]; v06b20.children[0].src =va0f51; } else if (vc3338.tagName =="SPAN") { vc3338.children[0].src =va0f51; } }  this.ImageURL =va0f51; };  this.Destroy =function() { var vc3338 =this.GetElement(); if (vc3338) Listener.Unload(vc3338); };   this.Delete =function() { this.Collection.Remove(this); };  this.Unselect =function() { if (this.Type =="Separator") return;  wdd9f76.m25c12(this); };  this.IsSelected =function() { return (this.OwnerMenu.ActiveItem ==this); };  this.Select =function(veb435) { if (this.Type =="Separator") return;  if (this.IsSelected()) return; if (typeof(veb435)=="undefined") veb435 =true;  if (veb435) { if (this.ActiveItem) wdd9f76.m25c12(this.ActiveItem); }  wdd9f76.md645(this); };  this.IsSubMenuOpen =function() { return this.SubMenu.IsOpen(); };  this.HideSubMenuQueue =function() { if (this.HasSubMenu()&&this.IsSubMenuOpen()) { var v50332 =this.SubMenu; this.CloseQueueId =setTimeout(function(){if (v50332.ParentMenuItem.InHideQueue())v50332.Hide();},this.OwnerMenu.MenuControl.ShowDelay); } };  this.ShowSubMenu =function(vcb471) { if (this.HasSubMenu()) { var v50332 =this.SubMenu; v50332.MenuControl =this.OwnerMenu.MenuControl; v50332.ParentMenu =this.OwnerMenu; v50332.OffsetElement =this.GetElement(); v50332.Show();   if (vcb471) { var v63a53 =v50332.Items[0];   if (v63a53 &&(v63a53.Type =="Custom" ||v63a53.Type =="Separator")) v63a53 =v63a53.GetNextSelectableItem();  if (v63a53) v63a53.Select();  } } };  this.ShowSubMenuQueue =function(v5db54,vcb471) { if (this.HasSubMenu()) { var v50332 =this.SubMenu; var vd0278 =this.OwnerMenu.MenuControl.ShowDelay; v50332.MenuControl =this.OwnerMenu.MenuControl; v50332.ParentMenu =this.OwnerMenu; v50332.OffsetElement =this.GetElement();  if (v5db54)vd0278 =1;  this.QueueId =setTimeout(function() { v50332.Show();   if (vcb471) { var v63a53 =v50332.Items[0];   if (v63a53 &&(v63a53.Type =="Custom" ||v63a53.Type =="Separator")) v63a53 =v63a53.GetNextSelectableItem();  if (v63a53) v63a53.Select();  } },vd0278); } };  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(v73246){ var vd1d26 =new WebContextMenu(v73246);  var v0346 =null; try {v0346 =ISXml.GetNode(vd1d26.XmlDt,"//WebContextMenu"); }catch(e){} if (v0346 ==null)v0346 =vd1d26.XmlDt.documentElement;  if (v0346!=null) { IS.SetPropertiesRecursive(vd1d26,v0346); var v72942 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"]; DynamicStyleEngine.AssignFromArray(vd1d26.MenuStyleSettings,vd1d26.MenuStyleSettings.XmlNode,v72942); }  ISEvent.Raise(vd1d26.ClientSideEvents.OnInitialize,v73246);  window.attachEvent("onload",function(){OnContextMenuLoad(vd1d26);}); window.attachEvent("onunload",function(){OnContextMenuUnload(vd1d26);});}function OnContextMenuUnload(v68781){ window.detachEvent("onload",function(){OnContextMenuLoad(v68781);}); window.detachEvent("onunload",function(){OnContextMenuUnload(v68781);});}function OnContextMenuLoad(v8ab1){ if (v8ab1.ControlId !="") { var v4d981 =null;  if (v8ab1.ControlId =="Page") v4d981 =document.body; else v4d981 =ISGetObject(v8ab1.ControlId);  if (!v4d981)v4d981 =document.getElementById(v8ab1.ControlId);  if (!v4d981) { v4d981 =document.getElementsByName(v8ab1.ControlId); if (v4d981 &&v4d981.length >0) v4d981 =v4d981[0]; } if (v4d981 &&v4d981.tagName) { if (v8ab1.ControlId !="Page") v8ab1.SetOffsetElement(v4d981); Listener.Add(v4d981,"oncontextmenu",function(){OnGenericControlContextMenu(v8ab1); return false;}); } else if (v4d981 &&v4d981.ClassName &&v4d981.FrameObj) { var vbdd85 =v4d981.FrameObj; Listener.Add(vbdd85,"oncontextmenu",function(){OnISControlContextMenu(v8ab1); return false;}); } }  if (v8ab1.IntegratedTo =="None") v8ab1.CreateDefaultStyles(); else if (v8ab1.IntegratedTo =="DesktopManager") v8ab1.SetIntegratedToDesktopManager(); else v8ab1.SetIntegratedToPlaceHolderManager();}function OnISControlContextMenu(vfaa20){ event.cancelBubble =true; event.returnValue =false;  var v2f485 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var v76a35 =(IS.ie)? event.screenY : event.clientY +window.screenTop; if (IS.ie &&vfaa20.MenuWindowType =="Normal") { v2f485 -=window.screenLeft; v76a35 -=window.screenTop; } vfaa20.Show(v2f485,v76a35);}function OnGenericControlContextMenu(v42b20){ event.cancelBubble =true; event.returnValue =false; var v11120 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var vb314 =(IS.ie)? event.screenY : event.clientY +window.screenTop;  if (IS.ie &&v42b20.MenuWindowType =="Normal") { v11120 -=window.screenLeft; vb314 -=window.screenTop; }  if (v42b20.ControlId =="Page") v42b20.Show(v11120,vb314); else v42b20.Show();}var wdd9f76 ={ m60923:function(v0c067) { var v6b867 =wdd9f76.mfe183(v0c067); wdd9f76.mace81(v0c067,v6b867); wdd9f76.mdfb12(v0c067); v0c067.Initialized =true; },  mdfb12:function(v10b87) { var v4fe3 =v10b87.Element; var vdb222 =v10b87.GetDocument(); var v3af55 =window; if (v4fe3) { if (!v10b87.MenuControl.UseCustomContent) { Listener.Add(v4fe3,"onmouseover",wdd9f76.mf2548,v10b87); Listener.Add(v4fe3,"onmouseout",wdd9f76.mf2548,v10b87); Listener.Add(v4fe3,"onmousedown",wdd9f76.mf2548,v10b87); Listener.Add(v4fe3,"onmouseup",wdd9f76.mf2548,v10b87); Listener.Add(v4fe3,"onmousewheel",wdd9f76.m40336,v10b87); }  Listener.Add(v4fe3,"onselectstart",wdd9f76.md4044,v10b87); Listener.Add(v3af55,"onunload",wdd9f76.ma2617,v10b87); Listener.Add(v4fe3,"oncontextmenu",wdd9f76.m75d20,v10b87); if (v10b87.MenuControl.MenuWindowType =="Popup") Listener.Append(0,vdb222,"onkeydown",wdd9f76.m92338,v10b87); else Listener.Add(v4fe3,"onkeydown",wdd9f76.m92338,v10b87); } },  ma1647:function(vf8a42,vba141) { if (!IS.GetCssObject(null,vba141)) { var v3e023 =vf8a42.GetCssObject(vba141);  var vf6a32 =IS.GetRuntimeStyleSheetExact(); if (v3e023) { if (IS.ie) vf6a32.addRule(v3e023.selectorText,v3e023.style.cssText); else vf6a32.innerHTML +=v3e023.selectorText +" { " +v3e023.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",  ma8e33:function(v8d478) { var vd8778 =v8d478.MenuStyleSettings; IS.AddRuntimeCssStyle(vd8778.FrameStyle,wdd9f76.DefaultFrameStyle); IS.AddRuntimeCssStyle(vd8778.ItemStyle.Normal,wdd9f76.DefaultItemNormalStyle); IS.AddRuntimeCssStyle(vd8778.ItemStyle.Over,wdd9f76.DefaultItemOverStyle); IS.AddRuntimeCssStyle(vd8778.CheckedItemStyle.Normal,wdd9f76.DefaultCheckedNormalStyle); IS.AddRuntimeCssStyle(vd8778.CheckedItemStyle.Over,wdd9f76.DefaultCheckedOverStyle); IS.AddRuntimeCssStyle(vd8778.DisabledItemStyle.Normal,wdd9f76.DefaultDisabledNormalStyle); IS.AddRuntimeCssStyle(vd8778.DisabledItemStyle.Over,wdd9f76.DefaultDisabledOverStyle); IS.AddRuntimeCssStyle(vd8778.SeparatorStyle,wdd9f76.DefaultSeparatorStyle);  if (vd8778.CustomStyle !="") IS.AddRuntimeCssStyle(vd8778.CustomStyle,wdd9f76.DefaultCustomStyle); },  m42749:function(ve0a62) { var v19c62 =ISGetDesktopManager(); if (!v19c62) { alert("Can't integrate to DesktopManager because no DesktopManager instance were found!"); ve0a62.CreateDefaultStyles(); return; }  if (!v19c62.MenuStyles.Application) { alert("Integration failed because ContextMenu is currently disabled in DesktopManager. Please set EnableContextMenu to true."); ve0a62.CreateDefaultStyles(); return; }  ve0a62.MenuStyleSettings.CopyFrom(v19c62.MenuStyles.Application); ve0a62.MenuStyleSettings.Parent =ve0a62; ve0a62.MenuStyleSettings.OnPropertiesInitialized();  wdd9f76.me6722(v19c62,ve0a62.MenuStyleSettings); },  m3d438:function(vaf433) { var v5fa98 =ISGetPlaceHolderManager(); if (v5fa98) { v5fa98.IntegrateMenuControl(vaf433); wdd9f76.me6722(v5fa98,vaf433.MenuStyleSettings); } },  me6722:function(vf8333,v81e90) { if (!wdd9f76.ma1647(vf8333,v81e90.FrameStyle)) IS.AddRuntimeCssStyle(v81e90.FrameStyle,wdd9f76.DefaultFrameStyle); if (!wdd9f76.ma1647(vf8333,v81e90.ItemStyle.Normal)) IS.AddRuntimeCssStyle(v81e90.ItemStyle.Normal,wdd9f76.DefaultItemNormalStyle); if (!wdd9f76.ma1647(vf8333,v81e90.ItemStyle.Over)) IS.AddRuntimeCssStyle(v81e90.ItemStyle.Over,wdd9f76.DefaultItemOverStyle); if (!wdd9f76.ma1647(vf8333,v81e90.CheckedItemStyle.Normal)) IS.AddRuntimeCssStyle(v81e90.CheckedItemStyle.Normal,wdd9f76.DefaultCheckedNormalStyle); if (!wdd9f76.ma1647(vf8333,v81e90.CheckedItemStyle.Over)) IS.AddRuntimeCssStyle(v81e90.CheckedItemStyle.Over,wdd9f76.DefaultCheckedOverStyle); if (!wdd9f76.ma1647(vf8333,v81e90.DisabledItemStyle.Normal)) IS.AddRuntimeCssStyle(v81e90.DisabledItemStyle.Normal,wdd9f76.DefaultDisabledNormalStyle); if (!wdd9f76.ma1647(vf8333,v81e90.DisabledItemStyle.Over)) IS.AddRuntimeCssStyle(v81e90.DisabledItemStyle.Over,wdd9f76.DefaultDisabledOverStyle); if (!wdd9f76.ma1647(vf8333,v81e90.SeparatorStyle)) IS.AddRuntimeCssStyle(v81e90.SeparatorStyle,wdd9f76.DefaultSeparatorStyle); if (!wdd9f76.ma1647(vf8333,v81e90.CustomStyle)) IS.AddRuntimeCssStyle(v81e90.CustomStyle,wdd9f76.DefaultCustomStyle); },  md4044:function() { var va0033 =this.GetDocumentEvent(); var vd9990 =va0033.srcElement; var vac192 =vd9990.tagName; var vc7171 =true;  switch (vac192) { case "INPUT": case "SELECT": case "TEXTAREA": { vc7171 =false; } } if (vc7171) { va0033.cancelBubble =true; va0033.returnValue =false; } },  m75d20:function() { this.GetDocumentEvent().returnValue =false; },  m92338:function(v60c94,vce525) { var v05473 =this;  if (v60c94 !=window &&typeof(v60c94)=="object" &&v60c94.GetType) v05473 =v60c94; var v1269 =v05473.GetDocumentEvent(); if (vce525)v1269 =vce525;  var v31126 =v1269.srcElement; var vb4d95 =wdd9f76.m9823(v31126); var v9c469 =v1269.keyCode; var v13e83 =false;  if (v05473.IconViewMode) { if (v9c469 ==ISKeyboardKey.LEFT) v9c469 =ISKeyboardKey.UP;  if (v9c469 ==ISKeyboardKey.RIGHT) v9c469 =ISKeyboardKey.DOWN; }  switch (v9c469) { case ISKeyboardKey.ESC: { if (v05473.ActiveItem) v05473.ActiveItem.OwnerMenu.Hide();  break; } case ISKeyboardKey.UP: { var v1810 =v05473.ActiveItem;  if (!v1810 &&v05473.Items.length >0) v1810 =v05473.Items[0];  if (v1810) { var veac42 =v1810.GetPreviousSelectableItem(); if (veac42) veac42.Select();  if (v05473.ScrollEnabled) { veac42.ScrollIntoView(); wdd9f76.m55940(v05473); }  v13e83 =true; } break; } case ISKeyboardKey.DOWN: { var v1810 =v05473.ActiveItem; if (!v1810 &&v05473.Items.length >0) v1810 =v05473.Items[v05473.Items.length-1];  if (v1810) { var ve918 =v1810.GetNextSelectableItem(); if (ve918) ve918.Select();  if (v05473.ScrollEnabled) { ve918.ScrollIntoView(); wdd9f76.m55940(v05473); } v13e83 =true; } break; } case ISKeyboardKey.LEFT: { var v1810 =v05473.ActiveItem; if (v1810) { if (v1810.OwnerMenu.ParentMenu !=null) { v05473.Hide(); v13e83 =true; } else wdd9f76.m8f561(v9c469,v1810); } break; } case ISKeyboardKey.RIGHT: { var v1810 =v05473.ActiveItem; if (v1810) { if (v1810.Enabled &&v1810.Visible &&v1810.HasSubMenu()) { v1810.OwnerMenu.MenuControl.SkipAnimation =true; v1810.ShowSubMenuQueue(true,true); } else wdd9f76.m8f561(v9c469,v1810); }  v13e83 =true; break; } case ISKeyboardKey.ENTER: { var v1810 =v05473.ActiveItem; if (v1810) { if (v1810.HasSubMenu()) { v1810.ShowSubMenuQueue(true,true); } else { if (v1810.Enabled) v1810.Click(); } v13e83 =true; } break; } default: { var v3fd86 =String.fromCharCode(v9c469).toLowerCase(); var ve6548 =v05473.Items; var vda495 =ve6548.length;  for (var vfd991 =0; vfd991 <vda495; vfd991++) { if (ve6548[vfd991].AccessKey ==v3fd86 &&ve6548[vfd991].Enabled &&ve6548[vfd991].Type !="Separator" &&ve6548[vfd991].Type !="Custom") { ve6548[vfd991].Select(); ve6548[vfd991].Click(); v13e83 =true; break; } } } }  if (v13e83) { v1269.cancelBubble =true; v1269.returnValue =false; } },  m8f561:function(v16797,v8a475) { if (v8a475.Parent!=null) { var v50178 =v8a475.Parent.MenuControl; if (v50178 &&v50178.ClassName=="WebMenuBar") { var v56d66 =v50178.OnMenuKeyDown; if (typeof(v56d66)=="string") ISEvent.Raise(v56d66,v16797,v8a475); else if (typeof(v56d66)=="function") v56d66(v16797,v8a475); } }  },  m40336:function(v34889) { var vab869 =this;  if (vab869.ScrollEnabled) { var v3d014 =vab869.GetMenuBodyElement().parentElement; var v64819 =vab869.GetDocumentEvent(); if (v34889) v64819 =v34889;  v3d014.scrollTop -=3 *v64819.wheelDelta /120 *20; wdd9f76.m55940(vab869);  v64819.cancelBubble =true; v64819.returnValue =false; } },  mf2548:function(v0a274,va6571) { var v3f224 =this;  if (v0a274 !=window &&typeof(v0a274)=="object" &&v0a274.GetType) v3f224 =v0a274;  var v22f93 =v3f224.GetDocumentEvent(); if (va6571)v22f93 =va6571;  var vc5f4 =v22f93.srcElement; var vbe375 =wdd9f76.m9823(vc5f4); if (vbe375 =="") { if (v3f224.IconViewMode) { var v7341 =wdd9f76.ma2067(vc5f4); if (v7341 ==null)vc5f4 =wdd9f76.me6b20(vc5f4); else vc5f4 =v7341;  vbe375 =wdd9f76.m9823(vc5f4); } else { vc5f4 =wdd9f76.me6b20(vc5f4); vbe375 =wdd9f76.m9823(vc5f4); } }  if (vbe375 =="") { if (vc5f4 !=null &&v3f224.GetElement().contains(vc5f4)) { vc5f4.cancelBubble =true; v22f93.cancelBubble =true; v22f93.returnValue =false; } return; }  switch (v22f93.type) { case "mouseover": if (vbe375 =="MenuItem") { var v14836 =wdd9f76.m83a57(vc5f4); var va6f24 =v3f224.Items.GetNamedItem(v14836); if ((!va6f24.Enabled &&!v3f224.MenuControl.MenuStyleSettings.HighlightDisabledItem)||va6f24.Type =="Custom") { wdd9f76.mb9373(v3f224,va6f24); return; }  va6f24.Select(false);  if (va6f24.HasSubMenu()&&!va6f24.IsSubMenuOpen()&&!va6f24.InShowQueue()&&va6f24.Enabled) { if (v3f224.MenuControl.MenuWindowType =="Normal") { wdd9f76.mb9373(v3f224,va6f24); } va6f24.OwnerMenu.MenuControl.SkipAnimation =false; va6f24.ShowSubMenuQueue(); } else if (va6f24.HasSubMenu()&&va6f24.IsSubMenuOpen()) { if (va6f24.InHideQueue()) { va6f24.CancelHide(); } } else { wdd9f76.mb9373(v3f224,va6f24); }  if (v3f224.ParentMenuItem !=null) { if (v3f224.ParentMenuItem.InHideQueue()) v3f224.ParentMenuItem.CancelHide(); } } else if (vbe375 =="ScrollUp") { v3f224.ScrollInterval =setInterval(function(){wdd9f76.m78b17(v3f224,"up");},100); } else if (vbe375 =="ScrollDown") { v3f224.ScrollInterval =setInterval(function(){wdd9f76.m78b17(v3f224,"down");},100); } break; case "mouseout": if (vbe375 =="MenuItem") { var v14836 =wdd9f76.m83a57(vc5f4); var va6f24 =v3f224.Items.GetNamedItem(v14836); var vb4d50 =v22f93.toElement; var v26d94 =v3f224.GetElement();  if ((!va6f24.Enabled &&!v3f224.MenuControl.MenuStyleSettings.HighlightDisabledItem)||va6f24.Type =="Custom") return; if (v3f224.ActiveItem !=null &&v3f224.ActiveItem !=va6f24 &&vb4d50 !=null) v3f224.ActiveItem.Unselect();  if (v3f224.ActiveItem !=null &&v3f224.ActiveItem.GetElement().contains(vb4d50)) return;  if (v26d94.contains(vb4d50)) va6f24.Unselect();  if (va6f24.HasSubMenu()&&va6f24.InShowQueue()) va6f24.CancelShow(); } else if (vbe375 =="ScrollUp") { if (v3f224.ScrollInterval >0) clearInterval(v3f224.ScrollInterval); } else if (vbe375 =="ScrollDown") { if (v3f224.ScrollInterval >0) clearInterval(v3f224.ScrollInterval); } break;  case "mousedown": if (!IS.ie ||v3f224.MenuControl.MenuWindowType =="Normal") { v22f93.srcElement.cancelBubble =true; v22f93.cancelBubble =true; v22f93.returnValue =false; } break; case "mouseup": if (vbe375 =="MenuItem") { var v14836 =wdd9f76.m83a57(vc5f4); var va6f24 =v3f224.Items.GetNamedItem(v14836); var vb4d50 =v22f93.toElement; var v26d94 =v3f224.GetElement(); var vef543 =v3f224.MenuControl;  if (!va6f24.Enabled) return;  if (vef543.MenuAnimation &&vef543.AnimatedObj !=null &&vef543.AnimatedObj.IntervalId >0) return; if (IS.moz) { v22f93.cancelBubble =true; v22f93.returnValue =false; }  if (va6f24.HasSubMenu()&&!va6f24.IsSubMenuOpen()&&va6f24.Enabled) { if (va6f24.InShowQueue()) va6f24.CancelShow();  if (!va6f24.IsSubMenuOpen()) va6f24.ShowSubMenuQueue(true);  if (v3f224.MenuControl.MenuWindowType =="Normal") wdd9f76.mb9373(v3f224,va6f24,true); } else if (!va6f24.HasSubMenu()) { if (va6f24.Type !="Custom" &&va6f24.Type !="Separator") { va6f24.Click(); } } } break; } },  mb9373:function(v0ae30,v74350,vf9994) { var vaa094 =v0ae30.GetOpenSubMenu(); if (vaa094 &&vaa094 !=v74350) { if (vf9994) vaa094.SubMenu.Hide(); else vaa094.HideSubMenuQueue(); } },  m9823:function(v97749) { if (!v97749)return "";  if (v97749.tagName =="TD") { var v09049 =v97749.parentElement; if (IS.GetAttr(v09049,"type")=="MenuItem") return "MenuItem"; } else if (v97749.tagName =="DIV" ||((v97749.tagName =="FONT" ||v97749.tagName =="IMG")&&v97749.parentElement.tagName =="DIV")) { if (v97749.tagName =="FONT" ||v97749.tagName =="IMG") v97749 =v97749.parentElement;  if (v97749.id.indexOf("scroll_up")>-1) return "ScrollUp"; else if (v97749.id.indexOf("scroll_down")>-1) return "ScrollDown"; } else if (v97749.tagName =="SPAN") { if (IS.GetAttr(v97749,"name")!="") return "MenuItem"; else { var v09049 =v97749.parentElement; if (v09049 &&v09049.tagName =="SPAN" &&IS.GetAttr(v09049,"name")!="") return "MenuItem"; } } else if (v97749.tagName =="IMG") { var v09049 =v97749.parentElement; if (v09049 &&v09049.tagName =="SPAN" &&IS.GetAttr(v09049,"name")!="") return "MenuItem"; }  return ""; },  m83a57:function(v98685) { if (v98685.tagName =="TD") return IS.GetAttr(v98685.parentElement,"name"); else if (v98685.tagName =="TR") return IS.GetAttr(v98685,"name"); else if (v98685.tagName =="SPAN") { if (IS.GetAttr(v98685,"type")=="MenuItem") return IS.GetAttr(v98685,"name"); else return IS.GetAttr(v98685.parentElement,"name"); } else if (v98685.tagName =="IMG" &&v98685.parentElement.tagName =="SPAN" &&IS.GetAttr(v98685.parentElement,"name")!="") return IS.GetAttr(v98685.parentElement,"name"); },  me6b20:function(vacd85) { if (!vacd85)return;  while (vacd85 &&vacd85.tagName !="TD") { vacd85 =vacd85.parentElement; }  if (vacd85 &&vacd85.tagName =="TD") return vacd85; else return null; },  ma2067:function(vc9285) { if (!vc9285)return;  while (vc9285 &&vc9285.tagName !="SPAN") { vc9285 =vc9285.parentElement; }  if (vc9285 &&vc9285.tagName =="SPAN") return vc9285; else return null; },  m25c12:function(ve2c79) {  var v32b69 =ve2c79.GetElement(); var vcb669 =ve2c79.OwnerMenu; var v23e27 =vcb669.MenuControl; var v74632 =v23e27.MenuStyleSettings; var vb6165 =v74632.ItemStyle;  if (!ve2c79.Enabled) vb6165 =v74632.DisabledItemStyle; if (vcb669.IconViewMode &&v32b69.tagName =="SPAN") { wdd9f76.m8bc76(ve2c79); return; }  for (var vcdb94=0; vcdb94<v32b69.cells.length; vcdb94++) { var v61698 =v32b69.cells[vcdb94];  if (v74632.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToStyle(null,vb6165,v61698); else v61698.style.backgroundImage ="none";  if (vcdb94 ==0) { v61698.style.padding ="1px"; if ((ve2c79.Type =="Radio" ||ve2c79.Type =="CheckBox")&&ve2c79.Checked) { if (v74632.HighlightMode =="UseWebStyle") { var va8540 =v61698.children[0]; DynamicStyleEngine.SetToStyle(null,v74632.CheckedItemStyle,va8540); } } } else if (vcdb94 ==3) { v61698.style.padding =v74632.ItemPadding; } else { v61698.style.paddingTop =v61698.style.paddingBottom =v74632.ItemPadding; } }  ve2c79.Selected =false; ve2c79.OwnerMenu.ActiveItemIndex =-1; ve2c79.OwnerMenu.ActiveItem =null; },  m8bc76:function(va2a19) { var ve2d99 =va2a19.GetElement(); var vbca37 =va2a19.OwnerMenu.MenuControl; var v52b65 =va2a19.OwnerMenu; var v2ec0 =vbca37.MenuStyleSettings; var v21e9 =v2ec0.ItemStyle;  if (va2a19.Type =="Normal") {  } else if (va2a19.Type =="Radio" ||va2a19.Type =="CheckBox") { if (va2a19.Checked) v21e9 =v2ec0.CheckedItemStyle; }  DynamicStyleEngine.SetToStyle(null,v21e9,ve2d99); va2a19.Selected =false; v52b65.ActiveItemIndex =-1; v52b65.ActiveItem =null; },  m52443:function(vb9910) { var vfb090 =vb9910.GetElement(); var v47485 =vb9910.OwnerMenu.MenuControl; var vddb68 =vb9910.OwnerMenu; var v40144 =v47485.MenuStyleSettings; var vdb653 =v40144.ItemStyle;  if (vb9910.Type =="Normal") {  } else if (vb9910.Type =="Radio" ||vb9910.Type =="CheckBox") { if (vb9910.Checked) vdb653 =v40144.CheckedItemStyle; }  DynamicStyleEngine.SetToOverStyle(null,vdb653,vfb090); vddb68.ActiveItemIndex =vb9910.Index; vddb68.ActiveItem =vb9910; vb9910.Selected =true;  if (vddb68.ParentMenuItem !=null &&!vddb68.ParentMenuItem.IsSelected()) { vddb68.ParentMenuItem.Select(false); } },  md645:function(v60b96) { var v38429 =v60b96.GetElement(); var v6134 =v60b96.OwnerMenu.MenuControl; var v2fc2 =v60b96.OwnerMenu; var v58a68 =v6134.MenuStyleSettings; var v94852 =v58a68.ItemStyle;  if (v2fc2.ActiveItemIndex >-1) v2fc2.ActiveItem.Unselect();  if (v2fc2.IconViewMode &&v38429.tagName =="SPAN") { wdd9f76.m52443(v60b96); return; }  if (!v60b96.Enabled) v94852 =v58a68.DisabledItemStyle;  for (var v8cb42=0; v8cb42<v38429.cells.length; v8cb42++) { var vce899 =v38429.cells[v8cb42];  if (v58a68.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,v94852,vce899); else { var vd5c82 =new Array("OverLeft","OverCenter","OverCenter","OverRight"); vce899.style.backgroundImage ="url(" +wdd9f76.m4bd43(v58a68,vd5c82[v8cb42],true)+")"; vce899.style.backgroundRepeat ="repeat-x";  if (v8cb42 ==3) vce899.style.backgroundPosition ="top right"; }  var v3cc81 =parseFloat(vce899.currentStyle.borderWidth);  if (!IS.ie) v3cc81 =parseFloat(vce899.currentStyle.borderTopWidth);  if (isNaN(v3cc81)) v3cc81 =0; if (v3cc81 >0) { var v5b841 =v58a68.ItemPadding -v3cc81;  if (v8cb42 ==0) { var vac035 =1-v3cc81;  with (vce899.style) paddingLeft =paddingTop =paddingBottom =(vac035 +"px");  if ((v60b96.Type =="Radio" ||v60b96.Type =="CheckBox")&&v60b96.Checked) { var ve122 =vce899.children[0];  if (v58a68.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,v58a68.CheckedItemStyle,ve122); } } else if (v8cb42 ==3) { with (vce899.style) paddingRight =paddingTop =paddingBottom =(v5b841 +"px"); } else { with (vce899.style) paddingTop =paddingBottom =(v5b841 +"px"); } } }  v2fc2.ActiveItemIndex =v60b96.Index; v2fc2.ActiveItem =v60b96; v60b96.Selected =true;  if (v2fc2.ParentMenuItem !=null &&!v2fc2.ParentMenuItem.IsSelected()) { v2fc2.ParentMenuItem.Select(false); }  },  mf2175:function(v6c535) { if (v6c535 !=null &&v6c535.MenuControl.MenuWindowType =="Normal" &&v6c535.Popup) { if (v6c535.ScrollEnabled) { var v3a315 =v6c535.GetMenuBodyElement().parentElement; var vba751 =v6c535.GetScrollElement("up"); var vdd225 =v6c535.GetScrollElement("down");  vba751.style.display ="none"; vdd225.style.display ="none"; v3a315.style.height ="auto"; }  v6c535.Popup._e.style.width ="auto"; v6c535.RuntimeWidth =v6c535.Popup._e.scrollWidth; v6c535.RuntimeHeight =v6c535.Popup._e.scrollHeight; } },  mace81:function(v67e20,v59d7) { var vde16 =v67e20.MenuControl;  if (v67e20.Popup ==null) { if (!IS.ie ||vde16.MenuWindowType =="Popup") { if (v67e20.ParentMenu ==null) v67e20.Popup =window.createPopup(); else v67e20.Popup =v67e20.ParentMenu.GetDocument().parentWindow.createPopup();  } else { var v1b50 =new WindowInfo(); v1b50.DisplayPosition ="Bottom"; v1b50.DisplayType ="Normal"; v1b50.OffsetControlID =vde16.Id; var v0c928 =new WindowPopup(v1b50); v1b50.Popup =v0c928; v0c928.Init(); v67e20.Popup =v0c928; v0c928.document.parentWindow =window; vd5462 =v0c928.document; } }  if (IS.ie &&vde16.MenuWindowType =="Popup") { var vc5b84 =IS.GetTempIFrame(); var vd5462 =vc5b84.contentWindow.document; vd5462.open("text/html","replace"); vd5462.write(v59d7); vd5462.close();  v67e20.RuntimeWidth =vd5462.body.scrollWidth; v67e20.RuntimeHeight =vd5462.body.scrollHeight; }  var v61278 =v67e20.GetDocument(); v61278.open("text/html","replace");  v61278.write(v59d7); v61278.close();  if (IS.ie &&vde16.MenuWindowType =="Popup") v67e20.Element =v61278.body.firstChild;  else { v67e20.Element =v61278._e.firstChild; v67e20.RuntimeHeight =v67e20.Popup._e.scrollHeight; v67e20.RuntimeWidth =v67e20.Popup._e.scrollWidth; }   for (var v5e128=0; v5e128<v67e20.Items.length; v5e128++) { var v9d771 =v67e20.Items[v5e128];  if (v9d771.Type =="Template") { var v6a288 =document.getElementById("mi_View" +v9d771.Name);  if (v6a288) { var va1a6 =v9d771.GetContentElement(); va1a6.innerHTML =""; va1a6.appendChild(v6a288); v6a288.style.display =""; } } }  if (vde16.UseCustomContent &&vde16.CustomContentElement !=null) { var v53c49 =v67e20.GetMenuContainerElement(); v53c49.appendChild(vde16.CustomContentElement); } },  OnMenuClosed: function(v44a40) { var vb1856 =v44a40.Owner; var v32577 =vb1856.ActiveItem;  if (v32577 !=null &&IS.moz &&v32577.KeepMenuVisible) return false;  return true; },  mc7a55:function() { if (window.screenLeft >window.screen.width) return true;  return false; },  m16a76:function(v29a97,v2b13,ve1b40) { var v7ec40 =""; var vd6417 =true; var vf2581 =v29a97.MenuControl; var vcb634 =0; var vc4e83 =0;  if (v29a97) v7ec40 =v29a97.OffsetAlignment;  if (v29a97.IsOpen()) return;  if (IS.ie &&v29a97 &&v29a97.OffsetElement) { var v43622 =ISPosLib.getScreenLeft(v29a97.OffsetElement)+ISPosLib.getWidth(v29a97.OffsetElement);  if (!wdd9f76.mc7a55()&&v43622 >window.screen.availWidth -10 &&v7ec40.indexOf("Right")>-1) v7ec40 =v7ec40.replace(/Right/ig,"Left"); }  if (v29a97.OffsetElement) { if (!IS.ie ||vf2581.MenuWindowType =="Popup") { vcb634 =ISPosLib.getScreenLeft(v29a97.OffsetElement); vc4e83 =ISPosLib.getScreenTop(v29a97.OffsetElement); } else { vcb634 =ISPosLib.getLeft(v29a97.OffsetElement); vc4e83 =ISPosLib.getTop(v29a97.OffsetElement); } }  if (vf2581.MenuWindowType =="Normal") wdd9f76.mf2175(v29a97);  if (!v2b13) { if (v29a97.OffsetElement) { if (v29a97.Direction =="Horizontal") { if (v7ec40.indexOf("Right")>-1) v2b13 =vcb634 +ISPosLib.getWidth(v29a97.OffsetElement); else if (v7ec40.indexOf("Left")>-1) v2b13 =vcb634 -v29a97.RuntimeWidth; } else { if (v7ec40.indexOf("Left")>-1) v2b13 =vcb634; else if (v7ec40.indexOf("Right")>-1) v2b13 =vcb634 +ISPosLib.getWidth(v29a97.OffsetElement); } } }  if (!ve1b40) { if (v29a97.OffsetElement) { if (v29a97.Direction =="Horizontal") { if (v7ec40.indexOf("Top")>-1) ve1b40 =vc4e83; else ve1b40 =vc4e83 +ISPosLib.getHeight(v29a97.OffsetElement); } else { if (v7ec40.indexOf("Bottom")>-1) ve1b40 =vc4e83 +ISPosLib.getHeight(v29a97.OffsetElement); else { ve1b40 =vc4e83 -v29a97.RuntimeHeight; if (ve1b40 <0)ve1b40 =0; } } } }  if (v29a97.ActiveItem !=null) v29a97.ActiveItem.Unselect();  if (v29a97.ParentMenuItem !=null) { if (v29a97.ParentMenuItem.QueueId >0) v29a97.ParentMenuItem.QueueId =-1; }  if (v29a97._NeedSizeRecalc) { wdd9f76.m59638(v29a97); v29a97._NeedSizeRecalc =false; }  if (!IS.ie ||vf2581.MenuWindowType =="Normal") { if (!IS.ie) { if (v29a97.ParentMenu !=null) { var v38390 =v29a97.ParentMenu.GetOpenSubMenu(); if (v38390) { v38390.SubMenu.Hide(); } } }  if (!IS.ie ||!v29a97.OffsetElement) { if (IS.IsXHTMLDocType()) { var v85150 =document.body.parentElement;  v2b13 +=v85150.scrollLeft; ve1b40 +=v85150.scrollTop; } else { v2b13 +=document.body.scrollLeft; ve1b40 +=document.body.scrollTop; } }  var v1be4 =wdd9f76.m8414(new OffsetLocation(v2b13,ve1b40), v29a97.Popup._e.firstChild,v29a97.ParentMenu,IS.ie &&vf2581.MenuWindowType =="Normal"); v2b13 =v1be4.X; ve1b40 =v1be4.Y; } var vfc712 =wdd9f76.me326(v29a97,v2b13,ve1b40); if (vfc712) { v2b13 =vfc712.X; ve1b40 =vfc712.Y; v29a97.RuntimeHeight =vfc712.Height; }  if (IS.ie &&IS.GetIEVersion()<7) { var vf8c47 =v29a97.GetStripElement(); if (vf8c47 &&v29a97.RuntimeHeight >4) vf8c47.style.height =v29a97.RuntimeHeight -4; } if (v29a97.IsRootMenu()) { if (v29a97._CloseIntervalId ==-1)v29a97._CloseIntervalId =setInterval(function(){wdd9f76.m88c96(v29a97);},100); }  if (vf2581 &&vf2581.GetType()=="WebContextMenu") vd6417 =ISEvent.Raise(vf2581.ClientSideEvents.OnShowMenu,vf2581.Id,v29a97,v2b13,ve1b40,v29a97.RuntimeWidth,v29a97.RuntimeHeight);  if (vd6417) { if (typeof(vd6417)=="object") { v2b13 =vd6417.X; ve1b40 =vd6417.Y; }  v29a97.Popup.show(v2b13,ve1b40,v29a97.RuntimeWidth,v29a97.RuntimeHeight);  if (IS.ie &&vf2581.MenuWindowType =="Normal") v29a97.SetActive();  if (vf2581.MenuAnimation &&!vf2581.SkipAnimation) { if (vf2581.AnimatedObj ==null) { var va0b99 =new ISAnimatedObject(); va0b99.OnCompleted =wdd9f76.m09919; va0b99.Speed =vf2581.AnimationSpeed; va0b99.Type =(vf2581.MenuAnimationMode =="Fading" ? "FadeIn" : "MenuSlideDown"); va0b99.StepInterval =vf2581.AnimationInterval;  vf2581.AnimatedObj =va0b99; }  var vba520 =v29a97.Element; wdd9f76.m6b413(v29a97);  if (vf2581.MenuAnimationMode =="Sliding") { if (!v29a97.IsRootMenu()) vf2581.AnimatedObj.Type ="MenuSlideRight"; else vf2581.AnimatedObj.Type ="MenuSlideDown";  vba520 =vba520.parentElement; vba520.removeAttribute("OriginalLeft"); vba520.removeAttribute("OriginalWidth"); vba520.removeAttribute("OriginalTop"); vba520.removeAttribute("OriginalHeight");  if (!IS.ie) { vba520.OriginalTop =0; vba520.OriginalWidth =0; vba520.OriginalLeft =0; vba520.OriginalHeight =0; } }  vf2581.AnimatedObj.Owner =v29a97; vf2581.AnimatedObj.Element =vba520; vf2581.AnimatedObj.Play(); } else { if (vf2581.MenuDropShadow) v29a97.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)"; } } },  m09919:function() { var v91c72 =this.Owner;  wdd9f76.m6b413(v91c72);  if (v91c72.MenuControl.MenuDropShadow) v91c72.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)";  this.IntervalId =-1; },  m6b413:function(v3d256) { v3d256.Element.style.filter =""; },  m88c96:function(vd0f92) { if (!vd0f92.IsOpen()) { clearInterval(vd0f92._CloseIntervalId); vd0f92._CloseIntervalId =-1;  var v97e56 =vd0f92.MenuControl; if (v97e56.OnRootMenuClosed !=null) { if (typeof(v97e56.OnRootMenuClosed)=="string") ISEvent.Raise(v97e56.OnRootMenuClosed,vd0f92); else if (typeof(v97e56.OnRootMenuClosed)=="function") v97e56.OnRootMenuClosed(vd0f92); } } },  me326:function(v7f286,v94199,v8c478) { var v2b892 =window.screen.availHeight; var v9a41 =v7f286.RuntimeHeight; var v7df59 =0; var v2cf14 =v7f286.MenuControl;  if (!IS.ie ||v2cf14.MenuWindowType =="Normal") { v2b892 =document.body.clientHeight;  }  if (v9a41 >v2b892 &&!v2cf14.UseCustomContent) { var v2ba14 =v7f286.GetMenuBodyElement().parentElement; var v3dc75 =v7f286.GetScrollElement("up"); var vd5014 =v7f286.GetScrollElement("down");  v3dc75.style.display =""; vd5014.style.display ="";  var v5dd53 =v2b892 -v3dc75.style.posHeight -vd5014.style.posHeight -8;  if (v5dd53 <0) v5dd53 =5;  v2ba14.style.height =v5dd53; v7df59 =v2b892-4; v9a41 =2; v7f286.ScrollEnabled =true;  if (v2cf14.MenuWindowType =="Normal") v9a41 +=document.body.scrollTop;  return new Rectangle(v94199,v9a41,null,v7df59); } else { if (v7f286.ScrollEnabled &&v2cf14.MenuWindowType =="Normal") { var v2ba14 =v7f286.GetMenuBodyElement().parentElement; var v3dc75 =v7f286.GetScrollElement("up"); var vd5014 =v7f286.GetScrollElement("down");  v3dc75.style.display ="none"; vd5014.style.display ="none"; v2ba14.style.height ="auto"; v7df59 =v2ba14.offsetHeight;  v7f286.ScrollEnabled =false;  return new Rectangle(v94199,v8c478,null,v7df59); } } },  m8414:function(vb0177,v92f48,vf8682,v4d086) { var vc1658 =vb0177.Y; var v4ca38 =vb0177.X;  if (!IS.ie ||v4d086) { if (!v4d086) { vc1658 -=window.screenTop; v4ca38 -=window.screenLeft; }  if (vc1658 +ISPosLib.getHeight(v92f48)>document.body.clientHeight +document.body.scrollTop) { vc1658 =((document.body.clientHeight +document.body.scrollTop)-ISPosLib.getHeight(v92f48));  if (v4d086) vc1658 -=4; } if (v4ca38 +(ISPosLib.getWidth(v92f48))>document.body.clientWidth) { if (!vf8682) v4ca38 =document.body.clientWidth -ISPosLib.getWidth(v92f48); else v4ca38 =ISPosLib.getLeft(vf8682.Popup._e.firstChild)-ISPosLib.getWidth(v92f48);  if (v4d086) v4ca38 -=4; }  if (!v4d086) { vc1658 +=window.screenTop; v4ca38 +=window.screenLeft; } else { if (vc1658 <0) vc1658 =2; } }  return new OffsetLocation(v4ca38,vc1658); },  m53289:function(v01433) { var v09533 ="<html><head>" + "<style type=\"text/css\">" +v01433.MenuControl.GetStyleString()+"</style>" + "</head><body style='margin:0px;padding:0px;overflow:hidden;border:0px'>";  if (IS.ie &&v01433.MenuControl.MenuWindowType =="Popup") return v09533; else return ""; },  m98b29:function(vbe616) { var va4e16 ="</body></html>";  if (IS.ie &&vbe616.MenuControl.MenuWindowType =="Popup") return va4e16; else return ""; },  m92a0:function(ve6591,v34556) { if ((ve6591.GetType()=="WebContextMenu" &&ve6591.IntegratedToBar)&&!v34556) { var v94c16;  if (ve6591.GetType()=="WebContextMenu") v94c16 =ve6591._MenuCommand !=null ? ve6591._MenuCommand._Bar :  (ve6591._ToolCommand !=null? ve6591._ToolCommand._Bar : null);  if (v94c16 !=null) return v94c16.GetCachedMenuStyleString(ve6591); else if (ve6591 !=null) return ve6591.GetCachedMenuStyleString(ve6591); } var v68267 =ve6591.MenuStyleSettings; var vd9e16 =new Array("ItemStyle","FrameStyle","DisabledItemStyle","SeparatorStyle","CheckedItemStyle","CustomStyle"); var v57b9 ="";  for (var ve4779=0; ve4779<vd9e16.length; ve4779++) { var v9c024 =vd9e16[ve4779]; if (typeof(v68267[v9c024])=="string") { if (v68267[v9c024] !="") { v57b9 +=wdd9f76.m4f668(v68267[v9c024]); } } else if(typeof(v68267[v9c024])=="object") { var v7c399 =v68267[v9c024]; if (v7c399.Normal !="") v57b9 +=wdd9f76.m4f668(v7c399.Normal);  if (v7c399.Over !="") v57b9 +=wdd9f76.m4f668(v7c399.Over);  if (v7c399.Active !="") v57b9 +=wdd9f76.m4f668(v7c399.Active); } }  return v57b9; },  m4f668:function(v06d27) { return IS.GetStyleText(null,v06d27); },  m4bd43:function(v02747,v86235,v77c53) { var v50563 =v02747;  if (v77c53) v50563 =v02747.ImagesSettings;  if (v02747.UseSmartWebResources) return "ISRes.axd?D/" +v50563[v86235]; else return v50563[v86235]; },  m0942:function(v4b12,v42714,vfad38) { if (IS.ie ||(IS.moz &&!IsGecko30())) { if (vfad38) return v42714; else return "<font face='Webdings' style='font-size: 8pt'>" +v42714 +"</font>"; } else { var v61319 ="";  if (v42714 =="6") v61319 ="arrow_down.gif"; else if (v42714 =="=") v61319 ="radio.gif"; else if (v42714 =="a") v61319 ="checkbox.gif"; else if (v42714 =="4") v61319 ="arrow_right.gif"; else if (v42714 =="5") v61319 ="arrow_up.gif";  if (v4b12.UseSmartWebResources) v61319 ="ISRes.axd?D/" +v61319; else v61319 =v4b12.Parent.ImagesDirectory +v61319;  return "<img valign='absmiddle' height='16' src='" +v61319 +" ' />"; } },  mfe183:function(v02f32) { var v34422 =v02f32.MenuControl; var veed23 =v34422.MenuStyleSettings;  var vb235 ="<table class='" +veed23.FrameStyle +"' border='0' cellpadding='1' cellspacing='0' style='position: relative;'>";  vb235 +="<tr>"; vb235 +="<td valign='top'>"; vb235 +="<div id='" +v02f32.GetId()+"_container' style='position: relative;";  if (v02f32.IconViewMode) vb235 +="width:" +v02f32.Width +";";  vb235 +="'>";  if (v34422.GetType()=="WebContextMenu" &&v34422.UseCustomContent) { vb235 +="</div></td></tr></table>"; return vb235; }  if (veed23.HasBackgroundStrip &&!v02f32.IconViewMode) { vb235 +="<div id='" +v02f32.GetId()+"_strip' style='position: absolute; left: 0px; top: 0px;"; vb235 +="width: " +veed23.BackgroundStripWidth +"px"; if (IS.ie) { if (IS.GetIEVersion()<7) vb235 +=";height:auto"; else vb235 +=";height:expression(this.parentElement.offsetHeight)"; } else vb235 +=";height:100%"; if (veed23.BackgroundStripColor2 =="" ||veed23.BackgroundStripColor2 =="000000") { vb235 +=";background-color:#" +veed23.BackgroundStripColor; } else { if (IS.ie) vb235 +=";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF" +veed23.BackgroundStripColor +", endColorstr=#FF" +veed23.BackgroundStripColor2 +", GradientType=1)"; else vb235 +=";background-color:#" +veed23.BackgroundStripColor2; }  if (veed23.BackgroundStripImage !="") vb235 +=";background-image: url(" +wdd9f76.m4bd43(veed23,"BackgroundStripImage")+"); background-repeat: repeat-y"; vb235 +="'>"; vb235 +="</div>"; }  vb235 +="<div id='" +v02f32.GetId()+"_scroll_up' align='center' disabled style='height:18px;position:relative;display:none;cursor:default'>"; vb235 +=wdd9f76.m0942(veed23,"5"); vb235 +="</div>"; vb235 +="<div style='position: relative; overflow: hidden;'>"; vb235 +="<table id='" +v02f32.GetId()+"_body' border='0' cellpadding='0' cellspacing='0' style='cursor:default; width:100%'>"; if (v02f32.IconViewMode) { var v30542 =v02f32.GetGroupItems(); for (var v06544=0; v06544<v30542.length; v06544++) { var v6ab64 =v30542[v06544]; if (v6ab64.constructor ==Array) vb235 +=wdd9f76.m9c270(v6ab64); else vb235 +=wdd9f76.mce775(v6ab64); } } else { for (var v06544=0; v06544<v02f32.Items.length; v06544++) { vb235 +=wdd9f76.mce775(v02f32.Items[v06544]); } }  vb235 +="</table>"; vb235 +="</div>";  vb235 +="<div id='" +v02f32.GetId()+"_scroll_down' align=center style='height:18px;position:relative;display:none;cursor:default'>"; vb235 +=wdd9f76.m0942(veed23,"6"); vb235 +="</div>"; vb235 +="</div>"; vb235 +="</td></tr></table>"; return wdd9f76.m53289(v02f32)+vb235 +wdd9f76.m98b29(v02f32); },  m9c270:function(vc447) { var ve0c68 =vc447[0].OwnerMenu; var vf6851 =ve0c68.MenuControl; var vb1694 =vf6851.MenuStyleSettings; var va8690 ="<tr type='GroupItem'>"; va8690 +="<td>"; va8690 +="</td>";  va8690 +="<td colspan=3 width='" +ve0c68.Width +"'>";  for (var v32f11=0; v32f11<vc447.length; v32f11++) { var v93477 =vc447[v32f11];  va8690 +=wdd9f76.m05541(v93477); }  va8690 +="</td>"; va8690 +="</tr>";  return va8690; },  m05541:function(v1ad82) { var v3d443 ="<span type='MenuItem' name='" +v1ad82.Name +"' "; var vc2d40 =v1ad82.OwnerMenu; var v44746 =vc2d40.MenuControl; var v73c54 =v44746.MenuStyleSettings;  if ((v1ad82.Type =="Radio" ||v1ad82.Type =="CheckBox")&&v1ad82.Checked)v3d443 +="class='" +v73c54.CheckedItemStyle.Normal +"'"; if (v1ad82.Tooltip !="")v3d443 +=" title='" +v1ad82.Tooltip +"'";  v3d443 +=" style='width:" +(v44746.ImageSize.Width+4)+"px; height:" +(v44746.ImageSize.Width+4) +"px;text-align:center;padding-top:1px;margin-top:2px;margin-right:2px;";  if (IS.moz) v3d443 +="display:-moz-inline-box;"; else if (!IS.ie) v3d443 +="display:block;";  v3d443 +="'>";  if ((v1ad82.Type =="Radio" ||v1ad82.Type =="CheckBox")&&v1ad82.ImageURL =="") v1ad82.UseFontImage =true;  if (v1ad82.UseFontImage) { v3d443 +="<span>";  var v4c332 ="";  if (v1ad82.Type =="Radio" &&v1ad82.Checked) v4c332 ="="; else if (v1ad82.Type =="CheckBox" &&v1ad82.Checked) v4c332 ="a"; else v3d443 +="<font face=Webdings style='font-size: 8pt'>" +v1ad82.ImageURL +"</font>";  if (v4c332 !="") v3d443 +=wdd9f76.m0942(v73c54,v4c332);  v3d443 +="</span>"; } else { v3d443 +="<img align='absmiddle' width=" +v44746.ImageSize.Width +" height=" +v44746.ImageSize.Height +" ";  if (v1ad82.ImageURL !="") { v3d443 +="src='" +v1ad82.ImageURL +"' ";  if (!v1ad82.Enabled) v3d443 +="style='filter:Alpha(Opacity=50), Gray()'"; } else v3d443 +="style='visibility: hidden'";  v3d443 +="/>"; } if (v1ad82.HasSubMenu()) v3d443 +="<span>" +wdd9f76.m0942(v73c54,"6")+"</span>";  v3d443 +="</span>";   return v3d443; },  mce775:function(v79d13) { var vad218 =v79d13.OwnerMenu; var vb8b28 =vad218.MenuControl; var ved798 =vb8b28.MenuStyleSettings; var vd4019 =""; var v6bd54 =ved798.ItemStyle.Normal;  vd4019 +="<tr type='MenuItem' name='" +v79d13.Name +"'";  if (v79d13.Tooltip !="") vd4019 +=" title='" +v79d13.Tooltip +"'";  if (!v79d13.Visible) vd4019 +=" style='display: none'";  vd4019 +=">";  if (!v79d13.Enabled) v6bd54 =ved798.DisabledItemStyle.Normal;  if (v79d13.Type =="Separator") { vd4019 +="<td></td>"; } else if (v79d13.OwnerMenu.IconViewMode) { vd4019 +="<td class='" +v6bd54 +"' width=1 style='border-right-style: none; padding: 1px'><img style='visibility:hidden; width:1px; height:" +(vb8b28.ImageSize.Height+4)+"' /></td>"; } else if (v79d13.Type =="Custom") { vd4019 +="<td class='" +ved798.CustomStyle +"' colSpan=4>";  if (v79d13.ImageURL !="") { vd4019 +="<img align='absmiddle' "; vd4019 +="src='" +v79d13.ImageURL +"' "; vd4019 +="/> &nbsp;"; }  vd4019 +=v79d13.Text +"</td>";  return vd4019 +"</tr>"; } else { vd4019 +="<td valign=absmiddle class='" +v6bd54 +"' style='border-right-style: none; padding: 1px' "; if (!v79d13.Enabled)vd4019 +="disabled "; vd4019 +=">";  vd4019 +="<span ";  if ((v79d13.Type =="Radio" ||v79d13.Type =="CheckBox")&&v79d13.Checked) { vd4019 +="class='" + (ved798.HighlightMode =="UseWebStyle" ? ved798.CheckedItemStyle.Normal : "")+"'"; }  vd4019 +=" style='width:" +(ved798.IconCellWidth)+"px; height:" + (parseFloat(vb8b28.ImageSize.Width)+4)+"px; text-align:center; padding-top:1px;";  if ((v79d13.Type =="Radio" ||v79d13.Type =="CheckBox")&&v79d13.Checked &&ved798.HighlightMode =="UseComplexImages") { vd4019 +="background-image: url(" +wdd9f76.m4bd43(ved798,"ActiveIconCell",true)+");" + "background-repeat: no-repeat; background-position: top left; margin-top: -1px; height: 22px;";  if (IS.ie) vd4019 +="padding-top: 3px; padding-right: 3px"; }  if (IS.moz) { if (IsGecko30()) vd4019 +="display: inline-block;"; else vd4019 +="display:-moz-inline-block;"; } else if (IS.safari ||IS.opera) vd4019 +="display:block;";  vd4019 +="'>";  if ((v79d13.Type =="Radio" ||v79d13.Type =="CheckBox")&&v79d13.ImageURL =="") v79d13.UseFontImage =true;  if (v79d13.UseFontImage) { vd4019 +="<span>";  var v4d210 ="";  if (v79d13.Type =="Radio" &&v79d13.Checked) v4d210 ="="; else if (v79d13.Type =="CheckBox" &&v79d13.Checked) v4d210 ="a"; else vd4019 +="<font face=Webdings style='font-size: 8pt'>" +v79d13.ImageURL +"</font>";  if (v4d210 !="") vd4019 +=wdd9f76.m0942(ved798,v4d210);  vd4019 +="</span>"; } else { var v1e613 ="";  if (vb8b28.DrawImageBackground) v1e613 ="; background-color: " +ved798.BackgroundStripColor;  vd4019 +="<img align='absmiddle' width=" +vb8b28.ImageSize.Width +" height=" +vb8b28.ImageSize.Height +" ";  if (v79d13.ImageURL !="") { vd4019 +="src='" +v79d13.ImageURL +"' ";  if (!v79d13.Enabled) vd4019 +="style='filter:" +(vb8b28.SkipAlpha ? "" : "Alpha(Opacity=50),")+" Gray()" +v1e613 +"'"; } else vd4019 +="style='visibility: hidden'";  vd4019 +="/>"; }  vd4019 +="</span>";  vd4019 +="</td>"; }  if (v79d13.Type =="Separator") { vd4019 +="<td colSpan=3 noWrap style='padding-left:2px; padding-bottom:0px;padding-right:0px;padding-top:2px'><div ";  if (ved798.SeparatorStyle !="") vd4019 +="class='" +ved798.SeparatorStyle +"' style='width:100%; font-size:0.01em;' "; else vd4019 +="style='height:1px; width:100%; font-size:0.01em; border-top: gray 1px solid' ";  vd4019 +="></div></td>";  } else { vd4019 +="<td" +(v79d13.Type =="Template" ? "" : " nowrap")+" class='" +v6bd54 +"' style='border-left-style: none; padding-top: " +ved798.ItemPadding +"px; padding-bottom: " +ved798.ItemPadding +"px;"; vd4019 +="border-right-style: none; padding-left: " +ved798.ContentPadding +"px; padding-right: " +ved798.ContentPadding +"px' "; if (!v79d13.Enabled)vd4019 +="disabled "; if (v79d13.Tooltip !="")vd4019 +="title='" +v79d13.Tooltip +"' ";  vd4019 +=">";  vd4019 +=wdd9f76.ma2528(v79d13);  vd4019 +="</td>"; vd4019 +="<td align=right class='" +v6bd54 +"' style='border-left-style: none; border-right-style: none; padding:" +ved798.ItemPadding +"px; padding-left:" +(ved798.ContentPadding+2)+"px' ";  if (!v79d13.Enabled)vd4019 +="disabled ";  vd4019 +=">"; vd4019 +=v79d13.Shortcut.IsEmpty()? "&nbsp;" : v79d13.Shortcut.GetString(); vd4019 +="</td>"; vd4019 +="<td class='" +v6bd54 +"' style='border-left-style: none; padding:" +ved798.ItemPadding +"px'>";  if (v79d13.SubMenu.Items.length >0) vd4019 +=wdd9f76.m0942(ved798,vad218.IconViewMode ? "6" : "4"); else vd4019 +="&nbsp;";  vd4019 +="</td>"; }  vd4019 +="</tr>";  return vd4019; },  ma2528:function(vd2640) { var v6d884 =vd2640.Text;  if (v6d884 =="") v6d884 ="&nbsp;"; else { if (vd2640.AccessKey !="") { var v9d066 =v6d884.toLowerCase(); var vf3254 =vd2640.AccessKey.toLowerCase();  if (v9d066.indexOf(vf3254)>-1) { var v18229 =v9d066.indexOf(vf3254); v6d884 =v6d884.substring(0,v18229)+"<u>" +v6d884.substring(v18229,v18229+1)+"</u>" +v6d884.substring(v18229+1); } } }  return v6d884; },  mddb90:function(vab915) { var v99140 =true; var vb7a45 =vab915.OwnerMenu.MenuControl; if (!vab915.Enabled ||vb7a45.ClassName ==null)return false;  if (vab915.Type =="CheckBox") { vab915.SetChecked(!vab915.Checked); } else if (vab915.Type =="Radio") { vab915.SetChecked(true); }  if (vab915.OnClick !=null) { if (typeof(vab915.OnClick)=="string") v99140 =ISEvent.Raise(vab915.OnClick,vab915); else if (typeof(vab915.OnClick)=="function") v99140 =vab915.OnClick(vab915);  if (!vab915.KeepMenuVisible) { if (vb7a45.HideAll) vb7a45.HideAll(); else return; } }  if (v99140 &&vb7a45.GetType()=="WebContextMenu") { v99140 =ISEvent.Raise(vb7a45.ClientSideEvents.OnMenuItemClick,vb7a45.Id,vab915); if (vb7a45.ClientSideEvents.OnMenuItemClick !="" &&v99140) { if (!vab915.KeepMenuVisible) { if (vb7a45.HideAll) vb7a45.HideAll(); else return; } } }  if (v99140 &&vab915.TargetURL !="") { if (vab915.TargetFrame =="") document.location.href =vab915.TargetURL; else { var v84b39 =vab915.TargetFrame;  if (v84b39 =="Blank" ||v84b39 =="Parent" ||v84b39 =="Search" || v84b39 =="Self" ||v84b39 =="Top" ||v84b39 =="UseBase") v84b39 ="_" +v84b39.toLowerCase();  window.open(vab915.TargetURL,v84b39); }  if (!vab915.KeepMenuVisible) vab915.OwnerMenu.MenuControl.HideAll(); }  if ((v99140 ||typeof(v99140)=="undefined")&&vb7a45.GetType()=="WebContextMenu" &&!vb7a45.IntegratedToBar) { var v0cd32 =vab915.AutoPostBack; if (v0cd32 =="Default")v0cd32 =vb7a45.AutoPostBack; if (v0cd32 =="Yes") { vb7a45.HideAll(); __doPostBack(vb7a45.ServerUniqueID,"ItemClick:" +wdd9f76.m6ef44(vab915)); } } }, m6ef44:function(v46534) { var vbe098 =""; var v83c73 =v46534;  while(v83c73.Parent !=null &&v83c73._Type =="WebMenuItem") { vbe098 =v83c73.Name +";" +vbe098; v83c73 =v83c73.Parent; }  return vbe098; },  ma2617:function(v47890) { if (v47890 ==null ||v47890 ==window) v47890 =this;  var v11654 =v47890.Element; if (!v11654)return;  var vd3353 =v47890.GetDocument(); if (!vd3353 ||v47890.Popup ==null)return;  var vb8825 =v47890.GetContentWindow(); Listener.Unload(v11654); Listener.Unload(vd3353); Listener.Unload(vb8825); Listener.Unload(window); if (v47890.Popup) { vd3353.open("text/plain","replace"); vd3353.write(""); vd3353.close(); }  v47890.Popup =null; },  m78b17:function(v1e09,v49532) { var v45973 =v1e09.GetMenuBodyElement().parentElement;  if (v49532 =="down") v45973.scrollTop +=20; else v45973.scrollTop -=20;  wdd9f76.m55940(v1e09); },  m55940:function(v02f29) { var vaf245 =v02f29.GetMenuBodyElement().parentElement;  if (vaf245.scrollTop ==0) v02f29.GetScrollElement("up").disabled =true; else v02f29.GetScrollElement("up").disabled =false;  if (vaf245.scrollHeight -vaf245.clientHeight <=vaf245.scrollTop) v02f29.GetScrollElement("down").disabled =true; else v02f29.GetScrollElement("down").disabled =false; },  m7d25:function(v55229) { for (var v4f529=0; v4f529<v55229.Items.length; v4f529++) { var vd7241 =v55229.Items[v4f529]; if (vd7241.HasSubMenu()) { wdd9f76.m7d25(vd7241.SubMenu); ISDeleteObject(vd7241.SubMenu); } }  wdd9f76.ma2617(v55229); v55229.Items =null; v55229.Items =new ISArray(); v55229.Items.Parent =v55229; v55229.ActiveItem =v55229.Element =null; v55229.ActiveItemIndex =-1; v55229.Initialized =false; },  m59638:function(v2520) { if (IS.ie &&v2520.MenuControl.MenuWindowType =="Popup") { var v94b65 =IS.GetTempIFrame(); var vd7011 =v94b65.contentWindow.document; var v06495 =v2520.GetDocument().body.parentElement.outerHTML;  vd7011.open("text/html","replace"); vd7011.write(v06495); vd7011.close();  v2520.RuntimeWidth =vd7011.body.scrollWidth; v2520.RuntimeHeight =vd7011.body.scrollHeight; } },  m8d029:function(vb0975) { var v7dd20 =vb0975.OwnerMenu; var v7a190 =null; var v63081 =""; var vbc130 =v7dd20.GetMenuBodyElement(); var vd2d28 =v7dd20.GetDocument();  if (!v7dd20._TempDiv) v7dd20._TempDiv =vd2d28.createElement("DIV");  v7a190 =v7dd20._TempDiv;  if (v7dd20.IconViewMode &&vb0975.IsUsingImageIconViewMode()) v63081 =wdd9f76.m05541(vb0975); else v63081 =wdd9f76.mce775(vb0975);  v7a190.innerHTML ="<table>" +v63081 +"</table>"; el =v7a190.children[0].rows[0]; vbc130.tBodies[0].appendChild(el);  v7dd20._NeedSizeRecalc =true;  return el; },  m5b320:function(v07431,va2348) { var v36259 =wdd9f76.m8d029(v07431); var v6f19 =v07431.OwnerMenu.Items[va2348]; var v94614 =v6f19.GetElement();  if (v94614 !=null &&v36259 !=null) { var v09353 =v36259.parentElement.parentElement; v09353.moveRow(v36259.rowIndex,v94614.rowIndex); } },  mffe82:function(v78950) { var v7bf14 =v78950.OwnerMenu; var v39c88 =v78950.GetElement(); if (v39c88) v39c88.removeNode(true);  if (v78950.HasSubMenu()&&v78950.SubMenu.Popup !=null) v78950.SubMenu.Destroy();  v7bf14._NeedSizeRecalc =true; },  m7bf28:function(v50b6,vde037) { var v8f734 =null;  if (vde037.GetType()=="WebContextMenu") v8f734 =vde037.RootMenu; else if (vde037.GetType()=="WebMenuItem") v8f734 =vde037.SubMenu; else if (vde037.GetType()=="WebMenu") v8f734 =vde037; for (var vb1898=0; vb1898<v50b6.length; vb1898++) { var vbd167 =v50b6[vb1898];  vbd167.OwnerMenu =v8f734;  vbd167.Collection =v8f734.Items; vbd167.Index =vb1898;  if (vbd167.Items.length >0) wdd9f76.m7bf28(vbd167.Items,vbd167); } }};if (typeof(RegisterKeyboardHandler)=="function") RegisterKeyboardHandler(); if (typeof(Sys)!="undefined") Sys.Application.notifyScriptLoaded();