
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 2/5/2010 2:11:41 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(v61570){ this.ClassName ="WebMenuControlBase"; this.Version ="1.5.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.5"; this.RequiredFrameworkVersion ="2.0.5000.18"; ISControl.call(this,v61570); 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 =v61570; 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.IsRightToLeft =false;  this.GetStyleString =function() { return wdbdd54.m97298(this); };  this.CreateDefaultStyles =function() { wdbdd54.me4675(this); };  this.Destroy =function() { if (this.MenuWindowType =="Normal") { for (var va7b51=0; va7b51<this.RootMenu.Items.length; va7b51++) { var va7f69 =this.RootMenu.Items[va7b51];  if (va7f69.HasSubMenu()&&va7f69.SubMenu.Popup !=null) va7f69.SubMenu.Destroy(); }  this.RootMenu.Destroy(); } };  this.ApplyStyles =function() {  };  this.GetAllMenus =function() {  };  this.GetAllOpenMenus =function() {  };  this.SetIntegratedToDesktopManager =function() { wdbdd54.m7a180(this); };  this.SetIntegratedToPlaceHolderManager =function() { wdbdd54.mf516(this); };  this.CopyMenuSetting =function(vb9e70) { this.MenuAnimation =vb9e70.MenuAnimation; this.MenuAnimationMode =vb9e70.MenuAnimationMode; this.MenuDropShadow =vb9e70.MenuDropShadow; this.MenuWindowType =vb9e70.MenuWindowType; this.AnimationSpeed =vb9e70.AnimationSpeed; }; this.GetLocation =function(v36b6,v91348,v3b642) { return wdbdd54.m73371(new OffsetLocation(v36b6,v91348),v3b642); }; this.GetEventLocation =function() { return wdbdd54.m73371(new OffsetLocation(event.clientX,event.clientY)); };}function WebContextMenu(vfc29){ WebMenuControlBase.call(this,vfc29); 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 v26090; for(v26090 in this.Events) { if (typeof(this.Events[v26090])=="string") this.ClientSideEvents[v26090] =this.Events[v26090]; } }  var v0b388 =ISXml.GetAttribute(this.XmlNode,"ImageSize");  if (v0b388 !="" &&v0b388 !=null) { this.ImageSize =new UnitSize(); this.ImageSize.Parse(v0b388); } }; this.ClearAll =function() { wdbdd54.meeb34(this.RootMenu); this.RootMenu.MenuControl =this; this.Items =this.RootMenu.Items; };  this.IsAllItemsInvisible =function(v5519) { for (var v67e90=0; v67e90<v5519.length; v67e90++) { if (v5519[v67e90].Visible) return false; }  return true; };  this.Show =function(v08f81,vefa37,vbf394) { if ((this.Items.length ==0 ||this.IsAllItemsInvisible(this.Items))&&!this.UseCustomContent) return;  if (typeof(v08f81)=="object" &&v08f81 !=null) { vefa37 =v08f81.Y; v08f81 =v08f81.X; } this.RootMenu.Show(v08f81,vefa37,vbf394); };  this.SetOffsetElement =function(v6bd36) { this.RootMenu.OffsetElement =v6bd36; };  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; }  wdbdd54.m77e99(this.Items,this); };}function WebContextMenuClientSideEvents(){ this._Type ="WebContextMenuClientSideEvents"; ISObject.call(this); this.OnInitialize =""; this.OnShowMenu =""; this.OnMenuItemClick =""; this.OnMenuItemSelect ="";}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.BackgroundStripStyle ="";  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(vcd192){ 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 (vcd192) { this.ParentMenuItem =vcd192; }  this.IsOpen =function() { if (this.Popup) return this.Popup.isOpen; else return false; };  this.IsRootMenu =function() { return (this.ParentMenuItem ==null); };  this.GetGroupItems =function() { var v82936 =new Array(); var v52816 =null; for (var v2a279=0; v2a279<this.Items.length; v2a279++) { var vdf858 =this.Items[v2a279]; if ((vdf858.Text ==null ||vdf858.Text =="" ||(vdf858.Text !="" &&vdf858.IconViewDisplayMode =="Image"))&&vdf858.Type !="Separator" &&vdf858.Type !="Custom") { if (v52816 ==null ||(v52816 !=null &&v52816.constructor !=Array)) v52816 =new ISArray();  v52816.Add(vdf858); } else { v52816 =vdf858; }  var vfff11 =this.Items[v2a279+1]; if (vfff11 &&(vfff11.Type =="Separator" ||vfff11.ImageURL =="" ||vfff11.ImageURL ==null ||(vfff11.ImageURL !="" &&vfff11.IconViewDisplayMode =="Text"))) { v82936.push(v52816); v52816 =null; } else if (!vfff11) { v82936.push(v52816); } }  return v82936; };  this.GetOpenSubMenu =function() { for (var v2a279=0; v2a279<this.Items.length; v2a279++) { var vdf858 =this.Items[v2a279]; if (vdf858.HasSubMenu()&&vdf858.Enabled &&vdf858.IsSubMenuOpen()) { return vdf858; } }  return null; };  this.GetId =function() { var v9b54 =this.MenuControl.Id +"_"; var v0bd96 =""; var v64761 =""; var ve4481 =this.ParentMenuItem; var v0ea57 =new Array();  while (ve4481 !=null) { v0ea57.push(ve4481.Name); ve4481 =ve4481.OwnerMenu.ParentMenuItem; } v0ea57.reverse();  for(var v2a279=0; v2a279<v0ea57.length; v2a279++) v64761 =v0ea57[v2a279] +"_";  v0bd96 =v9b54 +v64761;  return v0bd96; };  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 v3ee12 =this.GetDocument(); if (v3ee12) return v3ee12.getElementById(this.GetId()+"_body"); else return null; };  this.GetMenuContainerElement =function() { var v3ee12 =this.GetDocument(); if (v3ee12) return v3ee12.getElementById(this.GetId()+"_container"); else return null; };  this.GetScrollElement =function(v7e092) { var v3ee12 =this.GetDocument(); return v3ee12.getElementById(this.GetId()+"_scroll_" +v7e092); };  this.GetSelectedItemByGroup =function(v04511) { for (var v2a279=0; v2a279<this.Items.length; v2a279++) { var vdf858 =this.Items[v2a279];  if (vdf858.Type =="Radio" &&vdf858.GroupName ==v04511 &&vdf858.Checked) return vdf858; }  return null; };  this.Destroy =function() { var vbcb8 =this.Element;  if (vbcb8) Listener.Unload(vbcb8);  if (this.Popup) { if (this.MenuControl.MenuWindowType =="Popup") { var v82847 =this.GetDocument(); v82847.open("text/plain","replace"); v82847.write(""); v82847.close(); this.Popup =null; } else { document.body.removeChild(this.Popup._e); ISDeleteObject(this.Popup); } } };  this.Show =function(v67e47,v23229,v2ef58) { if (!this.Initialized) { wdbdd54.m48954(this); }  wdbdd54.md5d7(this,v67e47,v23229,v2ef58); };  this.Initialize =function() { if (!this.Initialized) { wdbdd54.m48954(this); } };  this.InstantiateIn =function(vbcb8) { this.Initialize();  if (this.MenuControl.MenuWindowType !="Normal") { alert("InstantiateIn method can only be used with Normal MenuWindowType"); return; } vbcb8.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 vac379 =this.GetOpenSubMenu(); if (vac379) vac379.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 va9b0 =this.MenuControl.AnimatedObj.IntervalId;  if (va9b0 >0) { clearTimeout(va9b0); this.MenuControl.AnimatedObj.IntervalId =-1; }  wdbdd54.mcc878(this); } } };  this.GetDocumentEvent =function() { return this.GetDocument().parentWindow.event; };  this.GetContentWindow =function() { return this.GetDocument().parentWindow; };  this.Invalidate =function() { };  this.GetStripElement =function() { var v77c90 =this.MenuControl; var v43e69 =v77c90.MenuStyleSettings; if (v43e69.HasBackgroundStrip &&!this.IconViewMode) { var v3ee12 =this.GetDocument(); if (v3ee12) return v3ee12.getElementById(this.GetId()+"_strip"); }  return null; };   this.SetActive =function() { if (IS.ie) { try { this.Element.setActive(); } catch(e) { } } };  this.GetRootMenu =function() { var v7ff91 =this.ParentMenu;  if (v7ff91 ==null) return this;  while (true) { if (v7ff91.ParentMenu ==null) return v7ff91; else v7ff91 =v7ff91.ParentMenu; }  return null; };  this.SetDirty =function() { this._NeedSizeRecalc =true; };  this.GetItem =function(vf5d66) { return this.Items.GetNamedItem(vf5d66); };  this.Clear =function() { wdbdd54.meeb34(this); };  this.SetHeight =function(v30966) { var vbcb8 =this.GetElement(); vbcb8.style.height =v30966; };  this.RemoveAllItems =function() { var veaf43 =this.Items.length;  for (var v2a279=0; v2a279<veaf43; v2a279++) this.Items.Remove(this.Items[0]); };   this.PerformKeyboardNavigation =function(vfb52) { wdbdd54.m8d442(this,vfb52); };  this.InvalidateUI =function() { wdbdd54.m55e71(this); };}function WebMenuSeparatorItem(v5c186){ WebMenuItem.call(this);  if (v5c186) this.Name =v5c186;  this.Type ="Separator";}function WebMenuRadioItem(v94c86,ve0f48,v03d92,v55c47,vabd40,va0c14,v45a79){ WebMenuItem.call(this,v94c86,v03d92,v55c47,vabd40,va0c14);  this.Type ="Radio";  if (ve0f48) this.GroupName =ve0f48;  if (v45a79) this.Checked =v45a79;}function WebMenuCheckBoxItem(vb6541,v70b27,v1dd77,v6a450,va2062,ve2522){ WebMenuItem.call(this,vb6541,v70b27,v1dd77,v6a450,va2062);  this.Type ="CheckBox";  if (ve2522) this.Checked =ve2522;}function WebMenuItem(v5e54,v94824,v2fc34,v62897,v96024){ 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 (v5e54) this.Name =v5e54;  if (v94824) this.Text =v94824;  if (v2fc34) this.ImageURL =v2fc34;  if (v62897) this.OnClick =v62897;  if (v96024) this.Shortcut =v96024;  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) wdbdd54.m2c953(this);  this.Collection.ReindexPosition(); };  this.OnInsert =function(v02179) { this.OwnerMenu =this.Parent; this.Collection =this.OwnerMenu.Items; if (this.OwnerMenu.Element !=null) wdbdd54.m18c68(this,v02179);  this.Collection.ReindexPosition(); };  this.OnRemove =function() { if (this.OwnerMenu.Element !=null) wdbdd54.m13485(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 vdc197 =this.OwnerMenu.GetMenuBodyElement().parentElement; var ve806 =this.GetElement(); var v94a62 =vdc197.scrollTop; var v8aa53 =vdc197.clientHeight; var v9c184 =ve806.offsetTop; var vc0c29 =ve806.offsetHeight;  if (v9c184 <v94a62 ) vdc197.scrollTop =v9c184; else if (v9c184 +vc0c29 >v94a62 +v8aa53 ) vdc197.scrollTop =v9c184 +vc0c29 -v8aa53; };  this.GetElement =function() { if (!this.Element) { var v30491 =this.OwnerMenu.GetMenuBodyElement(); var vd9f99 =this.OwnerMenu;  if (v30491) { if (vd9f99.IconViewMode) { for (var v5bf49=0; v5bf49<v30491.rows.length; v5bf49++) { var vd5985 =v30491.rows[v5bf49];  if (this.IsUsingImageIconViewMode()) { if (IS.GetAttr(vd5985,"type")=="GroupItem") { var v13c85 =vd5985.cells[1]; for(var v7a433=0; v7a433<v13c85.children.length; v7a433++) { var v1eb72 =v13c85.children[v7a433]; if (IS.GetAttr(v1eb72,"name")==this.Name) { this.Element =v1eb72; break; } } } } else { if (IS.GetAttr(vd5985,"name")==this.Name) { this.Element =vd5985; break; } } } } else { for (var v5bf49=0; v5bf49<v30491.rows.length; v5bf49++) { var vd5985 =v30491.rows[v5bf49]; if (IS.GetAttr(vd5985,"name")==this.Name) { this.Element =vd5985; break; } } } } } return this.Element; };  this.HasSubMenu =function() { return (this.Items.length >0); };  this.Click =function() { wdbdd54.m70b38(this); };  this.GetPreviousSelectableItem =function() { var v8271 =this.Index-1;  if (v8271 <0) v8271 =this.Collection.length-1;  var v73a7 =this.Collection[v8271];  if (v73a7) { if (v73a7.Visible &&v73a7.Type !="Separator" &&v73a7.Type !="Custom") return v73a7; else { if (this.Index ==0 &&this.Collection.length ==1) return null; else return v73a7.GetPreviousSelectableItem(); } }  return null; };  this.GetNextSelectableItem =function() { var v5808 =this.Index+1; if (v5808 >(this.Collection.length-1)) v5808 =0; var v73a7 =this.Collection[v5808];  if (v73a7) { if (v73a7.Visible &&v73a7.Type !="Separator" &&v73a7.Type !="Custom") return v73a7; else { if (this.Index ==0 &&this.Collection.length ==1) return null; else  return v73a7.GetNextSelectableItem(); } }  return null; };  this.SetChecked =function(v8d915,vab282) { var ve806 =this.GetElement(); var v13c85; var v1eb72; var vf8688;  if (typeof(v8d915)=="undefined")v8d915 =true; if (this.Type =="Radio" &&v8d915) { var v6482 =this.OwnerMenu.GetSelectedItemByGroup(this.GroupName);  if (v6482 &&v6482 ==this) return false;  if (v6482) v6482.SetChecked(false); } this.Checked =v8d915;  if (!ve806)return;  if (ve806.tagName =="TR") { v13c85 =ve806.cells[0]; v1eb72 =v13c85.children[0];  if (IS.ie ||IS.moz) vf8688 =v1eb72.children[0].children[0]; else vf8688 =v1eb72.children[0]; } else if (ve806.tagName =="SPAN"){ v1eb72 =ve806;  if (IS.ie ||IS.moz) vf8688 =v1eb72.children[0].children[0]; else vf8688 =v1eb72.children[0]; }  var vaa012 =this.OwnerMenu.MenuControl.MenuStyleSettings; if (this.Checked) { if (this.UseFontImage) { vf8688.innerHTML =wdbdd54.m3fa51(vaa012,this.Type =="CheckBox" ? "a" :  this.Type =="Radio" ? "=" : ""); if (IsGecko30()&&vf8688.tagName =="IMG") vf8688.style.display =""; }  if (vaa012.HighlightMode =="UseWebStyle") { if (!vab282) DynamicStyleEngine.SetToOverStyle(null,vaa012.CheckedItemStyle,v1eb72); else DynamicStyleEngine.SetToStyle(null,vaa012.CheckedItemStyle,v1eb72); } else { with (v1eb72.style) { backgroundImage ="url(" +wdbdd54.m7f245(vaa012,"ActiveIconCell",true)+")"; backgroundRepeat ="no-repeat"; backgroundPosition ="top left"; marginTop ="-1px"; height ="22px";  if (IS.ie) { paddingTop ="3px"; paddingRight ="3px"; } } } } else { if (this.UseFontImage) { vf8688.innerHTML =""; if (IsGecko30()&&vf8688.tagName =="IMG") vf8688.style.display ="none"; }  v1eb72.className =""; v1eb72.style.backgroundImage ="none"; } };  this.Enable =function() { if (this.Enabled) return;  var v23638 =this.GetElement(); var vbf289 =this.OwnerMenu.MenuControl.MenuStyleSettings.ItemStyle;  if (v23638) { if (this.OwnerMenu.IconViewMode) { } else { for (var v5bf49=0; v5bf49<v23638.cells.length; v5bf49++) { var v13c85 =v23638.cells[v5bf49]; v13c85.disabled =false; DynamicStyleEngine.SetToStyle(null,vbf289,v13c85); } }  if (this.ImageURL !="") { var v73086 =this.GetImageElement();  v73086.style.filter =""; v73086.style.backgroundColor =""; } }  this.Enabled =true; };  this.Disable =function() { if (!this.Enabled) return; var v23638 =this.GetElement(); var va7670 =this.OwnerMenu.MenuControl; var vbf289 =this.OwnerMenu.MenuControl.MenuStyleSettings.DisabledItemStyle; if (v23638) { if (this.OwnerMenu.IconViewMode) { } else { for (var v5bf49=0; v5bf49<v23638.cells.length; v5bf49++) { var v13c85 =v23638.cells[v5bf49]; v13c85.disabled =true; DynamicStyleEngine.SetToStyle(null,vbf289,v13c85); } }  if (this.ImageURL !="") { var v73086 =this.GetImageElement();  v73086.style.filter =(this.OwnerMenu.MenuControl.SkipAlpha ? "" : "Alpha(Opacity=50),")+"Gray()"; if (va7670.DrawImageBackground) v73086.style.backgroundColor =va7670.MenuStyleSettings.BackgroundStripColor; } }  this.Enabled =false; };  this.Show =function() { if (this.Visible) return; var v23638 =this.GetElement(); if (v23638) v23638.style.display ="";  this.Visible =true; };  this.Hide =function() { if (!this.Visible) return; var v23638 =this.GetElement(); if (v23638) v23638.style.display ="none";  this.Visible =false; };  this.GetContentElement =function() { var v23638 =this.GetElement(); if (v23638.tagName =="TR") return v23638.cells[1];  return null; };  this.SetText =function(v94824) { var v23638 =this.GetElement(); if (v23638) { if (v23638.tagName =="TR") { var v41988 =v23638.cells[1]; v41988.innerHTML =v94824; } }  this.Text =v94824; };  this.GetImageElement =function() { var v23638 =this.GetElement(); if (v23638) { if (v23638.tagName =="TR") { var v41988 =v23638.cells[0]; return v41988.children[0].children[0]; } else if (v23638.tagName =="SPAN") { return v23638.children[0]; } } };  this.SetImage =function(v6db34) { var v23638 =this.GetElement(); if (v23638) { if (v23638.tagName =="TR") { var v41988 =v23638.cells[0]; v41988.children[0].src =v6db34; } else if (v23638.tagName =="SPAN") { v23638.children[0].src =v6db34; } }  this.ImageURL =v6db34; };  this.Destroy =function() { var v23638 =this.GetElement(); if (v23638) Listener.Unload(v23638); };   this.Delete =function() { this.Collection.Remove(this); };  this.Unselect =function() { if (this.Type =="Separator") return;  wdbdd54.mb1d12(this); };  this.IsSelected =function() { return (this.OwnerMenu.ActiveItem ==this); };  this.Select =function(vcf770) { if (this.Type =="Separator") return;  if (this.IsSelected()) return; if (typeof(vcf770)=="undefined") vcf770 =true;  if (vcf770) { if (this.ActiveItem) wdbdd54.mb1d12(this.ActiveItem); }  wdbdd54.m3f978(this); };  this.IsSubMenuOpen =function() { return this.SubMenu.IsOpen(); };  this.HideSubMenuQueue =function() { if (this.HasSubMenu()&&this.IsSubMenuOpen()) { var vd9f99 =this.SubMenu; this.CloseQueueId =setTimeout(function(){if (vd9f99.ParentMenuItem.InHideQueue())vd9f99.Hide();},this.OwnerMenu.MenuControl.ShowDelay); } };  this.ShowSubMenu =function(vc6054) { if (this.HasSubMenu()) { var vd9f99 =this.SubMenu; vd9f99.MenuControl =this.OwnerMenu.MenuControl; vd9f99.ParentMenu =this.OwnerMenu; vd9f99.OffsetElement =this.GetElement(); vd9f99.Show();   if (vc6054) { var v0eb6 =vd9f99.Items[0];   if (v0eb6 &&(v0eb6.Type =="Custom" ||v0eb6.Type =="Separator")) v0eb6 =v0eb6.GetNextSelectableItem();  if (v0eb6) v0eb6.Select();  } } };  this.ShowSubMenuQueue =function(v25554,vc6054) { if (this.HasSubMenu()) { var vd9f99 =this.SubMenu; var v21388 =this.OwnerMenu.MenuControl.ShowDelay; vd9f99.MenuControl =this.OwnerMenu.MenuControl; vd9f99.ParentMenu =this.OwnerMenu; vd9f99.OffsetElement =this.GetElement();  if (v25554)v21388 =1;  this.QueueId =setTimeout(function() { vd9f99.Show();   if (vc6054) { var v0eb6 =vd9f99.Items[0];   if (v0eb6 &&(v0eb6.Type =="Custom" ||v0eb6.Type =="Separator")) v0eb6 =v0eb6.GetNextSelectableItem();  if (v0eb6) v0eb6.Select();  } },v21388); } };  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(vf8a45){ var vdde9 =new WebContextMenu(vf8a45);  var vf7280 =null; try {vf7280 =ISXml.GetNode(vdde9.XmlDt,"//WebContextMenu"); }catch(e){} if (vf7280 ==null)vf7280 =vdde9.XmlDt.documentElement;  if (vf7280!=null) { IS.SetPropertiesRecursive(vdde9,vf7280); var v07824 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"]; DynamicStyleEngine.AssignFromArray(vdde9.MenuStyleSettings,vdde9.MenuStyleSettings.XmlNode,v07824); }  ISEvent.Raise(vdde9.ClientSideEvents.OnInitialize,vf8a45);  window.attachEvent("onload",function(){OnContextMenuLoad(vdde9);}); window.attachEvent("onunload",function(){OnContextMenuUnload(vdde9);});}function OnContextMenuUnload(va4364){ window.detachEvent("onload",function(){OnContextMenuLoad(va4364);}); window.detachEvent("onunload",function(){OnContextMenuUnload(va4364);});}function OnContextMenuLoad(v03984){ if (v03984.ControlId !="") { var v95764 =null;  if (v03984.ControlId =="Page") v95764 =document.body; else v95764 =ISGetObject(v03984.ControlId);  if (!v95764)v95764 =document.getElementById(v03984.ControlId);  if (!v95764) { v95764 =document.getElementsByName(v03984.ControlId); if (v95764 &&v95764.length >0) v95764 =v95764[0]; } if (v95764 &&v95764.tagName) { if (v03984.ControlId !="Page") v03984.SetOffsetElement(v95764); Listener.Add(v95764,"oncontextmenu",function(){OnGenericControlContextMenu(v03984); return false;}); } else if (v95764 &&v95764.ClassName &&v95764.FrameObj) { var v03c59 =v95764.FrameObj; Listener.Add(v03c59,"oncontextmenu",function(){OnISControlContextMenu(v03984); return false;}); } }  if (v03984.IntegratedTo =="None") v03984.CreateDefaultStyles(); else if (v03984.IntegratedTo =="DesktopManager") v03984.SetIntegratedToDesktopManager(); else v03984.SetIntegratedToPlaceHolderManager();}function OnISControlContextMenu(v85f3){ event.cancelBubble =true; event.returnValue =false;  var vcd384 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var v14769 =(IS.ie)? event.screenY : event.clientY +window.screenTop; if (IS.ie &&v85f3.MenuWindowType =="Normal") { vcd384 -=window.screenLeft; v14769 -=window.screenTop; } v85f3.Show(vcd384,v14769);}function OnGenericControlContextMenu(v3e039){ event.cancelBubble =true; event.returnValue =false; var vbd33 =(IS.ie)? event.screenX : event.clientX +window.screenLeft; var vc3278 =(IS.ie)? event.screenY : event.clientY +window.screenTop;  if (IS.ie &&v3e039.MenuWindowType =="Normal") { vbd33 -=window.screenLeft; vc3278 -=window.screenTop; }  if (v3e039.ControlId =="Page") v3e039.Show(vbd33,vc3278); else v3e039.Show();}var wdbdd54 ={ ma225:function(ve6338) { return ve6338.X +(IS.moz ||IS.opera ||IS.safari ? window.screenLeft : 0); }, m76f8:function(v44a74,v44c22) { return ((IS.moz ||IS.opera ||IS.safari)? window.screenTop : 0)+v44a74.Y +(IS.safari &&!v44c22 ? document.body.scrollTop : 0); }, m73371:function(v7a510,v7dd92) { return new OffsetLocation(wdbdd54.ma225(v7a510,v7dd92),wdbdd54.m76f8(v7a510,v7dd92)); },  m48954:function(ve7d10) { var vf7a10 =wdbdd54.m43e9(ve7d10); wdbdd54.md5b57(ve7d10,vf7a10); wdbdd54.m7ed28(ve7d10); ve7d10.Initialized =true; },  m7ed28:function(vb1e13) { var v85c10 =vb1e13.Element; var va0192 =vb1e13.GetDocument(); var va9894 =window; if (v85c10) { if (!vb1e13.MenuControl.UseCustomContent) { Listener.Add(v85c10,"onmouseover",wdbdd54.m23356,vb1e13); Listener.Add(v85c10,"onmouseout",wdbdd54.m23356,vb1e13); Listener.Add(v85c10,"onmousedown",wdbdd54.m23356,vb1e13); Listener.Add(v85c10,"onmouseup",wdbdd54.m23356,vb1e13); Listener.Add(v85c10,"onmousewheel",wdbdd54.mbb961,vb1e13); }  Listener.Add(v85c10,"onselectstart",wdbdd54.m53367,vb1e13); Listener.Add(va9894,"onunload",wdbdd54.mbdb29,vb1e13); Listener.Add(v85c10,"oncontextmenu",wdbdd54.m19c99,vb1e13); if (vb1e13.MenuControl.MenuWindowType =="Popup") Listener.Append(0,va0192,"onkeydown",wdbdd54.m8d442,vb1e13); else Listener.Add(v85c10,"onkeydown",wdbdd54.m8d442,vb1e13); } },  m79f52:function(v3d885,vebc80) { if (!IS.GetCssObject(null,vebc80)) { var vf2549 =v3d885.GetCssObject(vebc80);  var v64a11 =IS.GetRuntimeStyleSheetExact(); if (vf2549) { if (IS.ie) v64a11.addRule(vf2549.selectorText,vf2549.style.cssText); else v64a11.innerHTML +=vf2549.selectorText +" { " +vf2549.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",  me4675:function(v59f4) { var v83b85 =v59f4.MenuStyleSettings; IS.AddRuntimeCssStyle(v83b85.FrameStyle,wdbdd54.DefaultFrameStyle); IS.AddRuntimeCssStyle(v83b85.ItemStyle.Normal,wdbdd54.DefaultItemNormalStyle); IS.AddRuntimeCssStyle(v83b85.ItemStyle.Over,wdbdd54.DefaultItemOverStyle); IS.AddRuntimeCssStyle(v83b85.CheckedItemStyle.Normal,wdbdd54.DefaultCheckedNormalStyle); IS.AddRuntimeCssStyle(v83b85.CheckedItemStyle.Over,wdbdd54.DefaultCheckedOverStyle); IS.AddRuntimeCssStyle(v83b85.DisabledItemStyle.Normal,wdbdd54.DefaultDisabledNormalStyle); IS.AddRuntimeCssStyle(v83b85.DisabledItemStyle.Over,wdbdd54.DefaultDisabledOverStyle); IS.AddRuntimeCssStyle(v83b85.SeparatorStyle,wdbdd54.DefaultSeparatorStyle);  if (v83b85.CustomStyle !="") IS.AddRuntimeCssStyle(v83b85.CustomStyle,wdbdd54.DefaultCustomStyle); },  m7a180:function(v45940) { var ve1f4 =ISGetDesktopManager(); if (!ve1f4) { alert("Can't integrate to DesktopManager because no DesktopManager instance were found!"); v45940.CreateDefaultStyles(); return; }  if (!ve1f4.MenuStyles.Application) { alert("Integration failed because ContextMenu is currently disabled in DesktopManager. Please set EnableContextMenu to true."); v45940.CreateDefaultStyles(); return; }  v45940.MenuStyleSettings.CopyFrom(ve1f4.MenuStyles.Application); v45940.MenuStyleSettings.Parent =v45940; v45940.MenuStyleSettings.OnPropertiesInitialized();  wdbdd54.m69c48(ve1f4,v45940.MenuStyleSettings); },  mf516:function(v4cb24) { var vd6240 =ISGetPlaceHolderManager(); if (vd6240) { vd6240.IntegrateMenuControl(v4cb24); wdbdd54.m69c48(vd6240,v4cb24.MenuStyleSettings); } },  m69c48:function(v10624,v3f299) { if (!wdbdd54.m79f52(v10624,v3f299.FrameStyle)) IS.AddRuntimeCssStyle(v3f299.FrameStyle,wdbdd54.DefaultFrameStyle); if (!wdbdd54.m79f52(v10624,v3f299.ItemStyle.Normal)) IS.AddRuntimeCssStyle(v3f299.ItemStyle.Normal,wdbdd54.DefaultItemNormalStyle); if (!wdbdd54.m79f52(v10624,v3f299.ItemStyle.Over)) IS.AddRuntimeCssStyle(v3f299.ItemStyle.Over,wdbdd54.DefaultItemOverStyle); if (!wdbdd54.m79f52(v10624,v3f299.CheckedItemStyle.Normal)) IS.AddRuntimeCssStyle(v3f299.CheckedItemStyle.Normal,wdbdd54.DefaultCheckedNormalStyle); if (!wdbdd54.m79f52(v10624,v3f299.CheckedItemStyle.Over)) IS.AddRuntimeCssStyle(v3f299.CheckedItemStyle.Over,wdbdd54.DefaultCheckedOverStyle); if (!wdbdd54.m79f52(v10624,v3f299.DisabledItemStyle.Normal)) IS.AddRuntimeCssStyle(v3f299.DisabledItemStyle.Normal,wdbdd54.DefaultDisabledNormalStyle); if (!wdbdd54.m79f52(v10624,v3f299.DisabledItemStyle.Over)) IS.AddRuntimeCssStyle(v3f299.DisabledItemStyle.Over,wdbdd54.DefaultDisabledOverStyle); if (!wdbdd54.m79f52(v10624,v3f299.SeparatorStyle)) IS.AddRuntimeCssStyle(v3f299.SeparatorStyle,wdbdd54.DefaultSeparatorStyle); if (!wdbdd54.m79f52(v10624,v3f299.CustomStyle)) IS.AddRuntimeCssStyle(v3f299.CustomStyle,wdbdd54.DefaultCustomStyle); },  m53367:function() { var v9eb60 =this.GetDocumentEvent(); var vcdf69 =v9eb60.srcElement; var v21e98 =vcdf69.tagName; var vfa39 =true;  switch (v21e98) { case "INPUT": case "SELECT": case "TEXTAREA": { vfa39 =false; } } if (vfa39) { v9eb60.cancelBubble =true; v9eb60.returnValue =false; } },  m19c99:function() { this.GetDocumentEvent().returnValue =false; },  m8d442:function(v4af1,vb7595) { var vfe943 =this;  if (v4af1 !=window &&typeof(v4af1)=="object" &&v4af1.GetType) vfe943 =v4af1; var v05a9 =vfe943.GetDocumentEvent(); if (vb7595)v05a9 =vb7595;  var vd8f46 =v05a9.srcElement; var v57929 =wdbdd54.m40184(vd8f46); var v41e32 =v05a9.keyCode; var va7713 =false;  if (vfe943.IconViewMode) { if (v41e32 ==ISKeyboardKey.LEFT) v41e32 =ISKeyboardKey.UP;  if (v41e32 ==ISKeyboardKey.RIGHT) v41e32 =ISKeyboardKey.DOWN; }  switch (v41e32) { case ISKeyboardKey.ESC: { if (vfe943.ActiveItem) vfe943.ActiveItem.OwnerMenu.Hide();  break; } case ISKeyboardKey.UP: { var v82245 =vfe943.ActiveItem;  if (!v82245 &&vfe943.Items.length >0) v82245 =vfe943.Items[0];  if (v82245) { var va2964 =v82245.GetPreviousSelectableItem(); if (va2964) va2964.Select();  if (vfe943.ScrollEnabled) { va2964.ScrollIntoView(); wdbdd54.m72210(vfe943); }  va7713 =true; } break; } case ISKeyboardKey.DOWN: { var v82245 =vfe943.ActiveItem; if (!v82245 &&vfe943.Items.length >0) v82245 =vfe943.Items[vfe943.Items.length-1];  if (v82245) { var vbf586 =v82245.GetNextSelectableItem(); if (vbf586) vbf586.Select();  if (vfe943.ScrollEnabled) { vbf586.ScrollIntoView(); wdbdd54.m72210(vfe943); } va7713 =true; } break; } case ISKeyboardKey.LEFT: { var v82245 =vfe943.ActiveItem; if (v82245) { if (v82245.OwnerMenu.ParentMenu !=null) { vfe943.Hide(); va7713 =true; } else wdbdd54.mecd21(v41e32,v82245); } break; } case ISKeyboardKey.RIGHT: { var v82245 =vfe943.ActiveItem; if (v82245) { if (v82245.Enabled &&v82245.Visible &&v82245.HasSubMenu()) { v82245.OwnerMenu.MenuControl.SkipAnimation =true; v82245.ShowSubMenuQueue(true,true); } else wdbdd54.mecd21(v41e32,v82245); }  va7713 =true; break; } case ISKeyboardKey.ENTER: { var v82245 =vfe943.ActiveItem; if (v82245) { if (v82245.HasSubMenu()) { v82245.ShowSubMenuQueue(true,true); } else { if (v82245.Enabled) v82245.Click(); } va7713 =true; } break; } default: { var v9bf38 =String.fromCharCode(v41e32).toLowerCase(); var v0e859 =vfe943.Items; var v88b17 =v0e859.length;  for (var v54f18 =0; v54f18 <v88b17; v54f18++) { if (v0e859[v54f18].AccessKey ==v9bf38 &&v0e859[v54f18].Enabled &&v0e859[v54f18].Type !="Separator" &&v0e859[v54f18].Type !="Custom") { v0e859[v54f18].Select(); v0e859[v54f18].Click(); va7713 =true; break; } } } }  if (va7713) { v05a9.cancelBubble =true; v05a9.returnValue =false; } },  mecd21:function(v2674,v50044) { if (v50044.Parent!=null) { var v50184 =v50044.Parent.MenuControl; if (v50184 &&v50184.ClassName=="WebMenuBar") { var v25935 =v50184.OnMenuKeyDown; if (typeof(v25935)=="string") ISEvent.Raise(v25935,v2674,v50044); else if (typeof(v25935)=="function") v25935(v2674,v50044); } }  },  mbb961:function(v63759) { var vf5476 =this;  if (vf5476.ScrollEnabled) { var v2bd83 =vf5476.GetMenuBodyElement().parentElement; var v0de58 =vf5476.GetDocumentEvent(); if (v63759) v0de58 =v63759;  v2bd83.scrollTop -=3 *v0de58.wheelDelta /120 *20; wdbdd54.m72210(vf5476);  v0de58.cancelBubble =true; v0de58.returnValue =false; } },  m23356:function(v9fa81,v3f640) { var v8ee59 =this;  if (v9fa81 !=window &&typeof(v9fa81)=="object" &&v9fa81.GetType) v8ee59 =v9fa81;  var v6a224 =v8ee59.GetDocumentEvent(); if (v3f640)v6a224 =v3f640;  var vc776 =v6a224.srcElement; var v1c068 =wdbdd54.m40184(vc776); if (v1c068 =="") { if (v8ee59.IconViewMode) { var vf8041 =wdbdd54.m44097(vc776); if (vf8041 ==null)vc776 =wdbdd54.m79226(vc776); else vc776 =vf8041;  v1c068 =wdbdd54.m40184(vc776); } else { vc776 =wdbdd54.m79226(vc776); v1c068 =wdbdd54.m40184(vc776); } }  if (v1c068 =="") { if (vc776 !=null &&v8ee59.GetElement().contains(vc776)) { vc776.cancelBubble =true; v6a224.cancelBubble =true; v6a224.returnValue =false; } return; }  switch (v6a224.type) { case "mouseover": if (v1c068 =="MenuItem") { var v77468 =wdbdd54.m5b80(vc776); var v6f952 =v8ee59.Items.GetNamedItem(v77468); if ((!v6f952.Enabled &&!v8ee59.MenuControl.MenuStyleSettings.HighlightDisabledItem)||v6f952.Type =="Custom") { wdbdd54.m88356(v8ee59,v6f952); return; }  v6f952.Select(false);  if (v6f952.HasSubMenu()&&!v6f952.IsSubMenuOpen()&&!v6f952.InShowQueue()&&v6f952.Enabled) { if (v8ee59.MenuControl.MenuWindowType =="Normal") { wdbdd54.m88356(v8ee59,v6f952); } v6f952.OwnerMenu.MenuControl.SkipAnimation =false; v6f952.ShowSubMenuQueue(); } else if (v6f952.HasSubMenu()&&v6f952.IsSubMenuOpen()) { if (v6f952.InHideQueue()) { v6f952.CancelHide(); } } else { wdbdd54.m88356(v8ee59,v6f952); }  if (v8ee59.ParentMenuItem !=null) { if (v8ee59.ParentMenuItem.InHideQueue()) v8ee59.ParentMenuItem.CancelHide(); } } else if (v1c068 =="ScrollUp") { v8ee59.ScrollInterval =setInterval(function(){wdbdd54.m98085(v8ee59,"up");},100); } else if (v1c068 =="ScrollDown") { v8ee59.ScrollInterval =setInterval(function(){wdbdd54.m98085(v8ee59,"down");},100); } break; case "mouseout": if (v1c068 =="MenuItem") { var v77468 =wdbdd54.m5b80(vc776); var v6f952 =v8ee59.Items.GetNamedItem(v77468); var v8d738 =v6a224.toElement; var v8c925 =v8ee59.GetElement();  if ((!v6f952.Enabled &&!v8ee59.MenuControl.MenuStyleSettings.HighlightDisabledItem)||v6f952.Type =="Custom") return; if (v8ee59.ActiveItem !=null &&v8ee59.ActiveItem !=v6f952 &&v8d738 !=null) v8ee59.ActiveItem.Unselect();  if (v8ee59.ActiveItem !=null &&v8ee59.ActiveItem.GetElement().contains(v8d738)) return;  if (v8c925.contains(v8d738)) v6f952.Unselect();  if (v6f952.HasSubMenu()&&v6f952.InShowQueue()) v6f952.CancelShow(); } else if (v1c068 =="ScrollUp") { if (v8ee59.ScrollInterval >0) clearInterval(v8ee59.ScrollInterval); } else if (v1c068 =="ScrollDown") { if (v8ee59.ScrollInterval >0) clearInterval(v8ee59.ScrollInterval); } break;  case "mousedown": if (!IS.ie ||v8ee59.MenuControl.MenuWindowType =="Normal") { v6a224.srcElement.cancelBubble =true; v6a224.cancelBubble =true; v6a224.returnValue =false; } v8ee59.IsMouseDown =true; break; case "mouseup":  if (!v8ee59.IsMouseDown) return;  v8ee59.IsMouseDown =false;  if (v1c068 =="MenuItem") { var v77468 =wdbdd54.m5b80(vc776); var v6f952 =v8ee59.Items.GetNamedItem(v77468); var v8d738 =v6a224.toElement; var v8c925 =v8ee59.GetElement(); var vd6965 =v8ee59.MenuControl;  if (!v6f952.Enabled) return;  if (vd6965.MenuAnimation &&vd6965.AnimatedObj !=null &&vd6965.AnimatedObj.IntervalId >0) return; if (IS.moz) { v6a224.cancelBubble =true; v6a224.returnValue =false; }  if (v6f952.HasSubMenu()&&!v6f952.IsSubMenuOpen()&&v6f952.Enabled) { if (v6f952.InShowQueue()) v6f952.CancelShow();  if (!v6f952.IsSubMenuOpen()) v6f952.ShowSubMenuQueue(true);  if (v8ee59.MenuControl.MenuWindowType =="Normal") wdbdd54.m88356(v8ee59,v6f952,true); } else if (!v6f952.HasSubMenu()) { if (v6f952.Type !="Custom" &&v6f952.Type !="Separator") { v6f952.Click(); } } } break; } },  m88356:function(v34320,v2cd59,v07381) { var v91836 =v34320.GetOpenSubMenu(); if (v91836 &&v91836 !=v2cd59) { if (v07381) v91836.SubMenu.Hide(); else v91836.HideSubMenuQueue(); } },  m40184:function(v70375) { if (!v70375)return "";  if (v70375.tagName =="TD") { var vcf656 =v70375.parentElement; if (IS.GetAttr(vcf656,"type")=="MenuItem") return "MenuItem"; } else if (v70375.tagName =="DIV" ||((v70375.tagName =="FONT" ||v70375.tagName =="IMG")&&v70375.parentElement.tagName =="DIV")) { if (v70375.tagName =="FONT" ||v70375.tagName =="IMG") v70375 =v70375.parentElement;  if (v70375.id.indexOf("scroll_up")>-1) return "ScrollUp"; else if (v70375.id.indexOf("scroll_down")>-1) return "ScrollDown"; } else if (v70375.tagName =="SPAN") { if (IS.GetAttr(v70375,"name")!="") return "MenuItem"; else { var vcf656 =v70375.parentElement; if (vcf656 &&vcf656.tagName =="SPAN" &&IS.GetAttr(vcf656,"name")!="") return "MenuItem"; } } else if (v70375.tagName =="IMG") { var vcf656 =v70375.parentElement; if (vcf656 &&vcf656.tagName =="SPAN" &&IS.GetAttr(vcf656,"name")!="") return "MenuItem"; }  return ""; },  m5b80:function(v41711) { if (v41711.tagName =="TD") return IS.GetAttr(v41711.parentElement,"name"); else if (v41711.tagName =="TR") return IS.GetAttr(v41711,"name"); else if (v41711.tagName =="SPAN") { if (IS.GetAttr(v41711,"type")=="MenuItem") return IS.GetAttr(v41711,"name"); else return IS.GetAttr(v41711.parentElement,"name"); } else if (v41711.tagName =="IMG" &&v41711.parentElement.tagName =="SPAN" &&IS.GetAttr(v41711.parentElement,"name")!="") return IS.GetAttr(v41711.parentElement,"name"); },  m79226:function(v93511) { if (!v93511)return;  while (v93511 &&v93511.tagName !="TD") { v93511 =v93511.parentElement; }  if (v93511 &&v93511.tagName =="TD") return v93511; else return null; },  m44097:function(va2d11) { if (!va2d11)return;  while (va2d11 &&va2d11.tagName !="SPAN") { va2d11 =va2d11.parentElement; }  if (va2d11 &&va2d11.tagName =="SPAN") return va2d11; else return null; },  mb1d12:function(v59722) {  var v31811 =v59722.GetElement(); var vf258 =v59722.OwnerMenu; var v4fd85 =vf258.MenuControl; var v76849 =v4fd85.MenuStyleSettings; var vb2773 =v76849.ItemStyle;  if (!v59722.Enabled) vb2773 =v76849.DisabledItemStyle; if (vf258.IconViewMode &&v31811.tagName =="SPAN") { wdbdd54.mde831(v59722); return; }  for (var vea321=0; vea321<v31811.cells.length; vea321++) { var v72b76 =v31811.cells[vea321];  if (v76849.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToStyle(null,vb2773,v72b76); else v72b76.style.backgroundImage ="none";  if (vea321 ==0) { v72b76.style.padding ="1px"; if ((v59722.Type =="Radio" ||v59722.Type =="CheckBox")&&v59722.Checked) { if (v76849.HighlightMode =="UseWebStyle") { var v5c467 =v72b76.children[0]; DynamicStyleEngine.SetToStyle(null,v76849.CheckedItemStyle,v5c467); } } } else if (vea321 ==3) { v72b76.style.padding =v76849.ItemPadding; } else { v72b76.style.paddingTop =v72b76.style.paddingBottom =v76849.ItemPadding; } }  v59722.Selected =false; v59722.OwnerMenu.ActiveItemIndex =-1; v59722.OwnerMenu.ActiveItem =null; },  mde831:function(v7f461) { var v1586 =v7f461.GetElement(); var v5906 =v7f461.OwnerMenu.MenuControl; var vf044 =v7f461.OwnerMenu; var ve6476 =v5906.MenuStyleSettings; var vb4e94 =ve6476.ItemStyle;  if (v7f461.Type =="Normal") {  } else if (v7f461.Type =="Radio" ||v7f461.Type =="CheckBox") { if (v7f461.Checked) vb4e94 =ve6476.CheckedItemStyle; }  DynamicStyleEngine.SetToStyle(null,vb4e94,v1586); v7f461.Selected =false; vf044.ActiveItemIndex =-1; vf044.ActiveItem =null; },  m21130:function(vf9352) { var v27761 =vf9352.GetElement(); var v7ae85 =vf9352.OwnerMenu.MenuControl; var v01d89 =vf9352.OwnerMenu; var v99479 =v7ae85.MenuStyleSettings; var v29116 =v99479.ItemStyle;  if (vf9352.Type =="Normal") {  } else if (vf9352.Type =="Radio" ||vf9352.Type =="CheckBox") { if (vf9352.Checked) v29116 =v99479.CheckedItemStyle; }  DynamicStyleEngine.SetToOverStyle(null,v29116,v27761); v01d89.ActiveItemIndex =vf9352.Index; v01d89.ActiveItem =vf9352; vf9352.Selected =true;  if (v01d89.ParentMenuItem !=null &&!v01d89.ParentMenuItem.IsSelected()) { v01d89.ParentMenuItem.Select(false); } },  m3f978:function(v18222) { var v94e36 =v18222.GetElement(); var v9a674 =v18222.OwnerMenu.MenuControl; var v3f341 =v18222.OwnerMenu; var v36044 =v9a674.MenuStyleSettings; var v70d37 =v36044.ItemStyle;  if (v3f341.ActiveItemIndex >-1) v3f341.ActiveItem.Unselect();  if (v3f341.IconViewMode &&v94e36.tagName =="SPAN") { wdbdd54.m21130(v18222); return; }  if (!v18222.Enabled) v70d37 =v36044.DisabledItemStyle;  for (var vab270=0; vab270<v94e36.cells.length; vab270++) { var vd0961 =v94e36.cells[vab270];  if (v36044.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,v70d37,vd0961); else { var v6db6 =new Array("OverLeft","OverCenter","OverCenter","OverRight"); vd0961.style.backgroundImage ="url(" +wdbdd54.m7f245(v36044,v6db6[vab270],true)+")"; vd0961.style.backgroundRepeat ="repeat-x";  if (vab270 ==3) vd0961.style.backgroundPosition ="top right"; }  var v17d37 =parseFloat(vd0961.currentStyle.borderWidth);  if (!IS.ie) v17d37 =parseFloat(vd0961.currentStyle.borderTopWidth);  if (isNaN(v17d37)) v17d37 =0; if (v17d37 >0) { var vb969 =v36044.ItemPadding -v17d37;  if (vab270 ==0) { var v8a124 =1-v17d37;  with (vd0961.style) paddingLeft =paddingTop =paddingBottom =(v8a124 +"px");  if ((v18222.Type =="Radio" ||v18222.Type =="CheckBox")&&v18222.Checked) { var v61f51 =vd0961.children[0];  if (v36044.HighlightMode =="UseWebStyle") DynamicStyleEngine.SetToOverStyle(null,v36044.CheckedItemStyle,v61f51); } } else if (vab270 ==3) { with (vd0961.style) paddingRight =paddingTop =paddingBottom =(vb969 +"px"); } else { with (vd0961.style) paddingTop =paddingBottom =(vb969 +"px"); } } }  if (v9a674 &&v9a674.GetType()=="WebContextMenu" &&v9a674.ClientSideEvents !=null) ISEvent.Raise(v9a674.ClientSideEvents.OnMenuItemSelect,v9a674.Id,v3f341,v18222,v3f341.ActiveItem);  v3f341.ActiveItemIndex =v18222.Index; v3f341.ActiveItem =v18222; v18222.Selected =true;  if (v3f341.ParentMenuItem !=null &&!v3f341.ParentMenuItem.IsSelected()) { v3f341.ParentMenuItem.Select(false); }  },  m55e71:function(vfd513) { if (vfd513 !=null &&vfd513.MenuControl.MenuWindowType =="Normal" &&vfd513.Popup) { if (vfd513.ScrollEnabled) { var vcf841 =vfd513.GetMenuBodyElement().parentElement; var v82230 =vfd513.GetScrollElement("up"); var va1c30 =vfd513.GetScrollElement("down");  v82230.style.display ="none"; va1c30.style.display ="none"; vcf841.style.height ="auto"; }  vfd513.Popup._e.style.width ="auto"; vfd513.Popup._e.style.height ="auto"; vfd513.RuntimeWidth =vfd513.Popup._e.scrollWidth; vfd513.RuntimeHeight =vfd513.Popup._e.scrollHeight; } },  md5b57:function(v78f63,v06a46) { var v68497 =v78f63.MenuControl;  if (v78f63.Popup ==null) { if (!IS.ie ||v68497.MenuWindowType =="Popup") { if (v78f63.ParentMenu ==null) v78f63.Popup =window.createPopup(); else v78f63.Popup =v78f63.ParentMenu.GetDocument().parentWindow.createPopup();  } else { var va659 =new WindowInfo(); va659.DisplayPosition ="Bottom"; va659.DisplayType ="Normal"; va659.OffsetControlID =v68497.Id; var vf0a16 =new WindowPopup(va659); va659.Popup =vf0a16; vf0a16.Init(); v78f63.Popup =vf0a16; vf0a16.document.parentWindow =window; v60c24 =vf0a16.document; } }  if (IS.ie &&v68497.MenuWindowType =="Popup") { var vad380 =IS.GetTempIFrame(); var v60c24 =vad380.contentWindow.document; v60c24.open("text/html","replace"); v60c24.write(v06a46); v60c24.close();  v78f63.RuntimeWidth =v60c24.body.scrollWidth; v78f63.RuntimeHeight =v60c24.body.scrollHeight; }  var vcac18 =v78f63.GetDocument(); vcac18.open("text/html","replace");  vcac18.write(v06a46); vcac18.close();  if (IS.ie &&v68497.MenuWindowType =="Popup") v78f63.Element =vcac18.body.firstChild;  else { v78f63.Element =vcac18._e.firstChild; v78f63.RuntimeHeight =v78f63.Popup._e.scrollHeight; v78f63.RuntimeWidth =v78f63.Popup._e.scrollWidth; }   for (var v25c62=0; v25c62<v78f63.Items.length; v25c62++) { var v8a248 =v78f63.Items[v25c62];  if (v8a248.Type =="Template") { var vf9130 =document.getElementById("mi_View" +v8a248.Name);  if (vf9130) { var v6de27 =v8a248.GetContentElement(); v6de27.innerHTML =""; v6de27.appendChild(vf9130); vf9130.style.display =""; vf9130.style.visibility ="inherit"; vf9130.style.position =""; } } }  if (v68497.UseCustomContent &&v68497.CustomContentElement !=null) { var v3c743 =v78f63.GetMenuContainerElement(); v3c743.appendChild(v68497.CustomContentElement); } },  OnMenuClosed: function(v36b82) { var v59982 =v36b82.Owner; var vc3b56 =v59982.ActiveItem;  if (vc3b56 !=null &&IS.moz &&vc3b56.KeepMenuVisible) return false;  return true; },  m13779:function() { if (window.screenLeft >window.screen.width) return true;  return false; },  md5d7:function(v8d688,v83412,v3f228,v84284) { var v35c18 =""; var vb4725 =true; var v9bc57 =v8d688.MenuControl; var vdb593 =0; var v87412 =0; if (v8d688) v35c18 =v8d688.OffsetAlignment;  if (v8d688.IsOpen()&&!v84284) return;  if (IS.ie &&v8d688 &&v8d688.OffsetElement) { var v11047 =ISPosLib.getScreenLeft(v8d688.OffsetElement)+ISPosLib.getWidth(v8d688.OffsetElement);  if (!wdbdd54.m13779()&&v11047 >window.screen.availWidth -10 &&v35c18.indexOf("Right")>-1) v35c18 =v35c18.replace(/Right/ig,"Left"); }  if (v8d688.OffsetElement) { if (!IS.ie ||v9bc57.MenuWindowType =="Popup") { vdb593 =ISPosLib.getScreenLeft(v8d688.OffsetElement); v87412 =ISPosLib.getScreenTop(v8d688.OffsetElement); } else { vdb593 =ISPosLib.getLeft(v8d688.OffsetElement); v87412 =ISPosLib.getTop(v8d688.OffsetElement); } }  if (v9bc57.MenuWindowType =="Normal") wdbdd54.m55e71(v8d688);  if (!v83412) { if (v8d688.OffsetElement) { if (v8d688.Direction =="Horizontal") { if (v35c18.indexOf("Right")>-1) v83412 =vdb593 +ISPosLib.getWidth(v8d688.OffsetElement); else if (v35c18.indexOf("Left")>-1) v83412 =vdb593 -v8d688.RuntimeWidth; } else { if (v35c18.indexOf("Left")>-1) v83412 =vdb593; else if (v35c18.indexOf("Right")>-1) v83412 =vdb593 +ISPosLib.getWidth(v8d688.OffsetElement); } }  if (v9bc57.IsRightToLeft &&IS.ie) v83412 =ISPosLib.getCalcRtlLeft(v8d688.OffsetElement,v83412); }  if (!v3f228) { if (v8d688.OffsetElement) { if (v8d688.Direction =="Horizontal") { if (v35c18.indexOf("Top")>-1) v3f228 =v87412; else v3f228 =v87412 +ISPosLib.getHeight(v8d688.OffsetElement); } else { if (v35c18.indexOf("Bottom")>-1) v3f228 =v87412 +ISPosLib.getHeight(v8d688.OffsetElement); else { v3f228 =v87412 -v8d688.RuntimeHeight; if (v3f228 <0)v3f228 =0; } } } }  if (v8d688.ActiveItem !=null) v8d688.ActiveItem.Unselect();  if (v8d688.ParentMenuItem !=null) { if (v8d688.ParentMenuItem.QueueId >0) v8d688.ParentMenuItem.QueueId =-1; }  if (v8d688._NeedSizeRecalc) { wdbdd54.m87d53(v8d688); v8d688._NeedSizeRecalc =false; }  if (!IS.ie ||v9bc57.MenuWindowType =="Normal") { if (!IS.ie) { if (v8d688.ParentMenu !=null) { var v4da86 =v8d688.ParentMenu.GetOpenSubMenu(); if (v4da86) { v4da86.SubMenu.Hide(); } } }  if ((!IS.ie ||!v8d688.OffsetElement)&&!v9bc57.UseW3CPositioning) { if (IS.IsXHTMLDocType()) { if (!IS.moz &&!IS.opera) { v83412 +=ISPosLib.getScrollLeft(document); v3f228 +=ISPosLib.getScrollTop(document); } } else { v83412 +=document.body.scrollLeft; v3f228 +=document.body.scrollTop; } } var v3e680 =wdbdd54.m9ef68(new OffsetLocation(v83412,v3f228), v8d688.Popup._e.firstChild,v8d688.ParentMenu,IS.ie &&v9bc57.MenuWindowType =="Normal",v9bc57); v83412 =v3e680.X; if (!v9bc57.DisableFullHeightScrolling) v3f228 =v3e680.Y; } var vc9e56 =wdbdd54.m89846(v8d688,v83412,v3f228); if (vc9e56) { v83412 =vc9e56.X; v3f228 =vc9e56.Y; v8d688.RuntimeHeight =vc9e56.Height; }  if (IS.ie &&IS.GetIEVersion()<7) { var v9c160 =v8d688.GetStripElement(); if (v9c160 &&v8d688.RuntimeHeight >4) v9c160.style.height =v8d688.RuntimeHeight -4; } if (v8d688.IsRootMenu()) { if (v8d688._CloseIntervalId ==-1)v8d688._CloseIntervalId =setInterval(function(){wdbdd54.m03284(v8d688);},100); }  if (v9bc57 &&v9bc57.GetType()=="WebContextMenu") vb4725 =ISEvent.Raise(v9bc57.ClientSideEvents.OnShowMenu,v9bc57.Id,v8d688,v83412,v3f228,v8d688.RuntimeWidth,v8d688.RuntimeHeight);  if (vb4725) { if (typeof(vb4725)=="object") { v83412 =vb4725.X; v3f228 =vb4725.Y; }  var v5bd93 =v8d688.IsOpen(); v8d688.Popup.show(v83412,v3f228,v8d688.RuntimeWidth,v8d688.RuntimeHeight);  if (IS.ie &&v9bc57.MenuWindowType =="Normal") v8d688.SetActive();  if (v9bc57.MenuAnimation &&!v9bc57.SkipAnimation &&!v5bd93) { if (v9bc57.AnimatedObj ==null) { var v05f46 =new ISAnimatedObject(); v05f46.OnCompleted =wdbdd54.m41099; v05f46.Speed =v9bc57.AnimationSpeed; v05f46.Type =(v9bc57.MenuAnimationMode =="Fading" ? "FadeIn" : "MenuSlideDown"); v05f46.StepInterval =v9bc57.AnimationInterval;  v9bc57.AnimatedObj =v05f46; }  var v10252 =v8d688.Element; wdbdd54.mcc878(v8d688);  if (v9bc57.MenuAnimationMode =="Sliding") { if (!v8d688.IsRootMenu()) v9bc57.AnimatedObj.Type ="MenuSlideRight"; else v9bc57.AnimatedObj.Type ="MenuSlideDown";  v10252 =v10252.parentElement; v10252.removeAttribute("OriginalLeft"); v10252.removeAttribute("OriginalWidth"); v10252.removeAttribute("OriginalTop"); v10252.removeAttribute("OriginalHeight");  if (!IS.ie) { v10252.OriginalTop =0; v10252.OriginalWidth =0; v10252.OriginalLeft =0; v10252.OriginalHeight =0; } }  v9bc57.AnimatedObj.Owner =v8d688; v9bc57.AnimatedObj.Element =v10252; v9bc57.AnimatedObj.Play(); } else { if (v9bc57.MenuDropShadow) v8d688.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)"; } } },  m41099:function() { var vf6098 =this.Owner;  wdbdd54.mcc878(vf6098);  if (vf6098.MenuControl.MenuDropShadow) vf6098.Element.style.filter ="progid:DXImageTransform.Microsoft.Shadow(color=Gray,direction=135, strength=2)";  this.IntervalId =-1; },  mcc878:function(v06934) { v06934.Element.style.filter =""; },  m03284:function(vf2518) { if (!vf2518.IsOpen()) { clearInterval(vf2518._CloseIntervalId); vf2518._CloseIntervalId =-1;  var v25534 =vf2518.MenuControl; if (v25534.OnRootMenuClosed !=null) { if (typeof(v25534.OnRootMenuClosed)=="string") ISEvent.Raise(v25534.OnRootMenuClosed,vf2518); else if (typeof(v25534.OnRootMenuClosed)=="function") v25534.OnRootMenuClosed(vf2518); } } },  m89846:function(v22048,v0b448,v6852) { var v05054 =window.screen.availHeight; var v94549 =v22048.RuntimeHeight; var vb7d83 =0; var va1393 =v22048.MenuControl;  if (!IS.ie ||va1393.MenuWindowType =="Normal") { if (IS.IsXHTMLDocType()) v05054 =document.documentElement.clientHeight -4; else v05054 =document.body.clientHeight;  }  if (va1393.DisableFullHeightScrolling) v94549 +=(v6852 -(!IS.ie ? window.screenTop : 0));  if (v94549 >v05054 &&!va1393.UseCustomContent) { var vccd21 =v22048.GetMenuBodyElement().parentElement; var va9911 =v22048.GetScrollElement("up"); var v79182 =v22048.GetScrollElement("down");  va9911.style.display =""; v79182.style.display =""; if (IS.safari) v05054 -=8;  var ve9335 =v05054 -va9911.style.posHeight -v79182.style.posHeight -8; if (va1393.DisableFullHeightScrolling) ve9335 -=(v6852 -(!IS.ie ? window.screenTop : 0));  if (ve9335 <0) ve9335 =5; vccd21.style.height =ve9335 +"px"; vb7d83 =v05054 -4;  if (va1393.DisableFullHeightScrolling) { v94549 =v6852; vb7d83 -=(v6852 -(!IS.ie ? window.screenTop : 0)-(IS.safari ? 8 : 0)); } else v94549 =2;  v22048.ScrollEnabled =true;  if (va1393.MenuWindowType =="Normal") v94549 +=document.body.scrollTop;  return new Rectangle(v0b448,v94549,null,vb7d83); } else { if (v22048.ScrollEnabled &&va1393.MenuWindowType =="Normal") { var vccd21 =v22048.GetMenuBodyElement().parentElement; var va9911 =v22048.GetScrollElement("up"); var v79182 =v22048.GetScrollElement("down");  va9911.style.display ="none"; v79182.style.display ="none"; vccd21.style.height ="auto"; vb7d83 =vccd21.offsetHeight;  if (IS.IsXHTMLDocType()) vb7d83 =v22048.Popup._e.offsetHeight +8;  v22048.ScrollEnabled =false;  return new Rectangle(v0b448,v6852,null,vb7d83); } } },  m9ef68:function(vd0959,v76f6,vdba73,vd2b26,v8c786) { var vdfb68 =vd0959.Y; var vbe557 =vd0959.X; if (!IS.ie ||vd2b26) { if (!vd2b26) { vdfb68 -=window.screenTop; vbe557 -=window.screenLeft; } var vc7c69 =document.body.clientHeight +ISPosLib.getScrollTop(document); var v4ee82 =document.body.clientWidth;  if (IS.IsXHTMLDocType()) { vc7c69 =document.documentElement.clientHeight +ISPosLib.getScrollTop(document); v4ee82 =document.documentElement.clientWidth; }  if (vdfb68 +ISPosLib.getHeight(v76f6)>vc7c69) { vdfb68 =((vc7c69)-ISPosLib.getHeight(v76f6));  if (vd2b26) vdfb68 -=4; } if (vbe557 +(ISPosLib.getWidth(v76f6))>v4ee82) { if (!vdba73) vbe557 =v4ee82-ISPosLib.getWidth(v76f6); else vbe557 =ISPosLib.getLeft(vdba73.Popup._e.firstChild)-ISPosLib.getWidth(v76f6);  if (vd2b26) vbe557 -=4; } if (!vd2b26) { vdfb68 +=window.screenTop; vbe557 +=window.screenLeft; } else { if (vdfb68 <0) vdfb68 =2; } }  return new OffsetLocation(vbe557,vdfb68); },  m34997:function(va4698) { var v81f14 ="<html><head>" + "<style type=\"text/css\">" +va4698.MenuControl.GetStyleString()+"</style>" + "</head><body style='margin:0px;padding:0px;overflow:hidden;border:0px'>";  if (IS.ie &&va4698.MenuControl.MenuWindowType =="Popup") return v81f14; else return ""; },  m7a012:function(vf4034) { var v0ce98 ="</body></html>";  if (IS.ie &&vf4034.MenuControl.MenuWindowType =="Popup") return v0ce98; else return ""; },  m97298:function(v23e9,ve2b83) { if ((v23e9.GetType()=="WebContextMenu" &&v23e9.IntegratedToBar)&&!ve2b83) { var ve7734;  if (v23e9.GetType()=="WebContextMenu") ve7734 =v23e9._MenuCommand !=null ? v23e9._MenuCommand._Bar :  (v23e9._ToolCommand !=null? v23e9._ToolCommand._Bar : null);  if (ve7734 !=null) return ve7734.GetCachedMenuStyleString(v23e9); else if (v23e9 !=null) return v23e9.GetCachedMenuStyleString(v23e9); } var v74b94 =v23e9.MenuStyleSettings; var vec725 =new Array("ItemStyle","FrameStyle","DisabledItemStyle","SeparatorStyle","CheckedItemStyle","CustomStyle"); var vd4091 ="";  for (var v8418=0; v8418<vec725.length; v8418++) { var v00d67 =vec725[v8418]; if (typeof(v74b94[v00d67])=="string") { if (v74b94[v00d67] !="") { vd4091 +=wdbdd54.me5212(v74b94[v00d67]); } } else if(typeof(v74b94[v00d67])=="object") { var ved372 =v74b94[v00d67]; if (ved372.Normal !="") vd4091 +=wdbdd54.me5212(ved372.Normal);  if (ved372.Over !="") vd4091 +=wdbdd54.me5212(ved372.Over);  if (ved372.Active !="") vd4091 +=wdbdd54.me5212(ved372.Active); } }  return vd4091; },  me5212:function(v15228) { return IS.GetStyleText(null,v15228); },  m7f245:function(v9b864,v37162,v17662) { var vb5c28 =v9b864;  if (v17662) vb5c28 =v9b864.ImagesSettings;  if (v9b864.UseSmartWebResources) return "ISRes.axd?D/" +vb5c28[v37162]; else return vb5c28[v37162]; },  m3fa51:function(vbab84,v9e472,v63429) { if (IS.ie ||(IS.moz &&!IsGecko30())) { if (v63429) return v9e472; else return "<font face='Webdings' style='font-size: 8pt'>" +v9e472 +"</font>"; } else { var v34784 ="";  if (v9e472 =="6") v34784 ="arrow_down.gif"; else if (v9e472 =="=") v34784 ="radio.gif"; else if (v9e472 =="a") v34784 ="checkbox.gif"; else if (v9e472 =="4") v34784 ="arrow_right.gif"; else if (v9e472 =="5") v34784 ="arrow_up.gif";  if (vbab84.UseSmartWebResources) v34784 ="ISRes.axd?D/" +v34784; else v34784 =vbab84.Parent.ImagesDirectory +v34784;  return "<img valign='absmiddle' height='16' src='" +v34784 +" ' />"; } },  m43e9:function(v22630) { var v28375 =v22630.MenuControl; var v73c20 =v28375.MenuStyleSettings;  var v69a33 ="<table class='" +v73c20.FrameStyle +"' border='0' cellpadding='1' cellspacing='0' style='position: relative;'>";  v69a33 +="<tr>"; v69a33 +="<td valign='top'>"; v69a33 +="<div id='" +v22630.GetId()+"_container' style='position: relative;";  if (v22630.IconViewMode) v69a33 +="width:" +v22630.Width +";";  v69a33 +="'>";  if (v28375.GetType()=="WebContextMenu" &&v28375.UseCustomContent) { v69a33 +="</div></td></tr></table>"; return v69a33; }  if (v73c20.HasBackgroundStrip &&!v22630.IconViewMode) { v69a33 +="<div id='" +v22630.GetId()+"_strip' style='position: absolute; left: 0px; top: 0px;"; v69a33 +="width: " +v73c20.BackgroundStripWidth +"px"; if (IS.ie) { if (IS.IsXHTMLDocType()) { v69a33 +="; height: 100%"; } else { if (IS.GetIEVersion()<7) v69a33 +=";height:auto"; else v69a33 +=";height:expression(this.parentElement.offsetHeight)"; } } else v69a33 +=";height:100%"; if (v73c20.BackgroundStripColor2 =="" ||v73c20.BackgroundStripColor2 =="000000") { v69a33 +=";background-color:#" +v73c20.BackgroundStripColor; } else { if (IS.ie) v69a33 +=";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF" +v73c20.BackgroundStripColor +", endColorstr=#FF" +v73c20.BackgroundStripColor2 +", GradientType=1)"; else v69a33 +=";background-color:#" +v73c20.BackgroundStripColor2; }  if (v73c20.BackgroundStripImage !="") v69a33 +=";background-image: url(" +wdbdd54.m7f245(v73c20,"BackgroundStripImage")+"); background-repeat: repeat-y"; v69a33 +="'";  if (v73c20.BackgroundStripStyle !="") v69a33 +=" class='" +v73c20.BackgroundStripStyle +"'";  v69a33 +=">"; v69a33 +="</div>"; }  v69a33 +="<div id='" +v22630.GetId()+"_scroll_up' align='center' disabled style='height:18px;position:relative;display:none;cursor:default'>"; v69a33 +=wdbdd54.m3fa51(v73c20,"5"); v69a33 +="</div>"; v69a33 +="<div style='position: relative; overflow: hidden;'>"; v69a33 +="<table id='" +v22630.GetId()+"_body' border='0' cellpadding='0' cellspacing='0' style='cursor:default; width:100%'>"; if (v22630.IconViewMode) { var vdad66 =v22630.GetGroupItems(); for (var vf7795=0; vf7795<vdad66.length; vf7795++) { var v6386 =vdad66[vf7795]; if (v6386.constructor ==Array) v69a33 +=wdbdd54.ma9023(v6386); else v69a33 +=wdbdd54.med451(v6386); } } else { for (var vf7795=0; vf7795<v22630.Items.length; vf7795++) { v69a33 +=wdbdd54.med451(v22630.Items[vf7795]); } }  v69a33 +="</table>"; v69a33 +="</div>";  v69a33 +="<div id='" +v22630.GetId()+"_scroll_down' align=center style='height:18px;position:relative;display:none;cursor:default'>"; v69a33 +=wdbdd54.m3fa51(v73c20,"6"); v69a33 +="</div>"; v69a33 +="</div>"; v69a33 +="</td></tr></table>"; return wdbdd54.m34997(v22630)+v69a33 +wdbdd54.m7a012(v22630); },  ma9023:function(va1461) { var vb7f86 =va1461[0].OwnerMenu; var v13e78 =vb7f86.MenuControl; var vf8f3 =v13e78.MenuStyleSettings; var v9af72 ="<tr type='GroupItem'>"; v9af72 +="<td>"; v9af72 +="</td>";  v9af72 +="<td colspan=3 width='" +vb7f86.Width +"'>";  for (var ve8839=0; ve8839<va1461.length; ve8839++) { var vc8320 =va1461[ve8839];  v9af72 +=wdbdd54.m76325(vc8320); }  v9af72 +="</td>"; v9af72 +="</tr>";  return v9af72; },  m76325:function(v8dd36) { var v5a944 ="<span type='MenuItem' name='" +v8dd36.Name +"' "; var vaac7 =v8dd36.OwnerMenu; var v7dd4 =vaac7.MenuControl; var veab57 =v7dd4.MenuStyleSettings;  if ((v8dd36.Type =="Radio" ||v8dd36.Type =="CheckBox")&&v8dd36.Checked)v5a944 +="class='" +veab57.CheckedItemStyle.Normal +"'"; if (v8dd36.Tooltip !="")v5a944 +=" title='" +v8dd36.Tooltip +"'";  v5a944 +=" style='width:" +(v7dd4.ImageSize.Width+4)+"px; height:" +(v7dd4.ImageSize.Width+4) +"px;text-align:center;padding-top:1px;margin-top:2px;margin-right:2px;";  if (IS.moz) v5a944 +="display:-moz-inline-box;"; else if (!IS.ie) v5a944 +="display:block;";  v5a944 +="'>";  if ((v8dd36.Type =="Radio" ||v8dd36.Type =="CheckBox")&&v8dd36.ImageURL =="") v8dd36.UseFontImage =true;  if (v8dd36.UseFontImage) { v5a944 +="<span>";  var v82138 ="";  if (v8dd36.Type =="Radio" &&v8dd36.Checked) v82138 ="="; else if (v8dd36.Type =="CheckBox" &&v8dd36.Checked) v82138 ="a"; else v5a944 +="<font face=Webdings style='font-size: 8pt'>" +v8dd36.ImageURL +"</font>";  if (v82138 !="") v5a944 +=wdbdd54.m3fa51(veab57,v82138);  v5a944 +="</span>"; } else { v5a944 +="<img align='absmiddle' width=" +v7dd4.ImageSize.Width +" height=" +v7dd4.ImageSize.Height +" ";  if (v8dd36.ImageURL !="") { v5a944 +="src='" +v8dd36.ImageURL +"' ";  if (!v8dd36.Enabled) v5a944 +="style='filter:Alpha(Opacity=50), Gray()'"; } else v5a944 +="style='visibility: hidden'";  v5a944 +="/>"; } if (v8dd36.HasSubMenu()) v5a944 +="<span>" +wdbdd54.m3fa51(veab57,"6")+"</span>";  v5a944 +="</span>";   return v5a944; },  med451:function(v5ce50) { var v21855 =v5ce50.OwnerMenu; var vb2d65 =v21855.MenuControl; var vd5174 =vb2d65.MenuStyleSettings; var v07b63 =""; var v90e82 =vd5174.ItemStyle.Normal;  v07b63 +="<tr type='MenuItem' name='" +v5ce50.Name +"'";  if (v5ce50.Tooltip !="") v07b63 +=" title='" +v5ce50.Tooltip +"'";  if (!v5ce50.Visible) v07b63 +=" style='display: none'";  v07b63 +=">";  if (!v5ce50.Enabled) v90e82 =vd5174.DisabledItemStyle.Normal;  if (v5ce50.Type =="Separator") { v07b63 +="<td></td>"; } else if (v5ce50.OwnerMenu.IconViewMode) { v07b63 +="<td class='" +v90e82 +"' width=1 style='border-right-style: none; padding: 1px'><img style='visibility:hidden; width:1px; height:" +(vb2d65.ImageSize.Height+4)+"' /></td>"; } else if (v5ce50.Type =="Custom") { v07b63 +="<td class='" +vd5174.CustomStyle +"' colSpan=4>";  if (v5ce50.ImageURL !="") { v07b63 +="<img align='absmiddle' "; v07b63 +="src='" +v5ce50.ImageURL +"' "; v07b63 +="/> &nbsp;"; }  v07b63 +=v5ce50.Text +"</td>";  return v07b63 +"</tr>"; } else { v07b63 +="<td valign=absmiddle class='" +v90e82 +"' style='border-right-style: none; padding: 1px' "; if (!v5ce50.Enabled)v07b63 +="disabled "; v07b63 +=">";  v07b63 +="<span ";  if ((v5ce50.Type =="Radio" ||v5ce50.Type =="CheckBox")&&v5ce50.Checked) { v07b63 +="class='" + (vd5174.HighlightMode =="UseWebStyle" ? vd5174.CheckedItemStyle.Normal : "")+"'"; }  v07b63 +=" style='width:" +(vd5174.IconCellWidth)+"px; height:" + (parseFloat(vb2d65.ImageSize.Width)+4)+"px; text-align:center; padding-top:1px; display:block;";  if ((v5ce50.Type =="Radio" ||v5ce50.Type =="CheckBox")&&v5ce50.Checked &&vd5174.HighlightMode =="UseComplexImages") { v07b63 +="background-image: url(" +wdbdd54.m7f245(vd5174,"ActiveIconCell",true)+");" + "background-repeat: no-repeat; background-position: top left; margin-top: -1px; height: 22px;";  if (IS.ie) v07b63 +="padding-top: 3px; padding-right: 3px"; }  if (IS.moz) { if (IsGecko30()) v07b63 +="display: inline-block;"; else v07b63 +="display:-moz-inline-block;"; } else if (IS.safari ||IS.opera) v07b63 +="display:block;";  v07b63 +="'>";  if ((v5ce50.Type =="Radio" ||v5ce50.Type =="CheckBox")&&v5ce50.ImageURL =="") v5ce50.UseFontImage =true;  if (v5ce50.UseFontImage) { v07b63 +="<span>";  var vd3862 ="";  if (v5ce50.Type =="Radio" &&v5ce50.Checked) vd3862 ="="; else if (v5ce50.Type =="CheckBox" &&v5ce50.Checked) vd3862 ="a"; else v07b63 +="<font face=Webdings style='font-size: 8pt'>" +v5ce50.ImageURL +"</font>";  if (vd3862 !="") v07b63 +=wdbdd54.m3fa51(vd5174,vd3862);  v07b63 +="</span>"; } else { var vc2b75 ="";  if (vb2d65.DrawImageBackground) vc2b75 ="; background-color: " +vd5174.BackgroundStripColor;  v07b63 +="<img align='absmiddle' width=" +vb2d65.ImageSize.Width +" height=" +vb2d65.ImageSize.Height +" ";  if (v5ce50.ImageURL !="") { v07b63 +="src='" +v5ce50.ImageURL +"' ";  if (!v5ce50.Enabled) v07b63 +="style='filter:" +(vb2d65.SkipAlpha ? "" : "Alpha(Opacity=50),")+" Gray()" +vc2b75 +"'"; } else v07b63 +="style='visibility: hidden'";  v07b63 +="/>"; }  v07b63 +="</span>";  v07b63 +="</td>"; }  if (v5ce50.Type =="Separator") { v07b63 +="<td colSpan=3 noWrap style='padding-left:2px; padding-bottom:0px;padding-right:0px;padding-top:2px'><div ";  if (vd5174.SeparatorStyle !="") v07b63 +="class='" +vd5174.SeparatorStyle +"' style='width:100%; font-size:0.01em;' "; else v07b63 +="style='height:1px; width:100%; font-size:0.01em; border-top: gray 1px solid' ";  v07b63 +="></div></td>";  } else { v07b63 +="<td" +(v5ce50.Type =="Template" ? "" : " nowrap")+" class='" +v90e82 +"' style='border-left-style: none; padding-top: " +vd5174.ItemPadding +"px; padding-bottom: " +vd5174.ItemPadding +"px;"; v07b63 +="border-right-style: none; padding-left: " +vd5174.ContentPadding +"px; padding-right: " +vd5174.ContentPadding +"px' "; if (!v5ce50.Enabled)v07b63 +="disabled "; if (v5ce50.Tooltip !="")v07b63 +="title='" +v5ce50.Tooltip +"' ";  v07b63 +=">";  v07b63 +=wdbdd54.m3f391(v5ce50);  v07b63 +="</td>"; v07b63 +="<td align=right class='" +v90e82 +"' style='border-left-style: none; border-right-style: none; padding:" +vd5174.ItemPadding +"px; padding-left:" +(vd5174.ContentPadding+2)+"px' ";  if (!v5ce50.Enabled)v07b63 +="disabled ";  v07b63 +=">"; v07b63 +=v5ce50.Shortcut.IsEmpty()? "&nbsp;" : v5ce50.Shortcut.GetString(); v07b63 +="</td>"; v07b63 +="<td class='" +v90e82 +"' style='border-left-style: none; padding:" +vd5174.ItemPadding +"px'>";  if (v5ce50.SubMenu.Items.length >0) v07b63 +=wdbdd54.m3fa51(vd5174,v21855.IconViewMode ? "6" : "4"); else v07b63 +="&nbsp;";  v07b63 +="</td>"; }  v07b63 +="</tr>";  return v07b63; },  m3f391:function(vd7d77) { var ve6721 =vd7d77.Text;  if (ve6721 =="") ve6721 ="&nbsp;"; else { if (vd7d77.AccessKey !="") { var v8543 =ve6721.toLowerCase(); var v88530 =vd7d77.AccessKey.toLowerCase();  if (v8543.indexOf(v88530)>-1) { var v5d573 =v8543.indexOf(v88530); ve6721 =ve6721.substring(0,v5d573)+"<u>" +ve6721.substring(v5d573,v5d573+1)+"</u>" +ve6721.substring(v5d573+1); } } }  return ve6721; },  m70b38:function(vef735) { var v7cd60 =true; var vf1f22 =vef735.OwnerMenu.MenuControl; if (!vef735.Enabled ||vf1f22.ClassName ==null)return false;  if (vef735.Type =="CheckBox") { vef735.SetChecked(!vef735.Checked); } else if (vef735.Type =="Radio") { vef735.SetChecked(true); }  if (vef735.OnClick !=null) { if (typeof(vef735.OnClick)=="string") v7cd60 =ISEvent.Raise(vef735.OnClick,vef735); else if (typeof(vef735.OnClick)=="function") v7cd60 =vef735.OnClick(vef735);  if (typeof(v7cd60)=="undefined") v7cd60 =true;  if (!vef735.KeepMenuVisible) { if (vf1f22.HideAll) vf1f22.HideAll(); else { if (!v7cd60) return; } } }  if (v7cd60 &&vf1f22.GetType()=="WebContextMenu") { v7cd60 =ISEvent.Raise(vf1f22.ClientSideEvents.OnMenuItemClick,vf1f22.Id,vef735);  if (vf1f22.ClientSideEvents.OnMenuItemClick !="" &&v7cd60) { if (!vef735.KeepMenuVisible) { if (vf1f22.HideAll) vf1f22.HideAll(); else return; } } }  if (v7cd60 &&vef735.TargetURL !="") { if (vef735.TargetFrame =="") document.location.href =vef735.TargetURL; else { var v83a64 =vef735.TargetFrame;  if (v83a64 =="Blank" ||v83a64 =="Parent" ||v83a64 =="Search" || v83a64 =="Self" ||v83a64 =="Top" ||v83a64 =="UseBase") v83a64 ="_" +v83a64.toLowerCase();  window.open(vef735.TargetURL,v83a64); }  if (!vef735.KeepMenuVisible) vef735.OwnerMenu.MenuControl.HideAll(); }  if ((v7cd60 ||typeof(v7cd60)=="undefined")&&vf1f22.GetType()=="WebContextMenu" &&!vf1f22.IntegratedToBar) { var v07b96 =vef735.AutoPostBack; if (v07b96 =="Default")v07b96 =vf1f22.AutoPostBack; if (v07b96 =="Yes") { vf1f22.HideAll(); __doPostBack(vf1f22.ServerUniqueID,"ItemClick:" +wdbdd54.mbfd64(vef735)); } } }, mbfd64:function(v35f7) { var v25a71 =""; var vc8080 =v35f7;  while(vc8080.Parent !=null &&vc8080._Type =="WebMenuItem") { v25a71 =vc8080.Name +";" +v25a71; vc8080 =vc8080.Parent; }  return v25a71; },  mbdb29:function(v5c910) { if (v5c910 ==null ||v5c910 ==window) v5c910 =this;  var v11091 =v5c910.Element; if (!v11091)return;  var vd7e90 =v5c910.GetDocument(); if (!vd7e90 ||v5c910.Popup ==null)return;  var v1db1 =v5c910.GetContentWindow(); Listener.Unload(v11091); Listener.Unload(vd7e90); Listener.Unload(v1db1); Listener.Unload(window); if (v5c910.Popup) { vd7e90.open("text/plain","replace"); vd7e90.write(""); vd7e90.close(); }  v5c910.Popup =null; },  m98085:function(vec266,vd6378) { var vf5f82 =vec266.GetMenuBodyElement().parentElement;  if (vd6378 =="down") vf5f82.scrollTop +=20; else vf5f82.scrollTop -=20;  wdbdd54.m72210(vec266); },  m72210:function(v3cd2) { var vbe866 =v3cd2.GetMenuBodyElement().parentElement;  if (vbe866.scrollTop ==0) v3cd2.GetScrollElement("up").disabled =true; else v3cd2.GetScrollElement("up").disabled =false;  if (vbe866.scrollHeight -vbe866.clientHeight <=vbe866.scrollTop) v3cd2.GetScrollElement("down").disabled =true; else v3cd2.GetScrollElement("down").disabled =false; },  meeb34:function(v4302) { for (var v6cc2=0; v6cc2<v4302.Items.length; v6cc2++) { var vd2148 =v4302.Items[v6cc2]; if (vd2148.HasSubMenu()) { wdbdd54.meeb34(vd2148.SubMenu); ISDeleteObject(vd2148.SubMenu); } }  wdbdd54.mbdb29(v4302); v4302.Items =null; v4302.Items =new ISArray(); v4302.Items.Parent =v4302; v4302.ActiveItem =v4302.Element =null; v4302.ActiveItemIndex =-1; v4302.Initialized =false; },  m87d53:function(v8e057) { if (IS.ie &&v8e057.MenuControl.MenuWindowType =="Popup") { var v9852 =IS.GetTempIFrame(); var vbc248 =v9852.contentWindow.document; var v2bd72 =v8e057.GetDocument().body.parentElement.outerHTML;  vbc248.open("text/html","replace"); vbc248.write(v2bd72); vbc248.close();  v8e057.RuntimeWidth =vbc248.body.scrollWidth; v8e057.RuntimeHeight =vbc248.body.scrollHeight; } },  m2c953:function(v75b96) { var v71b57 =v75b96.OwnerMenu; var v8d027 =null; var v0e957 =""; var v19c74 =v71b57.GetMenuBodyElement(); var v4ad57 =v71b57.GetDocument();  if (!v71b57._TempDiv) v71b57._TempDiv =v4ad57.createElement("DIV");  v8d027 =v71b57._TempDiv;  if (v71b57.IconViewMode &&v75b96.IsUsingImageIconViewMode()) v0e957 =wdbdd54.m76325(v75b96); else v0e957 =wdbdd54.med451(v75b96);  v8d027.innerHTML ="<table>" +v0e957 +"</table>"; el =v8d027.children[0].rows[0]; v19c74.tBodies[0].appendChild(el);  v71b57._NeedSizeRecalc =true;  return el; },  m18c68:function(vc9e51,v6db25) { var va5332 =wdbdd54.m2c953(vc9e51); var va4e15 =vc9e51.OwnerMenu.Items[v6db25];  vc9e51.Element =va5332;  if (va4e15 !=null) { var va4e9 =va4e15.GetElement();  if (va4e9 !=null &&va5332 !=null) { var v3dd39 =va5332.parentElement.parentElement; v3dd39.moveRow(va5332.rowIndex,va4e9.rowIndex); } } },  m13485:function(vde443) { var vaf37 =vde443.OwnerMenu; var v4dc4 =vde443.GetElement(); if (v4dc4) v4dc4.removeNode(true);  if (vde443.HasSubMenu()&&vde443.SubMenu.Popup !=null) vde443.SubMenu.Destroy();  vaf37._NeedSizeRecalc =true; },  m77e99:function(v07b82,v14e93) { var vf3826 =null;  if (v14e93.GetType()=="WebContextMenu") vf3826 =v14e93.RootMenu; else if (v14e93.GetType()=="WebMenuItem") vf3826 =v14e93.SubMenu; else if (v14e93.GetType()=="WebMenu") vf3826 =v14e93; for (var v1b614=0; v1b614<v07b82.length; v1b614++) { var v80028 =v07b82[v1b614];  v80028.OwnerMenu =vf3826;  v80028.Collection =vf3826.Items; v80028.Index =v1b614;  if (v80028.Items.length >0) wdbdd54.m77e99(v80028.Items,v80028); } }};if (typeof(RegisterKeyboardHandler)=="function") RegisterKeyboardHandler(); if (typeof(Sys)!="undefined") Sys.Application.notifyScriptLoaded();