
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 3/15/2010 3:21:10 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 InitWebDesktopLoader(v1a112,v3cf22,vddf52,v7eb7,v2b668){ var vec766 =document.getElementById(v1a112 +"_loader");  if (vec766) { if (v3cf22 =="UseBuiltIn") { var vf4295 =vec766.currentStyle; var va9163 =vec766.children[0]; var v98560 =va9163.rows[1].cells[0].children[0]; var v4d02 =v98560.children[0]; with (va9163.style) { color =vf4295.color; fontFamily =vf4295.fontFamily; fontSize =vf4295.fontSize; }  v4d02.style.filter ="progid:DXImageTransform.Microsoft.Alpha(Opacity=30, FinishOpacity=100, Style=1, StartX=0,  FinishX=100, StartY=0, FinishY=0)"; v4d02.style.width ="0px"; v4d02.style.backgroundColor =v98560.currentStyle.color; }  vec766.mode =v3cf22; vec766.transition =vddf52; vec766.eventName =v7eb7; vec766.loaderText =v2b668;  if (document.readyState =="complete") { WebDesktopLoaderProgress(v1a112,100); } else { var vdf581 =new Array(); var va9a32 =document.getElementsByTagName("script"); var v0d244 =eval(v1a112 +"_images");  if (IS.ie) {for(var v40469=0; v40469<va9a32.length; v40469++) { if (va9a32[v40469].src !="") vdf581[vdf581.length] =va9a32[v40469]; } } for(var v40469=0; v40469<v0d244.length; v40469++) { var vd8486 =new Image(); vd8486.src =v0d244[v40469]; vd8486.loadTry =0; vdf581[vdf581.length] =vd8486; }  wdbe853.ResourcesList =vdf581; vec766.totalResources =vdf581.length; setTimeout(function(){WebDesktopLoaderTimer(v1a112,vec766); },50); } }}function WebDesktopLoaderTimer(v82e43,vfc290){ var vc4368 =wdbe853.ResourcesList; var v0e41 =vfc290.totalResources; var v5c937 =0; var v30011 =0; var v8b690 =0;  for (var v0ca1=0; v0ca1<vc4368.length; v0ca1++) { var v56b66 =vc4368[v0ca1]; if (v56b66.marked) { v5c937++; } else { if ((v56b66.tagName =="SCRIPT" &&v56b66.readyState =="complete")||(v56b66.complete)) { v30011++; v56b66.marked =true; } else if (v56b66.tagName =="IMG" &&!v56b66.complete) { if (v56b66.loadTry ==5 &&v56b66.fileSize ==-1) { v30011++; v56b66.marked =true; } else { v56b66.loadTry++; } } } }  v8b690 =Math.round(((v5c937 +v30011)/v0e41)*100);  if (IS.ie) { if (v8b690 >90) { if (document.readyState !="complete") { if (!vfc290.retryCount) vfc290.retryCount =0; else vfc290.retryCount++;  v8b690 =90 +vfc290.retryCount; if (v8b690 >97) v8b690 =97; } else v8b690 =100; } }  WebDesktopLoaderProgress(v82e43,vfc290,v8b690); if (v8b690 <100) vfc290.nextTimerID =setTimeout(function(){WebDesktopLoaderTimer(v82e43,vfc290); },50);}function WebDesktopLoaderProgress(vbe617,v7ab79,v1c041){ if (v7ab79.mode =="UseBuiltIn") { var v1d262 =v7ab79.children[0]; var v2760 =v1d262.rows[1].cells[0].children[0].children[0]; var v17b56 =v1d262.rows[0].cells[0]; var v54c37 =v7ab79.loaderText;  v54c37 =v54c37.replace("[completed]",v1c041); v17b56.innerText =v54c37;  if (IS.safari) v2760.style.display ="-webkit-inline-box"; else if (IS.moz) v2760.style.display ="-moz-inline-box";  v2760.style.width =(v1c041/100)*200; } ISEvent.Raise(v7ab79.eventName,vbe617,v1c041); if (v1c041 >99) { wdbe853.ResourcesList =null;  clearTimeout(v7ab79.nextTimerID);  if (IS.ie) { setTimeout(function() { wdbe853.m38142(v7ab79,v7ab79.transition); },500); }  setTimeout(function() { v7ab79.removeNode(true); },1000); } else { }}function WebDesktopMenuStyles(){ this._Type ="WebDesktopMenuStyles"; ISObject.call(this); this.Application =null;  this.System =null;   if (typeof(WebMenuStyles)=="function") { this.Application =new WebMenuStyles(); this.System =new WebMenuStyles(); }}function WebDesktopClientSideEvents(){ this._Type ="WebDesktopClientSideEvents"; ISObject.call(this); this.OnInitialize =""; this.OnShortcutCreated =""; this.OnShortcutSelected =""; this.OnShortcutBeforeLaunched =""; this.OnShortcutAfterLaunched =""; this.OnWindowCreating =""; this.OnWindowCreated =""; this.OnWindowMinimized =""; this.OnWindowMaximized =""; this.OnWindowRestored =""; this.OnWindowBeforeClosed =""; this.OnWindowAfterClosed =""; this.OnWindowResized =""; this.OnWindowMoved =""; this.OnContextMenu =""; this.OnWindowBeforeActivated =""; this.OnWindowAfterActivated =""; this.OnWindowDeactivated ="";  this.OnLoaderProgress =""; this.OnWindowShown ="";}function WebDesktopLoaderSettings(){ this._Type ="WebDesktopLoaderSettings"; ISObject.call(this); this.Enabled =false; this.Mode ="UseBuiltIn"; this.OnReadyTransitionEffect ="None";}function WebDesktopImagesSettings(){ this._Type ="WebDesktopImagesSettings"; ISObject.call(this); this.InProgress ="is_progress-16.gif"; this.MinimizeActive =""; this.MaximizeActive =""; this.CloseActive =""; this.RestoreActive =""; this.ControlBox ="is_window-16.gif"; this.CaptionLeftActive =""; this.CaptionCenterActive =""; this.CaptionRightActive =""; this.CaptionLeftInactive =""; this.CaptionCenterInactive =""; this.CaptionRightInactive =""; this.MinimizeInactive =""; this.MaximizeInactive =""; this.RestoreInactive =""; this.CloseInactive =""; this.MinimizeOver =""; this.MaximizeOver =""; this.RestoreOver =""; this.CloseOver =""; this.MinimizeDown =""; this.MaximizeDown =""; this.RestoreDown =""; this.CloseDown =""; this.ButtonLeftInactive =""; this.ButtonCenterInactive =""; this.ButtonRightInactive =""; this.ButtonLeftOver =""; this.ButtonCenterOver =""; this.ButtonRightOver =""; this.ButtonLeftActive =""; this.ButtonCenterActive =""; this.ButtonRightActive ="";}function WebDesktopManager(vc0210){ this.ClassName ="WebDesktopManager"; this.Version ="1.0.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.0"; this.RequiredFrameworkVersion ="2.0.5000.16"; ISControl.call(this,vc0210);  this.ScriptDirectory ="/CommonLibrary/WebDesktop/V3_0_7200/"; this.ImagesDirectory ="/CommonLibrary/Images/WebDesktop/"; this.FrameStyle =""; this.Windows =new ISArray(); this.ShortcutIcons =new ISArray(); this.WindowArrangement ="Cascaded"; this.TaskBarVisible =true; this.TaskBarSettings =new WebDesktopTaskBarSettings(); this.ImagesSettings =new WebDesktopImagesSettings(); this.WindowSettings =new WebDesktopWindowSettings(); this.MenuStyles =new WebDesktopMenuStyles(); this.ShortcutIconsVisible =false; this.EnableAnimation =true; this.EnableKeyboardNavigation =true; this.ClientSideEvents =new WebDesktopClientSideEvents(); this.TextSettings =new WebDesktopTextSettings(); this.ShortcutSettings =new WebDesktopShortcutSettings(); this.TaskBarStyle =""; this.TaskBarButtonStyle =null; this.ActiveWindowIndex =-1; this.EnableContextMenu =false; this.ShortcutStyle =null; this.ViewStateStorage ="PageCache"; this.AccessKey =""; this.Enabled =false; this.TabIndex =null; this.ToolTip =""; this.Visible =false; this.ClientID =this.ID =this.UniqueID =vc0210; this.MaxZIndex =0; this.IsInResizing =false; this.ActiveShortcutIndex =-1; this.ShortcutDisplayMode ="TextAndImage";  this.InteractiveObjects =new Array(); this.CreatedAtRuntime =false; this.SystemMenu =null; this.DesktopContextMenu =null; this.TaskBarLocked =false;  this.LoaderStyle =null; this.LoaderSettings =new WebDesktopLoaderSettings(); this.CachedDesktopSize =null;  this.WebResourceIdentifier ="D";  this.WindowInteractiveMode ="Physical"; this.ShadowModeAnimation =false; this.ShadowModeTransparency =false;  this.AnimationStyle ="ShrinkExpand"; this.DockBottomHeight =0;  this.OnInitialize =function() { ISEvent.Raise(this.ClientSideEvents.OnInitialize,this.Id);  this.Windows.ReindexPosition(); this.ShortcutIcons.ReindexPosition(); this.RemoveDynamicStyle(); wdbe853.mb2b94(this);  if (typeof(wd6fa82)=="object") wd6fa82.m75b51(this.InteractiveObjects);  };  this.ReBindingPostBackData =function() { this.Set("ActiveWindowIndex",this.ActiveWindowIndex,true); };  this.OnPropertiesInitialized =function() { if (this.Events !=null) { var vbb837; for(vbb837 in this.Events) { if (typeof(this.Events[vbb837])=="string") this.ClientSideEvents[vbb837] =this.Events[vbb837]; } }  var v09f88 =document.getElementById(this.Id);  if (v09f88 ==null) v09f88 =document.getElementById(this.ServerUniqueID);  v09f88.value ="ISWebDesktopManager"; };  this.RemoveDynamicStyle =function() { var v2c18 =["TaskBarButon","Shortcut"]; var va0f2 =["Caption","CaptionButton","Window","CommandButton"]; for(var v5a233=0; v5a233<v2c18.length; v5a233++) { var va5343 =this[v2c18[v5a233] +"Style"]; if (va5343) ISXml.RemoveNode(this.XmlNode,v2c18[v5a233] +"Style"); }  for(var v5a233=0; v5a233<va0f2.length; v5a233++) { var va5343 =this.WindowSettings[va0f2[v5a233] +"Style"]; if (va5343) ISXml.RemoveNode(this.WindowSettings.XmlNode,va0f2[v5a233] +"Style"); } };  this.GetMaxZIndex =function() { if (this.MaxZIndex ==0) { for (var v5a233=0; v5a233<this.Windows.length; v5a233++) { var v06d61 =this.Windows[v5a233].GetWindowDivElement();  if (v06d61) { this.MaxZIndex =Math.max(this.MaxZIndex,v06d61.style.zIndex); } } }  return this.MaxZIndex; };  this.GetIFrameWindow =function(v56a10) { return window.frames[v56a10]; };  this.GetAvailableColumn =function() { var ve6430 =10; var v17960 =0; var vf6828 =-1; var v29085 =this.GetDesktopSize();  for (var v5a233=0; v5a233<this.ShortcutIcons.length; v5a233++) { var v08815 =this.ShortcutIcons[v5a233];  if (!v08815.RuntimeLocation.IsEmpty()&&v08815.Location.IsEmpty()) { ve6430 =Math.max(ve6430,v08815.RuntimeLocation.X); } }  vf6828 =(ve6430-10)/80;   for (var v5a233=0; v5a233<this.ShortcutIcons.length; v5a233++) { var v08815 =this.ShortcutIcons[v5a233];  if (!v08815.RuntimeLocation.IsEmpty()&&v08815.RuntimeLocation.X ==ve6430 &&v08815.Location.IsEmpty()) { v17960 =Math.max(v17960,v08815.RuntimeLocation.Y); } } if (v17960 +(80*2)>v29085.Height) { vf6828++; }  return vf6828; };  this.GetAvailableRow =function(vf6828) { var ve6430 =(vf6828*80)+10; var v17960 =5; var vf6855 =-1;  for (var v5a233=0; v5a233<this.ShortcutIcons.length; v5a233++) { var v08815 =this.ShortcutIcons[v5a233]; if (!v08815.RuntimeLocation.IsEmpty()&&v08815.RuntimeLocation.X ==ve6430 &&(this.ShortcutSettings.AllowAutoArrange ||v08815.Location.IsEmpty())) { v17960 =Math.max(v17960,v08815.RuntimeLocation.Y+80); } } vf6855 =(v17960-5)/80;  return vf6855; };  this.GetCssObject =function(v56a10) { return IS.GetCssObject(null,v56a10,true); };  this.TransferStyle =function(va8e66) { var v31d58 =this.GetCssObject(va8e66.selectorText.substring(1)); if (!v31d58) { var va5343 =IS.GetRuntimeStyleSheetExact(); if (IS.ie ||IS.safari) va5343.addRule(va8e66.selectorText,va8e66.style.cssText); else va5343.innerHTML +=va8e66.selectorText +" { " +va8e66.style.cssText +" }\n";  return true; }  return false; };  this.OnUnload =function() { wdbe853.mf5411(this); };  this.CreateWindow =function() { return new WebDesktopWindow(); };  this.ShowDialogBox =function() {  };  this.GetDocument =function() { var v62b11 =this.GetDesktopElement();  if (v62b11) { if (IS.ie) return v62b11.document; else return v62b11.ownerDocument; } else return document; };  this.GetContentWindow =function() { var vfbf4 =this.GetDocument(); return vfbf4.parentWindow; };  this.GetTaskBarElement =function() { return document.getElementById("dvTaskBar_" +this.Id); };  this.GetTaskBarWindowGroupElement =function() { var v40071 =this.GetTaskBarElement(); if (!v40071)return null;  var v79d47 =v40071.children[0];  for (var v5a233=0; v5a233 <v79d47.rows[0].cells.length; v5a233++) { if (IS.GetAttr(v79d47.rows[0].cells[v5a233],"type")=="WindowGroup") return v79d47.rows[0].cells[v5a233]; } return null; };  this.GetTaskBarLeftTemplateElement =function() { var v40071 =this.GetTaskBarElement(); if (!v40071)return null; var v79d47 =v40071.children[0];  for (var v5a233=0; v5a233 <v79d47.rows[0].cells.length; v5a233++) { if (IS.GetAttr(v79d47.rows[0].cells[v5a233],"type")=="Left") return v79d47.rows[0].cells[v5a233]; } return null; };  this.GetTaskBarRightTemplateElement =function() { var v40071 =this.GetTaskBarElement(); if (!v40071)return null; var v79d47 =v40071.children[0];  for (var v5a233=0; v5a233 <v79d47.rows[0].cells.length; v5a233++) { if (IS.GetAttr(v79d47.rows[0].cells[v5a233],"type")=="Right") return v79d47.rows[0].cells[v5a233]; } return null; };  this.GetDesktopElement =function() { var v62b11 =document.getElementById("dvDesktop_" +this.Id);  if (!v62b11 &&this.CreatedAtRuntime) { if (document.forms.length >0) v62b11 =document.forms[0]; else { if (IS.IsXHTMLDocType()) v62b11 =document.documentElement; else v62b11 =document.body; } } return v62b11; };  this.GetDesktopSize =function() { var vca047 =new UnitSize(); if (this.CachedDesktopSize ==null) { var v5b758 =null;  if (!this.CreatedAtRuntime) v5b758 =this.GetDesktopElement(); else { if (IS.IsXHTMLDocType()) v5b758 =document.documentElement; else v5b758 =document.body; }  vca047.Width =v5b758.offsetWidth; vca047.Height =v5b758.offsetHeight;  if (vca047.Height ==0) vca047.Height =ISPosLib.getHeight(v5b758);  this.CachedDesktopSize =vca047; } else vca047 =this.CachedDesktopSize;  return vca047; };  this.GetDesktopClientSize =function() { var vca047 =new UnitSize(); var v5b758 =null;  if (!this.CreatedAtRuntime) v5b758 =this.GetDesktopElement(); else { if (IS.IsXHTMLDocType()) v5b758 =document.documentElement; else v5b758 =document.body; }  vca047.Width =v5b758.clientWidth; vca047.Height =v5b758.clientHeight;  if (vca047.Height ==0) vca047.Height =ISPosLib.getHeight(v5b758);  return vca047; };  this.GetAvailableDesktopHeight =function(vad649) { return vad649 -this.DockBottomHeight; };  this.CascadeWindows =function(v66d85,vb0732) { wdbe853.m00198(this,v66d85,vb0732); };  this.TileWindowsHorizontally =function(v66d85,vb0732) { wdbe853.me1946(this,v66d85,"H",vb0732); };  this.TileWindowsVertically =function(v66d85,vb0732) { wdbe853.me1946(this,v66d85,"V",vb0732); };  this.GetActiveWindow =function() { return this.Windows[this.ActiveWindowIndex]; };  this.GetActiveShortcut =function() { return this.ShortcutIcons[this.ActiveShortcutIndex]; };  this.GetWindow =function(v56a10) { var vfeb10 =this.Windows.GetNamedItem(v56a10); if (!vfeb10 &&this.CreatedAtRuntime) { vfeb10 =ISGetObject(v56a10.substring(3)); if (vfeb10 &&vfeb10.GetType()=="WebDialogBox") vfeb10 =vfeb10.Window; }  return vfeb10; };  this.ResolveImagePath =function(v69140) { return this._ResolveImagePath(this.ImagesDirectory,v69140); };  this.GetTopMostWindowBefore =function(vfeb10) { var v03545 =null; var v69d24 =0;  for (var v5a233=0; v5a233<this.Windows.length; v5a233++) { var vb2b21 =this.Windows[v5a233];  if (vb2b21.WindowState !="Minimized" &&!vb2b21.IsClosed &&vb2b21.Initialized &&vb2b21 !=vfeb10 &&vb2b21.ClientVisible) { var v06d61 =vb2b21.GetWindowDivElement();  if (v06d61) { v69d24 =Math.max(v69d24,v06d61.style.zIndex);  if (v69d24 ==v06d61.style.zIndex) { v03545 =vb2b21; } } } }  return v03545; };  this.GetWindowListByZOrder =function() { var vca764 =new Array(); var vc1d39 =new Array();  for (var v5a233=0; v5a233<this.Windows.length; v5a233++) vca764[vca764.length] =this.Windows[v5a233].GetWindowDivElement().style.zIndex; vca764.sort(wdbe853.m00c70); vca764.reverse(); for (var v5a233=0; v5a233<vca764.length; v5a233++) { for (var v2d138=0; v2d138<this.Windows.length; v2d138++) { var vb2b21 =this.Windows[v2d138]; var v06d61 =vb2b21.GetWindowDivElement();  if (v06d61.style.zIndex ==vca764[v5a233]) vc1d39[vc1d39.length] =vb2b21; } }  return vc1d39; };  this.SetNoActiveWindow =function() { var vb2b21 =this.GetActiveWindow(); if (vb2b21 &&vb2b21.ClientVisible &&!vb2b21.Closed) { var v35799 =vb2b21.GetTaskBarButtonElement(); DynamicStyleEngine.SetToStyle(null,this.TaskBarButtonStyle,v35799); } this.ActiveWindowIndex =-1; };  this.RearrangeShortcutIcons =function() { wdbe853.md9b46(this); };  this.ShowShortcutIcons =function() { for (var v5a233=0; v5a233<this.ShortcutIcons.length; v5a233++) { var v05b49 =this.ShortcutIcons[v5a233]; v05b49.Show(); } this.ShortcutIconsVisible =true; };  this.HideShortcutIcons =function() { for (var v5a233=0; v5a233<this.ShortcutIcons.length; v5a233++) { var v05b49 =this.ShortcutIcons[v5a233]; v05b49.Hide(); } this.ShortcutIconsVisible =false; };  this.ShowDesktop =function() { for (var v5a233=0; v5a233<this.Windows.length; v5a233++) { var vb2b21 =this.Windows[v5a233]; if (vb2b21.WindowState !="Minimized" &&!vb2b21.IsDialogBox) vb2b21.Minimize(); } this.SetNoActiveWindow(); };  this.SaveDesktopStateToXml =function() { this.Windows.UpdateChanges(); this.ShortcutIcons.UpdateChanges();  var v09154 =ISXml.CreateXmlDocument(); var va5343 ="<Desktop>";  va5343 +=this.Windows.XmlNode.xml; if (this.ShortcutIconsVisible) va5343 +=this.ShortcutIcons.XmlNode.xml; va5343 +="</Desktop>";  ISXml.LoadXml(v09154,va5343); return va5343; };  this.RegisterEvents =function(vb9b60,v11021) { wdbe853.mc533(this,vb9b60,v11021 ? vb9b60.parent.name : null); };   this.GetNotificationControl =function() { for (var v5a233=0; v5a233<IS.RuntimeObjects; v5a233++) { var v4bb88 =IS.RuntimeObjects[v5a233]; if (v4bb88 !=null &&v4bb88.GetType()=="WebNotification") return v4bb88; }  return null; };  this.IsVistaAnimation =function() { return (this.EnableAnimation &&this.AnimationStyle =="VistaStyleZoom"); };  this.GetVisibleWindows =function() { var vca764 =new Array();  for (var v5a233=0; v5a233<this.Windows.length; v5a233++) { var vfeb10 =this.Windows[v5a233];  if (vfeb10.ClientVisible &&!vfeb10.IsClosed) vca764.push(vfeb10); }  return vca764; };  this.OpenFromFishEye =function(ve2080) { wdbe853.med982(this,ve2080); };}function WebDesktopShortcut(){ this._Type ="WebDesktopShortcut"; ISObject.call(this); this.Name =""; this.Index =-1; this.DesktopManager =null; this.Text =""; this.Image =""; this.TargetURL =""; this.WindowName =""; this.Visible =true; this.Enabled =true; this.Location =new OffsetLocation(); this.RuntimeLocation =new OffsetLocation(); this.Collection =null; this.ToolTip =""; this.TargetControlBoxImage ="";  this.InteractiveObject =null;   this.OnPropertiesInitialized =function() { this.DesktopManager =this.Parent; this.Collection =this.DesktopManager.ShortcutIcons;  if (ISXml.GetAttribute(this.XmlNode,"Location")!=null) { var v86115 =ISXml.GetAttribute(this.XmlNode,"Location"); this.Location.Parse(v86115); } }; this.OnAdd =function() { wdbe853.mc3c2(this); };  this.Initialize =function() { this.Rearrange();  if (this.DesktopManager.ShortcutSettings.Movable) { var vab70 =new ISInteractiveObject(); var ve2e25 =this.GetElement(); var v61588 =this.DesktopManager;  vab70.DesktopManager =this.DesktopManager; vab70.Movable =true; vab70.DragElement =ve2e25; vab70.FrameElement =ve2e25;  v61588.InteractiveObjects[v61588.InteractiveObjects.length] =vab70; this.InteractiveObject =vab70; this.Registered =true; ve2e25.IsInteractiveObject =true; } };   this.GetElement =function() { return document.getElementById("dvSCI_" +this.DesktopManager.Id +"_" +this.Name); };  this.GetTextElement =function() { var ve2e25 =this.GetElement(); return ve2e25.children[1]; };  this.Rearrange =function() { var v73631 =this.Index; var v7a067 =this.DesktopManager; var vf0173 =v7a067.ShortcutSettings; var ve2e25 =this.GetElement();  if (!this.Visible ||!ve2e25)return;  if (vf0173.AllowAutoArrange ||this.Location.IsEmpty()) { var vf0626 =v7a067.GetAvailableColumn(); var v96282 =v7a067.GetAvailableRow(vf0626); var vad780 =5 +(v96282 *80);  this.RuntimeLocation.X =(vf0626*80)+10; this.RuntimeLocation.Y =vad780; } else { this.RuntimeLocation.X =this.Location.X; this.RuntimeLocation.Y =this.Location.Y; }  ve2e25.style.left =this.RuntimeLocation.X; ve2e25.style.top =this.RuntimeLocation.Y; };  this.Select =function(v93429) { if (this.Visible) { var v34873 =this.DesktopManager.GetActiveShortcut();  if (v34873) { var vc1343 =v34873.GetTextElement(); DynamicStyleEngine.SetToStyle(null,this.DesktopManager.ShortcutStyle,vc1343); }  var ve2e25 =this.GetTextElement(); DynamicStyleEngine.SetToActiveStyle(null,this.DesktopManager.ShortcutStyle,ve2e25);  this.DesktopManager.ActiveShortcutIndex =this.Index;  if (v93429) vab466 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutSelected,this.DesktopManager.Id,this);  } };  this.Open =function(v93429) { var vab466 =true;  if (v93429) vab466 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutBeforeLaunched,this.DesktopManager.Id,this);  if (vab466) wdbe853.m9ba31(this);  ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutAfterLaunched,this.DesktopManager.Id,this);  };  this.SetText =function(v6c165) { var ve2e25 =this.GetElement(); if (ve2e25) ve2e25.children[1].innerHTML =v6c165;  this.Text =v6c165; };  this.Delete =function() { wdbe853.mfff19(this); };  this.Show =function() { var ve2e25 =this.GetElement(); if (ve2e25) ve2e25.style.display =""; };  this.Hide =function() { var ve2e25 =this.GetElement(); if (ve2e25) ve2e25.style.display ="none"; };}function WebDesktopShortcutSettings(){ this._Type ="WebDesktopShortcutSettings"; ISObject.call(this); this.AllowAutoArrange =true; this.Movable =false;}function WebDesktopTaskBarSettings(){ this._Type ="WebDesktopTaskBarSettings"; ISObject.call(this); this.Position ="Bottom"; this.Movable =false; this.Resizable =false; this.ShowWindows =true; this.WindowButtonWidth =150;}function WebDesktopTextSettings(){ this._Type ="WebDesktopTextSettings"; ISObject.call(this); this.InProgressText ="Loading content..."; this.MaximizeText ="Maximize"; this.MinimizeText ="Minimize"; this.RestoreText ="Restore Down"; this.CloseText ="Close"; this.BusyText ="Please wait while your request is being processed..."; this.LoadingText ="Loading desktop...";}function WebDesktopWindow(){ this._Type ="WebDesktopWindow"; ISObject.call(this); this.AllowMinimize ="Default"; this.AllowMaximize ="Default"; this.AllowResize ="Default"; this.AllowClose ="Default"; this.ControlBox ="Default"; this.Text =""; this.TextAlignment ="Default"; this.CaptionDisplayMode ="Default"; this.ContentMode ="Default"; this.HeaderTemplate =null; this.ContentTemplate =null; this.ClientVisible =true; this.Size =new UnitSize(); this.MaximumSize =new UnitSize(); this.MinimumSize =new UnitSize(); this.Location =new OffsetLocation(); this.Name =""; this.InProgressText =""; this.BusyText =""; this.ShowInTaskBar =true; this.ControlBoxImage =""; this.ShortcutImage =""; this.Index =-1; this.DesktopManager =null; this.ContentURL =""; this.Collection =null;  this.IsClosed =false; this.Initialized =false; this.IFrameLoaded =false; this.IFrameContentLoaded =false; this.WindowState ="Normal"; this.PreviousWindowState ="Normal"; this.InteractiveObject =null; this.CreatedAtRuntime =false; this.DialogBoxShown =false; this.CurrentDialogBox =null; this.BarsAccessKeyEnabled =true; this.IsBusy =false; this.StartupPositionInitialized =false; this.DialogBoxWindows =new ISArray();  this.OnAfterActivated =""; this.OnAfterClosed =""; this.OnPrepareClosed =""; this.OnBeforeActivated =""; this.OnBeforeClosed =""; this.OnMaximized =""; this.OnMinimized =""; this.OnResized =""; this.OnRestored ="";  this.EnableDropShadow =false; this.DropShadow =null;  this.OnPropertiesInitialized =function() { this.DesktopManager =this.Parent; this.Collection =this.DesktopManager.Windows;  if (ISXml.GetAttribute(this.XmlNode,"Size")!=null) this.Size.Parse(ISXml.GetAttribute(this.XmlNode,"Size"));  if (ISXml.GetAttribute(this.XmlNode,"MinimumSize")!=null) this.MinimumSize.Parse(ISXml.GetAttribute(this.XmlNode,"MinimumSize")); if (ISXml.GetAttribute(this.XmlNode,"MaximumSize")!=null) this.MaximumSize.Parse(ISXml.GetAttribute(this.XmlNode,"MaximumSize")); if (ISXml.GetAttribute(this.XmlNode,"Location")!=null) this.Location.Parse(ISXml.GetAttribute(this.XmlNode,"Location"));  };  this.GetDefault =function(v25465) { if (this[v25465] =="Default") return this.DesktopManager.WindowSettings[v25465]; else return this[v25465]; };  this.GetDefaultSize =function(v25465) { if (this[v25465].IsEmpty()) return this.DesktopManager.WindowSettings[v25465]; else return this[v25465]; };  this.__getter =function(v25465) { switch (v25465) { case "CaptionDisplayMode": case "ImageAlignment": case "ContentMode": case "AllowMinimize": case "AllowMaximize": case "AllowClose": case "AllowResize": case "ControlBox": case "TextAlignment": return this.GetDefault(v25465); break; case "ControlBoxImage": if (this[v25465] =="") return this.DesktopManager.ImagesSettings["ControlBox"]; else return this[v25465]; break; case "Size": case "MinimumSize": case "MaximumSize": return this.GetDefaultSize(v25465); case "BusyText": if (this[v25465] =="") return this.DesktopManager.TextSettings[v25465]; else return this[v25465];  } };  this.OnAdd =function() { wdbe853.m93a66(this); };  this.OnUpdate =function(v3e184) { if (!this.Location.IsEmpty()) ISXml.SetAttribute(v3e184,"Location",this.Location.X +", " +this.Location.Y);  if (!this.IsClosed &&!this.Size.IsEmpty()) ISXml.SetAttribute(v3e184,"Size",this.Size.Width +", " +this.Size.Height); };  this.ReInitialize =function() { wdbe853.m26a47(this); this.Initialize(true); };  this.Initialize =function(vb6f20) { wdbe853.m6bf29(this);  if (vb6f20) return; var v23285 =this.DesktopManager; var v9a687 =this.GetWindowDivElement(); var vf8596 =this.GetCaptionBarTableElement();  var v42b79 =new ISInteractiveObject();  if (this.Get("AllowResize")=="Yes") v42b79.Resizable =true;  v42b79.Window =this; v42b79.DesktopManager =v23285; v42b79.Movable =true; v42b79.DragElement =vf8596; v42b79.FrameElement =v9a687; v42b79.FrameElement.IsInteractiveObject =true; v42b79.Registered =true;  v23285.InteractiveObjects[v23285.InteractiveObjects.length] =v42b79; this.InteractiveObject =v42b79; this.Initialized =true;  };  this.UnregisterAccessKeys =function() { wdbe853.m8d81(this); };  this.RegisterAccessKeys =function() { wdbe853.m22229(this); };   this.GetWindowDivElement =function() { return document.getElementById("dvWnd_" +this.DesktopManager.Id +"_" +this.Name); };  this.GetCaptionBarCellElement =function() { var v49647 =this.GetWindowDivElement(); if (v49647) { var vf6773 =v49647.children[0]; return vf6773.rows[0].cells[0]; } return null; };  this.GetControlBoxElement =function() { var vf1446 =this.GetCaptionBarCellElement();  if (this.Get("ControlBox")=="Yes") { var vf6773 =vf1446.children[0]; var v8e48 =(this.DesktopManager.WindowSettings.ControlBoxPosition =="Left")? 0 : 1;  if (this.DesktopManager.WindowSettings.BorderType =="Simple") return vf6773.rows[0].cells[v8e48]; else return vf6773.rows[0].cells[1].children[0].rows[0].cells[v8e48]; }  return null; };  this.GetCaptionBarTableElement =function() { if (this.DesktopManager.WindowSettings.BorderType =="Simple") { return this.GetCaptionBarCellElement().children[0]; } else if (this.DesktopManager.WindowSettings.BorderType =="ComplexImages") { var vfba22 =this.GetCaptionBarCellElement(); if (vfba22) { var vf6773 =vfba22.children[0]; var v9ee80 =vf6773.rows[0].cells[1];  return v9ee80.children[0]; } return null; } }; this.GetInProgressText =function() { if (this.InProgressText =="") return this.DesktopManager.TextSettings.InProgressText; else return this.InProgressText; };  this.GetContentDivElement =function() { var v49647 =this.GetWindowDivElement(); if (v49647) { var vf6773 =v49647.children[0]; return vf6773.rows[1].cells[0].children[0]; } return null; };  this.GetDesktopManager =function() { return this.DesktopManager; };  this.GetWindowOptionsCellElement =function() { var v8d112 =this.GetCaptionBarTableElement();  if (v8d112) { var vf8e44 =v8d112.rows[0];  if (this.DesktopManager.WindowSettings.WindowOptionsPosition =="Right") return vf8e44.cells[v8d112.rows[0].cells.length-1]; else return vf8e44.cells[0]; } else return null; };  this.GetControlBoxCellElement =function() { if (this.Get("ControlBox")=="No") return null;  var v8d112 =this.GetCaptionBarTableElement();  if (v8d112) { if (this.DesktopManager.WindowSettings.ControlBoxPosition =="Left") return v8d112.rows[0].cells[0]; else return v8d112.rows[0].cells[1].children[0]; } else return null; };  this.GetMaximizeButtonElement =function() { var vd2f20 =this.GetWindowOptionsCellElement();  for (var v66753=0; v66753<vd2f20.children.length; v66753++) { var v25286 =vd2f20.children[v66753];  if (IS.GetAttr(v25286,"type")=="Max") return v25286; }  return null; }; this.GetCloseButtonElement =function() { var vd2f20 =this.GetWindowOptionsCellElement();  for (var v66753=0; v66753<vd2f20.children.length; v66753++) { var v25286 =vd2f20.children[v66753];  if (IS.GetAttr(v25286,"type")=="Close") return v25286; }  return null; }; this.GetMinimizeButtonElement =function() { var vd2f20 =this.GetWindowOptionsCellElement();  for (var v66753=0; v66753<vd2f20.children.length; v66753++) { var v25286 =vd2f20.children[v66753];  if (IS.GetAttr(v25286,"type")=="Min") return v25286; }  return null; };  this.IsActiveWindow =function() { return (this.DesktopManager.ActiveWindowIndex ==this.Index); };  this.GetTaskBarButtonElement =function() { var v5b933 =this.DesktopManager;  if (v5b933.TaskBarVisible &&v5b933.TaskBarSettings.ShowWindows) { if (this.ShowInTaskBar &&!this.IsClosed &&this.Initialized) { var v89510 =this.DesktopManager.GetTaskBarWindowGroupElement(); if (v89510) { var vf6773 =v89510.children[0].children[0]; for (var v66753=0; v66753<vf6773.rows[0].cells.length; v66753++) { if (IS.GetAttr(vf6773.rows[0].cells[v66753],"name")==this.Name) return vf6773.rows[0].cells[v66753]; } } } }  return null; };  this.GetTaskBarButtonImageElement =function() { var v91922 =this.GetTaskBarButtonElement();  if (v91922) return v91922.children[0].children[0].children[0];  return null; };  this.GetTaskBarButtonTextElement =function() { var v91922 =this.GetTaskBarButtonElement(); if (v91922) return v91922.children[0].children[0].childNodes[2];  return null;  };  this.GetWindowIFrameElement =function() { var v7ec33 =this.GetContentDivElement(); if (!v7ec33)return null; var v84366 =v7ec33.children[0];  if (v84366.children[0].tagName =="IFRAME") return v84366.children[0]; else return v84366.children[1]; };  this.GetContentWindow =function() { var v25286 =this.GetWindowIFrameElement();  if (v25286) return v25286.contentWindow; };  this.MoveTo =function(v3c84,v33178) { wdbe853.m8a549(this,v3c84,v33178); };  this.MoveToCenterDesktop =function() { var v83e5 =this.DesktopManager.GetDesktopSize(); wdbe853.m8a549(this,(v83e5.Width-this.Size.Width)/2,(v83e5.Height-this.Size.Height)/2); };  this.MoveToCenterDesktopAbsolute =function() { var v83e5 =this.DesktopManager.GetDesktopClientSize(); wdbe853.m8a549(this,(v83e5.Width-this.Size.Width)/2,(v83e5.Height-this.Size.Height)/2); };  this.ResizeTo =function(va2c23,v3ba88) { wdbe853.m18879(this,va2c23,v3ba88); };  this.Minimize =function(v76d79,vec367) { var vd3e31 =true;  if (v76d79) { vd3e31 =wdbe853.m58b40(this.DesktopManager);  if (vd3e31) vd3e31 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowMinimized,this.DesktopManager.Id,this); }  if (vd3e31) wdbe853.mf3387(this,vec367);  };  this.Maximize =function(v76d79,vec367) { var vd3e31 =true; if (v76d79) vd3e31 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowMaximized,this.DesktopManager.Id,this);  if (vd3e31) wdbe853.mb1682(this,vec367); };  this.Restore =function(v76d79,vec367) { var vd3e31 =true; if (v76d79) vd3e31 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowRestored,this.DesktopManager.Id,this);  if (vd3e31) wdbe853.me6044(this,vec367); };  this.Close =function(v76d79) { var vd3e31 =true; if (v76d79) { vd3e31 =wdbe853.m58b40(this.DesktopManager);  if (vd3e31) vd3e31 =ISEvent.Raise(this.OnBeforeClosed,this); }  if (vd3e31) { if (v76d79) vd3e31 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowBeforeClosed,this.DesktopManager.Id,this); }  if (vd3e31) { wdbe853.mf602(this); ISEvent.Raise(this.OnAfterClosed,this);  if (v76d79) ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowAfterClosed,this.DesktopManager.Id,this);  wdbe853.mca427(this); } };  this.Activate =function(v2eb90) {  if (!this.IsActiveWindow()) { wdbe853.mdeb10(this.DesktopManager); this.BringToFront();  wdbe853.m85728(this,v2eb90); } };  this.ShowAndActivate =function() { this.Show(null,null,null,true); };  this.Show =function(v63326,vb9295,vfcd71,vc1211) { var v35632 =false;  if (this.CreatedAtRuntime) { if (v63326 &&this.DesktopManager.EnableAnimation &&this.DesktopManager.AnimationStyle =="ShrinkExpand") { var v1de74 =new ISAnimatedObject(); var v49647 =this; var v20b20 =new UnitSize(); var vb0862 =new OffsetLocation();  vb0862.X =ISPosLib.getLeft(v63326); vb0862.Y =ISPosLib.getTop(v63326); v20b20.Width =ISPosLib.getWidth(v63326); v20b20.Height =ISPosLib.getHeight(v63326);  if (vb9295) v1de74.BorderColor =vb9295;  v1de74.Type ="ShrinkExpand"; v1de74.AnimateLocation =true; v1de74.AnimateSize =true; v1de74.Element =this.GetWindowDivElement(); v1de74.CurrentSize =v20b20; v1de74.CurrentLocation =vb0862; v1de74.TargetSize =this.Size; v1de74.TargetLocation =this.Location; v1de74.OnCompleted =function(){v49647.Show();};  v1de74.Play(); v35632 =true; } else { if (this.ShowInTaskBar) wdbe853.mce72(this); if ((vfcd71 ==true ||!this.DesktopManager.IsVistaAnimation())&&this.ContentURL !="") this.LoadContent();  this.Activate(); } } else { if (!this.ClientVisible &&this.DesktopManager.TaskBarVisible &&this.ShowInTaskBar) wdbe853.mce72(this); if ((vfcd71 ==true ||!this.DesktopManager.IsVistaAnimation())&&this.ContentURL !="" &&this.Get("ContentMode")=="UseIFrame"  &&!this.IFrameContentLoaded) this.LoadContent(); }  var v9a687 =this.GetWindowDivElement(); var v91922 =this.GetTaskBarButtonElement(); var vd1392 =false; if (!v35632 &&!vfcd71) { if (this.DesktopManager.IsVistaAnimation()) { var vd7855 =this.GetContentDivElement().children[0]; vd7855.style.display ="none";  var v1de74 =new ISAnimatedObject(); var v49647 =this; v1de74.Type ="ZoomIn"; v1de74.AnimateLocation =false; v1de74.AnimateSize =false; v1de74.Element =v9a687; v1de74.MaxStep =7; v1de74.OnCompleted =function(){wdbe853.mef350(v49647,vc1211);};  v1de74.Play(); v35632 =true; } else { vd1392 =true; } }  if (!vd1392 &&vfcd71) vd1392 =true;  if (vd1392) { v9a687.style.display ="";  if (IS.ie &&IS.GetIEVersion <7) this.EnableDropShadow =false;  if (this.EnableDropShadow) { if (this.DropShadow ==null) { this.DropShadow =new ISDropShadow(); this.DropShadow.Container =this.DesktopManager.GetDesktopElement();  if (this.DesktopManager.UseWebResourcesForClient) this.DropShadow.ImageFolder =IS.GetAppDomainPath()+"ISRes.axd?D/";  this.DropShadow.AttachTo(v9a687); }  this.DropShadow.UpdatePosition(); this.DropShadow.Show(); }  if (IsIE8StandardMode()) wdbe853.m88b90(this);  ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowShown,this.DesktopManager.Id,this); }  if (v91922) v91922.style.display ="";  if (!v35632 &&vc1211) this.Activate();  this.ClientVisible =true; };  this.Hide =function() { var v9a687 =this.GetWindowDivElement(); var v91922 =this.GetTaskBarButtonElement(); if (typeof(event)!="undefined" &&event !=null &&this.DesktopManager.IsVistaAnimation()&&this.WindowState !="Minimized") { if (this.Get("ContentMode")=="UseIFrame") { var v34218 =this.GetWindowIFrameElement(); v34218.style.display ="none"; }  var v1de74 =new ISAnimatedObject(); var v49647 =this; v1de74.Type ="ZoomOut"; v1de74.AnimateLocation =false; v1de74.AnimateSize =false; v1de74.Element =v9a687; v1de74.OnCompleted =function(){wdbe853.ma3f47(v49647);};  v1de74.Play(); } else { v9a687.style.display ="none";  if (this.EnableDropShadow &&this.DropShadow !=null) this.DropShadow.Hide(); }  if (v91922) v91922.style.display ="none";  this.ClientVisible =false; };  this.BringToFront =function() { var v9a687 =this.GetWindowDivElement();  if (v9a687) { var vf8675 =parseFloat(v9a687.style.zIndex);  if (isNaN(vf8675)) vf8675 =1;  if (vf8675 <102) v9a687.style.zIndex =102; } };  this.SendToBack =function() { var v9a687 =this.GetWindowDivElement();  if (v9a687) { v9a687.style.zIndex =100 -this.Collection.length; } };  this.GetCaptionBarTextCellElement =function() { var v83139 =this.GetCaptionBarTableElement(); if (v83139) { var vaf636 =1;  if (this.Get("ControlBox")=="No") vaf636 =0;  return v83139.rows[0].cells[vaf636]; }  return null; };  this.SetCaption =function(vd800) { var vf1446 =this.GetCaptionBarTextCellElement(); var vfa769 =this.GetTaskBarButtonTextElement(); var v83139 =this.GetCaptionBarTableElement(); if (v83139) { if (this.DesktopManager.WindowSettings.ControlBoxPosition =="Left") vf1446.innerHTML =vd800; else vf1446.childNodes[1].nodeValue =" " +vd800; }  if (vfa769) vfa769.nodeValue =" " +vd800; };  this.SetControlBoxImage =function(v10e20) { var v5ab28 =this.GetControlBoxElement();  if (v5ab28) v5ab28.children[0].src =v10e20; };  this.SetContentURL =function(vb3456) { if (this.Get("ContentMode")=="UseIFrame") { this.ContentURL =vb3456; this.IFrameLoaded =false; this.IFrameContentLoaded =false;  if (this.DesktopManager.WindowSettings.IFrameShowLoader &&IS.ie) { var v34218 =this.GetWindowIFrameElement(); v34218.style.display ="none"; } this.LoadContent(); } };  this.LoadContent =function() { if (this.Get("ContentMode")=="UseIFrame") { wdbe853.m20786(this); } };  this.SaveLocationAndSize =function() { var ve1962 =new OffsetLocation(); var v52b8 =new UnitSize(); var v9a687 =this.GetWindowDivElement();  ve1962.X =v9a687.style.posLeft; ve1962.Y =v9a687.style.posTop; v52b8.Width =v9a687.offsetWidth; v52b8.Height =v9a687.offsetHeight;  this.Location =ve1962; this.Size =v52b8; };  this.IsTargetSizeValid =function(va2c23,v3ba88) { if (this.MinimumSize.IsEmpty()&&this.MaximumSize.IsEmpty()) return true; if (!this.MinimumSize.IsEmpty()) { if (va2c23 <this.MinimumSize.Width ||v3ba88 <this.MinimumSize.Height) return false; }  if (!this.MaximumSize.IsEmpty()) { if (va2c23 >this.MaximumSize.Width ||v3ba88 >this.MaximumSize.Height) return false; }  return true; };  this.GetPreferredSize =function(va2c23,v3ba88) {  if (!va2c23 &&!v3ba88) { va2c23 =this.Size.Width; v3ba88 =this.Size.Height; }  var v5c513 =new UnitSize(); v5c513.Width =va2c23; v5c513.Height =v3ba88;  if (!this.MinimumSize.IsEmpty()) { if (va2c23 <this.MinimumSize.Width) v5c513.Width =this.MinimumSize.Width;  if (v3ba88 <this.MinimumSize.Height) v5c513.Height =this.MinimumSize.Height; }  if (!this.MaximumSize.IsEmpty()) { if (va2c23 >this.MaximumSize.Width) v5c513.Width =this.MaximumSize.Width;  if (v3ba88 >this.MaximumSize.Height) v5c513.Height =this.MaximumSize.Height; }  return v5c513; };  this.GetMinimizedLocation =function() { var vec117 =this.Collection; var vaf636 =-1; var vef412 =new OffsetLocation();  for (var v66753=0; v66753<vec117.length; v66753++) { var v9327 =vec117[v66753];  if (v9327.WindowState =="Minimized" &&v9327.GetTaskBarButtonElement()==null) { vaf636++; } }  vaf636++;  vef412.X =5+(vaf636*200); vef412.Y =this.DesktopManager.GetDesktopSize().Height -35;  return vef412; };  this.GetMinimizedSize =function() { var v52b8 =new UnitSize(); v52b8.Width =150; v52b8.Height =25;  return v52b8; };  this.GetNextWindow =function() { var vec117 =this.DesktopManager.GetWindowListByZOrder(); var v82d65 =null;  for (var v66753=0; v66753<vec117.length; v66753++) { if (vec117[v66753] ==this) { v82d65 =vec117[v66753+1]; } }  if (!v82d65 &&vec117.length >0) v82d65 =vec117[0];  return v82d65; };  this.GetNextWindowExact =function() { var vff285 =ISGetActiveWindow(); var v9df84 =this.DesktopManager.Windows[this.Index+1]; if (!v9df84) v9df84 =this.DesktopManager.Windows[0]; if (v9df84 &&(!v9df84.ClientVisible ||v9df84.IsClosed)) v9df84 =v9df84.GetNextWindowExact();  return v9df84; };  this.GetPreviousWindow =function() { var vec117 =this.DesktopManager.GetWindowListByZOrder(); var v20c21 =null;  for (var v66753=0; v66753<vec117.length; v66753++) { if (vec117[v66753] ==this) { v20c21 =vec117[v66753-1]; } }  if (!v20c21 &&vec117.length >0) v20c21 =vec117[vec117.length-1];  return v20c21; };  this.GetPreviousWindowExact =function() { var vff285 =ISGetActiveWindow(); var v9df84 =this.DesktopManager.Windows[this.Index-1];  if (!v9df84) v9df84 =this.DesktopManager.Windows[this.DesktopManager.Windows.length-1]; if (v9df84 &&(!v9df84.ClientVisible ||v9df84.IsClosed)) v9df84 =v9df84.GetPreviousWindowExact();  return v9df84; };  this.InitializeLayout =function(v4f195,vde882) { wdbe853.mfc96(this,v4f195,vde882); };  this.SetInlineContent =function(v2b914) { var v7ec33 =this.GetContentDivElement(); v7ec33.innerHTML =v2b914; };  this.GetHourGlassDiv =function() { var v84366 =this.GetWindowDivElement();  if (v84366) { var vbea29 =v84366.children[v84366.children.length-1]; if (vbea29 &&vbea29.tagName =="DIV" &&vbea29.type =="BusyLayer") return vbea29; }  return null; };  this.SetBusy =function() { var v84366 =this.GetWindowDivElement();  if (v84366) { var v90c20 =this.GetHourGlassDiv();  if (!v90c20) { var v72655 =0; if (this.DesktopManager.WindowSettings.DimWindowWhenBusy) v72655 =50;  v90c20 =document.createElement("DIV"); v90c20.type ="BusyLayer"; v90c20.style.cssText ="position:absolute; top:0px; left:0px; width:100%; height:100%; cursor:wait; z-index: 1;"; v90c20.style.width =v84366.offsetWidth;  if (IS.ie) { v90c20.style.filter ="Alpha(Opacity=" +v72655 +")"; v90c20.style.backgroundColor ="white"; } v90c20.title =this.Get("BusyText"); v84366.insertAdjacentElement("beforeEnd",v90c20); } else { v90c20.style.cursor ="wait"; v90c20.style.display =""; }  this.InteractiveObject.OriginalResizable =this.InteractiveObject.Resizable; this.InteractiveObject.Resizable =false; this.IsBusy =true; } };  this.SetIdle =function() { if (this.IsBusy) { var v90c20 =this.GetHourGlassDiv(); if (v90c20) { v90c20.style.cursor ="default"; v90c20.style.display ="none"; } }  this.InteractiveObject.Resizable =this.InteractiveObject.OriginalResizable; this.IsBusy =false; }; }function WebDesktopWindowSettings(){ this._Type ="WebDesktopWindowSettings"; ISObject.call(this); this.AllowMinimize ="Yes"; this.AllowMaximize ="Yes"; this.AllowResize ="Yes"; this.AllowClose ="Yes"; this.ControlBox ="Yes"; this.TextAlignment ="Left"; this.WindowStyle =null; this.OuterBorderStyle =""; this.CaptionStyle =null; this.CaptionDisplayMode ="Text"; this.ContentMode ="UseInlineContent"; this.CaptionButtonStyle =null; this.Size =new UnitSize(); this.MaximumSize =new UnitSize(); this.MinimumSize =new UnitSize(); this.BorderType ="Simple"; this.DropShadow =false; this.IFrameAllowTransparency =true; this.IFrameShowLoader =true; this.ContainerStyle =""; this.CommandButtonStyle =null; this.CommandButtonBorderType ="Simple"; this.CommandBarPadding =10; this.CommandButtonDisabledStyle =""; this.CaptionButtonSpacing =2; this.IgnoreIFramePadding =false; this.EnableFastWindowActivation =false; this.CachedStyles =new Array();  this.DimWindowWhenBusy =false; this.IFrameReadyTransitionEffect ="None";  this.WindowOptionsPosition ="Right"; this.ControlBoxPosition ="Left";  this.OnPropertiesInitialized =function() { if (ISXml.GetAttribute(this.XmlNode,"Size")!=null) this.Size.Parse(ISXml.GetAttribute(this.XmlNode,"Size"));  if (ISXml.GetAttribute(this.XmlNode,"MinimumSize")!=null) this.MinimumSize.Parse(ISXml.GetAttribute(this.XmlNode,"MinimumSize")); if (ISXml.GetAttribute(this.XmlNode,"MaximumSize")!=null) this.MaximumSize.Parse(ISXml.GetAttribute(this.XmlNode,"MaximumSize")); };}function InitWebDesktopManager(v8da50){ var va1150 =wdbe853.ma4b97(v8da50); va1150.OnInitialize();}function OnWebDMRSC(v08d70,v75870){ var vab086 =v08d70.name; var v4bf30 =ISGetObject(v75870);  if (v4bf30) { var v80e45 =v4bf30.GetWindow(vab086); wdbe853.m61841(v80e45); } else setTimeout(function(){OnWebDMRSC(v08d70,v75870);},10);}var wdbe853 ={ Initialized: false, ResourcesList: null,  ma4b97:function(ve1e13) { var v04e13 =new WebDesktopManager(ve1e13); wdbe853.m4ef35(v04e13); wdbe853.m50257(v04e13); wdbe853.m02b84(v04e13); wdbe853.m8ae43(v04e13); wdbe853.m96b53(v04e13); v04e13.IsInit =true; return v04e13; },  m96b53:function(v82024) { if (v82024.WindowSettings.BorderType =="ComplexImages") { var v3b685 =new Array(); var v45825 =v82024.ImagesSettings; var v24948 =0;  for(var p in v45825) { var v2c812 =v45825[p];  if (typeof(v2c812)=="string" &&v2c812 !="" &&v2c812 !=v45825._Type) { var v4a553 =v82024.ResolveImagePath(v2c812); v3b685[v24948] =new Image(); v3b685[v24948].src =v4a553; v24948++; } } } },  m4ef35:function(v37a24) { if (v37a24 ==null) return;  if (!v37a24.IsInit) { var vb5924 =null; if (typeof (IS_ReleaseType)!="undefined" &&IS_ReleaseType =="Beta") { v37a24.ScriptDirectory ="/CommonLibraryBeta/WebDesktop/V3_0_7200/"; v37a24.ImagesDirectory ="/CommonLibraryBeta/Images/WebDesktop/"; }  try { vb5924 =ISXml.GetNode(v37a24.XmlDt,"//WebDesktopManager"); } catch(e) {} if (vb5924 ==null) vb5924 =v37a24.XmlDt.documentElement; if (vb5924!=null) { IS.SetPropertiesRecursive(v37a24,vb5924); v37a24.TaskBarButtonStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v37a24.XmlDt,"//TaskBarButtonStyle")); v37a24.ShortcutStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v37a24.XmlDt,"//ShortcutStyle"));  var v6a344 =["CaptionButtonStyle","CaptionStyle","WindowStyle","CommandButtonStyle"]; var v1c781 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"];  DynamicStyleEngine.AssignFromArray(v37a24.WindowSettings,v37a24.WindowSettings.XmlNode,v6a344);  if (v37a24.EnableContextMenu) { DynamicStyleEngine.AssignFromArray(v37a24.MenuStyles.Application,v37a24.MenuStyles.Application.XmlNode,v1c781); DynamicStyleEngine.AssignFromArray(v37a24.MenuStyles.System,v37a24.MenuStyles.System.XmlNode,v1c781); } } } },  m26a47:function(v77115) { var vf5324 =v77115.GetWindowDivElement(); if (!vf5324)return; var v5e544 =v77115.GetWindowOptionsCellElement();  if (vf5324) Listener.Unload(vf5324);  if (v5e544) Listener.Unload(v5e544);  if (v77115.Get("ContentMode")=="UseInlineContent") { var v16281 =v77115.GetContentDivElement(); if (v16281) Listener.Unload(v16281); }  var v1de35 =v77115.GetCaptionBarTableElement(); if (v1de35) Listener.Unload(v1de35);  var v3d352 =v77115.GetControlBoxCellElement(); if (v3d352) Listener.Unload(v3d352);  var v51b11 =v77115.GetTaskBarButtonElement(); if (v51b11) Listener.Unload(v51b11); },  mf5411:function(v0f835) { var v2c699 =v0f835.FrameObj; var v43932 =v0f835.GetDesktopElement();  Listener.Unload(v2c699); Listener.Unload(v43932); Listener.Unload(document.body);  var vdff34 =v0f835.GetTaskBarWindowGroupElement(); if (vdff34) Listener.Unload(vdff34);  for (var v38a0=0; v38a0<v0f835.Windows.length; v38a0++) { var v1bb74 =v0f835.Windows[v38a0]; wdbe853.m26a47(v1bb74); } window.detachEvent("onload",function(){wdbe853.mf7874(v0f835); }); if (IS.moz) window.detachEvent("onresize",function(){wdbe853.mabb53(v0f835); }); },  m6bf29:function(vcd929) { var vcec71 =vcd929.DesktopManager; var v9aa71 =vcd929.GetWindowDivElement(); var v73370 =vcd929.GetWindowOptionsCellElement();  if (v9aa71) { Listener.Add(v9aa71,"onmousedown",wdbe853.m0df56,vcd929); Listener.Add(v9aa71,"onmousemove",wdbe853.m4dd77,vcd929); Listener.Add(v73370,"onmousedown",wdbe853.ma7e0,vcd929); Listener.Add(v73370,"onmouseup",wdbe853.ma7e0,vcd929); Listener.Add(v73370,"onmouseover",wdbe853.ma7e0,vcd929); Listener.Add(v73370,"onmouseout",wdbe853.ma7e0,vcd929);  if (vcd929.Get("ContentMode")=="UseInlineContent") { var veb083 =vcd929.GetContentDivElement(); Listener.Add(veb083,"onselectstart",function(){wdbe853.mefc43(vcec71); }); Listener.Add(veb083,"onscroll",function(){wdbe853.m17c45(vcec71); }); }  var v5dd19 =vcd929.GetCaptionBarTableElement(); if (v5dd19) { Listener.Add(v5dd19,"ondblclick",function(){wdbe853.m16b75(vcec71); }); Listener.Add(v5dd19,"oncontextmenu",function(){return wdbe853.mc0e85(vcec71);}); }  var vbb424 =vcd929.GetControlBoxCellElement(); if (vbb424) Listener.Add(vbb424,"onclick",function(){wdbe853.m55735(vcec71); }); } },  m50257:function(v55265) { var v97629 =v55265.FrameObj; var vd510 =v55265.GetDesktopElement();  Listener.Add(v97629,"onresize",function(){wdbe853.mabb53(v55265);}); Listener.Add(v97629,"onselectstart",function(){wdbe853.m6878(v55265); }); Listener.Add(v97629,"ondragstart",function(){event.cancelBubble =true; return false; }); Listener.Add(vd510,"onmousedown",function(){wdbe853.m5f135(v55265);}); Listener.Add(vd510,"ondblclick",function(){wdbe853.m5f135(v55265);}); Listener.Add(vd510,"onkeydown",function(){wdbe853.m09713(v55265);}); Listener.Add(vd510,"oncontextmenu",function(){return wdbe853.m27c4(v55265);});  var ve6671 =v55265.GetTaskBarWindowGroupElement(); if (ve6671) { Listener.Add(ve6671,"onmousedown",function(){wdbe853.m1b120(v55265); }); Listener.Add(ve6671,"onmouseup",function(){wdbe853.m1b120(v55265); }); Listener.Add(ve6671,"onmouseover",function(){wdbe853.m1b120(v55265); }); Listener.Add(ve6671,"onmouseout",function(){wdbe853.m1b120(v55265); }); Listener.Add(ve6671,"oncontextmenu",function(){return wdbe853.m1b120(v55265); }); }  for (var v72468=0; v72468<v55265.Windows.length; v72468++) { wdbe853.m6bf29(v55265.Windows[v72468]); } window.attachEvent("onload",function(){wdbe853.mf7874(v55265); });  if (IS.moz) window.attachEvent("onresize",function(){wdbe853.mabb53(v55265); }); },  m02b84:function(v50d20) { if (IS.moz) { var v3e51 =v50d20.FrameObj; v3e51.tabindex =0; v3e51.style.MozUserFocus ="normal";  for (var v20d39=0; v20d39<v50d20.Windows.length; v20d39++) { var v79c8 =v50d20.Windows[v20d39]; var vb7a51 =v79c8.GetWindowDivElement();  vb7a51.style.overflow ="hidden";  } } },  mf4839:function(v2f451) { var v55340 =false; var v4bf58 =null;  if (v2f451.WindowArrangement =="Cascaded") v2f451.CascadeWindows(true); else if (v2f451.WindowArrangement =="TiledHorizontally") v2f451.TileWindowsHorizontally(true); else if (v2f451.WindowArrangement =="TiledVertically") v2f451.TileWindowsVertically(true);  for (var v96941=0; v96941<v2f451.Windows.length; v96941++) { var vb9075 =v2f451.Windows[v96941];  if (vb9075.ClientVisible) { if (vb9075.WindowState =="Normal") vb9075.Show(); else if (vb9075.WindowState =="Maximized") { vb9075.Show(); vb9075.WindowState ="Normal"; vb9075.Maximize(null,false); } else { vb9075.Hide(); if (v96941 ==v2f451.ActiveWindowIndex) { if (v2f451.Windows[v96941+1] !=null &&!v55340) { var vb0561 =v2f451.Windows[v96941+1]; if (vb0561.ClientVisible &&vb0561.WindowState !="Minimized") { v2f451.ActiveWindowIndex =v96941; v55340 =true; v4bf58 =vb0561; } } } }  vb9075.StartupPositionInitialized =true;  } else vb9075.Hide();  if (vb9075.Get("ContentMode")=="UseIFrame") { var v99966 =vb9075.GetContentDivElement();  v99966.style.overflow ="hidden"; v99966.style.overflowY ="hidden"; v99966.style.overflowX ="hidden"; }  vb9075.Initialized =true; } if (v2f451.ActiveWindowIndex >-1 &&v2f451.Windows.length >v2f451.ActiveWindowIndex &&v2f451.Windows[v2f451.ActiveWindowIndex].ClientVisible &&!v4bf58) v2f451.Windows[v2f451.ActiveWindowIndex].Activate(); else { if (v4bf58) v4bf58.Activate(); else v2f451.ActiveWindowIndex =-1; }  wdbe853.m9681(v2f451); wdbe853.md9b46(v2f451); wdbe853.m73831(v2f451); },  mb2b94:function(vcfe6) { for (var v8f334=0; v8f334<vcfe6.Windows.length; v8f334++) { var v30157 =vcfe6.Windows[v8f334]; var v90d60 =new ISInteractiveObject();  if (v30157.Get("AllowResize")=="Yes") v90d60.Resizable =true;  v90d60.Window =v30157; v90d60.DesktopManager =vcfe6; v90d60.Movable =true; v90d60.DragElement =v30157.GetCaptionBarTableElement(); v90d60.FrameElement =v30157.GetWindowDivElement();  vcfe6.InteractiveObjects[vcfe6.InteractiveObjects.length] =v90d60; v30157.InteractiveObject =v90d60; }  if (vcfe6.ShortcutSettings.Movable) { for (var v8f334=0; v8f334<vcfe6.ShortcutIcons.length; v8f334++) { var vde083 =vcfe6.ShortcutIcons[v8f334]; var v90d60 =new ISInteractiveObject();  v90d60.DesktopManager =vcfe6; v90d60.Movable =true; v90d60.DragElement =vde083.GetElement(); v90d60.FrameElement =vde083.GetElement();  vcfe6.InteractiveObjects[vcfe6.InteractiveObjects.length] =v90d60; vde083.InteractiveObject =v90d60; } } },  m00c70:function(v55490,v95136) { return v55490 -v95136; },  m9681:function(vca962) { var v4b962 =vca962.GetTaskBarLeftTemplateElement(); var v3d675 =vca962.GetTaskBarRightTemplateElement();  if (v4b962) { v4b962.style.width =v4b962.scrollWidth; if (IS.moz &&v4b962.scrollWidth ==0 &&v4b962.children.length >0) v4b962.style.width =v4b962.children[0].offsetWidth; }  if (v3d675) { v3d675.style.width =v3d675.scrollWidth; if (IS.moz &&v3d675.scrollWidth ==0 &&v3d675.children.length >0) v3d675.style.width =v3d675.children[0].offsetWidth; } },  m6878:function(v92e81) { var v19c62 =event.srcElement; var v40475 =v19c62.tagName; var v1ae82 =true;  switch (v40475) { case "INPUT": case "SELECT": case "TEXTAREA": { v1ae82 =false; } } if (v1ae82) { event.cancelBubble =true; event.returnValue =false; } },  m17c45:function(vbc681) { if (IS.ie) { if (typeof(wd6fa82)=="object") { wd6fa82.IsMouseDown =false; } } },  mefc43:function(vb1281) { if (typeof(wd6fa82)=="object") { if (wd6fa82.IsMouseDown &&wd6fa82.LastValidObject) return true; }  event.cancelBubble =true; return true; },  m16b75:function(v93f65) { var v34e81 =event.srcElement; var va0884 =wdbe853.maad65(v93f65,v34e81); if (v34e81 &&v34e81.tagName =="INPUT") return;  if (va0884) { var v88e49 =va0884.GetControlBoxElement(); if (v88e49 &&v88e49.contains(v34e81)) { if (v93f65.WindowSettings.ControlBoxPosition =="Left") { if (va0884.Get("AllowClose")=="Yes") { va0884.Close(); return; } } else { if (v88e49.children[0] ==v34e81 &&va0884.Get("AllowClose")=="Yes") { va0884.Close(); return; } } }  if (va0884.WindowState =="Normal" &&va0884.Get("AllowMaximize")=="Yes") { va0884.Maximize(true,true); } else if (va0884.WindowState =="Maximized" ||va0884.WindowState =="Minimized") { va0884.Restore(true,true); } } },  m09713:function(v7f06,vd3750,ve7098,v12343,v5ba14,v9b853) { var v99665 =event; if (vd3750) { v99665 =new Object(); v99665.srcElement =vd3750; v99665.keyCode =ve7098; v99665.ctrlKey =v12343; v99665.altKey =v5ba14; v99665.shiftKey =v9b853; }  var vc5824 =v99665.srcElement; var ve7098 =v99665.keyCode; var v7c269 =false;  if (!v7f06.EnableKeyboardNavigation) return false;   switch (ve7098) { case 49: { if (v99665.ctrlKey) { var v3eb26 =true; var v22715 =null; var v48f85 =v7f06.GetActiveWindow();  if (v99665.shiftKey) v3eb26 =false; if (v48f85) { if (v3eb26) v22715 =v48f85.GetNextWindowExact(); else v22715 =v48f85.GetPreviousWindowExact(); } else { if (v7f06.Windows.length >0) v22715 =v7f06.Windows[0]; }  if (v22715) { v22715.Activate(); v7c269 =true; } } break; } case 67: { if (v99665.ctrlKey &&v99665.altKey) { var v48f85 =v7f06.GetActiveWindow();  if (v48f85 &&v48f85.Get("AllowClose")=="Yes") { v48f85.Close(); v7c269 =true; } } break; } case ISKeyboardKey.LEFT: case ISKeyboardKey.RIGHT: case ISKeyboardKey.DOWN: case ISKeyboardKey.UP: { var v7843 =wdbe853.me982(vc5824); if (v7843) { var v70956 =wdbe853.m61b41(v7843.id,v7f06.Id); var v0c084 =v7f06.ShortcutIcons.GetNamedItem(v70956); var vdb514 =null;  if (IS.moz) v0c084 =v7f06.ShortcutIcons[v7f06.ActiveShortcutIndex];  if (ve7098 ==ISKeyboardKey.LEFT ||ve7098 ==ISKeyboardKey.UP) { vdb514 =v7f06.ShortcutIcons[v0c084.Index-1]; if (!vdb514 &&v7f06.ShortcutIcons.length >0) vdb514 =v7f06.ShortcutIcons[0]; } else if (ve7098 ==ISKeyboardKey.RIGHT ||ve7098 ==ISKeyboardKey.DOWN) { vdb514 =v7f06.ShortcutIcons[v0c084.Index+1]; if (!vdb514 &&v7f06.ShortcutIcons.length >0) vdb514 =v7f06.ShortcutIcons[v7f06.ShortcutIcons.length-1]; }  if (vdb514 &&vdb514.Visible) { vdb514.Select(true); if (IS.ie) vdb514.GetElement().focus(); v7c269 =true; } } break; } case ISKeyboardKey.ENTER: { var v7843 =wdbe853.me982(vc5824); if (v7843) { var v70956 =wdbe853.m61b41(v7843.id,v7f06.Id); var v0c084 =v7f06.ShortcutIcons.GetNamedItem(v70956); var vdb514 =null;  if (IS.moz) v0c084 =v7f06.ShortcutIcons[v7f06.ActiveShortcutIndex];  if (v0c084 &&v0c084.Visible &&v0c084.Enabled) v0c084.Open(true); }  v7c269 =true; break; } }  if (v7c269) { try { v99665.keyCode =0; } catch(e){} v99665.cancelBubble =true; v99665.returnValue =false; } },  me982:function(v9d252) { if (v9d252.tagName =="DIV") { if (v9d252.id.indexOf("dvSCI")>-1) return v9d252; }  while (v9d252.parentElement !=null) { v9d252 =v9d252.parentElement; if (v9d252.tagName =="DIV" &&v9d252.id.indexOf("dvSCI")>-1) { return v9d252; } }  return null; },  m5f135:function(ve3872) { var vac136 =event.type; var v7f118 =event.srcElement; var vdb843; var vafe12 ="";  if (v7f118.tagName =="DIV") { if (v7f118.id.indexOf("dvDesktop")>-1) { vdb843 =v7f118; vafe12 ="Desktop"; } else if (v7f118.id.indexOf("dvSCI")>-1) { vdb843 =v7f118; vafe12 ="Shortcut"; } }  if (!vdb843) { while (v7f118.parentElement !=null) { v7f118 =v7f118.parentElement; if (v7f118.tagName =="DIV" &&v7f118.id.indexOf("dvSCI")>-1) { vdb843 =v7f118; vafe12 ="Shortcut"; break; } } }  if (vdb843) { if (vac136 =="mousedown") { if (event.button ==ISEvent.LEFT) { if (vafe12 =="Desktop") { var v4ac57 =ve3872.GetActiveShortcut();  if (v4ac57) DynamicStyleEngine.SetToStyle(null,ve3872.ShortcutStyle,v4ac57.GetTextElement());  ve3872.ActiveShortcutIndex =-1; } else { var vaf577 =wdbe853.m61b41(vdb843.id,ve3872.Id); var ve8498 =ve3872.ShortcutIcons.GetNamedItem(vaf577); if (ve8498) ve8498.Select(true); } } } else if (vac136 =="dblclick") { if (vafe12 =="Shortcut") { var vaf577 =wdbe853.m61b41(vdb843.id,ve3872.Id); var ve8498 =ve3872.ShortcutIcons.GetNamedItem(vaf577); if (ve8498) ve8498.Open(true); }  if (IS.moz) { event.cancelBubble =true; event.returnValue =false; } } } },  ma7e0:function() { var v37e92 =this; var vab297 =event.srcElement; if (!v37e92)return;  var v1a528 =v37e92.GetMinimizeButtonElement(); var v46e15 =v37e92.GetMaximizeButtonElement(); var v68779 =v37e92.GetCloseButtonElement(); var vd1684 =[v1a528,v46e15,v68779];  for (var btnEl in vd1684) { btnEl =vd1684[btnEl]; if (btnEl) { if (btnEl ==vab297 ||btnEl.contains(vab297)) { wdbe853.mc5d38(v37e92,event.type,btnEl); return; } } } },  mc5d38:function(v61641,v0be74,vd5232) { var v39647 =v61641.DesktopManager; var vff176 =v39647.WindowSettings; var v37813 =vff176.BorderType; var va1518 =v39647.ImagesSettings;  if (v0be74 =="mouseover") { if (v37813 =="Simple") DynamicStyleEngine.SetToOverStyle(null,vff176.CaptionButtonStyle,vd5232); else if (v37813 =="ComplexImages") { var v58e1 =vd5232.children[0]; var vf7692 ="";  if (IS.GetAttr(vd5232,"type")=="Min") vf7692 =v39647.ResolveImagePath(va1518.MinimizeOver); else if (IS.GetAttr(vd5232,"type")=="Max") { if (v61641.WindowState =="Maximized") vf7692 =v39647.ResolveImagePath(va1518.RestoreOver); else vf7692 =v39647.ResolveImagePath(va1518.MaximizeOver); } else vf7692 =v39647.ResolveImagePath(va1518.CloseOver);  v58e1.src =vf7692; } } else if (v0be74 =="mouseout" ||v0be74 =="mouseup") { if (v37813 =="Simple") DynamicStyleEngine.SetToStyle(null,vff176.CaptionButtonStyle,vd5232); else if (v37813 =="ComplexImages") { var v58e1 =vd5232.children[0]; var vf7692 ="";  if (v61641.IsActiveWindow()||(v61641.IsDialogBox)) { if (IS.GetAttr(vd5232,"type")=="Min") vf7692 =v39647.ResolveImagePath(va1518.MinimizeActive); else if (IS.GetAttr(vd5232,"type")=="Max") { if (v61641.WindowState =="Maximized") vf7692 =v39647.ResolveImagePath(va1518.RestoreActive); else vf7692 =v39647.ResolveImagePath(va1518.MaximizeActive); } else vf7692 =v39647.ResolveImagePath(va1518.CloseActive); } else { if (IS.GetAttr(vd5232,"type")=="Min") vf7692 =v39647.ResolveImagePath(va1518.MinimizeInactive); else if (IS.GetAttr(vd5232,"type")=="Max") { if (v61641.WindowState =="Maximized") vf7692 =v39647.ResolveImagePath(va1518.RestoreInactive); else vf7692 =v39647.ResolveImagePath(va1518.MaximizeInactive); } else vf7692 =v39647.ResolveImagePath(va1518.CloseInactive); }  v58e1.src =vf7692; } } else if (v0be74 =="mousedown") { if (v37813 =="Simple") DynamicStyleEngine.SetToActiveStyle(null,vff176.CaptionButtonStyle,vd5232); else if (v37813 =="ComplexImages") { var v58e1 =vd5232.children[0]; var vf7692 ="";  if (IS.GetAttr(vd5232,"type")=="Min") vf7692 =v39647.ResolveImagePath(va1518.MinimizeDown); else if (IS.GetAttr(vd5232,"type")=="Max") { if (v61641.WindowState =="Maximized") vf7692 =v39647.ResolveImagePath(va1518.RestoreDown); else vf7692 =v39647.ResolveImagePath(va1518.MaximizeDown); } else vf7692 =v39647.ResolveImagePath(va1518.CloseDown);  v58e1.src =vf7692; } }  if (v0be74 =="mouseup") { var vf1a53 =IS.GetAttr(vd5232,"type");  if (vf1a53 =="Min") { if (v61641.WindowState !="Minimized") v61641.Minimize(true,true); else v61641.Restore(true,true); } else if (vf1a53 =="Max") { if (v61641.WindowState !="Maximized") v61641.Maximize(true,true); else v61641.Restore(true,true); } else if (vf1a53 =="Close") { if (!vd5232.disabled) v61641.Close(true); } if (typeof(wd6fa82)=="object") wd6fa82.IsMouseDown =false; }  if (IS.moz) { event.cancelBubble =true; event.returnValue =false; } },  m1b120:function(va2f72) {  var v4d633 =event.srcElement; var v24423 =wdbe853.mdfa97(v4d633);   if (v24423 &&IS.GetAttr(v24423,"name")!="") { var v22436 =event.type; var v78e89 =IS.GetAttr(v24423,"name"); var vf6467 =va2f72.GetWindow(v78e89);  if (vf6467 &&vf6467.DesktopManager) { if (vf6467.DesktopManager.TaskBarLocked) return; }  if (v22436 =="mouseover") { if (!vf6467.IsActiveWindow()) { var vca323 =IS.GetCssObject(null,va2f72.TaskBarButtonStyle.Over); if (vca323) { DynamicStyleEngine.SetToOverStyle(null,va2f72.TaskBarButtonStyle,v24423); } } var v20d16 =v24423.children[0]; if (v20d16.scrollWidth >v20d16.offsetWidth) v24423.title =v20d16.innerText; else v24423.title ="";  } else if (v22436 =="mouseout") { if (!vf6467.IsActiveWindow()) { DynamicStyleEngine.SetToStyle(null,va2f72.TaskBarButtonStyle,v24423); } } else if (v22436 =="mousedown") { if (!vf6467.IsActiveWindow()) { DynamicStyleEngine.SetToActiveStyle(null,va2f72.TaskBarButtonStyle,v24423); } } else if (v22436 =="mouseup") { if (event.button ==ISEvent.LEFT) { if (vf6467.IsActiveWindow()) { vf6467.Minimize(true,true); } else { wdbe853.m52341(va2f72,vf6467); } } } else if (v22436 =="contextmenu") { event.cancelBubble =true; event.returnValue =false; wdbe853.m8e379(vf6467); return false; } } },  mabb53:function(va7e72) {  wdbe853.m7b512(va7e72); wdbe853.md9b46(va7e72); wdbe853.m73831(va7e72); wdbe853.mf072(va7e72);  va7e72.CachedDesktopSize =null; },  mf7874:function(v29672) { wdbe853.mf4839(v29672); if (IS.moz) { for (var v02b72=0; v02b72<v29672.Windows.length; v02b72++) { var v94742 =v29672.Windows[v02b72];  if (v94742.Get("ContentMode")=="UseIFrame") { wdbe853.mc533(v29672,v29672.GetIFrameWindow(v94742.Name)); } } } },  m0df56:function(v3fc8) { if (!v3fc8 ||typeof(v3fc8.IsActiveWindow)!="function") v3fc8 =this;  if (!v3fc8.IsActiveWindow()) { var v3478 =v3fc8.DesktopManager;  if (v3fc8.IsDialogBox) v3fc8.DialogBox.Activate(); else wdbe853.m52341(v3478,v3fc8); } },  m4dd77:function(vfb98) {  },  m37524:function(vaf28,ve3812,v2c288) { if (v2c288)ve3812 =v2c288; var v5528 =window.frames[ve3812];  if (v5528) { var vc8012 =v5528.event; var v94188 =vaf28.GetWindow(ve3812);  if (v94188 !=null &&!v94188.IsActiveWindow()) { wdbe853.m0df56(v94188); } } },  m80e50:function(v13863,v67991,v20a73) { var v5d643 =window.frames[v67991]; if (v5d643) { var vb8e81 =v5d643.event; var vff86 =v13863.GetWindow(v67991);  if (vff86) wdbe853.m09713(v13863,vff86.GetWindowDivElement(),vb8e81.keyCode,vb8e81.ctrlKey,vb8e81.altKey,vb8e81.shiftKey); } },  me1963:function(v3b147,vef131,vd2322) { if (vd2322)vef131 =vd2322; var v9fb47 =window.frames[vef131]; if (!v9fb47)return;  if (typeof(wd6fa82)=="object") { var v73631 =v3b147.GetWindow(vef131); if (IS.ie)wd6fa82.Event =v9fb47.event; else wd6fa82.Event =event; wd6fa82.maf775(); } },  m3253:function(vac52,v65910) { if (vac52 ==null ||vac52.ClassName ==null)return false;  var vd6c2 =vac52.GetWindow(v65910); if (!vd6c2)return;  vd6c2.IFrameContentLoaded =false;  if (IS.moz) { setTimeout(function(){wdbe853.mc058(vac52,v65910); },50); } },  m94489:function(vf6638,va8879,va4025) { var v3f638 =va8879.name; var v30979 =window.frames[v3f638]; var v37a25 =v3f638;  if (typeof(va4025)=="string") { v30979 =window.frames[va4025]; v37a25 =va4025; } if (typeof(wd6fa82)=="object") { var v5de22 =vf6638.GetWindow(v37a25); var v51432 =null;  if (v5de22 ==null) return;  if (va4025) { if (IS.ie)wd6fa82.Event =va8879.event; else wd6fa82.Event =event; wd6fa82.Event.FrameElement =va8879.frameElement; wd6fa82.Event.IsChildFrame =true; wd6fa82.Event.ParentFrameName =va4025; } else { if (v30979 ==null)return; if (IS.ie)wd6fa82.Event =v30979.event; else wd6fa82.Event =event; wd6fa82.Event.FrameElement =v5de22.GetWindowIFrameElement(); }  wd6fa82.Event.Window =v5de22; wd6fa82.m23e27(); } },  mc058:function(vc6f57,v75089) { var vc3a57 =vc6f57.GetIFrameWindow(v75089);  },  m61b41:function(v70a93,v1d158) { if (!v1d158) { var v75057 =v70a93.lastIndexOf("_"); return v70a93.substring(v75057 +1); } else { var v7e789 =v70a93.indexOf(v1d158); return v70a93.substring(v7e789 +v1d158.length +1); } },  mdfa97:function(ve8777) { if (ve8777.tagName =="TD") return ve8777;  while (ve8777.parentElement !=null) { ve8777 =ve8777.parentElement; if (ve8777.tagName =="TD") return ve8777; }  return null; },  mfb292:function(vbf577) { if (vbf577.tagName =="DIV" &&vbf577.id.indexOf("dvWnd")>-1) return vbf577; while (vbf577.parentElement !=null) { vbf577 =vbf577.parentElement; if (vbf577.tagName =="DIV" &&vbf577.id.indexOf("dvWnd")>-1) return vbf577; }  return null; }, maad65:function(ve1a13,v6b177) { var v6b177 =event.srcElement; var vec498 =wdbe853.mfb292(v6b177); var v1d159 =""; if (vec498) v1d159 =wdbe853.m61b41(vec498.id,ve1a13.Id);  if (v1d159 !="") { var vaa645 =ve1a13.GetWindow(v1d159); return vaa645; }  return null; },  m73831:function(v59049) { var v3ee13 =v59049.GetTaskBarWindowGroupElement(); if (!v3ee13)return null; var v05f68 =v3ee13.children[0]; var vb9b77 =v05f68.children[0];   if (!v59049.IsInResizing) { v59049.IsInResizing =true;  if (v05f68.currentMode =="justify") { var v79b87 =null; for (var v94354=0; v94354<vb9b77.rows[0].cells.length; v94354++) { var v55379 =vb9b77.rows[0].cells[v94354]; if (IS.GetAttr(v55379,"name")!="") { v79b87 =v55379; break; } }  if (v79b87) { if (v79b87.offsetWidth >v59049.TaskBarSettings.WindowButtonWidth) v05f68.currentMode ="normal"; } }  if (v05f68.offsetWidth >=vb9b77.offsetWidth &&v05f68.currentMode !="justify") { for (var v94354=0; v94354<vb9b77.rows[0].cells.length; v94354++) { var v55379 =vb9b77.rows[0].cells[v94354]; if (IS.GetAttr(v55379,"name")!="") { v55379.style.width =v59049.TaskBarSettings.WindowButtonWidth; } }  if (IS.ie)vb9b77.rows[0].cells[vb9b77.rows[0].cells.length-1].style.width ="100%"; v05f68.currentMode ="normal"; } else { if (v05f68.currentMode !="justify") { for (var v94354=0; v94354<vb9b77.rows[0].cells.length; v94354++) { var v55379 =vb9b77.rows[0].cells[v94354]; if (IS.GetAttr(v55379,"name")!="") { v55379.style.width ="auto"; } }  vb9b77.rows[0].cells[vb9b77.rows[0].cells.length-1].style.width ="0%"; v05f68.currentMode ="justify"; } }  v59049.IsInResizing =false; }  },  md9b46:function(v0d968) { if (v0d968.ShortcutIconsVisible) { for (var v7e168=0; v7e168<v0d968.ShortcutIcons.length; v7e168++) { var v9dc47 =v0d968.ShortcutIcons[v7e168]; v9dc47.Rearrange(); } } },  m7b512:function(v06d88) { var v55d4 =v06d88.ShortcutSettings;  for (var v08716=0; v08716<v06d88.ShortcutIcons.length; v08716++) { var vb9481 =v06d88.ShortcutIcons[v08716];  if (v55d4.AllowAutoArrange ||vb9481.Location.IsEmpty()) { vb9481.RuntimeLocation =new OffsetLocation(); } }  },  m00198:function(v58824,v64626,vf4648) { for (var v0c224=0; v0c224<v58824.Windows.length; v0c224++) { var vfd226 =v58824.Windows[v0c224]; if (vf4648 &&vfd226.Get("AllowResize")=="No") vfd226.ForceNoResize =true; if (!vfd226.IsDialogBox) vfd226.InitializeLayout("Cascade",v64626); } },  me1946:function(vb8098,vf2815,v79d0,v42458) { for (var v49e7=0; v49e7<vb8098.Windows.length; v49e7++) { var v96266 =vb8098.Windows[v49e7]; if (v42458 &&v96266.Get("AllowResize")=="No") v96266.ForceNoResize =true; if (!v96266.IsDialogBox) v96266.InitializeLayout("TileWindows" +v79d0,vf2815); } },  m8a549:function(vadb54,v7fb94,v30885) { var v03c18 =vadb54.GetWindowDivElement();  vadb54.Location.X =v7fb94; vadb54.Location.Y =v30885;  v03c18.style.left =v7fb94 +"px"; v03c18.style.top =v30885 +"px";  if (vadb54.EnableDropShadow &&vadb54.DropShadow !=null) vadb54.DropShadow.UpdatePosition(); },  m18879:function(v10f65,v9f152,v30356) { var v3f054 =v10f65.GetWindowDivElement();  if (typeof(v9f152)=="string") v9f152 =parseFloat(v9f152);  if (typeof(v30356)=="string") v30356 =parseFloat(v30356);  if (!v10f65.IsTargetSizeValid(v9f152,v30356)) { var v3e494 =v10f65.GetPreferredSize(v9f152,v30356); v9f152 =v3e494.Width; v30356 =v3e494.Height; }  v10f65.Size.Width =v9f152; v10f65.Size.Height =v30356; v3f054.style.width =v9f152 +"px"; v3f054.style.height =v30356 +"px"; if (v10f65.EnableDropShadow &&v10f65.DropShadow !=null) v10f65.DropShadow.UpdatePosition();  if (IS.moz) { if (v10f65.Get("ContentMode")=="UseInlineContent") { var v6b185 =v10f65.GetContentDivElement(); var v70e61 =v6b185.children[0]; var v8c741 =v10f65.GetCaptionBarTableElement();  v70e61.style.height ="0pt"; } wdbe853.m5dc28(v10f65); } else { wdbe853.m88b90(v10f65); } },  m88b90:function(v67579,vbae60) { var v06340 =v67579.GetWindowDivElement(); var v5de41 =v67579.GetContentDivElement(); var vb668 =v67579.DesktopManager;  if (v67579.Get("ContentMode")=="UseIFrame") { var va4b32 =v67579.GetWindowIFrameElement();  if (vb668.WindowSettings.BorderType =="ComplexImages") { if (IsIE8StandardMode()) { if (vbae60) v5de41.style.display ="none";  setTimeout(function() { v5de41.style.height =ISPosLib.getHeight(v5de41.parentElement);  if (vbae60) v5de41.style.display ="";  },10); } }  if (va4b32) { va4b32.style.display ="none"; va4b32.style.height ="100%";  va4b32.style.display =""; } } },  m5dc28:function(v57f64) { var vf1e34 =v57f64.GetWindowDivElement(); var v1d539 =v57f64.GetContentDivElement(); var v1d627 =v57f64.DesktopManager; if (IS.safari) return; if (v1d627.WindowSettings.BorderType =="Simple") { v1d539.style.overflow ="visible"; if (!v57f64.IsDialogBox) setTimeout(function(){v1d539.style.overflow ="auto";}); } else { v1d539.style.overflow ="visible"; var v88559 =v1d539.children[0]; v88559.style.overflow ="visible"; v88559.style.display ="none"; setTimeout(function() { if (!v57f64.IsDialogBox) v1d539.style.overflow ="auto";   v88559.style.display ="";   var v00a28 =v88559.children[0];  if (v00a28 !=null &&v00a28.clientHeight ==0) v88559.style.height ="100%"; }); }  if (v57f64.Get("ContentMode")=="UseIFrame") { var v95a74 =v57f64.GetWindowIFrameElement();  if (v95a74) { if (IS.moz) v95a74.style.display ="none";  v95a74.parentElement.style.display ="none"; setTimeout(function() { var vc3410 =v95a74.parentElement;  if (IS.moz ||vc3410.offsetHeight ==0) vc3410 =vc3410.parentElement; if (vc3410.offsetHeight >0) { v95a74.style.height =ISPosLib.getHeight(vc3410)-(IS.moz ? ((parseFloat(vc3410.currentStyle.paddingTop)*2)): 0);  v95a74.style.display =""; v95a74.parentElement.style.display =""; } else wdbe853.m5dc28(v57f64); } ,10); } }  },  mdeb10:function(v33920) { for (var ve4164=0; ve4164<v33920.Windows.length;ve4164++) { var v5797 =v33920.Windows[ve4164]; var v82464 =v5797.GetWindowDivElement();  if (v82464) { var v69127 =v82464.style.zIndex-1; v82464.style.zIndex =v69127; } } },  m61841:function(vd5e59) { var v92520 =vd5e59.GetWindowIFrameElement(); var vdc986 =false;  if (!v92520) return;  if (!vd5e59.ClientVisible) { if (vd5e59.WindowState =="Minimized" ||vd5e59.WindowState =="Maximized") vdc986 =true; else return false; }  var v5b349 =vd5e59.DesktopManager.GetIFrameWindow(v92520.name); var v01130 =v92520.parentElement; var vc8593 =vd5e59.DesktopManager; var v2cf5 =vc8593.WindowSettings; if (!vd5e59.IFrameContentLoaded &&v92520.readyState =="complete") { var vd2d16 =v01130.children[1];  if (vd2d16 &&vd2d16.tagName =="DIV") { if (!vdc986) { if (vd2d16.style.display !="none") { v92520.style.display =""; wdbe853.m38142(vd2d16,v2cf5.IFrameReadyTransitionEffect); } else { v92520.style.display =""; v92520.style.visibility ="hidden";  wdbe853.m38142(v92520,v2cf5.IFrameReadyTransitionEffect,true); } } if (v2cf5.IFrameReadyTransitionEffect =="None" ||vdc986) vd2d16.removeNode(true); else setTimeout(function(){if (vd2d16)vd2d16.removeNode(true);},500); }  wdbe853.mc533(vc8593,v5b349); vd5e59.IFrameContentLoaded =true; } },  mc533:function(v1f086,v55123,v8c25) { var vc5159 =null;  try { vc5159 =v55123.document.body; } catch(e) {}  if (vc5159) { if (IS.GetAttr(vc5159,"ISWinEventsInitialized")=="") { Listener.Add(vc5159,"onmousedown",function(){wdbe853.m37524(v1f086,v55123.name,v8c25); }); Listener.Add(vc5159,"onmouseup",function(){wdbe853.me1963(v1f086,v55123.name,v8c25); }); Listener.Add(vc5159,"onunload",function(){wdbe853.m3253(v1f086,v55123.name,v8c25); }); Listener.Add(vc5159,"onmousemove",function(){wdbe853.m94489(v1f086,v55123,v8c25); }); Listener.Add(vc5159,"onkeydown",function(){wdbe853.m80e50(v1f086,v55123.name,v8c25); });  vc5159.ISWinEventsInitialized =true; }  var vc455 =vc5159.getElementsByTagName("IFRAME"); for (var v14183=0; v14183<vc455.length; v14183++) { if (vc455[v14183].name !="") { var v1cc54 =v55123.frames[vc455[v14183].name]; if (v1cc54 &&vc455[v14183].readyState =="complete") { if (!v8c25)v8c25 =v55123.name; wdbe853.mc533(v1f086,v1cc54,v8c25); } } } }  },  mdf447:function(v4ca5,va1632) { var v8a55 =va1632.DesktopManager;  if (v4ca5.BorderType =="Simple") { if (v4ca5.EnableFastWindowActivation &&IS.ie) wdbe853.m83982(v4ca5,v4ca5.WindowStyle.Normal,va1632.GetWindowDivElement()); else DynamicStyleEngine.SetToStyle(null,v4ca5.WindowStyle,va1632.GetWindowDivElement());  DynamicStyleEngine.SetToStyle(null,v4ca5.CaptionStyle,va1632.GetCaptionBarCellElement().children[0]); } else if (v4ca5.BorderType =="ComplexImages") { DynamicStyleEngine.SetToStyle(null,v4ca5.WindowStyle,va1632.GetContentDivElement()); DynamicStyleEngine.SetToStyle(null,v4ca5.CaptionStyle,va1632.GetCaptionBarTableElement()); wdbe853.m9d455(v8a55,va1632,"Normal"); } },  m85728:function(vbce66,vfce68) { var vc1289 =vbce66.DesktopManager; var v14573 =vc1289.WindowSettings; var v95821 =vc1289.GetActiveWindow(); var v04722 =vbce66.GetWindowDivElement(); if (v95821) { wdbe853.mdf447(v14573,v95821);  if (!vbce66.IsDialogBox) { var v9ec36 =v95821.GetTaskBarButtonElement(); if (v9ec36) { DynamicStyleEngine.SetToStyle(null,vc1289.TaskBarButtonStyle,v9ec36); } } if (v95821.CurrentDialogBox &&v95821.DialogBoxShown) { var v64347 =v95821.CurrentDialogBox.Window; wdbe853.mdf447(v14573,v64347); }  v95821.UnregisterAccessKeys(); }  if (v14573.BorderType =="Simple") { if (v14573.EnableFastWindowActivation &&IS.ie) wdbe853.m83982(v14573,v14573.WindowStyle.Active,v04722); else DynamicStyleEngine.SetToActiveStyle(null,v14573.WindowStyle,v04722); DynamicStyleEngine.SetToActiveStyle(null,v14573.CaptionStyle,vbce66.GetCaptionBarCellElement().children[0]); } else if (v14573.BorderType =="ComplexImages") { DynamicStyleEngine.SetToActiveStyle(null,v14573.CaptionStyle,vbce66.GetCaptionBarTableElement()); DynamicStyleEngine.SetToActiveStyle(null,v14573.WindowStyle,vbce66.GetContentDivElement()); wdbe853.m9d455(vc1289,vbce66,"Active"); } if (!vbce66.IsDialogBox) { var v9ec36 =vbce66.GetTaskBarButtonElement();  if (vbce66.WindowState =="Minimized" &&v9ec36) { vbce66.Restore(true,true); }  if (!vbce66.CreatedAtRuntime &&!vbce66.StartupPositionInitialized) { if (vbce66.WindowState =="Maximized") { vbce66.WindowState ="Normal"; vbce66.Maximize(null,false); } }  if (v9ec36) DynamicStyleEngine.SetToActiveStyle(null,vc1289.TaskBarButtonStyle,v9ec36); vbce66.RegisterAccessKeys(); vc1289.ActiveWindowIndex =vbce66.Index; }  if (vbce66.DialogBoxShown) { if (vbce66.DialogBoxWindows.length >0) { var va2649 =vbce66.GetWindowDivElement().style.zIndex;  for (var v44554=0; v44554<vbce66.DialogBoxWindows.length; v44554++) { var vac788 =vbce66.DialogBoxWindows[v44554];  if (vac788.IsDialogBox) vac788.GetWindowDivElement().style.zIndex =va2649; } }  vbce66.CurrentDialogBox.Window.Activate(); }  if (vc1289.IsVistaAnimation()&&!vfce68) { ISAnimation_RemoveOpacity(v04722);  if (vbce66.Get("ContentMode")=="UseIFrame") { var vf2112 =vbce66.GetWindowIFrameElement();  if (vf2112.style.display =="none") vf2112.style.display =""; } } },  m52341:function(v5e121,v8e247) { var vfbf21 =wdbe853.m58b40(v5e121);  if (vfbf21) { vfbf21 =ISEvent.Raise(v8e247.OnBeforeActivated,v8e247);  if (vfbf21) { if (ISEvent.Raise(v5e121.ClientSideEvents.OnWindowBeforeActivated,v5e121.Id,v8e247)) { v8e247.Activate(true); } }  ISEvent.Raise(v8e247.OnAfterActivated,v8e247); ISEvent.Raise(v5e121.ClientSideEvents.OnWindowAfterActivated,v5e121.Id,v8e247); } },  m58b40:function(v70021) { var v6df21 =v70021.GetActiveWindow(); if (v6df21) { if (!window.IsDialogBox) { return ISEvent.Raise(v70021.ClientSideEvents.OnWindowDeactivated,v70021.Id,v6df21); } }  return true; },  m83982:function(v6195,v03387,v46681) { if (!v6195.CachedStyles[v03387]) v6195.CachedStyles[v03387] =IS.GetCssObject(null,v03387);  var v2a15 =v6195.CachedStyles[v03387]; if (v2a15) v46681.runtimeStyle.border =v2a15.border; },  m9d455:function(v68752,v5e815,va1669) { var v96141 =v5e815.GetCaptionBarCellElement().children[0]; var vf6157 =v96141.rows[0].cells[0]; var v24699 =v96141.rows[0].cells[1]; var v1c62 =v96141.rows[0].cells[2]; var v20468 =""; var vd5c0 =""; var v18619 =""; var vcd652 =""; var v7a626 =""; var v6b330 =""; var v6bd71 =v68752.ImagesSettings;  if (va1669 =="Normal") { v20468 =v68752.ResolveImagePath(v6bd71.CaptionLeftInactive); vd5c0 =v68752.ResolveImagePath(v6bd71.CaptionCenterInactive); v18619 =v68752.ResolveImagePath(v6bd71.CaptionRightInactive);  vcd652 =v68752.ResolveImagePath(v6bd71.MinimizeInactive); v7a626 =v68752.ResolveImagePath(v6bd71.MaximizeInactive); if (v5e815.WindowState =="Maximized") v7a626 =v68752.ResolveImagePath(v6bd71.RestoreInactive); v6b330 =v68752.ResolveImagePath(v6bd71.CloseInactive); } else { v20468 =v68752.ResolveImagePath(v6bd71.CaptionLeftActive); vd5c0 =v68752.ResolveImagePath(v6bd71.CaptionCenterActive); v18619 =v68752.ResolveImagePath(v6bd71.CaptionRightActive);  vcd652 =v68752.ResolveImagePath(v6bd71.MinimizeActive); v7a626 =v68752.ResolveImagePath(v6bd71.MaximizeActive); if (v5e815.PreviousWindowState =="Maximized") v7a626 =v68752.ResolveImagePath(v6bd71.RestoreActive); v6b330 =v68752.ResolveImagePath(v6bd71.CloseActive); }  vf6157.children[0].src =v20468; v24699.style.backgroundImage ="url(" +vd5c0 +")"; v1c62.children[0].src =v18619;  if (v5e815.Get("AllowMinimize")=="Yes") { var v38875 =v5e815.GetMinimizeButtonElement(); if (v38875) v38875.children[0].src =vcd652; }  if (v5e815.Get("AllowMaximize")=="Yes") { var v4c054 =v5e815.GetMaximizeButtonElement(); if (v4c054) v4c054.children[0].src =v7a626; } if (v5e815.Get("AllowClose")=="Yes") { var va8c6 =v5e815.GetCloseButtonElement(); if (va8c6) va8c6.children[0].src =v6b330; }  },  mf3387:function(v00721,ve752,vef340) { var v75871 =v00721.DesktopManager; var v15e24 =false;  if (v75871.EnableAnimation) { if (ve752) v15e24 =true; }  if (v00721.DialogBoxShown) return;  if (v15e24 &&!vef340) { var v5dc36 =new UnitSize(); var v97f70 =new OffsetLocation();   if (v00721.GetTaskBarButtonElement()) { var vc3c11 =v00721.GetTaskBarButtonElement(); v97f70.X =ISPosLib.getLeft(vc3c11); v97f70.Y =ISPosLib.getTop(vc3c11); v5dc36.Width =ISPosLib.getWidth(vc3c11); v5dc36.Height =ISPosLib.getHeight(vc3c11); } else { v97f70 =v00721.GetMinimizedLocation(); v5dc36 =v00721.GetMinimizedSize(); }  var v35c24 =new ISAnimatedObject(); v35c24.Type =(v75871.IsVistaAnimation()? "ZoomOut" : "ShrinkExpand"); v35c24.AnimateLocation =true; v35c24.AnimateSize =true; v35c24.Element =v00721.GetWindowDivElement(); v35c24.CurrentSize =v00721.Size; v35c24.CurrentLocation =v00721.Location; v35c24.TargetSize =v5dc36; v35c24.TargetLocation =v97f70; v35c24.OnCompleted =function(){wdbe853.mf3387(v00721,null,true);};  if (v75871.IsVistaAnimation()) { v35c24.MaxStep =3;  if (v00721.Get("ContentMode")=="UseIFrame") { var v8bc20 =v00721.GetWindowIFrameElement(); v8bc20.style.display ="none"; } }  v35c24.Play(); } else if (!v15e24 ||vef340) { var v25e23 =v00721.GetWindowDivElement();   if (!v00721.GetTaskBarButtonElement()) { var vfa172 =v00721.GetContentDivElement(); var v03639=v00721.GetMinimizedLocation(); var v8b780 =v00721.GetMinimizedSize(); var v85134 =v00721.GetMinimizeButtonElement(); var ve7647 =v00721.GetMaximizeButtonElement(); var vcff9 =v75871.ImagesSettings; var vb544 =v75871.TextSettings;  if (vfa172) vfa172.style.display ="";  if (v85134) { if (vcff9.RestoreActive =="") { var va3a46 =v85134.children[0].children[0]; va3a46.innerText ="2"; } else { var v86997 =v85134.children[0]; v86997.src =v75871.ResolveImagePath(vcff9.RestoreActive); }  v85134.title =vb544.RestoreText; }  if (ve7647) { if (vcff9.MaximizeActive =="") { var va3a46 =ve7647.children[0].children[0]; va3a46.innerText ="1"; } else { var v86997 =ve7647.children[0]; v86997.src =v75871.ResolveImagePath(vcff9.MaximizeActive); }  ve7647.title =vb544.MaximizeText; }  v25e23.style.left =v03639.X; v25e23.style.top =v03639.Y; v25e23.style.width =v8b780.Width; v25e23.style.height =v8b780.Height;  v00721.InteractiveObject.Resizable =false; v00721.InteractiveObject.Enabled =true; } else { v25e23.style.display ="none"; }  var v46062 =v75871.GetTopMostWindowBefore(v00721); if (v46062 &&v46062.IsDialogBox) v46062 =null;  if (v46062) v46062.Activate(); else v75871.SetNoActiveWindow();  v00721.PreviousWindowState =v00721.WindowState; v00721.WindowState ="Minimized"; } }, mb1682:function(v6c671,vbca79,v62845) { var vc6541 =v6c671.DesktopManager; var v0d011 =vc6541; var va777 =vc6541.WindowSettings; var vb4862 =vc6541.ImagesSettings; var vef754 =vc6541.TextSettings; var vd9566 =v6c671.GetWindowDivElement(); var vc9798 =v6c671.GetMaximizeButtonElement(); var v1fa4 =v6c671.GetMinimizeButtonElement(); var v15586 =v6c671.GetTaskBarButtonElement(); var v27b35 =false;  if (v0d011.EnableAnimation) { if (vbca79) v27b35 =true;  if (v0d011.IsVistaAnimation()) v27b35 =false; }  if (v27b35 &&!v62845) { var vb9657 =new UnitSize(); var vf2933 =new OffsetLocation();  vf2933.X =0; vf2933.Y =0; vb9657.Width =v0d011.GetDesktopSize().Width; vb9657.Height =v0d011.GetDesktopSize().Height;  var v63c2 =new ISAnimatedObject(); v63c2.Type =(v0d011.IsVistaAnimation()? "ZoomIn" : "ShrinkExpand"); v63c2.AnimateLocation =true; v63c2.AnimateSize =true; v63c2.Element =v6c671.GetWindowDivElement(); v63c2.CurrentSize =v6c671.Size; v63c2.CurrentLocation =v6c671.Location; v63c2.TargetSize =vb9657; v63c2.TargetLocation =vf2933; v63c2.OnCompleted =function(){wdbe853.mb1682(v6c671,null,true);};  v63c2.Play(); } else if (!v27b35 ||v62845) { v6c671.PreviousWindowState =v6c671.WindowState; v6c671.WindowState ="Maximized"; v6c671.InteractiveObject.Enabled =false;  if (v15586) v6c671.SaveLocationAndSize(); else { v6c671.InteractiveObject.Resizable =v6c671.Get("AllowResize")=="Yes";  if (v1fa4) { if (vb4862.MinimizeActive =="") { var v2c038 =v1fa4.children[0].children[0]; v2c038.innerText ="0"; } else { var v26193 =v1fa4.children[0]; v26193.src =vc6541.ResolveImagePath(vb4862.MinimizeActive); }  v1fa4.title =vef754.MinimizeText;  } } vd9566.style.left =0; vd9566.style.top =0; vd9566.style.width =v0d011.GetDesktopSize().Width; vd9566.style.height =v0d011.GetAvailableDesktopHeight(v0d011.GetDesktopSize().Height);  if (vc9798) { if (vb4862.RestoreActive =="") { var v2c038 =vc9798.children[0].children[0]; v2c038.innerText ="2"; } else { var v26193 =vc9798.children[0]; v26193.src =vc6541.ResolveImagePath(vb4862.RestoreActive); }  vc9798.title =vef754.RestoreText; }  wdbe853.m5dc28(v6c671); } }, me6044:function(v41168,v03e84,v29638) { var v7b762 =v41168.DesktopManager; var va4f28 =v7b762; var vc6748 =v7b762.WindowSettings; var v3a375 =v7b762.TextSettings; var v26b42 =v7b762.ImagesSettings; var ve0e95 =v41168.GetWindowDivElement(); var vfaf22 =v41168.GetMaximizeButtonElement(); var v82136 =v41168.GetMinimizeButtonElement(); var v99112 =false;  if (va4f28.EnableAnimation) { if (v03e84) v99112 =true;  if (v41168.WindowState =="Maximized" &&va4f28.IsVistaAnimation()) v99112 =false; } if (v99112 &&!v29638) { var v8cd67 =new UnitSize(); var vbf58 =new OffsetLocation(); var v79411 =v41168.GetTaskBarButtonElement(); var vc9427 =new UnitSize(); var v14d19 =new OffsetLocation();  if (v41168.WindowState =="Maximized") { v14d19.X =0; v14d19.Y =0; vc9427.Width =va4f28.GetDesktopSize().Width; vc9427.Height =va4f28.GetDesktopSize().Height; vbf58 =v41168.Location; v8cd67 =v41168.Size; } else { if (v79411) { v14d19.X =ISPosLib.getLeft(v79411); v14d19.Y =ISPosLib.getTop(v79411); vc9427.Width =ISPosLib.getWidth(v79411); vc9427.Height =ISPosLib.getHeight(v79411); } else { v14d19 =v41168.GetMinimizedLocation(); vc9427 =v41168.GetMinimizedSize(); }  vbf58 =v41168.Location; v8cd67 =v41168.Size;  if (va4f28.IsVistaAnimation()&&v41168.PreviousWindowState =="Maximized") { vbf58 =new OffsetLocation(0,0); v8cd67 =new UnitSize(va4f28.GetDesktopSize().Width,va4f28.GetDesktopSize().Height); } }  var va9553 =new ISAnimatedObject(); va9553.Type =(va4f28.IsVistaAnimation()? "ZoomIn" : "ShrinkExpand"); va9553.AnimateLocation =true; va9553.AnimateSize =true; va9553.Element =v41168.GetWindowDivElement(); va9553.CurrentSize =vc9427; va9553.CurrentLocation =v14d19; va9553.TargetSize =v8cd67; va9553.TargetLocation =vbf58; va9553.OnCompleted =function(){wdbe853.me6044(v41168,null,true);}; if (va4f28.IsVistaAnimation()) { va9553.MaxStep =3; va9553.CurrentOpacity =20; va9553.CurrentInterval =100;  if (v41168.Get("ContentMode")=="UseIFrame") { var v09666 =v41168.GetWindowIFrameElement(); v09666.style.display ="none"; } }  va9553.Play(); } else if (!v99112 ||v29638) { var v90f61 =v41168.PreviousWindowState;  ve0e95.style.display =""; v41168.InteractiveObject.Resizable =v41168.Get("AllowResize")=="Yes";  if ((v41168.PreviousWindowState !="Maximized" &&v41168.WindowState =="Minimized")||v41168.WindowState =="Maximized") { if (vfaf22) { if (v26b42.MaximizeActive =="") { var vd6712 =vfaf22.children[0].children[0]; vd6712.innerText ="1"; } else { var v97c70 =vfaf22.children[0]; v97c70.src =v7b762.ResolveImagePath(v26b42.MaximizeActive); }  vfaf22.title =v3a375.MaximizeText; } } if (v41168.WindowState =="Maximized" ||(v41168.WindowState =="Minimized" &&!v41168.GetTaskBarButtonElement())) { if (v41168.WindowState =="Minimized" &&v82136) { if (v26b42.MinimizeActive =="") { var vd6712 =v82136.children[0].children[0]; vd6712.innerText ="0"; } else { var v97c70 =v82136.children[0]; v97c70.src =v7b762.ResolveImagePath(v26b42.MinimizeActive); }  v82136.title =v3a375.MinimizeText; } v41168.MoveTo(v41168.Location.X,v41168.Location.Y); v41168.ResizeTo(v41168.Size.Width,v41168.Size.Height); v41168.PreviousWindowState ="Normal"; } v41168.WindowState =v41168.PreviousWindowState; v41168.InteractiveObject.Enabled =true;  if (va4f28.IsVistaAnimation()) { if (v90f61 =="Maximized" &&v41168.WindowState =="Maximized") v41168.InteractiveObject.Enabled =false;  if (v29638) { ISAnimation_RemoveOpacity(ve0e95);  if (v41168.Get("ContentMode")=="UseIFrame") { setTimeout(function() { var v09666 =v41168.GetWindowIFrameElement();  if (v09666 !=null) v09666.style.display =""; },50); } } } } },  macf7:function(vea123) { var v2a623 =null;  try { v2a623 =vea123.document; } catch(e) { return; }  v2a623.open("text/html"); v2a623.write(""); v2a623.close();  var vf5963 =vea123.frameElement.removeNode(true); vf5963 =null; delete vf5963;  vea123.ISWindowDestroyed =true; vea123 =null; delete vea123;  v2a623 =null; delete v2a623; }, mf602:function(v17678) { var vcec59 =v17678.DesktopManager; var vb0232 =v17678.Collection; var v61c41 =vcec59.GetTopMostWindowBefore(v17678); var v97c52 =v17678.GetWindowDivElement(); var v1c052 =v17678.GetTaskBarButtonElement(); var v96941 =true; if (v17678.IsDialogBox) { var va2540 =v17678.DialogBox; va2540.CloseDialog(); return; }  ISEvent.Raise(v17678.OnPrepareClosed);  if (v17678.Get("ContentMode")=="UseIFrame") { if (v17678.CreatedAtRuntime) { var v95981 =vcec59.GetIFrameWindow(v17678.Name); var v57b3 =false;  try { if (v95981.document) v57b3 =true;  } catch(e) { if (e.message.indexOf("Access is denied")>-1) v57b3 =true; }  if (v95981 &&v57b3) { v17678.Hide(); setTimeout(function(){wdbe853.macf7(v95981);},(vcec59.IsVistaAnimation()? 200 : 10)); } } else { v96941 =false; v17678.Hide(); } } else { if (!v17678.CreatedAtRuntime) { v96941 =false; v17678.Hide(); } }  if (v96941) { wdbe853.m26a47(v17678);  var vf1676 =null;  if (!vcec59.IsVistaAnimation()) vf1676 =v97c52.removeNode(true); else setTimeout(function() { vf1676 =v97c52.removeNode(true); delete vf1676; } ,200);   if (v1c052) { Listener.Unload(v1c052); v1c052.removeNode(true); wdbe853.m73831(vcec59); }  if (vf1676 !=null) { delete vf1676; vf1676 =null; }  if (v17678.EnableDropShadow &&v17678.DropShadow !=null) v17678.DropShadow.Destroy();  v17678.IsClosed =true;  if (vb0232 !=null) { vb0232.Remove(v17678); vb0232.UpdateChanges(); } } wdbe853.mfde93(v17678);  v17678 =null; delete v17678;  if (vcec59.IsVistaAnimation()) { setTimeout(function() { vcec59.ActiveWindowIndex =-1;  if (v61c41) v61c41.Activate(); else vcec59.SetNoActiveWindow(); }, 100); return; }  vcec59.ActiveWindowIndex =-1;  if (v61c41) v61c41.Activate(); else vcec59.SetNoActiveWindow();  },  mca427:function(v25e78) {  },  med982:function(v8ee78,v44342) { if (v44342.Enabled &&(v44342.TargetUrl !="" ||v44342.WindowName !="")) { var vdfe78 =null;  if (v44342.WindowName !="") vdfe78 =v8ee78.Windows.GetNamedItem(v44342.WindowName);  if (!vdfe78) { for (var va8942=0; va8942<v8ee78.Windows.length; va8942++) { if (v8ee78.Windows[va8942].ContentURL ==v44342.TargetUrl) { vdfe78 =v8ee78.Windows[va8942]; break; } } }  if (vdfe78) { if (vdfe78.Initialized &&!vdfe78.IsClosed) { if (vdfe78.ClientVisible) vdfe78.Activate(); else { var v4658 =vdfe78.GetWindowDivElement(); v4658.style.display ="";  var v2d214 =vdfe78.GetTaskBarButtonElement();  if (vdfe78.ShowInTaskBar) { if (!v2d214) wdbe853.mce72(vdfe78); else v2d214.style.display =""; }  if (vdfe78.ContentURL !="") vdfe78.LoadContent();  vdfe78.ClientVisible =true; vdfe78.Activate(); } } } else { var v49b51 =new WebDesktopWindow(); v49b51.Name =v44342.WindowName; v49b51.ContentURL =v44342.TargetUrl; v49b51.Text =v44342.Text; v49b51.ControlBoxImage =v44342.TargetControlBoxImage; v49b51.DesktopManager =v8ee78; v49b51.ContentMode ="UseIFrame";  v8ee78.Windows.Add(v49b51); v49b51.Show(); } } },  m9ba31:function(v2fa34) { var v4c998 =v2fa34.DesktopManager;  if (v2fa34.Enabled &&(v2fa34.TargetURL !="" ||v2fa34.WindowName !="")) { var vf8752 =null;  if (v2fa34.WindowName !="") vf8752 =v4c998.Windows.GetNamedItem(v2fa34.WindowName);  if (!vf8752) { for (var v61875=0; v61875<v4c998.Windows.length; v61875++) { if (v4c998.Windows[v61875].ContentURL ==v2fa34.TargetURL) { vf8752 =v4c998.Windows[v61875]; break; } } }  if (vf8752) { if (vf8752.Initialized &&!vf8752.IsClosed) { if (vf8752.ClientVisible) vf8752.Activate(); else { var v42b75 =vf8752.GetWindowDivElement(); v42b75.style.display ="";  var v60e51 =vf8752.GetTaskBarButtonElement();  if (vf8752.ShowInTaskBar) { if (!v60e51) wdbe853.mce72(vf8752); else v60e51.style.display =""; }  if (vf8752.ContentURL !="") vf8752.LoadContent();  vf8752.ClientVisible =true; vf8752.Activate(); } } } else { var v35559 =new WebDesktopWindow(); v35559.Name =v2fa34.WindowName; v35559.ContentURL =v2fa34.TargetURL; v35559.Text =v2fa34.Text; v35559.ControlBoxImage =v2fa34.TargetControlBoxImage; v35559.DesktopManager =v4c998; v35559.ContentMode ="UseIFrame";  v4c998.Windows.Add(v35559); v35559.Show(v2fa34.GetElement()); } } },  m93a66:function(vc4e73) { var vbbb17 =vc4e73.DesktopManager; var vfe061 =vbbb17.GetDesktopElement(); var v35142 =""; var v4bb37 =null;  if (vc4e73.Name !="") { var v00c50 =vbbb17.GetWindow(vc4e73.Name); if (v00c50 !=null &&v00c50 !=vc4e73) vc4e73.Name +=vc4e73.Index; } else vc4e73.Name ="Window" +vc4e73.Index; ISEvent.Raise(vbbb17.ClientSideEvents.OnWindowCreating,vbbb17.Id,vc4e73);  v4bb37 =document.createElement("DIV"); v4bb37.id ="dvWnd_" +vbbb17.Id +"_" +vc4e73.Name; v4bb37.style.cssText ="position:absolute; display:none"; v4bb37.style.zIndex =100 -vc4e73.Index;  if (!IS.IsXHTMLDocType()) v4bb37.setAttribute("popupProvider","Intersoft");  if (vbbb17.WindowSettings.BorderType !="ComplexImages") v4bb37.className =vbbb17.WindowSettings.WindowStyle.Normal;   v35142 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%' ";  if (vc4e73.Get("ContentMode")=="UseIFrame") v35142 +="onselectstart='return false' ondragstart='return false'";  v35142 +=">"; v35142 +="<tr><td noWrap>";  v35142 +=wdf6610.meaa15(vc4e73);  v35142 +="</td></tr>"; v35142 +="<tr height='100%'><td valign='top' height='100%'>";  v35142 +=wdf6610.mb0276(vc4e73);  v35142 +="</td></tr>"; v35142 +="</table>"; v4bb37.innerHTML =v35142;  try { vfe061.appendChild(v4bb37); } catch(e) { vfe061.insertAdjacentElement("beforeEnd",v4bb37); }  vc4e73.CreatedAtRuntime =true; vc4e73.Initialize(); vc4e73.InitializeLayout("Cascade");  ISEvent.Raise(vbbb17.ClientSideEvents.OnWindowCreated,vbbb17.Id,vc4e73); },  mc3c2:function(v15792) { var v4959 =v15792.DesktopManager; var v94e10 =v4959.GetDesktopElement(); var vf0346 =""; var v88682 =null;  if (v15792.Name !="") { if (v4959.ShortcutIcons.GetNamedItem(v15792.Name)!=v15792) v15792.Name +=v15792.Index; } else v15792.Name ="Shortcut" +v15792.Index;  v88682 =document.createElement("DIV"); v88682.id ="dvSCI_" +v4959.Id +"_" +v15792.Name; v88682.style.cssText ="position:absolute; width:80px; height:80px; overflow: hidden; text-overflow: ellipsis;"; v88682.align ="center";  if (!v15792.Visible) v88682.style.display ="none";  v94e10.appendChild(v88682);  vf0346 +="<img vspace=2 src='" +v4959.ResolveImagePath(v15792.Image)+"' />"; vf0346 +="<div "; vf0346 +="class=" +v4959.ShortcutStyle.Normal; vf0346 +=">";  if (v4959.ShortcutDisplayMode =="TextAndImage") vf0346 +=v15792.Text;  vf0346 +="</div>"; v88682.innerHTML =vf0346; v15792.Initialize(); ISEvent.Raise(v4959.ClientSideEvents.OnShortcutCreated,v4959.Id,v15792); },  mfff19:function(v9ca23) { var v63664 =v9ca23.GetElement(); var v7aa89 =v9ca23.Collection;  v7aa89.Remove(v9ca23); v7aa89.UpdateChanges();  Listener.Unload(v63664); v63664.removeNode(true); },  mce72:function(v97758) { var v59223 =v97758.DesktopManager;  var vc7d18 =v59223.GetTaskBarWindowGroupElement(); var v20331 =v97758.GetTaskBarButtonElement();  if (vc7d18 &&!v20331) { var vae670 =vc7d18.children[0].children[0]; var v73915 =vae670.rows[0]; var v2af8 =-1;  if (v73915.cells[v73915.cells.length-1].getAttribute("placeholder")=="true")v2af8 =v73915.cells.length-1;  var v57b3 =v73915.insertCell(v2af8); var v0b431 ="";  v57b3.nowrap =true; v57b3.name =v97758.Name; v57b3.className =v59223.TaskBarButtonStyle.Normal;  v0b431 ="<div style='overflow:hidden; text-overflow: ellipsis; width:100%'>"; v0b431 +="<nobr>"; v0b431 +="&nbsp;<img src='" +v59223.ResolveImagePath(v97758.Get("ControlBoxImage"))+"' align=absmiddle>"; v0b431 +="&nbsp;"; v0b431 +=v97758.Text; v0b431 +="</nobr>"; v0b431 +="</div>";  v57b3.innerHTML =v0b431;  wdbe853.m73831(v59223); } },  mafa65:function(v3c594,v3cc57) { for (var vf2494=0; vf2494<v3c594.length; vf2494++) { if (v3c594[vf2494].Name ==v3cc57.Name) return vf2494; }  return -1; },  mfc96:function(v21789,va7755,vcd387) { var v0b214 =v21789.DesktopManager; var v60d66 =v0b214.GetDesktopSize();  if (v60d66.Width ==0 ||v60d66.Height ==0) { v0b214.CachedDesktopSize =null; v60d66 =v0b214.GetDesktopSize();  if (v60d66.Width ==0) { setTimeout(function(){wdbe853.mfc96(v21789,va7755,vcd387);},50); return; } } if (!vcd387 ||(vcd387 &&v21789.Location.IsEmpty())) { var v83835 =v0b214.GetVisibleWindows(); var v6cc15 =wdbe853.mafa65(v83835,v21789);  if (va7755 =="Cascade") { v21789.MoveTo(75 +(v6cc15*20),25 +(v6cc15*20)); var v71f60 =v60d66.Height -v21789.Location.Y -(25 *(v83835.length -v6cc15));  if (v0b214.DockBottomHeight >0) { var vde913 =v71f60 +v21789.Location.Y;  if (v60d66.Height -vde913 <v0b214.DockBottomHeight) v71f60 =v71f60 -(v0b214.DockBottomHeight -(v60d66.Height -vde913)); } if (v21789.Size.IsEmpty()&&!v21789.ForceNoResize) v21789.ResizeTo(v60d66.Width -v21789.Location.X -(25 *(v83835.length -v6cc15)),v71f60); } else if (va7755 =="TileWindowsH") { var vfee25 =v60d66.Height /v83835.length; v21789.MoveTo(0,v6cc15 *vfee25 ); if (!v21789.ForceNoResize) v21789.ResizeTo(v60d66.Width,vfee25 ); } else { var v39e91 =v60d66.Width /v83835.length; v21789.MoveTo(v6cc15 *v39e91,0 ); if (!v21789.ForceNoResize) v21789.ResizeTo(v39e91,v60d66.Height); }  if (!v21789.Size.IsEmpty()) v21789.ResizeTo(v21789.Size.Width,v21789.Size.Height ); } else if (!v21789.Location.IsEmpty()&&vcd387) { v21789.MoveTo(v21789.Location.X,v21789.Location.Y ); if (v21789.Size.IsEmpty()) { v21789.ResizeTo(v60d66.Width -v21789.Location.X -10,v60d66.Height -v21789.Location.Y -10); } else { v21789.ResizeTo(v21789.Size.Width,v21789.Size.Height ); } } },  m20786:function(v59849) { var v1ba8 =v59849.GetWindowIFrameElement(); var v6ed64 =v1ba8.parentElement; var v29d54 =v59849.DesktopManager; if (v59849.ContentURL !="" &&(v1ba8.src =="" ||!v59849.IFrameLoaded)) { var v7de41 =v59849.ContentURL; if (v7de41 !="" &&v7de41.substring(0,2)=="./") v7de41 =v7de41.substring(2);  if (v1ba8.src.indexOf(v7de41)==-1 ||v59849.ContentURLChanged) v1ba8.src =v7de41; v59849.IFrameLoaded =true; v59849.ContentURLChanged =false; if (v29d54.WindowSettings.IFrameShowLoader &&IS.ie) { var v78581 =v29d54.GetIFrameWindow(v1ba8.name); var v22c39 =false;  try { var v3139 =v78581.document;  if (!v3139) v22c39 =true; } catch(e) { v22c39 =true; } if (v78581 &&v1ba8.readyState !="complete") { var v05c60 =v1ba8.children[1];  if (v05c60 ==null) { var v6ed64 =v1ba8.parentElement; var v15834 =document.createElement("DIV"); var vab984 =IS.GetCssObject(null,v29d54.WindowSettings.ContainerStyle); v15834.style.cssText ="width:100%;height:100%;vertical-align:middle;position:absolute;left:0px;top:0px;background-color:White"; v15834.style.fontWeight =vab984.fontWeight; v15834.style.display ="none"; v15834.innerHTML ="<table width=100% height=100%><tr><td valign=center align=center style='font-family:" +vab984.fontFamily +";font-size:" +vab984.fontSize +"'>" +"<img align='absmiddle' src='" +v29d54.ResolveImagePath(v29d54.ImagesSettings.InProgress)+"'>&nbsp;" +v59849.GetInProgressText()+"</td></tr></table>"; v6ed64.appendChild(v15834); } else {  } v1ba8.style.display ="none"; v59849.IFrameContentLoaded =false; setTimeout(function(){wdbe853.m9b447(v59849);},100); } else { v59849.IFrameContentLoaded =true; v1ba8.style.display =""; } } else { v59849.IFrameContentLoaded =true; v1ba8.style.display ="";  if (!(IS.moz &&v1ba8.style.height.indexOf("%")==-1)) v1ba8.style.height ="100%"; } } },  m9b447:function(v27a5) { if (v27a5.IsClosed)return;  var vfbc49 =v27a5.GetWindowIFrameElement(); var v3a190 =v27a5.DesktopManager; var v0e162 =v3a190.GetIFrameWindow(vfbc49.name);  if (v0e162 &&vfbc49.readyState =="complete") wdbe853.m61841(v27a5); if (!v27a5.IFrameContentLoaded) { vfbc49.nextSibling.style.display ="";  if (vfbc49.onreadystatechange ==null) vfbc49.attachEvent("onreadystatechange",function(){wdbe853.m61841(v27a5);}); } },  m8ae43:function(vba674) { if (vba674.EnableContextMenu) { var v83941 =new WebContextMenu(vba674.Id +"_SysMenu"); v83941.MenuStyleSettings.CopyFrom(vba674.MenuStyles.System); v83941.MenuStyleSettings.Parent =v83941; v83941.MenuStyleSettings.OnPropertiesInitialized(); var v2ec39 =v83941.Items.Add(new WebMenuItem("mnuRestore","Restore",IS.GetSymbol(vba674,"2",true),function(){wdbe853.mc1140(this);})); var vb3c65 =v83941.Items.Add(new WebMenuItem("mnuMove","Move",null,function(){wdbe853.mc1140(this);})); var vcba60 =v83941.Items.Add(new WebMenuItem("mnuSize","Size",null,function(){wdbe853.mc1140(this);})); var v77313 =v83941.Items.Add(new WebMenuItem("mnuMinimize","Minimize",IS.GetSymbol(vba674,"0",true),function(){wdbe853.mc1140(this);})); var vc8883 =v83941.Items.Add(new WebMenuItem("mnuMaximize","Maximize",IS.GetSymbol(vba674,"1",true),function(){wdbe853.mc1140(this);})); v83941.Items.Add(new WebMenuSeparatorItem()); var vad744 =v83941.Items.Add(new WebMenuItem("mnuClose","Close",IS.GetSymbol(vba674,"r",true),function(){wdbe853.mc1140(this);},new ShortcutKey(true,true,false,null,"C")));  if (IS.ie ||(IS.moz &&!IsGecko30())) { v2ec39.UseFontImage =v77313.UseFontImage = vc8883.UseFontImage =vad744.UseFontImage =true; } else { v83941.ImageSize =new UnitSize(12,14); }  vba674.SystemMenu =v83941;  var v3ef7 =new WebContextMenu(vba674.Id +"_DeskMenu"); v3ef7.MenuStyleSettings.CopyFrom(vba674.MenuStyles.System); v3ef7.MenuStyleSettings.Parent =v3ef7; v3ef7.MenuStyleSettings.OnPropertiesInitialized();  v3ef7.Items.Add(new WebMenuCheckBoxItem("mnuAutoArrange","Auto Arrange Icons",null,function(){wdbe853.m5b844(this);},null,vba674.ShortcutSettings.AllowAutoArrange)); var vb3981 =v3ef7.Items.Add(new WebMenuCheckBoxItem("mnuShowDesktopIcons","Show Desktop Icons",null,function(){wdbe853.m5b844(this);},null,vba674.ShortcutIconsVisible)); v3ef7.Items.Add(new WebMenuSeparatorItem()); v3ef7.Items.Add(new WebMenuItem("mnuCascade","Cascade Windows",null,function(){wdbe853.m5b844(this);})); v3ef7.Items.Add(new WebMenuItem("mnuTileHz","Tile Windows Horizontally",null,function(){wdbe853.m5b844(this);})); v3ef7.Items.Add(new WebMenuItem("mnuTileVt","Tile Windows Vertically",null,function(){wdbe853.m5b844(this);})); v3ef7.Items.Add(new WebMenuSeparatorItem()); v3ef7.Items.Add(new WebMenuItem("mnuShowDesktop","Show the Desktop",null,function(){wdbe853.m5b844(this);}));  if (!vba674.ShortcutIconsVisible) vb3981.Enabled =false;  vba674.DesktopContextMenu =v3ef7; } },  m27c4:function(va6246) { event.cancelBubble =true; event.returnValue =false;  var v6b510 =event.srcElement; var v29d26 =0; var v1dd37 =0;  if (v6b510 ==va6246.GetDesktopElement()) { if (va6246.EnableContextMenu &&va6246.DesktopContextMenu) { var v1ce52 =va6246.DesktopContextMenu; ISEvent.Raise(va6246.ClientSideEvents.OnContextMenu,va6246.Id,"Desktop",va6246,v1ce52); v1ce52.Show(v1ce52.GetEventLocation()); } }  return false; },  m55735:function(v54630) { if (v54630.EnableContextMenu &&v54630.SystemMenu) { var v9b246 =event.srcElement; var v8a195 =wdbe853.maad65(v54630,v9b246);  if (v8a195 &&!v8a195.IsClosed) wdbe853.m8e379(v8a195); } },  mfde93:function(vd4930) { if (vd4930.IsClosed ||!vd4930.ClientVisible) { var v21d30 =vd4930.DesktopManager;  if (v21d30.SystemMenu) v21d30.SystemMenu.HideAll(); } },  mc0e85:function(vd7530) { event.returnValue =false; event.cancelBubble =true; if (vd7530.EnableContextMenu &&vd7530.SystemMenu) {  var v58430 =event.srcElement; var v2e535 =wdbe853.maad65(vd7530,v58430);  wdbe853.m8e379(v2e535); }  return false; },  m8e379:function(v88c21) { var v20d30 =v88c21.DesktopManager; var vdeb35 =v20d30.SystemMenu; var v6b73 =0; var v52013 =0;  if (v88c21 &&v88c21.Initialized &&!v88c21.IsClosed &&vdeb35) { if (v88c21.WindowState =="Normal") { vdeb35.Items[0].Disable(); vdeb35.Items[1].Enable(); vdeb35.Items[2].Enable(); vdeb35.Items[3].Enable(); vdeb35.Items[4].Enable(); } else if (v88c21.WindowState =="Minimized") { vdeb35.Items[0].Enable(); vdeb35.Items[1].Disable(); vdeb35.Items[2].Disable(); vdeb35.Items[3].Disable(); vdeb35.Items[4].Enable(); } else if (v88c21.WindowState =="Maximized") { vdeb35.Items[1].Disable(); vdeb35.Items[2].Disable(); vdeb35.Items[4].Disable();  if (!vdeb35.Items[0].Enabled) vdeb35.Items[0].Enable();  vdeb35.Items[3].Enable(); }  if (v88c21.Get("AllowClose")=="No") vdeb35.Items[6].Disable();  if (v88c21.Get("AllowMinimize")=="No") vdeb35.Items[3].Disable(); if (v88c21.Get("AllowMaximize")=="No") { vdeb35.Items[0].Disable(); vdeb35.Items[4].Disable(); }  if (v88c21.Get("AllowResize")=="No") { vdeb35.Items[2].Disable(); }  vdeb35.Window =v88c21; ISEvent.Raise(v20d30.ClientSideEvents.OnContextMenu,v20d30.Id,"Window",v88c21,vdeb35); vdeb35.Show(vdeb35.GetEventLocation()); } },  mc1140:function(v5664) { var va424 =v5664.OwnerMenu.MenuControl.Window;  switch (v5664.Name) { case "mnuMinimize": va424.Minimize(null,true); break; case "mnuMaximize": { if (va424.WindowState =="Minimized") va424.Restore();  va424.Maximize(null,true); break; } case "mnuRestore": va424.Restore(null,true); break; case "mnuClose": va424.Close(); break; case "mnuMove": case "mnuSize":  wd6fa82.CaptureAction =(v5664.Name =="mnuMove")? "Move" : "Size"; wdbe853.m08032(va424); wd6fa82.me591(va424,va424.Location.X,va424.Location.Y ,va424.Size.Width,va424.Size.Height); break; } },  m08032:function(v99640) { var v3d24 =document.body;  if (!IS.ie) v3d24 =window;  Listener.Add(v3d24,"onkeydown",wdbe853.m21e25,v99640); Listener.Add(v3d24,"onmousedown",wdbe853.m21e25,v99640);  if (IS.ie) Listener.Add(v3d24,"onkeyup",wdbe853.m21e25,v99640); },  m69744:function(va7740) { var veda40 =document.body;  if (!IS.ie) veda40 =window; Listener.Remove(veda40,"onkeydown",wdbe853.m21e25,va7740); Listener.Remove(veda40,"onmousedown",wdbe853.m21e25,va7740); if (IS.ie) Listener.Remove(veda40,"onkeyup",wdbe853.m21e25,va7740); wd6fa82.Shadow.winName =null; wd6fa82.Shadow.style.display ="none"; wd6fa82.ShadowInfo.style.display ="none"; wd6fa82.CaptureAction =null; },  m21e25:function() { if (event.type =="keydown" ||event.type =="keyup") { var v29e40 =wd6fa82.Shadow; var vc1094 =true; var vaf674 =-1; var v62e20 =-1; var v64899 =-1; var v84a48 =-1; var v03624 =event.keyCode;  if (event.type =="keyup" &&event.keyCode !=ISKeyboardKey.ENTER) v03624 =0;  switch (v03624) { case ISKeyboardKey.ESC: wdbe853.m69744(this); vc1094 =false; break;  case ISKeyboardKey.LEFT:  if (wd6fa82.CaptureAction =="Move") vaf674 =ISPosLib.getLeft(v29e40)-10; else { vaf674 =ISPosLib.getLeft(v29e40)-10; v64899 =ISPosLib.getWidth(v29e40)+10; }  break;  case ISKeyboardKey.DOWN: if (wd6fa82.CaptureAction =="Move") v62e20 =ISPosLib.getTop(v29e40)+10; else { v62e20 =ISPosLib.getTop(v29e40)+10; v84a48 =ISPosLib.getHeight(v29e40)-10; }  break;  case ISKeyboardKey.RIGHT: if (wd6fa82.CaptureAction =="Move") vaf674 =ISPosLib.getLeft(v29e40)+10; else { vaf674 =ISPosLib.getLeft(v29e40)+10; v64899 =ISPosLib.getWidth(v29e40)-10; }  break;  case ISKeyboardKey.UP: if (wd6fa82.CaptureAction =="Move") v62e20 =ISPosLib.getTop(v29e40)-10; else { v62e20 =ISPosLib.getTop(v29e40)-10; v84a48 =ISPosLib.getHeight(v29e40)+10; }  break;  case ISKeyboardKey.ENTER:  var v90c60 =this.GetPreferredSize(parseFloat(v29e40.style.width),parseFloat(v29e40.style.height));  this.MoveTo(parseFloat(v29e40.style.left),parseFloat(v29e40.style.top)); this.ResizeTo(v90c60.Width,v90c60.Height);  if (this.EnableDropShadow &&this.DropShadow !=null) this.DropShadow.UpdatePosition(); this.SaveLocationAndSize(); wdbe853.m69744(this);  vc1094 =false; break; }  if (vc1094) { var va5641 =this.GetDesktopManager().GetDesktopElement(); var vffa37 =ISPosLib.getLeft(va5641); var v6e046 =ISPosLib.getTop(va5641); if (vaf674 ==-1) vaf674 =parseFloat(v29e40.style.left);  if (v62e20 ==-1) v62e20 =parseFloat(v29e40.style.top);  if (v64899 ==-1) v64899 =parseFloat(v29e40.style.width);  if (v84a48 ==-1) v84a48 =parseFloat(v29e40.style.height);  if (v64899 <50) return;  vaf674 -=vffa37; v62e20 -=v6e046;  wd6fa82.me591(this,vaf674,v62e20,v64899,v84a48); } } else { wdbe853.m69744(this); } },  m5b844:function(vcac26) { var vd9526 =ISGetDesktopManager();  switch (vcac26.Name) { case "mnuAutoArrange": if (vcac26.Checked) { vd9526.ShortcutSettings.AllowAutoArrange =true; wdbe853.m7b512(vd9526); wdbe853.md9b46(vd9526); } else { vd9526.ShortcutSettings.AllowAutoArrange =false; } break;  case "mnuShowDesktopIcons": if (vcac26.Checked) vd9526.ShowShortcutIcons(); else vd9526.HideShortcutIcons(); break;  case "mnuCascade": vd9526.CascadeWindows(null,true); break;  case "mnuTileHz": vd9526.TileWindowsHorizontally(null,true); break;  case "mnuTileVt": vd9526.TileWindowsVertically(null,true); break;  case "mnuShowDesktop": vd9526.ShowDesktop(); break; } },  m81d81:function(vd8726) { var vdec26 =new Array(); for(var v8de40=0; v8de40<vd8726.IS.RuntimeObjects.length; v8de40++) { var vfef96 =vd8726.IS.RuntimeObjects[v8de40]; if (vfef96 &&(vfef96.GetType()=="WebToolBar" ||vfef96.GetType()=="WebMenuBar")) vdec26.push(vfef96); }  return vdec26; },  m8d81:function(vcee62) { if (!vcee62.BarsAccessKeyEnabled)return;  if (vcee62.Get("ContentMode")=="UseIFrame" &&!vcee62.IsClosed &&vcee62.Initialized) { var vb3962 =vcee62.DesktopManager; var vf4710 =vb3962.GetIFrameWindow(vcee62.Name); if (vf4710 &&vf4710.ISGetObject) { var v7b015 =wdbe853.m81d81(vf4710);  for(var v01f32=0; v01f32<v7b015.length; v01f32++) { var v6a287 =v7b015[v01f32]; if (v6a287.Enabled) v6a287.UnregisterAccessKeys(); } }  vcee62.BarsAccessKeyEnabled =false; } },  m22229:function(v91c1) { if (v91c1.BarsAccessKeyEnabled)return;  if (v91c1.Get("ContentMode")=="UseIFrame" &&!v91c1.IsClosed &&v91c1.Initialized) { var v1ef81 =v91c1.DesktopManager; var v1eb19 =v1ef81.GetIFrameWindow(v91c1.Name); if (v1eb19 &&v1eb19.ISGetObject) { var v84682 =wdbe853.m81d81(v1eb19);  for(var v49794=0; v49794<v84682.length; v49794++) { var va5487 =v84682[v49794]; if (va5487.Enabled) va5487.RegisterAccessKeys(); } }  v91c1.BarsAccessKeyEnabled =true; } },  m38142:function(v45f37,v10e98,v9b467) { var vee037 ="progid:DXImageTransform.Microsoft."; var v65898 ="0.5";  if (v10e98 !="None") { switch (v10e98) { case "Fade": vee037 +="Fade(duration=" +v65898 +",overlap=1.0)"; break; case "GradientWipe": vee037 +="Wipe(duration=" +v65898 +",GradientSize=1.0, wipeStyle=1, motion='forward')"; break; case "Pixelate": vee037 +="Pixelate(duration=" +v65898 +",MaxSquare=30)"; break; case "SlideAndHide": vee037 +="Slide(duration=" +v65898 +",slideStyle='HIDE', bands=1)"; break; case "SlideAndPush": vee037 +="Slide(duration=" +v65898 +",slideStyle='PUSH', bands=1)"; break; case "SlideAndSwap": vee037 +="Slide(duration=" +v65898 +",slideStyle='SWAP', bands=1)"; break; case "Iris": vee037 +="Iris(duration=" +v65898 +",irisStyle='CIRCLE', motion='out')"; break; case "Wheel": vee037 +="Wheel(duration=" +v65898 +",Spokes=4)"; break; }  v45f37.style.filter =vee037; v45f37.filters[0].Apply();  if (!v9b467) v45f37.style.visibility ="hidden"; else v45f37.style.visibility ="visible";  v45f37.filters[0].Play(); } else { v45f37.style.visibility ="visible"; } },  ma3f47:function(vd5a92) { var v57592 =vd5a92.GetWindowDivElement();  if (v57592 !=null) { v57592.style.display ="none"; v57592.style.zoom ="100%"; } },  mef350:function(v2b312,vcac87) { var v42d12 =v2b312.GetWindowDivElement();  if (v42d12 !=null) { v42d12.style.display =""; ISAnimation_RemoveOpacity(v42d12); }  var v2cd87 =v2b312.GetContentDivElement().children[0];  if (v2cd87 !=null) v2cd87.style.display =""; v2b312.Show(null,null,true,vcac87); },  mf072:function(v16f51) { var v73695 =v16f51.GetDesktopClientSize();  for (var vab727=0; vab727<v16f51.Windows.length; vab727++) { var v0be68 =v16f51.Windows[vab727]; var v36482 =v0be68.GetWindowDivElement();  if (v0be68.ClientVisible &&v0be68.WindowState =="Maximized" &&!v0be68.IsClosed) { v36482.style.width =v73695.Width; v36482.style.height =v16f51.GetAvailableDesktopHeight(v73695.Height); if (v0be68.Get("ContentMode")=="UseIFrame") { var vd1a8 =v0be68.GetWindowIFrameElement(); var vdf621 =vd1a8.parentElement.clientHeight;  if (vd1a8) { if (vdf621 >v73695.Height) vd1a8.style.height =vdf621; else vd1a8.style.height ="100%"; } } } } }};function ISFindWindowRecursive(va9e45,v5c559){ var v99b6 =null;  if (!v5c559)v99b6 =window; else v99b6 =v5c559;  if (v99b6.name ==va9e45) return v99b6; else { var v8b840 =v99b6.frames; for (var v71312=0; v71312<v8b840.length; v71312++) { var v1419 =v8b840[v71312]; if (v1419.name ==va9e45) return v1419;  if (v1419.frames.length >0) { var v90466 =ISFindWindowRecursive(va9e45,v1419); if (v90466)return v90466; } } }  return null;}function WebDesktopManagerDestructor(){ var v0cd45 =delete wdbe853;}window.attachEvent("onunload",WebDesktopManagerDestructor);
