
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 8/31/2009 3:39:44 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(vb7987){ this.ClassName ="WebMenuControlBase"; this.Version ="1.5.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.5"; this.RequiredFrameworkVersion ="2.0.5000.18"; ISControl.call(this,vb7987); this.ScriptDirectory ="/CommonLibrary/WebDesktop/V3_0_7200/"; this.ImageSize =new UnitSize(); this.IntegratedTo ="None"; this.MenuStyleSettings =new WebMenuStyles(); this.Initialized =false; this.Id =this.ClientId =vb7987; 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.UseW3CPositioning =false;  this.GetStyleString =function() { return wd73255.m2f158(this); };  this.CreateDefaultStyles =function() { wd73255.m11b89(this); };  this.Destroy =function() { if (this.MenuWindowType =="Normal") { for (var v7ca67=0; v7ca67<this.RootMenu.Items.length; v7ca67++) { var vedf72 =this.RootMenu.Items[v7ca67];  if (vedf72.HasSubMenu()&&vedf72.SubMenu.Popup !=null) vedf72.SubMenu.Destroy(); }  this.RootMenu.Destroy(); } };  this.ApplyStyles =function() {  };  this.GetAllMenus =function() {  };  this.GetAllOpenMenus =function() {  };  this.SetIntegratedToDesktopManager =function() { wd73255.mba750(this); };  this.SetIntegratedToPlaceHolderManager =function() { wd73255.m82e19(this); };  this.CopyMenuSetting =function(v3ea87) { this.MenuAnimation =v3ea87.MenuAnimation; this.MenuAnimationMode =v3ea87.MenuAnimationMode; this.MenuDropShadow =v3ea87.MenuDropShadow; this.MenuWindowType =v3ea87.MenuWindowType; this.AnimationSpeed =v3ea87.AnimationSpeed; }; this.GetLocation =function(v1d222,vde751,ve5731) { return wd73255.m3cf26(new OffsetLocation(v1d222,vde751),ve5731); }; this.GetEventLocation =function() { return wd73255.m3cf26(new OffsetLocation(event.clientX,event.clientY)); };}function WebContextMenu(v88797){ WebMenuControlBase.call(this,v88797); 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.DisableFullHeightScrolling =false; this.OnUnload =function() { this.ClearAll(); };  this.OnPropertiesInitialized =function() { if (this.Events !=null) { var v02b6; for(v02b6 in this.Events) { if (typeof(this.Events[v02b6])=="string") this.ClientSideEvents[v02b6] =this.Events[v02b6]; } }  var v9f291 =ISXml.GetAttribute(this.XmlNode,"ImageSize");  if (v9f291 !="" &&v9f291 !=null) { this.ImageSize =new UnitSize(); this.ImageSize.Parse(v9f291); } }; this.ClearAll =function() { wd73255.m69854(this.RootMenu); this.RootMenu.MenuControl =this; this.Items =this.RootMenu.Items; };  this.IsAllItemsInvisible =function(v15597) { for (var v55379=0; v55379<v15597.length; v55379++) { if (v15597[v55379].Visible) return false; }  return true; };  this.Show =function(v6b081,v91a79,v9f331) { if ((this.Items.length ==0 ||this.IsAllItemsInvisible(this.Items))&&!this.UseCustomContent) return;  if (typeof(v6b081)=="object" &&v6b081 !=null) { v91a79 =v6b081.Y; v6b081 =v6b081.X; } this.RootMenu.Show(v6b081,v91a79,v9f331); };  this.SetOffsetElement =function(vd7b17) { this.RootMenu.OffsetElement =vd7b17; };  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; }  wd73255.m33184(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(v8d58){ 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 (v8d58) { this.ParentMenuItem =v8d58; }  this.IsOpen =function() { if (this.Popup) return this.Popup.isOpen; else return false; };  this.IsRootMenu =function() { return (this.ParentMenuItem ==null); };  this.GetGroupItems =function() { var ve4136 =new Array(); var v48759 =null; for (var vdba17=0; vdba17<this.Items.length; vdba17++) { var v06064 =this.Items[vdba17]; if ((v06064.Text ==null ||v06064.Text =="" ||(v06064.Text !="" &&v06064.IconViewDisplayMode =="Image"))&&v06064.Type !="Separator" &&v06064.Type !="Custom") { if (v48759 ==null ||(v48759 !=null &&v48759.constructor !=Array)) v48759 =new ISArray();  v48759.Add(v06064); } else { v48759 =v06064; }  var ve2a91 =this.Items[vdba17+1]; if (ve2a91 &&(ve2a91.Type =="Separator" ||ve2a91.ImageURL =="" ||ve2a91.ImageURL ==null ||(ve2a91.ImageURL !="" &&ve2a91.IconViewDisplayMode =="Text"))) { ve4136.push(v48759); v48759 =null; } else if (!ve2a91) { ve4136.push(v48759); } }  return ve4136; };  this.GetOpenSubMenu =function() { for (var vdba17=0; vdba17<this.Items.length; vdba17++) { var v06064 =this.Items[vdba17]; if (v06064.HasSubMenu()&&v06064.Enabled &&v06064.IsSubMenuOpen()) { return v06064; } }  return null; };  this.GetId =function() { var v94444 =this.MenuControl.Id +"_"; var v75651 =""; var vece64 =""; var v8bb1 =this.ParentMenuItem; var vf7f60 =new Array();  while (v8bb1 !=null) { vf7f60.push(v8bb1.Name); v8bb1 =v8bb1.OwnerMenu.ParentMenuItem; } vf7f60.reverse();  for(var vdba17=0; vdba17<vf7f60.length; vdba17++) vece64 =vf7f60[vdba17] +"_";  v75651 =v94444 +vece64;  return v75651; };  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 v33b6 =this.GetDocument(); if (v33b6) return v33b6.getElementById(this.GetId()+"_body"); else return null; };  this.GetMenuContainerElement =function() { var v33b6 =this.GetDocument(); if (v33b6) return v33b6.getElementById(this.GetId()+"_container"); else return null; };  this.GetScrollElement =function(v65f44) { var v33b6 =this.GetDocument(); return v33b6.getElementById(this.GetId()+"_scroll_" +v65f44); };  this.GetSelectedItemByGroup =function(v0c727) { for (var vdba17=0; vdba17<this.Items.length; vdba17++) { var v06064 =this.Items[vdba17];  if (v06064.Type =="Radio" &&v06064.GroupName ==v0c727 &&v06064.Checked) return v06064; }  return null; };  this.Destroy =function() { var v57116 =this.Element;  if (v57116) Listener.Unload(v57116);  if (this.Popup) { if (this.MenuControl.MenuWindowType =="Popup") { var v89434 =this.GetDocument(); v89434.open("text/plain","replace"); v89434.write(""); v89434.close(); this.Popup =null; } else { document.body.removeChild(this.Popup._e); ISDeleteObject(this.Popup); } } };  this.Show =function(v8ff27,v1c562,v25f29) { if (!this.Initialized) { wd73255.m57b22(this); }  wd73255.mfa324(this,v8ff27,v1c562,v25f29); };  this.Initialize =function() { if (!this.Initialized) { wd73255.m57b22(this); } };  this.InstantiateIn =function(v57116) { this.Initialize();  if (this.MenuControl.MenuWindowType !="Normal") { alert("InstantiateIn method can only be used with Normal MenuWindowType"); return; } v57116.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 v81e29 =this.GetOpenSubMenu(); if (v81e29) v81e29.SubMenu.Hide(); }  if (IS.ie &&this.MenuControl.MenuWindowType =="Normal") { if (this.ParentMenu !=null) this.ParentMenu.SetActive(); }  if (this.MenuControl.MenuAnimation) { if (this.MenuControl.AnimatedObj !=null) { var vb3083 =this.MenuControl.AnimatedObj.IntervalId;  if (vb3083 >0) { clearTimeout(vb3083); this.MenuControl.AnimatedObj.IntervalId =-1; }  wd73255.m4aa87(this); } } };  this.GetDocumentEvent =function() { return this.GetDocument().parentWindow.event; };  this.GetContentWindow =function() { return this.GetDocument().parentWindow; };  this.Invalidate =function() { };  this.GetStripElement =function() { var v34d34 =this.MenuControl; var va0220 =v34d34.MenuStyleSettings; if (va0220.HasBackgroundStrip &&!this.IconViewMode) { var v33b6 =this.GetDocument(); if (v33b6) return v33b6.getElementById(this.GetId()+"_strip"); }  return null; };   this.SetActive =function() { if (IS.ie) { try { this.Element.setActive(); } catch(e) { } } };  this.GetRootMenu =function() { var v7e612 =this.ParentMenu;  if (v7e612 ==null) return this;  while (true) { if (v7e612.ParentMenu ==null) return v7e612; else v7e612 =v7e612.ParentMenu; }  return null; };  this.SetDirty =function() { this._NeedSizeRecalc =true; };  this.GetItem =function(vae099) { return this.Items.GetNamedItem(vae099); };  this.Clear =function() { wd73255.m69854(this); };  this.SetHeight =function(v8f583) { var v57116 =this.GetElement(); v57116.style.height =v8f583; };  this.RemoveAllItems =function() { var v17245 =this.Items.length;  for (var vdba17=0; vdba17<v17245; vdba17++) this.Items.Remove(this.Items[0]); };   this.PerformKeyboardNavigation =function(v89619) { wd73255.m17115(this,v89619); };  this.InvalidateUI =function() { wd73255.m1c782(this); };}function WebMenuSeparatorItem(v2b719){ WebMenuItem.call(this);  if (v2b719) this.Name =v2b719;  this.Type ="Separator";}function WebMenuRadioItem(v7cf19,vfba10,vce432,vf5913,v43366,vaf357,va1b30){ WebMenuItem.call(this,v7cf19,vce432,vf5913,v43366,vaf357);  this.Type ="Radio";  if (vfba10) this.GroupName =vfba10;  if (va1b30) this.Checked =va1b30;}function WebMenuCheckBoxItem(vf1d58,vd7e29,v92566,va5536,v9a265,v78775){ WebMenuItem.call(this,vf1d58,vd7e29,v92566,va5536,v9a265);  this.Type ="CheckBox";  if (v78775) this.Checked =v78775;}function WebMenuItem(ve4184,v8e457,vef05,vdfd41,vf174){ 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 (ve4184) this.Name =ve4184;  if (v8e457) this.Text =v8e457;  if (vef05) this.ImageURL =vef05;  if (vdfd41) this.OnClick =vdfd41;  if (vf174) this.Shortcut =vf174;  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) wd73255.m1a716(this);  this.Collection.ReindexPosition(); };  this.OnInsert =function(v14511) { this.OwnerMenu =this.Parent; this.Collection =this.OwnerMenu.Items; if (this.OwnerMenu.Element !=null) wd73255.m18d24(this,v14511);  this.Collection.ReindexPosition(); };  this.OnRemove =function() { if (this.OwnerMenu.Element !=null) wd73255.m76b27(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 ve2f13 =this.OwnerMenu.GetMenuBodyElement().parentElement; var vfe39 =this.GetElement(); var v2f351 =ve2f13.scrollTop; var v9d439 =ve2f13.clientHeight; var ve4487 =vfe39.offsetTop; var ve3582 =vfe39.offsetHeight;  if (ve4487 <v2f351 ) ve2f13.scrollTop =ve4487; else if (ve4487 +ve3582 >v2f351 +v9d439 ) ve2f13.scrollTop =ve4487 +ve3582 -v9d439; };  this.GetElement =function() { if (!this.Element) { var v7fe14 =this.OwnerMenu.GetMenuBodyElement(); var v28986 =this.OwnerMenu;  if (v7fe14) { if (v28986.IconViewMode) { for (var vea918=0; vea918<v7fe14.rows.length; vea918++) { var v02335 =v7fe14.rows[vea918];  if (this.IsUsingImageIconViewMode()) { if (IS.GetAttr(v02335,"type")=="GroupItem") { var vc180 =v02335.cells[1]; for(var ve4465=0; ve4465<vc180.children.length; ve4465++) { var v7f314 =vc180.children[ve4465]; if (IS.GetAttr(v7f314,"name")==this.Name) { this.Element =v7f314; break; } } } } else { if (IS.GetAttr(v02335,"name")==this.Name) { this.Element =v02335; break; } } } } else { for (var vea918=0; vea918<v7fe14.rows.length; vea918++) { var v02335 =v7fe14.rows[vea918]; if (IS.GetAttr(v02335,"name")==this.Name) { this.Element =v02335; break; } } } } } return this.Element; };  this.HasSubMenu =function() { return (this.Items.length >0); };  this.Click =function() { wd73255.m17194(this); };  this.GetPreviousSelectableItem =function() { var vc0598 =this.Index-1;  if (vc0598 <0) vc0598 =this.Collection.length-1;  var v87043 =this.Collection[vc0598];  if (v87043) { if (v87043.Visible &&v87043.Type !="Separator" &&v87043.Type !="Custom") return v87043; else { if (this.Index ==0 &&this.Collection.length ==1) return null; else return v87043.GetPreviousSelectableItem(); } }  return null; };  this.GetNextSelectableItem =function() { var vb4942 =this.Index+1; if (vb4942 >(this.Collection.length-1)) vb4942 =0; var v87043 =this.Collection[vb4942];  if (v87043) { if (v87043.Visible &&v87043.Type !="Separator" &&v87043.Type !="Custom") return v87043; else { if (this.Index ==0 &&this.Collection.length ==1) return null; else  return v87043.GetNextSelectableItem(); } }  return null; };  this.SetChecked =function(va7195,v6cd15) { var vfe39 =this.GetElement(); var vc180; var v7f314; var vba878;  if (typeof(va7195)=="undefined")va7195 =true; if (this.Type =="Radio" &&va7195) { var v16130 =this.OwnerMenu.GetSelectedItemByGroup(this.GroupName);  if (v16130 &&v16130 ==this) return false;  if (v16130) v16130.SetChecked(false); } this.Checked =va7195;  if (!vfe39)return;  if (vfe39.tagName =="TR") { vc180 =vfe39.cells[0]; v7f314 =vc180.children[0];  if (IS.ie ||IS.moz) vba878 =v7f314.children[0].children[0]; else vba878 =v7f314.children[0]; } else if (vfe39.tagName =="SPAN"){ v7f314 =vfe39;  if (IS.ie ||IS.moz) vba878 =v7f314.children[0].children[0]; else vba878 =v7f314.children[0]; }  var v7a728 =this.OwnerMenu.MenuControl.MenuStyleSettings; if (this.Checked) { if (this.UseFontImage) { vba878.innerHTML =wd73255.m67745(v7a728,this.Type =="CheckBox" ? "a" :  this.Type =="Radio" ? "=" : ""); if (IsGecko30()&&vba878.tagName =="IMG") vba878.style.display =""; }  if (v7a728.HighlightMode =="UseWebStyle") { if (!v6cd15) DynamicStyleEngine.SetToOverStyle(null,v7a728.CheckedItemStyle,v7f314); else DynamicStyleEngine.SetToStyle(null,v7a728.CheckedItemStyle,v7f314); } else { with (v7f314.style) { backgroundImage ="url(" +wd73255.m9d418(v7a728,"ActiveIconCell",true)+")"; backgroundRepeat ="no-repeat"; backgroundPosition ="top left"; marginTop ="-1px"; height ="22px";  if (IS.ie) { paddingTop ="3px"; paddingRight ="3px"; } } } } else { if (this.UseFontImage) { vba878.innerHTML =""; if (IsGecko30()&&vba878.tagName =="IMG") vba878.style.display ="none"; }  v7f314.className =""; v7f314.style.backgroundImage ="none"; } };  this.Enable =function() { if (this.Enabled) return;  var vb4795 =this.GetElement(); var va194 =this.OwnerMenu.MenuControl.MenuStyleSettings.ItemStyle;  if (vb4795) { if (this.OwnerMenu.IconViewMode) { } else { for (var vea918=0; vea918<vb4795.cells.length; vea918++) { var vc180 =vb4795.cells[vea918]; vc180.disabled =false; DynamicStyleEngine.SetToStyle(null,va194,vc180); } }  if (this.ImageURL !="") { var v6b963 =this.GetImageElement();  v6b963.style.filter =""; v6b963.style.backgroundColor =""; } }  this.Enabled =true; };  this.Disable =function() { if (!this.Enabled) return; var vb4795 =this.GetElement(); var vd9278 =this.OwnerMenu.MenuControl; var va194 =this.OwnerMenu.MenuControl.MenuStyleSettings.DisabledItemStyle; if (vb4795) { if (this.OwnerMenu.IconViewMode) { } else { for (var vea918=0; vea918<vb4795.cells.length; vea918++) { var vc180 =vb4795.cells[vea918]; vc180.disabled =true; DynamicStyleEngine.SetToStyle(null,va194,vc180); } }  if (this.ImageURL !="") { var v6b963 =this.GetImageElement();  v6b963.style.filter =(this.OwnerMenu.MenuControl.SkipAlpha ? "" : "Alpha(Opacity=50),")+"Gray()"; if (vd9278.DrawImageBackground) v6b963.style.backgroundColor =vd9278.MenuStyleSettings.BackgroundStripColor; } }  this.Enabled =false; };  this.Show =function() { if (this.Visible) return; var vb4795 =this.GetElement(); if (vb4795) vb4795.style.display ="";  this.Visible =true; };  this.Hide =function() { if (!this.Visible) return; var vb4795 =this.GetElement(); if (vb4795) vb4795.style.display ="none";  this.Visible =false; };  this.GetContentElement =function() { var vb4795 =this.GetElement(); if (vb4795.tagName =="TR") return vb4795.cells[1];  return null; };  this.SetText =function(v8e457) { var vb4795 =this.GetElement(); if (vb4795) { if (vb4795.tagName =="TR") { var v40666 =vb4795.cells[1]; v40666.innerHTML =v8e457; } }  this.Text =v8e457; };  this.GetImageElement =function() { var vb4795 =this.GetElement(); if (vb4795) { if (vb4795.tagName =="TR") { var v40666 =vb4795.cells[0]; return v40666.children[0].children[0]; } else if (vb4795.tagName =="SPAN") { return vb4795.children[0]; } } };  this.SetImage =function(v29314) { var vb4795 =this.GetElement(); if (vb4795) { if (vb4795.tagName =="TR") { var v40666 =vb4795.cells[0]; v40666.children[0].src =v29314; } else if (vb4795.tagName =="SPAN") { vb4795.children[0].src =v29314; } }  this.ImageURL =v29314; };  this.Destroy =function() { var vb4795 =this.GetElement(); if (vb4795) Listener.Unload(vb4795); };   this.Delete =function() { this.Collection.Remove(this); };  this.Unselect =function() { if (this.Type =="Separator") return;  wd73255.mb9535(this); };  this.IsSelected =function() { return (this.OwnerMenu.ActiveItem ==this); };  this.Select =function(v6d050) { if (this.Type =="Separator") return;  if (this.IsSelected()) return; if (typeof(v6d050)=="undefined") v6d050 =true;  if (v6d050) { if (this.ActiveItem) wd73255.mb9535(this.ActiveItem); }  wd73255.mb9319(this); };  this.IsSubMenuOpen =function() { return this.SubMenu.IsOpen(); };  this.HideSubMenuQueue =function() { if (this.HasSubMenu()&&this.IsSubMenuOpen()) { var v28986 =this.SubMenu; this.CloseQueueId =setTimeout(function(){if (v28986.ParentMenuItem.InHideQueue())v28986.Hide();},this.OwnerMenu.MenuControl.ShowDelay); } };  this.ShowSubMenu =function(vd9186) { if (this.HasSubMenu()) { var v28986 =this.SubMenu; v28986.MenuControl =this.OwnerMenu.MenuControl; v28986.ParentMenu =this.OwnerMenu; v28986.OffsetElement =this.GetElement(); v28986.Show();   if (vd9186) { var v27353 =v28986.Items[0];   if (v27353 &&(v27353.Type =="Custom" ||v27353.Type =="Separator")) v27353 =v27353.GetNextSelectableItem();  if (v27353) v27353.Select();  } } };  this.ShowSubMenuQueue =function(v84870,vd9186) { if (this.HasSubMenu()) { var v28986 =this.SubMenu; var v38d57 =this.OwnerMenu.MenuControl.ShowDelay; v28986.MenuControl =this.OwnerMenu.MenuControl; v28986.ParentMenu =this.OwnerMenu; v28986.OffsetElement =this.GetElement();  if (v84870)v38d57 =1;  this.QueueId =setTimeout(function() { v28986.Show();   if (vd9186) { var v27353 =v28986.Items[0];   if (v27353 &&(v27353.Type =="Custom" ||v27353.Type =="Separator")) v27353 =v27353.GetNextSelectableItem();  if (v27353) v27353.Select();  } },v38d57); } };  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(v2c061){ var v08f42 =new WebContextMenu(v2c061);  var v3d843 =null; try {v3d843 =ISXml.GetNode(v08f42.XmlDt,"//WebContextMenu"); }catch(e){} if (v3d843 ==null)v3d843 =v08f42.XmlDt.documentElement;  if (v3d843!=null) { IS.SetPropertiesRecursive(v08f42,v3d843); var vfb564 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"]; DynamicStyleEngine.AssignFromArray(v08f42.MenuStyleSettings,v08f42.MenuStyleSettings.XmlNode,vfb564); }  ISEvent.Raise(v08f42.ClientSideEvents.OnInitialize,v2c061);  window.attachEvent("onload",function(){OnContextMenuLoad(v08f42);}); window.attachEvent("onunload",function(){OnContextMenuUnload(v08f42);});}function OnContextMenuUnload(v62545){ window.detachEvent("onload",function(){OnContextMenuLoad(v62545);}); window.detachEvent("onunload",function(){OnContextMenuUnload(v62545);});}function OnContextMenuLoad(vfc617){ if (vfc617.ControlId !="") { var v37745 =null;  if (vfc617.ControlId =="Page") v37745 =document.body; else v37745 =ISGetObject(vfc617.ControlId);  if (!v37745)v37745 =document.getElementById(vfc617.ControlId);  if (!v37745) { v37745 =document.getElementsByName(vfc617.ControlId); if (v37745 &&v37745.length >0) v37745 =v37745[0]; } if (v37745 &&v37745.tagName) { if (vfc617.ControlId !="Page") vfc617.SetOffsetElement(v37745); Listener.Add(v37745,"oncontextmenu",function(){OnGenericControlContextMenu(vfc617); return false;}); } else if (v37745 &&v37745.ClassName &&v37745.FrameObj) { var v1f792 =v37745.FrameObj; Listener.Add(v1f792,"oncontextmenu",function(){OnISControlContextMenu(vfc617); return false;}); } }  if (vfc617.IntegratedTo =="None") vfc617.CreateDefaultStyles(); else if (vfc617.IntegratedTo =="DesktopManager") vfc617.SetIntegratedToDesktopManager(); else vfc617.SetIntegratedToPlaceHolderManager();}function OnISControlContextMenu(vbda36){ event.cancelBubble =true; event.returnValue =false;  var v06f0 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var v6a871 =(IS.ie)? event.screenY : event.clientY +window.screenTop; if (IS.ie &&vbda36.MenuWindowType =="Normal") { v06f0 -=window.screenLeft; v6a871 -=window.screenTop; } vbda36.Show(v06f0,v6a871);}function OnGenericControlContextMenu(v05f72){ event.cancelBubble =true; event.returnValue =false; var vc3272 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var va1510 =(IS.ie)? event.screenY : event.clientY +window.screenTop;  if (IS.ie &&v05f72.MenuWindowType =="Normal") { vc3272 -=window.screenLeft; va1510 -=window.screenTop; }  if (v05f72.ControlId =="Page") v05f72.Show(vc3272,va1510); else v05f72.Show();}var wd73255 ={ md8f39:function(v80710) { return v80710.X +(IS.moz ||IS.opera ||IS.safari ? window.screenLeft : 0); }, md3185:function(v6a394,vbd620) { return ((IS.moz ||IS.opera ||IS.safari)? window.screenTop : 0)+v6a394.Y +(IS.safari &&!vbd620 ? document.body.scrollTop : 0); }, m3cf26:function(v8a130,vafb89) { return new OffsetLocation(wd73255.md8f39(v8a130,vafb89),wd73255.md3185(v8a130,vafb89)); },  m57b22:function(v6ff30) { var vf2e30 =wd73255.m3a192(v6ff30); wd73255.mb5166(v6ff30,vf2e30); wd73255.m9fa87(v6ff30); v6ff30.Initialized =true; },  m9fa87:function(veab85) { var v2ae65 =veab85.Element; var v65f59 =veab85.GetDocument(); var vdea8 =window; if (v2ae65) { if (!veab85.MenuControl.UseCustomContent) { Listener.Add(v2ae65,"onmouseover",wd73255.m5ad53,veab85); Listener.Add(v2ae65,"onmouseout",wd73255.m5ad53,veab85); Listener.Add(v2ae65,"onmousedown",wd73255.m5ad53,veab85); Listener.Add(v2ae65,"onmouseup",wd73255.m5ad53,veab85); Listener.Add(v2ae65,"onmousewheel",wd73255.m4b481,veab85); }  Listener.Add(v2ae65,"onselectstart",wd73255.mfe536,veab85); Listener.Add(vdea8,"onunload",wd73255.m0d973,veab85); Listener.Add(v2ae65,"oncontextmenu",wd73255.me6755,veab85); if (veab85.MenuControl.MenuWindowType =="Popup") Listener.Append(0,v65f59,"onkeydown",wd73255.m17115,veab85); else Listener.Add(v2ae65,"onkeydown",wd73255.m17115,veab85); } },  mea999:function(v8ff5,ve7078) { if (!IS.GetCssObject(null,ve7078)) { var v77c21 =v8ff5.GetCssObject(ve7078);  var v8bc38 =IS.GetRuntimeStyleSheetExact(); if (v77c21) { if (IS.ie) v8bc38.addRule(v77c21.selectorText,v77c21.style.cssText); else v8bc38.innerHTML +=v77c21.selectorText +" { " +v77c21.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",  m11b89:function(vfb224) { var v06f40 =vfb224.MenuStyleSettings; IS.AddRuntimeCssStyle(v06f40.FrameStyle,wd73255.DefaultFrameStyle); IS.AddRuntimeCssStyle(v06f40.ItemStyle.Normal,wd73255.DefaultItemNormalStyle); IS.AddRuntimeCssStyle(v06f40.ItemStyle.Over,wd73255.DefaultItemOverStyle); IS.AddRuntimeCssStyle(v06f40.CheckedItemStyle.Normal,wd73255.DefaultCheckedNormalStyle); IS.AddRuntimeCssStyle(v06f40.CheckedItemStyle.Over,wd73255.DefaultCheckedOverStyle); IS.AddRuntimeCssStyle(v06f40.DisabledItemStyle.Normal,wd73255.DefaultDisabledNormalStyle); IS.AddRuntimeCssStyle(v06f40.DisabledItemStyle.Over,wd73255.DefaultDisabledOverStyle); IS.AddRuntimeCssStyle(v06f40.SeparatorStyle,wd73255.DefaultSeparatorStyle);  if (v06f40.CustomStyle !="") IS.AddRuntimeCssStyle(v06f40.CustomStyle,wd73255.DefaultCustomStyle); },  mba750:function(v6b260) { var vb5024 =ISGetDesktopManager(); if (!vb5024) { alert("Can't integrate to DesktopManager because no DesktopManager instance were found!"); v6b260.CreateDefaultStyles(); return; }  if (!vb5024.MenuStyles.Application) { alert("Integration failed because ContextMenu is currently disabled in DesktopManager. Please set EnableContextMenu to true."); v6b260.CreateDefaultStyles(); return; }  v6b260.MenuStyleSettings.CopyFrom(vb5024.MenuStyles.Application); v6b260.MenuStyleSettings.Parent =v6b260; v6b260.MenuStyleSettings.OnPropertiesInitialized();  wd73255.m6d692(vb5024,v6b260.MenuStyleSettings); },  m82e19:function(vcbc96) { var v13160 =ISGetPlaceHolderManager(); if (v13160) { v13160.IntegrateMenuControl(vcbc96); wd73255.m6d692(v13160,vcbc96.MenuStyleSettings); } },  m6d692:function(ve1796,v7e427) { if (!wd73255.mea999(ve1796,v7e427.FrameStyle)) IS.AddRuntimeCssStyle(v7e427.FrameStyle,wd73255.DefaultFrameStyle); if (!wd73255.mea999(ve1796,v7e427.ItemStyle.Normal)) IS.AddRuntimeCssStyle(v7e427.ItemStyle.Normal,wd73255.DefaultItemNormalStyle); if (!wd73255.mea999(ve1796,v7e427.ItemStyle.Over)) IS.AddRuntimeCssStyle(v7e427.ItemStyle.Over,wd73255.DefaultItemOverStyle); if (!wd73255.mea999(ve1796,v7e427.CheckedItemStyle.Normal)) IS.AddRuntimeCssStyle(v7e427.CheckedItemStyle.Normal,wd73255.DefaultCheckedNormalStyle); if (!wd73255.mea999(ve1796,v7e427.CheckedItemStyle.Over)) IS.AddRuntimeCssStyle(v7e427.CheckedItemStyle.Over,wd73255.DefaultCheckedOverStyle); if (!wd73255.mea999(ve1796,v7e427.DisabledItemStyle.Normal)) IS.AddRuntimeCssStyle(v7e427.DisabledItemStyle.Normal,wd73255.DefaultDisabledNormalStyle); if (!wd73255.mea999(ve1796,v7e427.DisabledItemStyle.Over)) IS.AddRuntimeCssStyle(v7e427.DisabledItemStyle.Over,wd73255.DefaultDisabledOverStyle); if (!wd73255.mea999(ve1796,v7e427.SeparatorStyle)) IS.AddRuntimeCssStyle(v7e427.SeparatorStyle,wd73255.DefaultSeparatorStyle); if (!wd73255.mea999(ve1796,v7e427.CustomStyle)) IS.AddRuntimeCssStyle(v7e427.CustomStyle,wd73255.DefaultCustomStyle); },  mfe536:function() { var v34c79 =this.GetDocumentEvent(); var v0ee67 =v34c79.srcElement; var vb2f94 =v0ee67.tagName; var v81917 =true;  switch (vb2f94) { case "INPUT": case "SELECT": case "TEXTAREA": { v81917 =false; } } if (v81917) { v34c79.cancelBubble =true; v34c79.returnValue =false; } },  me6755:function() { this.GetDocumentEvent().returnValue =false; },  m17115:function(vc5d21,vff493) { var vbdb51 =this;  if (vc5d21 !=window &&typeof(vc5d21)=="object" &&vc5d21.GetType) vbdb51 =vc5d21; var v7366 =vbdb51.GetDocumentEvent(); if (vff493)v7366 =vff493;  var vfe230 =v7366.srcElement; var v0e90 =wd73255.mabe88(vfe230); var v6c292 =v7366.keyCode; var v15c6 =false;  if (vbdb51.IconViewMode) { if (v6c292 ==ISKeyboardKey.LEFT) v6c292 =ISKeyboardKey.UP;  if (v6c292 ==ISKeyboardKey.RIGHT) v6c292 =ISKeyboardKey.DOWN; }  switch (v6c292) { case ISKeyboardKey.ESC: { if (vbdb51.ActiveItem) vbdb51.ActiveItem.OwnerMenu.Hide();  break; } case ISKeyboardKey.UP: { var v08711 =vbdb51.ActiveItem;  if (!v08711 &&vbdb51.Items.length >0) v08711 =vbdb51.Items[0];  if (v08711) { var vdf759 =v08711.GetPreviousSelectableItem(); if (vdf759) vdf759.Select();  if (vbdb51.ScrollEnabled) { vdf759.ScrollIntoView(); wd73255.mf6362(vbdb51); }  v15c6 =true; } break; } case ISKeyboardKey.DOWN: { var v08711 =vbdb51.ActiveItem; if (!v08711 &&vbdb51.Items.length >0) v08711 =vbdb51.Items[vbdb51.Items.length-1];  if (v08711) { var vb8954 =v08711.GetNextSelectableItem(); if (vb8954) vb8954.Select();  if (vbdb51.ScrollEnabled) { vb8954.ScrollIntoView(); wd73255.mf6362(vbdb51); } v15c6 =true; } break; } case ISKeyboardKey.LEFT: { var v08711 =vbdb51.ActiveItem; if (v08711) { if (v08711.OwnerMenu.ParentMenu !=null) { vbdb51.Hide(); v15c6 =true; } else wd73255.m56f95(v6c292,v08711); } break; } case ISKeyboardKey.RIGHT: { var v08711 =vbdb51.ActiveItem; if (v08711) { if (v08711.Enabled &&v08711.Visible &&v08711.HasSubMenu()) { v08711.OwnerMenu.MenuControl.SkipAnimation =true; v08711.ShowSubMenuQueue(true,true); } else wd73255.m56f95(v6c292,v08711); }  v15c6 =true; break; } case ISKeyboardKey.ENTER: { var v08711 =vbdb51.ActiveItem; if (v08711) { if (v08711.HasSubMenu()) { v08711.ShowSubMenuQueue(true,true); } else { if (v08711.Enabled) v08711.Click(); } v15c6 =true; } break; } default: { var v8b297 =String.fromCharCode(v6c292).toLowerCase(); var vfd779 =vbdb51.Items; var v8cc63 =vfd779.length;  for (var v46d87 =0; v46d87 <v8cc63; v46d87++) { if (vfd779[v46d87].AccessKey ==v8b297 &&vfd779[v46d87].Enabled &&vfd779[v46d87].Type !="Separator" &&vfd779[v46d87].Type !="Custom") { vfd779[v46d87].Select(); vfd779[v46d87].Click(); v15c6 =true; break; } } } }  if (v15c6) { v7366.cancelBubble =true; v7366.returnValue =false; } },  m56f95:function(vd4576,v5ce72) { if (v5ce72.Parent!=null) { var v51240 =v5ce72.Parent.MenuControl; if (v51240 &&v51240.ClassName=="WebMenuBar") { var v2df2 =v51240.OnMenuKeyDown; if (typeof(v2df2)=="string") ISEvent.Raise(v2df2,vd4576,v5ce72); else if (typeof(v2df2)=="function") v2df2(vd4576,v5ce72); } }  },  m4b481:function(v7cf15) { var v74295 =this;  if (v74295.ScrollEnabled) { var ve0d81 =v74295.GetMenuBodyElement().parentElement; var vc6854 =v74295.GetDocumentEvent(); if (v7cf15) vc6854 =v7cf15;  ve0d81.scrollTop -=3 *vc6854.wheelDelta /120 *20; wd73255.mf6362(v74295);  vc6854.cancelBubble =true; vc6854.returnValue =false; } },  m5ad53:function(v0321,v6fc38) { var v4ea51 =this;  if (v0321 !=window &&typeof(v0321)=="object" &&v0321.GetType) v4ea51 =v0321;  var v33860 =v4ea51.GetDocumentEvent(); if (v6fc38)v33860 =v6fc38;  var v0f439 =v33860.srcElement; var vcf760 =wd73255.mabe88(v0f439); if (vcf760 =="") { if (v4ea51.IconViewMode) { var v3b479 =wd73255.m02038(v0f439); if (v3b479 ==null)v0f439 =wd73255.m1c036(v0f439); else v0f439 =v3b479;  vcf760 =wd73255.mabe88(v0f439); } else { v0f439 =wd73255.m1c036(v0f439); vcf760 =wd73255.mabe88(v0f439); } }  if (vcf760 =="") { if (v0f439 !=null &&v4ea51.GetElement().contains(v0f439)) { v0f439.cancelBubble =true; v33860.cancelBubble =true; v33860.returnValue =false; } return; }  switch (v33860.type) { case "mouseover": if (vcf760 =="MenuItem") { var vb0372 =wd73255.m9c871(v0f439); var vf6190 =v4ea51.Items.GetNamedItem(vb0372); if ((!vf6190.Enabled &&!v4ea51.MenuControl.MenuStyleSettings.HighlightDisabledItem)||vf6190.Type =="Custom") { wd73255.m8b043(v4ea51,vf6190); return; }  vf6190.Select(false);  if (vf6190.HasSubMenu()&&!vf6190.IsSubMenuOpen()&&!vf6190.InShowQueue()&&vf6190.Enabled) { if (v4ea51.MenuControl.MenuWindowType =="Normal") { wd73255.m8b043(v4ea51,vf6190); } vf6190.OwnerMenu.MenuControl.SkipAnimation =false; vf6190.ShowSubMenuQueue(); } else if (vf6190.HasSubMenu()&&vf6190.IsSubMenuOpen()) { if (vf6190.InHideQueue()) { vf6190.CancelHide(); } } else { wd73255.m8b043(v4ea51,vf6190); }  if (v4ea51.ParentMenuItem !=null) { if (v4ea51.ParentMenuItem.InHideQueue()) v4ea51.ParentMenuItem.CancelHide(); } } else if (vcf760 =="ScrollUp") { v4ea51.ScrollInterval =setInterval(function(){wd73255.m01677(v4ea51,"up");},100); } else if (vcf760 =="ScrollDown") { v4ea51.ScrollInterval =setInterval(function(){wd73255.m01677(v4ea51,"down");},100); } break; case "mouseout": if (vcf760 =="MenuItem") { var vb0372 =wd73255.m9c871(v0f439); var vf6190 =v4ea51.Items.GetNamedItem(vb0372); var va4d59 =v33860.toElement; var v6a61 =v4ea51.GetElement();  if ((!vf6190.Enabled &&!v4ea51.MenuControl.MenuStyleSettings.HighlightDisabledItem)||vf6190.Type =="Custom") return; if (v4ea51.ActiveItem !=null &&v4ea51.ActiveItem !=vf6190 &&va4d59 !=null) v4ea51.ActiveItem.Unselect();  if (v4ea51.ActiveItem !=null &&v4ea51.ActiveItem.GetElement().contains(va4d59)) return;  if (v6a61.contains(va4d59)) vf6190.Unselect();  if (vf6190.HasSubMenu()&&vf6190.InShowQueue()) vf6190.CancelShow(); } else if (vcf760 =="ScrollUp") { if (v4ea51.ScrollInterval >0) clearInterval(v4ea51.ScrollInterval); } else if (vcf760 =="ScrollDown") { if (v4ea51.ScrollInterval >0) clearInterval(v4ea51.ScrollInterval); } break;  case "mousedown": if (!IS.ie ||v4ea51.MenuControl.MenuWindowType =="Normal") { v33860.srcElement.cancelBubble =true; v33860.cancelBubble =true; v33860.returnValue =false; } v4ea51.IsMouseDown =true; break; case "mouseup":  if (!v4ea51.IsMouseDown) return;  v4ea51.IsMouseDown =false;  if (vcf760 =="MenuItem") { var vb0372 =wd73255.m9c871(v0f439); var vf6190 =v4ea51.Items.GetNamedItem(vb0372); var va4d59 =v33860.toElement; var v6a61 =v4ea51.GetElement(); var vb6648 =v4ea51.MenuControl;  if (!vf6190.Enabled) return;  if (vb6648.MenuAnimation &&vb6648.AnimatedObj !=null &&vb6648.AnimatedObj.IntervalId >0) return; if (IS.moz) { v33860.cancelBubble =true; v33860.returnValue =false; }  if (vf6190.HasSubMenu()&&!vf6190.IsSubMenuOpen()&&vf6190.Enabled) { if (vf6190.InShowQueue()) vf6190.CancelShow();  if (!vf6190.IsSubMenuOpen()) vf6190.ShowSubMenuQueue(true);  if (v4ea51.MenuControl.MenuWindowType =="Normal") wd73255.m8b043(v4ea51,vf6190,true); } else if (!vf6190.HasSubMenu()) { if (vf6190.Type !="Custom" &&vf6190.Type !="Separator") { vf6190.Click(); } } } break; } },  m8b043:function(v53156,v3ed17,vf1d28) { var vbaa72 =v53156.GetOpenSubMenu(); if (vbaa72 &&vbaa72 !=v3ed17) { if (vf1d28) vbaa72.SubMenu.Hide(); else vbaa72.HideSubMenuQueue(); } },  mabe88:function(v43347) { if (!v43347)return "";  if (v43347.tagName =="TD") { var v2bc12 =v43347.parentElement; if (IS.GetAttr(v2bc12,"type")=="MenuItem") return "MenuItem"; } else if (v43347.tagName =="DIV" ||((v43347.tagName =="FONT" ||v43347.tagName =="IMG")&&v43347.parentElement.tagName =="DIV")) { if (v43347.tagName =="FONT" ||v43347.tagName =="IMG") v43347 =v43347.parentElement;  if (v43347.id.indexOf("scroll_up")>-1) return "ScrollUp"; else if (v43347.id.indexOf("scroll_down")>-1) return "ScrollDown"; } else if (v43347.tagName =="SPAN") { if (IS.GetAttr(v43347,"name")!="") return "MenuItem"; else { var v2bc12 =v43347.parentElement; if (v2bc12 &&v2bc12.tagName =="SPAN" &&IS.GetAttr(v2bc12,"name")!="") return "MenuItem"; } } else if (v43347.tagName =="IMG") { var v2bc12 =v43347.parentElement; if (v2bc12 &&v2bc12.tagName =="SPAN" &&IS.GetAttr(v2bc12,"name")!="") return "MenuItem"; }  return ""; },  m9c871:function(v14a31) { if (v14a31.tagName =="TD") return IS.GetAttr(v14a31.parentElement,"name"); else if (v14a31.tagName =="TR") return IS.GetAttr(v14a31,"name"); else if (v14a31.tagName =="SPAN") { if (IS.GetAttr(v14a31,"type")=="MenuItem") return IS.GetAttr(v14a31,"name"); else return IS.GetAttr(v14a31.parentElement,"name"); } else if (v14a31.tagName =="IMG" &&v14a31.parentElement.tagName =="SPAN" &&IS.GetAttr(v14a31.parentElement,"name")!="") return IS.GetAttr(v14a31.parentElement,"name"); },  m1c036:function(v1e631) { if (!v1e631)return;  while (v1e631 &&v1e631.tagName !="TD") { v1e631 =v1e631.parentElement; }  if (v1e631 &&v1e631.tagName =="TD") return v1e631; else return null; },  m02038:function(v0b031) { if (!v0b031)return;  while (v0b031 &&v0b031.tagName !="SPAN") { v0b031 =v0b031.parentElement; }  if (v0b031 &&v0b031.tagName =="SPAN") return v0b031; else return null; },  mb9535:function(ve4b42) {  var v83231 =ve4b42.GetElement(); var v49c5 =ve4b42.OwnerMenu; var v3c880 =v49c5.MenuControl; var veb158 =v3c880.MenuStyleSettings; var vae666 =veb158.ItemStyle;  if (!ve4b42.Enabled) vae666 =veb158.DisabledItemStyle; if (v49c5.IconViewMode &&v83231.tagName =="SPAN") { wd73255.md9537(ve4b42); return; }  for (var v25828=0; v25828<v83231.cells.length; v25828++) { var v6e781 =v83231.cells[v25828];  if (veb158.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToStyle(null,vae666,v6e781); else v6e781.style.backgroundImage ="none";  if (v25828 ==0) { v6e781.style.padding ="1px"; if ((ve4b42.Type =="Radio" ||ve4b42.Type =="CheckBox")&&ve4b42.Checked) { if (veb158.HighlightMode =="UseWebStyle") { var vb2e9 =v6e781.children[0]; DynamicStyleEngine.SetToStyle(null,veb158.CheckedItemStyle,vb2e9); } } } else if (v25828 ==3) { v6e781.style.padding =veb158.ItemPadding; } else { v6e781.style.paddingTop =v6e781.style.paddingBottom =veb158.ItemPadding; } }  ve4b42.Selected =false; ve4b42.OwnerMenu.ActiveItemIndex =-1; ve4b42.OwnerMenu.ActiveItem =null; },  md9537:function(v48c33) { var v5b478 =v48c33.GetElement(); var vffa33 =v48c33.OwnerMenu.MenuControl; var vb6369 =v48c33.OwnerMenu; var v11a5 =vffa33.MenuStyleSettings; var vfbf32 =v11a5.ItemStyle;  if (v48c33.Type =="Normal") {  } else if (v48c33.Type =="Radio" ||v48c33.Type =="CheckBox") { if (v48c33.Checked) vfbf32 =v11a5.CheckedItemStyle; }  DynamicStyleEngine.SetToStyle(null,vfbf32,v5b478); v48c33.Selected =false; vb6369.ActiveItemIndex =-1; vb6369.ActiveItem =null; },  mf1867:function(v58572) { var v2c517 =v58572.GetElement(); var v48d52 =v58572.OwnerMenu.MenuControl; var vcea3 =v58572.OwnerMenu; var vbee29 =v48d52.MenuStyleSettings; var vd2a31 =vbee29.ItemStyle;  if (v58572.Type =="Normal") {  } else if (v58572.Type =="Radio" ||v58572.Type =="CheckBox") { if (v58572.Checked) vd2a31 =vbee29.CheckedItemStyle; }  DynamicStyleEngine.SetToOverStyle(null,vd2a31,v2c517); vcea3.ActiveItemIndex =v58572.Index; vcea3.ActiveItem =v58572; v58572.Selected =true;  if (vcea3.ParentMenuItem !=null &&!vcea3.ParentMenuItem.IsSelected()) { vcea3.ParentMenuItem.Select(false); } },  mb9319:function(v15158) { var v39992 =v15158.GetElement(); var v91441 =v15158.OwnerMenu.MenuControl; var v5cd55 =v15158.OwnerMenu; var vec194 =v91441.MenuStyleSettings; var v91253 =vec194.ItemStyle;  if (v5cd55.ActiveItemIndex >-1) v5cd55.ActiveItem.Unselect();  if (v5cd55.IconViewMode &&v39992.tagName =="SPAN") { wd73255.mf1867(v15158); return; }  if (!v15158.Enabled) v91253 =vec194.DisabledItemStyle;  for (var vd4976=0; vd4976<v39992.cells.length; vd4976++) { var ve1a82 =v39992.cells[vd4976];  if (vec194.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,v91253,ve1a82); else { var v4b851 =new Array("OverLeft","OverCenter","OverCenter","OverRight"); ve1a82.style.backgroundImage ="url(" +wd73255.m9d418(vec194,v4b851[vd4976],true)+")"; ve1a82.style.backgroundRepeat ="repeat-x";  if (vd4976 ==3) ve1a82.style.backgroundPosition ="top right"; }  var vff313 =parseFloat(ve1a82.currentStyle.borderWidth);  if (!IS.ie) vff313 =parseFloat(ve1a82.currentStyle.borderTopWidth);  if (isNaN(vff313)) vff313 =0; if (vff313 >0) { var v51f40 =vec194.ItemPadding -vff313;  if (vd4976 ==0) { var v39121 =1-vff313;  with (ve1a82.style) paddingLeft =paddingTop =paddingBottom =(v39121 +"px");  if ((v15158.Type =="Radio" ||v15158.Type =="CheckBox")&&v15158.Checked) { var v22b65 =ve1a82.children[0];  if (vec194.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,vec194.CheckedItemStyle,v22b65); } } else if (vd4976 ==3) { with (ve1a82.style) paddingRight =paddingTop =paddingBottom =(v51f40 +"px"); } else { with (ve1a82.style) paddingTop =paddingBottom =(v51f40 +"px"); } } }  v5cd55.ActiveItemIndex =v15158.Index; v5cd55.ActiveItem =v15158; v15158.Selected =true;  if (v5cd55.ParentMenuItem !=null &&!v5cd55.ParentMenuItem.IsSelected()) { v5cd55.ParentMenuItem.Select(false); }  },  m1c782:function(vec513) { if (vec513 !=null &&vec513.MenuControl.MenuWindowType =="Normal" &&vec513.Popup) { if (vec513.ScrollEnabled) { var v86377 =vec513.GetMenuBodyElement().parentElement; var v76888 =vec513.GetScrollElement("up"); var vd6178 =vec513.GetScrollElement("down");  v76888.style.display ="none"; vd6178.style.display ="none"; v86377.style.height ="auto"; }  vec513.Popup._e.style.width ="auto"; vec513.Popup._e.style.height ="auto"; vec513.RuntimeWidth =vec513.Popup._e.scrollWidth; vec513.RuntimeHeight =vec513.Popup._e.scrollHeight; } },  mb5166:function(vfa363,vdc334) { var v52333 =vfa363.MenuControl;  if (vfa363.Popup ==null) { if (!IS.ie ||v52333.MenuWindowType =="Popup") { if (vfa363.ParentMenu ==null) vfa363.Popup =window.createPopup(); else vfa363.Popup =vfa363.ParentMenu.GetDocument().parentWindow.createPopup();  } else { var v6a167 =new WindowInfo(); v6a167.DisplayPosition ="Bottom"; v6a167.DisplayType ="Normal"; v6a167.OffsetControlID =v52333.Id; var v1d063 =new WindowPopup(v6a167); v6a167.Popup =v1d063; v1d063.Init(); vfa363.Popup =v1d063; v1d063.document.parentWindow =window; v45f40 =v1d063.document; } }  if (IS.ie &&v52333.MenuWindowType =="Popup") { var v03768 =IS.GetTempIFrame(); var v45f40 =v03768.contentWindow.document; v45f40.open("text/html","replace"); v45f40.write(vdc334); v45f40.close();  vfa363.RuntimeWidth =v45f40.body.scrollWidth; vfa363.RuntimeHeight =v45f40.body.scrollHeight; }  var v72614 =vfa363.GetDocument(); v72614.open("text/html","replace");  v72614.write(vdc334); v72614.close();  if (IS.ie &&v52333.MenuWindowType =="Popup") vfa363.Element =v72614.body.firstChild;  else { vfa363.Element =v72614._e.firstChild; vfa363.RuntimeHeight =vfa363.Popup._e.scrollHeight; vfa363.RuntimeWidth =vfa363.Popup._e.scrollWidth; }   for (var v70695=0; v70695<vfa363.Items.length; v70695++) { var v2f738 =vfa363.Items[v70695];  if (v2f738.Type =="Template") { var v9ba23 =document.getElementById("mi_View" +v2f738.Name);  if (v9ba23) { var v91b15 =v2f738.GetContentElement(); v91b15.innerHTML =""; v91b15.appendChild(v9ba23); v9ba23.style.display =""; } } }  if (v52333.UseCustomContent &&v52333.CustomContentElement !=null) { var v82056 =vfa363.GetMenuContainerElement(); v82056.appendChild(v52333.CustomContentElement); } },  OnMenuClosed: function(v72c18) { var vab583 =v72c18.Owner; var vd2144 =vab583.ActiveItem;  if (vd2144 !=null &&IS.moz &&vd2144.KeepMenuVisible) return false;  return true; },  mddf80:function() { if (window.screenLeft >window.screen.width) return true;  return false; },  mfa324:function(v27524,va9270,v6c075,v59072) { var v58754 =""; var v84983 =true; var v1874 =v27524.MenuControl; var v71181 =0; var v3b428 =0; if (v27524) v58754 =v27524.OffsetAlignment;  if (v27524.IsOpen()&&!v59072) return;  if (IS.ie &&v27524 &&v27524.OffsetElement) { var v2b543 =ISPosLib.getScreenLeft(v27524.OffsetElement)+ISPosLib.getWidth(v27524.OffsetElement);  if (!wd73255.mddf80()&&v2b543 >window.screen.availWidth -10 &&v58754.indexOf("Right")>-1) v58754 =v58754.replace(/Right/ig,"Left"); }  if (v27524.OffsetElement) { if (!IS.ie ||v1874.MenuWindowType =="Popup") { v71181 =ISPosLib.getScreenLeft(v27524.OffsetElement); v3b428 =ISPosLib.getScreenTop(v27524.OffsetElement); } else { v71181 =ISPosLib.getLeft(v27524.OffsetElement); v3b428 =ISPosLib.getTop(v27524.OffsetElement); } }  if (v1874.MenuWindowType =="Normal") wd73255.m1c782(v27524);  if (!va9270) { if (v27524.OffsetElement) { if (v27524.Direction =="Horizontal") { if (v58754.indexOf("Right")>-1) va9270 =v71181 +ISPosLib.getWidth(v27524.OffsetElement); else if (v58754.indexOf("Left")>-1) va9270 =v71181 -v27524.RuntimeWidth; } else { if (v58754.indexOf("Left")>-1) va9270 =v71181; else if (v58754.indexOf("Right")>-1) va9270 =v71181 +ISPosLib.getWidth(v27524.OffsetElement); } } }  if (!v6c075) { if (v27524.OffsetElement) { if (v27524.Direction =="Horizontal") { if (v58754.indexOf("Top")>-1) v6c075 =v3b428; else v6c075 =v3b428 +ISPosLib.getHeight(v27524.OffsetElement); } else { if (v58754.indexOf("Bottom")>-1) v6c075 =v3b428 +ISPosLib.getHeight(v27524.OffsetElement); else { v6c075 =v3b428 -v27524.RuntimeHeight; if (v6c075 <0)v6c075 =0; } } } }  if (v27524.ActiveItem !=null) v27524.ActiveItem.Unselect();  if (v27524.ParentMenuItem !=null) { if (v27524.ParentMenuItem.QueueId >0) v27524.ParentMenuItem.QueueId =-1; }  if (v27524._NeedSizeRecalc) { wd73255.mb4819(v27524); v27524._NeedSizeRecalc =false; }  if (!IS.ie ||v1874.MenuWindowType =="Normal") { if (!IS.ie) { if (v27524.ParentMenu !=null) { var v8f218 =v27524.ParentMenu.GetOpenSubMenu(); if (v8f218) { v8f218.SubMenu.Hide(); } } }  if ((!IS.ie ||!v27524.OffsetElement)&&!v1874.UseW3CPositioning) { if (IS.IsXHTMLDocType()) { if (!IS.moz &&!IS.opera) { va9270 +=ISPosLib.getScrollLeft(document); v6c075 +=ISPosLib.getScrollTop(document); } } else { va9270 +=document.body.scrollLeft; v6c075 +=document.body.scrollTop; } } var v95c70 =wd73255.m68264(new OffsetLocation(va9270,v6c075), v27524.Popup._e.firstChild,v27524.ParentMenu,IS.ie &&v1874.MenuWindowType =="Normal",v1874); va9270 =v95c70.X; if (!v1874.DisableFullHeightScrolling) v6c075 =v95c70.Y; } var v40449 =wd73255.m22095(v27524,va9270,v6c075); if (v40449) { va9270 =v40449.X; v6c075 =v40449.Y; v27524.RuntimeHeight =v40449.Height; }  if (IS.ie &&IS.GetIEVersion()<7) { var vd7e48 =v27524.GetStripElement(); if (vd7e48 &&v27524.RuntimeHeight >4) vd7e48.style.height =v27524.RuntimeHeight -4; } if (v27524.IsRootMenu()) { if (v27524._CloseIntervalId ==-1)v27524._CloseIntervalId =setInterval(function(){wd73255.m4b674(v27524);},100); }  if (v1874 &&v1874.GetType()=="WebContextMenu") v84983 =ISEvent.Raise(v1874.ClientSideEvents.OnShowMenu,v1874.Id,v27524,va9270,v6c075,v27524.RuntimeWidth,v27524.RuntimeHeight);  if (v84983) { if (typeof(v84983)=="object") { va9270 =v84983.X; v6c075 =v84983.Y; }  var vdfc6 =v27524.IsOpen(); v27524.Popup.show(va9270,v6c075,v27524.RuntimeWidth,v27524.RuntimeHeight);  if (IS.ie &&v1874.MenuWindowType =="Normal") v27524.SetActive();  if (v1874.MenuAnimation &&!v1874.SkipAnimation &&!vdfc6) { if (v1874.AnimatedObj ==null) { var v4ee40 =new ISAnimatedObject(); v4ee40.OnCompleted =wd73255.m97d77; v4ee40.Speed =v1874.AnimationSpeed; v4ee40.Type =(v1874.MenuAnimationMode =="Fading" ? "FadeIn" : "MenuSlideDown"); v4ee40.StepInterval =v1874.AnimationInterval;  v1874.AnimatedObj =v4ee40; }  var vb1877 =v27524.Element; wd73255.m4aa87(v27524);  if (v1874.MenuAnimationMode =="Sliding") { if (!v27524.IsRootMenu()) v1874.AnimatedObj.Type ="MenuSlideRight"; else v1874.AnimatedObj.Type ="MenuSlideDown";  vb1877 =vb1877.parentElement; vb1877.removeAttribute("OriginalLeft"); vb1877.removeAttribute("OriginalWidth"); vb1877.removeAttribute("OriginalTop"); vb1877.removeAttribute("OriginalHeight");  if (!IS.ie) { vb1877.OriginalTop =0; vb1877.OriginalWidth =0; vb1877.OriginalLeft =0; vb1877.OriginalHeight =0; } }  v1874.AnimatedObj.Owner =v27524; v1874.AnimatedObj.Element =vb1877; v1874.AnimatedObj.Play(); } else { if (v1874.MenuDropShadow) v27524.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)"; } } },  m97d77:function() { var v25699 =this.Owner;  wd73255.m4aa87(v25699);  if (v25699.MenuControl.MenuDropShadow) v25699.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)";  this.IntervalId =-1; },  m4aa87:function(vd3c35) { vd3c35.Element.style.filter =""; },  m4b674:function(vc0154) { if (!vc0154.IsOpen()) { clearInterval(vc0154._CloseIntervalId); vc0154._CloseIntervalId =-1;  var v77a18 =vc0154.MenuControl; if (v77a18.OnRootMenuClosed !=null) { if (typeof(v77a18.OnRootMenuClosed)=="string") ISEvent.Raise(v77a18.OnRootMenuClosed,vc0154); else if (typeof(v77a18.OnRootMenuClosed)=="function") v77a18.OnRootMenuClosed(vc0154); } } },  m22095:function(v2c948,ve8c36,v90831) { var vbab54 =window.screen.availHeight; var v60338 =v2c948.RuntimeHeight; var v46b12 =0; var vb5b40 =v2c948.MenuControl;  if (!IS.ie ||vb5b40.MenuWindowType =="Normal") { if (IS.IsXHTMLDocType()) vbab54 =document.documentElement.clientHeight -4; else vbab54 =document.body.clientHeight;  }  if (vb5b40.DisableFullHeightScrolling) v60338 +=(v90831 -(!IS.ie ? window.screenTop : 0));  if (v60338 >vbab54 &&!vb5b40.UseCustomContent) { var v87615 =v2c948.GetMenuBodyElement().parentElement; var v2709 =v2c948.GetScrollElement("up"); var v50b97 =v2c948.GetScrollElement("down");  v2709.style.display =""; v50b97.style.display =""; if (IS.safari) vbab54 -=8;  var v66622 =vbab54 -v2709.style.posHeight -v50b97.style.posHeight -8; if (vb5b40.DisableFullHeightScrolling) v66622 -=(v90831 -(!IS.ie ? window.screenTop : 0));  if (v66622 <0) v66622 =5; v87615.style.height =v66622 +"px"; v46b12 =vbab54 -4;  if (vb5b40.DisableFullHeightScrolling) { v60338 =v90831; v46b12 -=(v90831 -(!IS.ie ? window.screenTop : 0)-(IS.safari ? 8 : 0)); } else v60338 =2;  v2c948.ScrollEnabled =true;  if (vb5b40.MenuWindowType =="Normal") v60338 +=document.body.scrollTop;  return new Rectangle(ve8c36,v60338,null,v46b12); } else { if (v2c948.ScrollEnabled &&vb5b40.MenuWindowType =="Normal") { var v87615 =v2c948.GetMenuBodyElement().parentElement; var v2709 =v2c948.GetScrollElement("up"); var v50b97 =v2c948.GetScrollElement("down");  v2709.style.display ="none"; v50b97.style.display ="none"; v87615.style.height ="auto"; v46b12 =v87615.offsetHeight;  if (IS.IsXHTMLDocType()) v46b12 =v2c948.Popup._e.offsetHeight +8;  v2c948.ScrollEnabled =false;  return new Rectangle(ve8c36,v90831,null,v46b12); } } },  m68264:function(vf8059,v2b094,v0b72,v50373,vae380) { var v7414 =vf8059.Y; var v54e15 =vf8059.X; if (!IS.ie ||v50373) { if (!v50373) { v7414 -=window.screenTop; v54e15 -=window.screenLeft; } var v5e917 =document.body.clientHeight +ISPosLib.getScrollTop(document); var v03070 =document.body.clientWidth;  if (IS.IsXHTMLDocType()) { v5e917 =document.documentElement.clientHeight +ISPosLib.getScrollTop(document); v03070 =document.documentElement.clientWidth; }  if (v7414 +ISPosLib.getHeight(v2b094)>v5e917) { v7414 =((v5e917)-ISPosLib.getHeight(v2b094));  if (v50373) v7414 -=4; } if (v54e15 +(ISPosLib.getWidth(v2b094))>v03070) { if (!v0b72) v54e15 =v03070-ISPosLib.getWidth(v2b094); else v54e15 =ISPosLib.getLeft(v0b72.Popup._e.firstChild)-ISPosLib.getWidth(v2b094);  if (v50373) v54e15 -=4; } if (!v50373) { v7414 +=window.screenTop; v54e15 +=window.screenLeft; } else { if (v7414 <0) v7414 =2; } }  return new OffsetLocation(v54e15,v7414); },  m1ff17:function(vea351) { var v6ca15 ="<html><head>" + "<style type=\"text/css\">" +vea351.MenuControl.GetStyleString()+"</style>" + "</head><body style='margin:0px;padding:0px;overflow:hidden;border:0px'>";  if (IS.ie &&vea351.MenuControl.MenuWindowType =="Popup") return v6ca15; else return ""; },  m40775:function(va6234) { var vbeb51 ="</body></html>";  if (IS.ie &&va6234.MenuControl.MenuWindowType =="Popup") return vbeb51; else return ""; },  m2f158:function(v5f69,vf6f71) { if ((v5f69.GetType()=="WebContextMenu" &&v5f69.IntegratedToBar)&&!vf6f71) { var vfe534;  if (v5f69.GetType()=="WebContextMenu") vfe534 =v5f69._MenuCommand !=null ? v5f69._MenuCommand._Bar :  (v5f69._ToolCommand !=null? v5f69._ToolCommand._Bar : null);  if (vfe534 !=null) return vfe534.GetCachedMenuStyleString(v5f69); else if (v5f69 !=null) return v5f69.GetCachedMenuStyleString(v5f69); } var va5b83 =v5f69.MenuStyleSettings; var vb4c54 =new Array("ItemStyle","FrameStyle","DisabledItemStyle","SeparatorStyle","CheckedItemStyle","CustomStyle"); var vdad38 ="";  for (var v08d1=0; v08d1<vb4c54.length; v08d1++) { var v83166 =vb4c54[v08d1]; if (typeof(va5b83[v83166])=="string") { if (va5b83[v83166] !="") { vdad38 +=wd73255.m7c395(va5b83[v83166]); } } else if(typeof(va5b83[v83166])=="object") { var v06388 =va5b83[v83166]; if (v06388.Normal !="") vdad38 +=wd73255.m7c395(v06388.Normal);  if (v06388.Over !="") vdad38 +=wd73255.m7c395(v06388.Over);  if (v06388.Active !="") vdad38 +=wd73255.m7c395(v06388.Active); } }  return vdad38; },  m7c395:function(vbd381) { return IS.GetStyleText(null,vbd381); },  m9d418:function(v33865,v74450,va1d91) { var vca465 =v33865;  if (va1d91) vca465 =v33865.ImagesSettings;  if (v33865.UseSmartWebResources) return "ISRes.axd?D/" +vca465[v74450]; else return vca465[v74450]; },  m67745:function(vcd820,v8e929,v18c77) { if (IS.ie ||(IS.moz &&!IsGecko30())) { if (v18c77) return v8e929; else return "<font face='Webdings' style='font-size: 8pt'>" +v8e929 +"</font>"; } else { var v79020 ="";  if (v8e929 =="6") v79020 ="arrow_down.gif"; else if (v8e929 =="=") v79020 ="radio.gif"; else if (v8e929 =="a") v79020 ="checkbox.gif"; else if (v8e929 =="4") v79020 ="arrow_right.gif"; else if (v8e929 =="5") v79020 ="arrow_up.gif";  if (vcd820.UseSmartWebResources) v79020 ="ISRes.axd?D/" +v79020; else v79020 =vcd820.Parent.ImagesDirectory +v79020;  return "<img valign='absmiddle' height='16' src='" +v79020 +" ' />"; } },  m3a192:function(v29550) { var vd9375 =v29550.MenuControl; var vb308 =vd9375.MenuStyleSettings;  var v98662 ="<table class='" +vb308.FrameStyle +"' border='0' cellpadding='1' cellspacing='0' style='position: relative;'>";  v98662 +="<tr>"; v98662 +="<td valign='top'>"; v98662 +="<div id='" +v29550.GetId()+"_container' style='position: relative;";  if (v29550.IconViewMode) v98662 +="width:" +v29550.Width +";";  v98662 +="'>";  if (vd9375.GetType()=="WebContextMenu" &&vd9375.UseCustomContent) { v98662 +="</div></td></tr></table>"; return v98662; }  if (vb308.HasBackgroundStrip &&!v29550.IconViewMode) { v98662 +="<div id='" +v29550.GetId()+"_strip' style='position: absolute; left: 0px; top: 0px;"; v98662 +="width: " +vb308.BackgroundStripWidth +"px"; if (IS.ie) { if (IS.IsXHTMLDocType()) { v98662 +="; height: 100%"; } else { if (IS.GetIEVersion()<7) v98662 +=";height:auto"; else v98662 +=";height:expression(this.parentElement.offsetHeight)"; } } else v98662 +=";height:100%"; if (vb308.BackgroundStripColor2 =="" ||vb308.BackgroundStripColor2 =="000000") { v98662 +=";background-color:#" +vb308.BackgroundStripColor; } else { if (IS.ie) v98662 +=";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF" +vb308.BackgroundStripColor +", endColorstr=#FF" +vb308.BackgroundStripColor2 +", GradientType=1)"; else v98662 +=";background-color:#" +vb308.BackgroundStripColor2; }  if (vb308.BackgroundStripImage !="") v98662 +=";background-image: url(" +wd73255.m9d418(vb308,"BackgroundStripImage")+"); background-repeat: repeat-y"; v98662 +="'>"; v98662 +="</div>"; }  v98662 +="<div id='" +v29550.GetId()+"_scroll_up' align='center' disabled style='height:18px;position:relative;display:none;cursor:default'>"; v98662 +=wd73255.m67745(vb308,"5"); v98662 +="</div>"; v98662 +="<div style='position: relative; overflow: hidden;'>"; v98662 +="<table id='" +v29550.GetId()+"_body' border='0' cellpadding='0' cellspacing='0' style='cursor:default; width:100%'>"; if (v29550.IconViewMode) { var v41f12 =v29550.GetGroupItems(); for (var veed89=0; veed89<v41f12.length; veed89++) { var vc3a4 =v41f12[veed89]; if (vc3a4.constructor ==Array) v98662 +=wd73255.m76446(vc3a4); else v98662 +=wd73255.m11783(vc3a4); } } else { for (var veed89=0; veed89<v29550.Items.length; veed89++) { v98662 +=wd73255.m11783(v29550.Items[veed89]); } }  v98662 +="</table>"; v98662 +="</div>";  v98662 +="<div id='" +v29550.GetId()+"_scroll_down' align=center style='height:18px;position:relative;display:none;cursor:default'>"; v98662 +=wd73255.m67745(vb308,"6"); v98662 +="</div>"; v98662 +="</div>"; v98662 +="</td></tr></table>"; return wd73255.m1ff17(v29550)+v98662 +wd73255.m40775(v29550); },  m76446:function(vc6042) { var v9c986 =vc6042[0].OwnerMenu; var v21567 =v9c986.MenuControl; var vd6732 =v21567.MenuStyleSettings; var va5419 ="<tr type='GroupItem'>"; va5419 +="<td>"; va5419 +="</td>";  va5419 +="<td colspan=3 width='" +v9c986.Width +"'>";  for (var vf9633=0; vf9633<vc6042.length; vf9633++) { var vb3f19 =vc6042[vf9633];  va5419 +=wd73255.ma4b6(vb3f19); }  va5419 +="</td>"; va5419 +="</tr>";  return va5419; },  ma4b6:function(v03d16) { var v47f25 ="<span type='MenuItem' name='" +v03d16.Name +"' "; var v29586 =v03d16.OwnerMenu; var v4a966 =v29586.MenuControl; var v85f42 =v4a966.MenuStyleSettings;  if ((v03d16.Type =="Radio" ||v03d16.Type =="CheckBox")&&v03d16.Checked)v47f25 +="class='" +v85f42.CheckedItemStyle.Normal +"'"; if (v03d16.Tooltip !="")v47f25 +=" title='" +v03d16.Tooltip +"'";  v47f25 +=" style='width:" +(v4a966.ImageSize.Width+4)+"px; height:" +(v4a966.ImageSize.Width+4) +"px;text-align:center;padding-top:1px;margin-top:2px;margin-right:2px;";  if (IS.moz) v47f25 +="display:-moz-inline-box;"; else if (!IS.ie) v47f25 +="display:block;";  v47f25 +="'>";  if ((v03d16.Type =="Radio" ||v03d16.Type =="CheckBox")&&v03d16.ImageURL =="") v03d16.UseFontImage =true;  if (v03d16.UseFontImage) { v47f25 +="<span>";  var v8c732 ="";  if (v03d16.Type =="Radio" &&v03d16.Checked) v8c732 ="="; else if (v03d16.Type =="CheckBox" &&v03d16.Checked) v8c732 ="a"; else v47f25 +="<font face=Webdings style='font-size: 8pt'>" +v03d16.ImageURL +"</font>";  if (v8c732 !="") v47f25 +=wd73255.m67745(v85f42,v8c732);  v47f25 +="</span>"; } else { v47f25 +="<img align='absmiddle' width=" +v4a966.ImageSize.Width +" height=" +v4a966.ImageSize.Height +" ";  if (v03d16.ImageURL !="") { v47f25 +="src='" +v03d16.ImageURL +"' ";  if (!v03d16.Enabled) v47f25 +="style='filter:Alpha(Opacity=50), Gray()'"; } else v47f25 +="style='visibility: hidden'";  v47f25 +="/>"; } if (v03d16.HasSubMenu()) v47f25 +="<span>" +wd73255.m67745(v85f42,"6")+"</span>";  v47f25 +="</span>";   return v47f25; },  m11783:function(v1b647) { var v6fe36 =v1b647.OwnerMenu; var v44344 =v6fe36.MenuControl; var v45b37 =v44344.MenuStyleSettings; var v9e248 =""; var v01576 =v45b37.ItemStyle.Normal;  v9e248 +="<tr type='MenuItem' name='" +v1b647.Name +"'";  if (v1b647.Tooltip !="") v9e248 +=" title='" +v1b647.Tooltip +"'";  if (!v1b647.Visible) v9e248 +=" style='display: none'";  v9e248 +=">";  if (!v1b647.Enabled) v01576 =v45b37.DisabledItemStyle.Normal;  if (v1b647.Type =="Separator") { v9e248 +="<td></td>"; } else if (v1b647.OwnerMenu.IconViewMode) { v9e248 +="<td class='" +v01576 +"' width=1 style='border-right-style: none; padding: 1px'><img style='visibility:hidden; width:1px; height:" +(v44344.ImageSize.Height+4)+"' /></td>"; } else if (v1b647.Type =="Custom") { v9e248 +="<td class='" +v45b37.CustomStyle +"' colSpan=4>";  if (v1b647.ImageURL !="") { v9e248 +="<img align='absmiddle' "; v9e248 +="src='" +v1b647.ImageURL +"' "; v9e248 +="/> &nbsp;"; }  v9e248 +=v1b647.Text +"</td>";  return v9e248 +"</tr>"; } else { v9e248 +="<td valign=absmiddle class='" +v01576 +"' style='border-right-style: none; padding: 1px' "; if (!v1b647.Enabled)v9e248 +="disabled "; v9e248 +=">";  v9e248 +="<span ";  if ((v1b647.Type =="Radio" ||v1b647.Type =="CheckBox")&&v1b647.Checked) { v9e248 +="class='" + (v45b37.HighlightMode =="UseWebStyle" ? v45b37.CheckedItemStyle.Normal : "")+"'"; }  v9e248 +=" style='width:" +(v45b37.IconCellWidth)+"px; height:" + (parseFloat(v44344.ImageSize.Width)+4)+"px; text-align:center; padding-top:1px; display:block;";  if ((v1b647.Type =="Radio" ||v1b647.Type =="CheckBox")&&v1b647.Checked &&v45b37.HighlightMode =="UseComplexImages") { v9e248 +="background-image: url(" +wd73255.m9d418(v45b37,"ActiveIconCell",true)+");" + "background-repeat: no-repeat; background-position: top left; margin-top: -1px; height: 22px;";  if (IS.ie) v9e248 +="padding-top: 3px; padding-right: 3px"; }  if (IS.moz) { if (IsGecko30()) v9e248 +="display: inline-block;"; else v9e248 +="display:-moz-inline-block;"; } else if (IS.safari ||IS.opera) v9e248 +="display:block;";  v9e248 +="'>";  if ((v1b647.Type =="Radio" ||v1b647.Type =="CheckBox")&&v1b647.ImageURL =="") v1b647.UseFontImage =true;  if (v1b647.UseFontImage) { v9e248 +="<span>";  var v1c151 ="";  if (v1b647.Type =="Radio" &&v1b647.Checked) v1c151 ="="; else if (v1b647.Type =="CheckBox" &&v1b647.Checked) v1c151 ="a"; else v9e248 +="<font face=Webdings style='font-size: 8pt'>" +v1b647.ImageURL +"</font>";  if (v1c151 !="") v9e248 +=wd73255.m67745(v45b37,v1c151);  v9e248 +="</span>"; } else { var v9202 ="";  if (v44344.DrawImageBackground) v9202 ="; background-color: " +v45b37.BackgroundStripColor;  v9e248 +="<img align='absmiddle' width=" +v44344.ImageSize.Width +" height=" +v44344.ImageSize.Height +" ";  if (v1b647.ImageURL !="") { v9e248 +="src='" +v1b647.ImageURL +"' ";  if (!v1b647.Enabled) v9e248 +="style='filter:" +(v44344.SkipAlpha ? "" : "Alpha(Opacity=50),")+" Gray()" +v9202 +"'"; } else v9e248 +="style='visibility: hidden'";  v9e248 +="/>"; }  v9e248 +="</span>";  v9e248 +="</td>"; }  if (v1b647.Type =="Separator") { v9e248 +="<td colSpan=3 noWrap style='padding-left:2px; padding-bottom:0px;padding-right:0px;padding-top:2px'><div ";  if (v45b37.SeparatorStyle !="") v9e248 +="class='" +v45b37.SeparatorStyle +"' style='width:100%; font-size:0.01em;' "; else v9e248 +="style='height:1px; width:100%; font-size:0.01em; border-top: gray 1px solid' ";  v9e248 +="></div></td>";  } else { v9e248 +="<td" +(v1b647.Type =="Template" ? "" : " nowrap")+" class='" +v01576 +"' style='border-left-style: none; padding-top: " +v45b37.ItemPadding +"px; padding-bottom: " +v45b37.ItemPadding +"px;"; v9e248 +="border-right-style: none; padding-left: " +v45b37.ContentPadding +"px; padding-right: " +v45b37.ContentPadding +"px' "; if (!v1b647.Enabled)v9e248 +="disabled "; if (v1b647.Tooltip !="")v9e248 +="title='" +v1b647.Tooltip +"' ";  v9e248 +=">";  v9e248 +=wd73255.me6284(v1b647);  v9e248 +="</td>"; v9e248 +="<td align=right class='" +v01576 +"' style='border-left-style: none; border-right-style: none; padding:" +v45b37.ItemPadding +"px; padding-left:" +(v45b37.ContentPadding+2)+"px' ";  if (!v1b647.Enabled)v9e248 +="disabled ";  v9e248 +=">"; v9e248 +=v1b647.Shortcut.IsEmpty()? "&nbsp;" : v1b647.Shortcut.GetString(); v9e248 +="</td>"; v9e248 +="<td class='" +v01576 +"' style='border-left-style: none; padding:" +v45b37.ItemPadding +"px'>";  if (v1b647.SubMenu.Items.length >0) v9e248 +=wd73255.m67745(v45b37,v6fe36.IconViewMode ? "6" : "4"); else v9e248 +="&nbsp;";  v9e248 +="</td>"; }  v9e248 +="</tr>";  return v9e248; },  me6284:function(va9422) { var v2f166 =va9422.Text;  if (v2f166 =="") v2f166 ="&nbsp;"; else { if (va9422.AccessKey !="") { var vfbe12 =v2f166.toLowerCase(); var v55574 =va9422.AccessKey.toLowerCase();  if (vfbe12.indexOf(v55574)>-1) { var ve3a16 =vfbe12.indexOf(v55574); v2f166 =v2f166.substring(0,ve3a16)+"<u>" +v2f166.substring(ve3a16,ve3a16+1)+"</u>" +v2f166.substring(ve3a16+1); } } }  return v2f166; },  m17194:function(v2bf97) { var v1d058 =true; var vea360 =v2bf97.OwnerMenu.MenuControl; if (!v2bf97.Enabled ||vea360.ClassName ==null)return false;  if (v2bf97.Type =="CheckBox") { v2bf97.SetChecked(!v2bf97.Checked); } else if (v2bf97.Type =="Radio") { v2bf97.SetChecked(true); }  if (v2bf97.OnClick !=null) { if (typeof(v2bf97.OnClick)=="string") v1d058 =ISEvent.Raise(v2bf97.OnClick,v2bf97); else if (typeof(v2bf97.OnClick)=="function") v1d058 =v2bf97.OnClick(v2bf97);  if (!v2bf97.KeepMenuVisible) { if (vea360.HideAll) vea360.HideAll(); else return; } }  if (v1d058 &&vea360.GetType()=="WebContextMenu") { v1d058 =ISEvent.Raise(vea360.ClientSideEvents.OnMenuItemClick,vea360.Id,v2bf97); if (vea360.ClientSideEvents.OnMenuItemClick !="" &&v1d058) { if (!v2bf97.KeepMenuVisible) { if (vea360.HideAll) vea360.HideAll(); else return; } } }  if (v1d058 &&v2bf97.TargetURL !="") { if (v2bf97.TargetFrame =="") document.location.href =v2bf97.TargetURL; else { var v9c177 =v2bf97.TargetFrame;  if (v9c177 =="Blank" ||v9c177 =="Parent" ||v9c177 =="Search" || v9c177 =="Self" ||v9c177 =="Top" ||v9c177 =="UseBase") v9c177 ="_" +v9c177.toLowerCase();  window.open(v2bf97.TargetURL,v9c177); }  if (!v2bf97.KeepMenuVisible) v2bf97.OwnerMenu.MenuControl.HideAll(); }  if ((v1d058 ||typeof(v1d058)=="undefined")&&vea360.GetType()=="WebContextMenu" &&!vea360.IntegratedToBar) { var vd1961 =v2bf97.AutoPostBack; if (vd1961 =="Default")vd1961 =vea360.AutoPostBack; if (vd1961 =="Yes") { vea360.HideAll(); __doPostBack(vea360.ServerUniqueID,"ItemClick:" +wd73255.maf041(v2bf97)); } } }, maf041:function(vdb616) { var va0e32 =""; var va2549 =vdb616;  while(va2549.Parent !=null &&va2549._Type =="WebMenuItem") { va0e32 =va2549.Name +";" +va0e32; va2549 =va2549.Parent; }  return va0e32; },  m0d973:function(v6fb71) { if (v6fb71 ==null ||v6fb71 ==window) v6fb71 =this;  var v04452 =v6fb71.Element; if (!v04452)return;  var v53a58 =v6fb71.GetDocument(); if (!v53a58 ||v6fb71.Popup ==null)return;  var vd1b96 =v6fb71.GetContentWindow(); Listener.Unload(v04452); Listener.Unload(v53a58); Listener.Unload(vd1b96); Listener.Unload(window); if (v6fb71.Popup) { v53a58.open("text/plain","replace"); v53a58.write(""); v53a58.close(); }  v6fb71.Popup =null; },  m01677:function(v95f91,vb5b78) { var vc8691 =v95f91.GetMenuBodyElement().parentElement;  if (vb5b78 =="down") vc8691.scrollTop +=20; else vc8691.scrollTop -=20;  wd73255.mf6362(v95f91); },  mf6362:function(v40963) { var v31427 =v40963.GetMenuBodyElement().parentElement;  if (v31427.scrollTop ==0) v40963.GetScrollElement("up").disabled =true; else v40963.GetScrollElement("up").disabled =false;  if (v31427.scrollHeight -v31427.clientHeight <=v31427.scrollTop) v40963.GetScrollElement("down").disabled =true; else v40963.GetScrollElement("down").disabled =false; },  m69854:function(vae146) { for (var vda663=0; vda663<vae146.Items.length; vda663++) { var v1cd17 =vae146.Items[vda663]; if (v1cd17.HasSubMenu()) { wd73255.m69854(v1cd17.SubMenu); ISDeleteObject(v1cd17.SubMenu); } }  wd73255.m0d973(vae146); vae146.Items =null; vae146.Items =new ISArray(); vae146.Items.Parent =vae146; vae146.ActiveItem =vae146.Element =null; vae146.ActiveItemIndex =-1; vae146.Initialized =false; },  mb4819:function(v8c218) { if (IS.ie &&v8c218.MenuControl.MenuWindowType =="Popup") { var v6ec82 =IS.GetTempIFrame(); var v6f426 =v6ec82.contentWindow.document; var vef534 =v8c218.GetDocument().body.parentElement.outerHTML;  v6f426.open("text/html","replace"); v6f426.write(vef534); v6f426.close();  v8c218.RuntimeWidth =v6f426.body.scrollWidth; v8c218.RuntimeHeight =v6f426.body.scrollHeight; } },  m1a716:function(v01a57) { var v63f18 =v01a57.OwnerMenu; var v11896 =null; var v3a352 =""; var v7dc97 =v63f18.GetMenuBodyElement(); var v7dd51 =v63f18.GetDocument();  if (!v63f18._TempDiv) v63f18._TempDiv =v7dd51.createElement("DIV");  v11896 =v63f18._TempDiv;  if (v63f18.IconViewMode &&v01a57.IsUsingImageIconViewMode()) v3a352 =wd73255.ma4b6(v01a57); else v3a352 =wd73255.m11783(v01a57);  v11896.innerHTML ="<table>" +v3a352 +"</table>"; el =v11896.children[0].rows[0]; v7dc97.tBodies[0].appendChild(el);  v63f18._NeedSizeRecalc =true;  return el; },  m18d24:function(v51c48,v18763) { var ve0393 =wd73255.m1a716(v51c48); var v47384 =v51c48.OwnerMenu.Items[v18763];  v51c48.Element =ve0393;  if (v47384 !=null) { var vf894 =v47384.GetElement();  if (vf894 !=null &&ve0393 !=null) { var v23862 =ve0393.parentElement.parentElement; v23862.moveRow(ve0393.rowIndex,vf894.rowIndex); } } },  m76b27:function(v0ff32) { var v77532 =v0ff32.OwnerMenu; var v8604 =v0ff32.GetElement(); if (v8604) v8604.removeNode(true);  if (v0ff32.HasSubMenu()&&v0ff32.SubMenu.Popup !=null) v0ff32.SubMenu.Destroy();  v77532._NeedSizeRecalc =true; },  m33184:function(v6a423,vc6552) { var v27152 =null;  if (vc6552.GetType()=="WebContextMenu") v27152 =vc6552.RootMenu; else if (vc6552.GetType()=="WebMenuItem") v27152 =vc6552.SubMenu; else if (vc6552.GetType()=="WebMenu") v27152 =vc6552; for (var vd7213=0; vd7213<v6a423.length; vd7213++) { var v9a45 =v6a423[vd7213];  v9a45.OwnerMenu =v27152;  v9a45.Collection =v27152.Items; v9a45.Index =vd7213;  if (v9a45.Items.length >0) wd73255.m33184(v9a45.Items,v9a45); } }};if (typeof(RegisterKeyboardHandler)=="function") RegisterKeyboardHandler(); if (typeof(Sys)!="undefined") Sys.Application.notifyScriptLoaded();