
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 2/25/2009 5:06:17 PM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
function InitWebDesktopLoader(v94a60,v2f397,v0e479,v68d47,va2d86){ var v12566 =document.getElementById(v94a60 +"_loader");  if (v12566) { if (v2f397 =="UseBuiltIn") { var v75a98 =v12566.currentStyle; var v00b60 =v12566.children[0]; var vf0020 =v00b60.rows[1].cells[0].children[0]; var v8a065 =vf0020.children[0]; with (v00b60.style) { color =v75a98.color; fontFamily =v75a98.fontFamily; fontSize =v75a98.fontSize; }  v8a065.style.filter ="progid:DXImageTransform.Microsoft.Alpha(Opacity=30, FinishOpacity=100, Style=1, StartX=0,  FinishX=100, StartY=0, FinishY=0)"; v8a065.style.width ="0px"; v8a065.style.backgroundColor =vf0020.currentStyle.color; }  v12566.mode =v2f397; v12566.transition =v0e479; v12566.eventName =v68d47; v12566.loaderText =va2d86;  if (document.readyState =="complete") { WebDesktopLoaderProgress(v94a60,100); } else { var v7bf20 =new Array(); var v65f16 =document.getElementsByTagName("script"); var vda282 =eval(v94a60 +"_images");  if (IS.ie) {for(var v80c49=0; v80c49<v65f16.length; v80c49++) { if (v65f16[v80c49].src !="") v7bf20[v7bf20.length] =v65f16[v80c49]; } } for(var v80c49=0; v80c49<vda282.length; v80c49++) { var vda981 =new Image(); vda981.src =vda282[v80c49]; vda981.loadTry =0; v7bf20[v7bf20.length] =vda981; }  wd83010.ResourcesList =v7bf20; v12566.totalResources =v7bf20.length; setTimeout(function(){WebDesktopLoaderTimer(v94a60,v12566); },50); } }}function WebDesktopLoaderTimer(v3c126,va9734){ var vc7015 =wd83010.ResourcesList; var v67376 =va9734.totalResources; var v75d64 =0; var v1fb50 =0; var vfbe8 =0;  for (var v74753=0; v74753<vc7015.length; v74753++) { var v1036 =vc7015[v74753]; if (v1036.marked) { v75d64++; } else { if ((v1036.tagName =="SCRIPT" &&v1036.readyState =="complete")||(v1036.complete)) { v1fb50++; v1036.marked =true; } else if (v1036.tagName =="IMG" &&!v1036.complete) { if (v1036.loadTry ==5 &&v1036.fileSize ==-1) { v1fb50++; v1036.marked =true; } else { v1036.loadTry++; } } } }  vfbe8 =Math.round(((v75d64 +v1fb50)/v67376)*100);  if (IS.ie) { if (vfbe8 >90) { if (document.readyState !="complete") { if (!va9734.retryCount) va9734.retryCount =0; else va9734.retryCount++;  vfbe8 =90 +va9734.retryCount; if (vfbe8 >97) vfbe8 =97; } else vfbe8 =100; } }  WebDesktopLoaderProgress(v3c126,va9734,vfbe8); if (vfbe8 <100) va9734.nextTimerID =setTimeout(function(){WebDesktopLoaderTimer(v3c126,va9734); },50);}function WebDesktopLoaderProgress(v0c829,ve0f84,ve3550){ if (ve0f84.mode =="UseBuiltIn") { var vaee10 =ve0f84.children[0]; var v33c74 =vaee10.rows[1].cells[0].children[0].children[0]; var v58f83 =vaee10.rows[0].cells[0]; var v5a776 =ve0f84.loaderText;  v5a776 =v5a776.replace("[completed]",ve3550); v58f83.innerText =v5a776;  if (IS.safari) v33c74.style.display ="-webkit-inline-box"; else if (IS.moz) v33c74.style.display ="-moz-inline-box";  v33c74.style.width =(ve3550/100)*200; } ISEvent.Raise(ve0f84.eventName,v0c829,ve3550); if (ve3550 >99) { wd83010.ResourcesList =null;  clearTimeout(ve0f84.nextTimerID);  if (IS.ie) { setTimeout(function() { wd83010.mdb945(ve0f84,ve0f84.transition); },500); }  setTimeout(function() { ve0f84.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 ="";}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(vbaa42){ this.ClassName ="WebDesktopManager"; this.Version ="1.0.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.0"; this.RequiredFrameworkVersion ="2.0.5000.16"; ISControl.call(this,vbaa42);  this.ScriptDirectory ="/CommonLibrary/WebDesktop/V2_5_2007/"; 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.ImagesDirectory ="/_LAYOUTS/CorasWorks.Central.Administration/Resources/Intersoft/Images/WebDesktop/"; 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.SharedScriptDirectory ="/CommonLibrary/Shared/"; this.ClientID =this.ID =this.UniqueID =vbaa42; 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(); wd83010.mbf131(this); wd83010.m40f16(this);  if (typeof(wd3e491)=="object") wd3e491.mb810(this.InteractiveObjects);  };  this.ReBindingPostBackData =function() { this.Set("ActiveWindowIndex",this.ActiveWindowIndex,true); };  this.OnPropertiesInitialized =function() { if (this.Events !=null) { var vc5285; for(vc5285 in this.Events) { if (typeof(this.Events[vc5285])=="string") this.ClientSideEvents[vc5285] =this.Events[vc5285]; } }  var v1a263 =document.getElementById(this.Id);  if (v1a263 ==null) v1a263 =document.getElementById(this.ServerUniqueID);  v1a263.value ="ISWebDesktopManager"; };  this.RemoveDynamicStyle =function() { var v05035 =["TaskBarButon","Shortcut"]; var vf5941 =["Caption","CaptionButton","Window","CommandButton"]; for(var v00a51=0; v00a51<v05035.length; v00a51++) { var v0a695 =this[v05035[v00a51] +"Style"]; if (v0a695) ISXml.RemoveNode(this.XmlNode,v05035[v00a51] +"Style"); }  for(var v00a51=0; v00a51<vf5941.length; v00a51++) { var v0a695 =this.WindowSettings[vf5941[v00a51] +"Style"]; if (v0a695) ISXml.RemoveNode(this.WindowSettings.XmlNode,vf5941[v00a51] +"Style"); } };  this.GetMaxZIndex =function() { if (this.MaxZIndex ==0) { for (var v00a51=0; v00a51<this.Windows.length; v00a51++) { var v8cd19 =this.Windows[v00a51].GetWindowDivElement();  if (v8cd19) { this.MaxZIndex =Math.max(this.MaxZIndex,v8cd19.style.zIndex); } } }  return this.MaxZIndex; };  this.GetIFrameWindow =function(v58677) { return window.frames[v58677]; };  this.GetAvailableColumn =function() { var v6e551 =10; var v2b034 =0; var ve5693 =-1; var v56030 =this.GetDesktopSize();  for (var v00a51=0; v00a51<this.ShortcutIcons.length; v00a51++) { var vff010 =this.ShortcutIcons[v00a51];  if (!vff010.RuntimeLocation.IsEmpty()&&vff010.Location.IsEmpty()) { v6e551 =Math.max(v6e551,vff010.RuntimeLocation.X); } }  ve5693 =(v6e551-10)/80;   for (var v00a51=0; v00a51<this.ShortcutIcons.length; v00a51++) { var vff010 =this.ShortcutIcons[v00a51];  if (!vff010.RuntimeLocation.IsEmpty()&&vff010.RuntimeLocation.X ==v6e551 &&vff010.Location.IsEmpty()) { v2b034 =Math.max(v2b034,vff010.RuntimeLocation.Y); } } if (v2b034 +(80*2)>v56030.Height) { ve5693++; }  return ve5693; };  this.GetAvailableRow =function(ve5693) { var v6e551 =(ve5693*80)+10; var v2b034 =5; var vaba28 =-1;  for (var v00a51=0; v00a51<this.ShortcutIcons.length; v00a51++) { var vff010 =this.ShortcutIcons[v00a51]; if (!vff010.RuntimeLocation.IsEmpty()&&vff010.RuntimeLocation.X ==v6e551 &&(this.ShortcutSettings.AllowAutoArrange ||vff010.Location.IsEmpty())) { v2b034 =Math.max(v2b034,vff010.RuntimeLocation.Y+80); } } vaba28 =(v2b034-5)/80;  return vaba28; };  this.GetCssObject =function(v58677) { return IS.GetCssObject(null,v58677,true); };  this.TransferStyle =function(v1b097) { var v65586 =this.GetCssObject(v1b097.selectorText.substring(1)); if (!v65586) { var v0a695 =IS.GetRuntimeStyleSheetExact(); if (IS.ie ||IS.safari) v0a695.addRule(v1b097.selectorText,v1b097.style.cssText); else v0a695.innerHTML +=v1b097.selectorText +" { " +v1b097.style.cssText +" }\n";  return true; }  return false; };  this.OnUnload =function() { wd83010.m3b265(this); };  this.CreateWindow =function() { return new WebDesktopWindow(); };  this.ShowDialogBox =function() {  };  this.GetDocument =function() { var vfbc47 =this.GetDesktopElement();  if (vfbc47) { if (IS.ie) return vfbc47.document; else return vfbc47.ownerDocument; } else return document; };  this.GetContentWindow =function() { var vf1b17 =this.GetDocument(); return vf1b17.parentWindow; };  this.GetTaskBarElement =function() { return document.getElementById("dvTaskBar_" +this.Id); };  this.GetTaskBarWindowGroupElement =function() { var v1ac76 =this.GetTaskBarElement(); if (!v1ac76)return null;  var v49577 =v1ac76.children[0];  for (var v00a51=0; v00a51 <v49577.rows[0].cells.length; v00a51++) { if (IS.GetAttr(v49577.rows[0].cells[v00a51],"type")=="WindowGroup") return v49577.rows[0].cells[v00a51]; } return null; };  this.GetTaskBarLeftTemplateElement =function() { var v1ac76 =this.GetTaskBarElement(); if (!v1ac76)return null; var v49577 =v1ac76.children[0];  for (var v00a51=0; v00a51 <v49577.rows[0].cells.length; v00a51++) { if (IS.GetAttr(v49577.rows[0].cells[v00a51],"type")=="Left") return v49577.rows[0].cells[v00a51]; } return null; };  this.GetTaskBarRightTemplateElement =function() { var v1ac76 =this.GetTaskBarElement(); if (!v1ac76)return null; var v49577 =v1ac76.children[0];  for (var v00a51=0; v00a51 <v49577.rows[0].cells.length; v00a51++) { if (IS.GetAttr(v49577.rows[0].cells[v00a51],"type")=="Right") return v49577.rows[0].cells[v00a51]; } return null; };  this.GetDesktopElement =function() { var vfbc47 =document.getElementById("dvDesktop_" +this.Id);  if (!vfbc47 &&this.CreatedAtRuntime) { if (document.forms.length >0) vfbc47 =document.forms[0]; else vfbc47 =document.body; } return vfbc47; };  this.GetDesktopSize =function() { var va4470 =new UnitSize(); if (this.CachedDesktopSize ==null) { var vda852 =null;  if (!this.CreatedAtRuntime) vda852 =this.GetDesktopElement(); else vda852 =document.body;  va4470.Width =vda852.offsetWidth; va4470.Height =vda852.offsetHeight;  if (va4470.Height ==0) va4470.Height =ISPosLib.getHeight(vda852);  this.CachedDesktopSize =va4470; } else va4470 =this.CachedDesktopSize;  return va4470; };  this.GetDesktopClientSize =function() { var va4470 =new UnitSize(); var vda852 =null;  if (!this.CreatedAtRuntime) vda852 =this.GetDesktopElement(); else vda852 =document.body;  va4470.Width =vda852.clientWidth; va4470.Height =vda852.clientHeight;  if (va4470.Height ==0) va4470.Height =ISPosLib.getHeight(vda852);  return va4470; };  this.GetAvailableDesktopHeight =function(v2ad33) { return v2ad33 -this.DockBottomHeight; };  this.CascadeWindows =function(v86769,vd2b76) { wd83010.m11467(this,v86769,vd2b76); };  this.TileWindowsHorizontally =function(v86769,vd2b76) { wd83010.m17a4(this,v86769,"H",vd2b76); };  this.TileWindowsVertically =function(v86769,vd2b76) { wd83010.m17a4(this,v86769,"V",vd2b76); };  this.GetActiveWindow =function() { return this.Windows[this.ActiveWindowIndex]; };  this.GetActiveShortcut =function() { return this.ShortcutIcons[this.ActiveShortcutIndex]; };  this.GetWindow =function(v58677) { var v9f992 =this.Windows.GetNamedItem(v58677); if (!v9f992 &&this.CreatedAtRuntime) { v9f992 =ISGetObject(v58677.substring(3)); if (v9f992 &&v9f992.GetType()=="WebDialogBox") v9f992 =v9f992.Window; }  return v9f992; };  this.ResolveImagePath =function(v16972) {return this._ResolveImagePath(this.ImagesDirectory,v16972); };  this.GetTopMostWindowBefore =function(v9f992) { var va2994 =null; var vb2e50 =0;  for (var v00a51=0; v00a51<this.Windows.length; v00a51++) { var v12f66 =this.Windows[v00a51];  if (v12f66.WindowState !="Minimized" &&!v12f66.IsClosed &&v12f66.Initialized &&v12f66 !=v9f992 &&v12f66.ClientVisible) { var v8cd19 =v12f66.GetWindowDivElement();  if (v8cd19) { vb2e50 =Math.max(vb2e50,v8cd19.style.zIndex);  if (vb2e50 ==v8cd19.style.zIndex) { va2994 =v12f66; } } } }  return va2994; };  this.GetWindowListByZOrder =function() { var v8f946 =new Array(); var v03a6 =new Array();  for (var v00a51=0; v00a51<this.Windows.length; v00a51++) v8f946[v8f946.length] =this.Windows[v00a51].GetWindowDivElement().style.zIndex; v8f946.sort(wd83010.mb5a61); v8f946.reverse(); for (var v00a51=0; v00a51<v8f946.length; v00a51++) { for (var v55c23=0; v55c23<this.Windows.length; v55c23++) { var v12f66 =this.Windows[v55c23]; var v8cd19 =v12f66.GetWindowDivElement();  if (v8cd19.style.zIndex ==v8f946[v00a51]) v03a6[v03a6.length] =v12f66; } }  return v03a6; };  this.SetNoActiveWindow =function() { var v12f66 =this.GetActiveWindow(); if (v12f66 &&v12f66.ClientVisible &&!v12f66.Closed) { var v5e635 =v12f66.GetTaskBarButtonElement(); DynamicStyleEngine.SetToStyle(null,this.TaskBarButtonStyle,v5e635); } this.ActiveWindowIndex =-1; };  this.RearrangeShortcutIcons =function() { wd83010.m0e836(this); };  this.ShowShortcutIcons =function() { for (var v00a51=0; v00a51<this.ShortcutIcons.length; v00a51++) { var ve4148 =this.ShortcutIcons[v00a51]; ve4148.Show(); } this.ShortcutIconsVisible =true; };  this.HideShortcutIcons =function() { for (var v00a51=0; v00a51<this.ShortcutIcons.length; v00a51++) { var ve4148 =this.ShortcutIcons[v00a51]; ve4148.Hide(); } this.ShortcutIconsVisible =false; };  this.ShowDesktop =function() { for (var v00a51=0; v00a51<this.Windows.length; v00a51++) { var v12f66 =this.Windows[v00a51]; if (v12f66.WindowState !="Minimized" &&!v12f66.IsDialogBox) v12f66.Minimize(); } this.SetNoActiveWindow(); };  this.SaveDesktopStateToXml =function() { this.Windows.UpdateChanges(); this.ShortcutIcons.UpdateChanges();  var v0c212 =ISXml.CreateXmlDocument(); var v0a695 ="<Desktop>";  v0a695 +=this.Windows.XmlNode.xml; if (this.ShortcutIconsVisible) v0a695 +=this.ShortcutIcons.XmlNode.xml; v0a695 +="</Desktop>";  ISXml.LoadXml(v0c212,v0a695); return v0a695; };  this.RegisterEvents =function(v50d8,vdb295) { wd83010.m03c71(this,v50d8,vdb295 ? v50d8.parent.name : null); };   this.GetNotificationControl =function() { for (var v00a51=0; v00a51<IS.RuntimeObjects; v00a51++) { var v64420 =IS.RuntimeObjects[v00a51]; if (v64420 !=null &&v64420.GetType()=="WebNotification") return v64420; }  return null; };  this.IsVistaAnimation =function() { return (this.EnableAnimation &&this.AnimationStyle =="VistaStyleZoom"); };  this.GetVisibleWindows =function() { var v8f946 =new Array();  for (var v00a51=0; v00a51<this.Windows.length; v00a51++) { var v9f992 =this.Windows[v00a51];  if (v9f992.ClientVisible &&!v9f992.IsClosed) v8f946.push(v9f992); }  return v8f946; };  this.OpenFromFishEye =function(v0b227) { wd83010.mda678(this,v0b227); };}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 vd0d63 =ISXml.GetAttribute(this.XmlNode,"Location"); this.Location.Parse(vd0d63); } }; this.OnAdd =function() { wd83010.mccc27(this); };  this.Initialize =function() { this.Rearrange();  if (this.DesktopManager.ShortcutSettings.Movable) { var v8a774 =new ISInteractiveObject(); var vb6352 =this.GetElement(); var v22a27 =this.DesktopManager;  v8a774.DesktopManager =this.DesktopManager; v8a774.Movable =true; v8a774.DragElement =vb6352; v8a774.FrameElement =vb6352;  v22a27.InteractiveObjects[v22a27.InteractiveObjects.length] =v8a774; this.InteractiveObject =v8a774; this.Registered =true; vb6352.IsInteractiveObject =true; } };   this.GetElement =function() { return document.getElementById("dvSCI_" +this.DesktopManager.Id +"_" +this.Name); };  this.GetTextElement =function() { var vb6352 =this.GetElement(); return vb6352.children[1]; };  this.Rearrange =function() { var veee83 =this.Index; var v8227 =this.DesktopManager; var v1dd61 =v8227.ShortcutSettings; var vb6352 =this.GetElement();  if (!this.Visible ||!vb6352)return;  if (v1dd61.AllowAutoArrange ||this.Location.IsEmpty()) { var vdd984 =v8227.GetAvailableColumn(); var v2c03 =v8227.GetAvailableRow(vdd984); var vd5e55 =5 +(v2c03 *80);  this.RuntimeLocation.X =(vdd984*80)+10; this.RuntimeLocation.Y =vd5e55; } else { this.RuntimeLocation.X =this.Location.X; this.RuntimeLocation.Y =this.Location.Y; }  vb6352.style.left =this.RuntimeLocation.X; vb6352.style.top =this.RuntimeLocation.Y; };  this.Select =function(v04849) { if (this.Visible) { var v4d538 =this.DesktopManager.GetActiveShortcut();  if (v4d538) { var vfa588 =v4d538.GetTextElement(); DynamicStyleEngine.SetToStyle(null,this.DesktopManager.ShortcutStyle,vfa588); }  var vb6352 =this.GetTextElement(); DynamicStyleEngine.SetToActiveStyle(null,this.DesktopManager.ShortcutStyle,vb6352);  this.DesktopManager.ActiveShortcutIndex =this.Index;  if (v04849) v3f962 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutSelected,this.DesktopManager.Id,this);  } };  this.Open =function(v04849) { var v3f962 =true;  if (v04849) v3f962 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutBeforeLaunched,this.DesktopManager.Id,this);  if (v3f962) wd83010.m0c96(this);  ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutAfterLaunched,this.DesktopManager.Id,this);  };  this.SetText =function(v8f949) { var vb6352 =this.GetElement(); if (vb6352) vb6352.children[1].innerHTML =v8f949;  this.Text =v8f949; };  this.Delete =function() { wd83010.mf6e17(this); };  this.Show =function() { var vb6352 =this.GetElement(); if (vb6352) vb6352.style.display =""; };  this.Hide =function() { var vb6352 =this.GetElement(); if (vb6352) vb6352.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(v51077) { if (this[v51077] =="Default") return this.DesktopManager.WindowSettings[v51077]; else return this[v51077]; };  this.GetDefaultSize =function(v51077) { if (this[v51077].IsEmpty()) return this.DesktopManager.WindowSettings[v51077]; else return this[v51077]; };  this.__getter =function(v51077) { switch (v51077) { case "CaptionDisplayMode": case "ImageAlignment": case "ContentMode": case "AllowMinimize": case "AllowMaximize": case "AllowClose": case "AllowResize": case "ControlBox": case "TextAlignment": return this.GetDefault(v51077); break; case "ControlBoxImage": if (this[v51077] =="") return this.DesktopManager.ImagesSettings["ControlBox"]; else return this[v51077]; break; case "Size": case "MinimumSize": case "MaximumSize": return this.GetDefaultSize(v51077); case "BusyText": if (this[v51077] =="") return this.DesktopManager.TextSettings[v51077]; else return this[v51077];  } };  this.OnAdd =function() { wd83010.m93a39(this); };  this.OnUpdate =function(v18f96) { if (!this.Location.IsEmpty()) ISXml.SetAttribute(v18f96,"Location",this.Location.X +", " +this.Location.Y);  if (!this.IsClosed &&!this.Size.IsEmpty()) ISXml.SetAttribute(v18f96,"Size",this.Size.Width +", " +this.Size.Height); };  this.ReInitialize =function() { wd83010.m7f477(this); this.Initialize(true); };  this.Initialize =function(v32e32) { wd83010.m9fd97(this);  if (v32e32) return; var v76b68 =this.DesktopManager; var v5dc30 =this.GetWindowDivElement(); var v53c42 =this.GetCaptionBarTableElement();  var v6ab60 =new ISInteractiveObject();  if (this.Get("AllowResize")=="Yes") v6ab60.Resizable =true;  v6ab60.Window =this; v6ab60.DesktopManager =v76b68; v6ab60.Movable =true; v6ab60.DragElement =v53c42; v6ab60.FrameElement =v5dc30; v6ab60.FrameElement.IsInteractiveObject =true; v6ab60.Registered =true;  v76b68.InteractiveObjects[v76b68.InteractiveObjects.length] =v6ab60; this.InteractiveObject =v6ab60; this.Initialized =true;  };  this.UnregisterAccessKeys =function() { wd83010.mf9720(this); };  this.RegisterAccessKeys =function() { wd83010.m2b182(this); };   this.GetWindowDivElement =function() { return document.getElementById("dvWnd_" +this.DesktopManager.Id +"_" +this.Name); };  this.GetCaptionBarCellElement =function() { var vee987 =this.GetWindowDivElement(); if (vee987) { var v6d523 =vee987.children[0]; return v6d523.rows[0].cells[0]; } return null; };  this.GetControlBoxElement =function() { var v59f3 =this.GetCaptionBarCellElement();  if (this.Get("ControlBox")=="Yes") { var v6d523 =v59f3.children[0]; var v3de74 =(this.DesktopManager.WindowSettings.ControlBoxPosition =="Left")? 0 : 1;  if (this.DesktopManager.WindowSettings.BorderType =="Simple") return v6d523.rows[0].cells[v3de74]; else return v6d523.rows[0].cells[1].children[0].rows[0].cells[v3de74]; }  return null; };  this.GetCaptionBarTableElement =function() { if (this.DesktopManager.WindowSettings.BorderType =="Simple") { return this.GetCaptionBarCellElement().children[0]; } else if (this.DesktopManager.WindowSettings.BorderType =="ComplexImages") { var vc2770 =this.GetCaptionBarCellElement(); if (vc2770) { var v6d523 =vc2770.children[0]; var veeb3 =v6d523.rows[0].cells[1];  return veeb3.children[0]; } return null; } }; this.GetInProgressText =function() { if (this.InProgressText =="") return this.DesktopManager.TextSettings.InProgressText; else return this.InProgressText; };  this.GetContentDivElement =function() { var vee987 =this.GetWindowDivElement(); if (vee987) { var v6d523 =vee987.children[0]; return v6d523.rows[1].cells[0].children[0]; } return null; };  this.GetDesktopManager =function() { return this.DesktopManager; };  this.GetWindowOptionsCellElement =function() { var v43c47 =this.GetCaptionBarTableElement();  if (v43c47) { var v58740 =v43c47.rows[0];  if (this.DesktopManager.WindowSettings.WindowOptionsPosition =="Right") return v58740.cells[v43c47.rows[0].cells.length-1]; else return v58740.cells[0]; } else return null; };  this.GetControlBoxCellElement =function() { if (this.Get("ControlBox")=="No") return null;  var v43c47 =this.GetCaptionBarTableElement();  if (v43c47) { if (this.DesktopManager.WindowSettings.ControlBoxPosition =="Left") return v43c47.rows[0].cells[0]; else return v43c47.rows[0].cells[1].children[0]; } else return null; };  this.GetMaximizeButtonElement =function() { var v3af6 =this.GetWindowOptionsCellElement();  for (var v71a69=0; v71a69<v3af6.children.length; v71a69++) { var vfb054 =v3af6.children[v71a69];  if (IS.GetAttr(vfb054,"type")=="Max") return vfb054; }  return null; }; this.GetCloseButtonElement =function() { var v3af6 =this.GetWindowOptionsCellElement();  for (var v71a69=0; v71a69<v3af6.children.length; v71a69++) { var vfb054 =v3af6.children[v71a69];  if (IS.GetAttr(vfb054,"type")=="Close") return vfb054; }  return null; }; this.GetMinimizeButtonElement =function() { var v3af6 =this.GetWindowOptionsCellElement();  for (var v71a69=0; v71a69<v3af6.children.length; v71a69++) { var vfb054 =v3af6.children[v71a69];  if (IS.GetAttr(vfb054,"type")=="Min") return vfb054; }  return null; };  this.IsActiveWindow =function() { return (this.DesktopManager.ActiveWindowIndex ==this.Index); };  this.GetTaskBarButtonElement =function() { var v89622 =this.DesktopManager;  if (v89622.TaskBarVisible &&v89622.TaskBarSettings.ShowWindows) { if (this.ShowInTaskBar &&!this.IsClosed &&this.Initialized) { var v82c6 =this.DesktopManager.GetTaskBarWindowGroupElement(); if (v82c6) { var v6d523 =v82c6.children[0].children[0]; for (var v71a69=0; v71a69<v6d523.rows[0].cells.length; v71a69++) { if (IS.GetAttr(v6d523.rows[0].cells[v71a69],"name")==this.Name) return v6d523.rows[0].cells[v71a69]; } } } }  return null; };  this.GetTaskBarButtonImageElement =function() { var v71f87 =this.GetTaskBarButtonElement();  if (v71f87) return v71f87.children[0].children[0].children[0];  return null; };  this.GetTaskBarButtonTextElement =function() { var v71f87 =this.GetTaskBarButtonElement(); if (v71f87) return v71f87.children[0].children[0].childNodes[2];  return null;  };  this.GetWindowIFrameElement =function() { var vbc926 =this.GetContentDivElement(); if (!vbc926)return null; var v4aa97 =vbc926.children[0];  if (v4aa97.children[0].tagName =="IFRAME") return v4aa97.children[0]; else return v4aa97.children[1]; };  this.GetContentWindow =function() { var vfb054 =this.GetWindowIFrameElement();  if (vfb054) return vfb054.contentWindow; };  this.MoveTo =function(vde168,va3f13) { wd83010.m78197(this,vde168,va3f13); };  this.MoveToCenterDesktop =function() { var vd3622 =this.DesktopManager.GetDesktopSize(); wd83010.m78197(this,(vd3622.Width-this.Size.Width)/2,(vd3622.Height-this.Size.Height)/2); };  this.MoveToCenterDesktopAbsolute =function() { var vd3622 =this.DesktopManager.GetDesktopClientSize(); wd83010.m78197(this,(vd3622.Width-this.Size.Width)/2,(vd3622.Height-this.Size.Height)/2); };  this.ResizeTo =function(v6f588,v7e322) { wd83010.mbd519(this,v6f588,v7e322); };  this.Minimize =function(v33c43,v5011) { var vb8945 =true;  if (v33c43) { vb8945 =wd83010.m5c991(this.DesktopManager);  if (vb8945) vb8945 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowMinimized,this.DesktopManager.Id,this); }  if (vb8945) wd83010.m6af93(this,v5011);  };  this.Maximize =function(v33c43,v5011) { var vb8945 =true; if (v33c43) vb8945 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowMaximized,this.DesktopManager.Id,this);  if (vb8945) wd83010.m19f44(this,v5011); };  this.Restore =function(v33c43,v5011) { var vb8945 =true; if (v33c43) vb8945 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowRestored,this.DesktopManager.Id,this);  if (vb8945) wd83010.m5f693(this,v5011); };  this.Close =function(v33c43) { var vb8945 =true; if (v33c43) { vb8945 =wd83010.m5c991(this.DesktopManager);  if (vb8945) vb8945 =ISEvent.Raise(this.OnBeforeClosed,this); }  if (vb8945) { if (v33c43) vb8945 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowBeforeClosed,this.DesktopManager.Id,this); }  if (vb8945) { wd83010.mdf06(this); ISEvent.Raise(this.OnAfterClosed,this);  if (v33c43) ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowAfterClosed,this.DesktopManager.Id,this);  wd83010.m46c82(this); } };  this.Activate =function(v49218) {  if (!this.IsActiveWindow()) { wd83010.md7c96(this.DesktopManager); this.BringToFront();  wd83010.mf8815(this,v49218); } };  this.ShowAndActivate =function() { this.Show(null,null,null,true); };  this.Show =function(vca054,vacc59,vfbb31,v63589) { var vdc758 =false;  if (this.CreatedAtRuntime) { if (vca054 &&this.DesktopManager.EnableAnimation &&this.DesktopManager.AnimationStyle =="ShrinkExpand") { var v8ad39 =new ISAnimatedObject(); var vee987 =this; var v76595 =new UnitSize(); var v4d316 =new OffsetLocation();  v4d316.X =ISPosLib.getLeft(vca054); v4d316.Y =ISPosLib.getTop(vca054); v76595.Width =ISPosLib.getWidth(vca054); v76595.Height =ISPosLib.getHeight(vca054);  if (vacc59) v8ad39.BorderColor =vacc59;  v8ad39.Type ="ShrinkExpand"; v8ad39.AnimateLocation =true; v8ad39.AnimateSize =true; v8ad39.Element =this.GetWindowDivElement(); v8ad39.CurrentSize =v76595; v8ad39.CurrentLocation =v4d316; v8ad39.TargetSize =this.Size; v8ad39.TargetLocation =this.Location; v8ad39.OnCompleted =function(){vee987.Show();};  v8ad39.Play(); vdc758 =true; } else { if (this.ShowInTaskBar) wd83010.m7f438(this); if ((vfbb31 ==true ||!this.DesktopManager.IsVistaAnimation())&&this.ContentURL !="") this.LoadContent();  this.Activate(); } } else { if (!this.ClientVisible &&this.DesktopManager.TaskBarVisible &&this.ShowInTaskBar) wd83010.m7f438(this); if ((vfbb31 ==true ||!this.DesktopManager.IsVistaAnimation())&&this.ContentURL !="" &&this.Get("ContentMode")=="UseIFrame"  &&!this.IFrameContentLoaded) this.LoadContent(); }  var v5dc30 =this.GetWindowDivElement(); var v71f87 =this.GetTaskBarButtonElement(); var vc2315 =false; if (!vdc758 &&!vfbb31) { if (this.DesktopManager.IsVistaAnimation()) { var v6cb31 =this.GetContentDivElement().children[0]; v6cb31.style.display ="none";  var v8ad39 =new ISAnimatedObject(); var vee987 =this; v8ad39.Type ="ZoomIn"; v8ad39.AnimateLocation =false; v8ad39.AnimateSize =false; v8ad39.Element =v5dc30; v8ad39.MaxStep =7; v8ad39.OnCompleted =function(){wd83010.m5de99(vee987,v63589);};  v8ad39.Play(); vdc758 =true; } else { vc2315 =true; } }  if (!vc2315 &&vfbb31) vc2315 =true;  if (vc2315) { v5dc30.style.display ="";  if (IS.ie &&IS.GetIEVersion <7) this.EnableDropShadow =false;  if (this.EnableDropShadow) { if (this.DropShadow ==null) { this.DropShadow =new ISDropShadow();  if (this.DesktopManager.UseWebResourcesForClient) this.DropShadow.ImageFolder =IS.GetAppDomainPath()+"ISRes.axd?D/";  this.DropShadow.AttachTo(v5dc30); }  this.DropShadow.UpdatePosition(); this.DropShadow.Show(); } }  if (v71f87) v71f87.style.display ="";  if (!vdc758 &&v63589) this.Activate();  this.ClientVisible =true; };  this.Hide =function() { var v5dc30 =this.GetWindowDivElement(); var v71f87 =this.GetTaskBarButtonElement(); if (typeof(event)!="undefined" &&event !=null &&this.DesktopManager.IsVistaAnimation()&&this.WindowState !="Minimized") { if (this.Get("ContentMode")=="UseIFrame") { var v7af2 =this.GetWindowIFrameElement(); v7af2.style.display ="none"; }  var v8ad39 =new ISAnimatedObject(); var vee987 =this; v8ad39.Type ="ZoomOut"; v8ad39.AnimateLocation =false; v8ad39.AnimateSize =false; v8ad39.Element =v5dc30; v8ad39.OnCompleted =function(){wd83010.m73461(vee987);};  v8ad39.Play(); } else { v5dc30.style.display ="none";  if (this.EnableDropShadow &&this.DropShadow !=null) this.DropShadow.Hide(); }  if (v71f87) v71f87.style.display ="none";  this.ClientVisible =false; };  this.BringToFront =function() { var v5dc30 =this.GetWindowDivElement();  if (v5dc30) { v5dc30.style.zIndex =102; } };  this.SendToBack =function() { var v5dc30 =this.GetWindowDivElement();  if (v5dc30) { v5dc30.style.zIndex =100 -this.Collection.length; } };  this.SetCaption =function(vc4c12) { var ve7436 =this.GetCaptionBarTableElement(); var vbda0 =this.GetTaskBarButtonTextElement(); if (ve7436) { var v94f96 =1; if (this.Get("ControlBox")=="No")v94f96 =0; var v59f3 =ve7436.rows[0].cells[v94f96]; if (this.DesktopManager.WindowSettings.ControlBoxPosition =="Left") v59f3.innerHTML =vc4c12; else v59f3.childNodes[1].nodeValue =" " +vc4c12; }  if (vbda0) vbda0.nodeValue =" " +vc4c12; };  this.SetControlBoxImage =function(v39f48) { var v87413 =this.GetControlBoxElement();  if (v87413) v87413.children[0].src =v39f48; };  this.SetContentURL =function(v75284) { if (this.Get("ContentMode")=="UseIFrame") { this.ContentURL =v75284; this.IFrameLoaded =false; this.IFrameContentLoaded =false;  if (this.DesktopManager.WindowSettings.IFrameShowLoader &&IS.ie) { var v7af2 =this.GetWindowIFrameElement(); v7af2.style.display ="none"; } this.LoadContent(); } };  this.LoadContent =function() { if (this.Get("ContentMode")=="UseIFrame") { wd83010.m85711(this); } };  this.SaveLocationAndSize =function() { var v77a18 =new OffsetLocation(); var vf6977 =new UnitSize(); var v5dc30 =this.GetWindowDivElement();  v77a18.X =v5dc30.style.posLeft; v77a18.Y =v5dc30.style.posTop; vf6977.Width =v5dc30.offsetWidth; vf6977.Height =v5dc30.offsetHeight;  this.Location =v77a18; this.Size =vf6977; };  this.IsTargetSizeValid =function(v6f588,v7e322) { if (this.MinimumSize.IsEmpty()&&this.MaximumSize.IsEmpty()) return true; if (!this.MinimumSize.IsEmpty()) { if (v6f588 <this.MinimumSize.Width ||v7e322 <this.MinimumSize.Height) return false; }  if (!this.MaximumSize.IsEmpty()) { if (v6f588 >this.MaximumSize.Width ||v7e322 >this.MaximumSize.Height) return false; }  return true; };  this.GetPreferredSize =function(v6f588,v7e322) {  if (!v6f588 &&!v7e322) { v6f588 =this.Size.Width; v7e322 =this.Size.Height; }  var vbed46 =new UnitSize(); vbed46.Width =v6f588; vbed46.Height =v7e322;  if (!this.MinimumSize.IsEmpty()) { if (v6f588 <this.MinimumSize.Width) vbed46.Width =this.MinimumSize.Width;  if (v7e322 <this.MinimumSize.Height) vbed46.Height =this.MinimumSize.Height; }  if (!this.MaximumSize.IsEmpty()) { if (v6f588 >this.MaximumSize.Width) vbed46.Width =this.MaximumSize.Width;  if (v7e322 >this.MaximumSize.Height) vbed46.Height =this.MaximumSize.Height; }  return vbed46; };  this.GetMinimizedLocation =function() { var vb9425 =this.Collection; var v94f96 =-1; var v14746 =new OffsetLocation();  for (var v71a69=0; v71a69<vb9425.length; v71a69++) { var v4fd19 =vb9425[v71a69];  if (v4fd19.WindowState =="Minimized" &&v4fd19.GetTaskBarButtonElement()==null) { v94f96++; } }  v94f96++;  v14746.X =5+(v94f96*200); v14746.Y =this.DesktopManager.GetDesktopSize().Height -35;  return v14746; };  this.GetMinimizedSize =function() { var vf6977 =new UnitSize(); vf6977.Width =150; vf6977.Height =25;  return vf6977; };  this.GetNextWindow =function() { var vb9425 =this.DesktopManager.GetWindowListByZOrder(); var v84517 =null;  for (var v71a69=0; v71a69<vb9425.length; v71a69++) { if (vb9425[v71a69] ==this) { v84517 =vb9425[v71a69+1]; } }  if (!v84517 &&vb9425.length >0) v84517 =vb9425[0];  return v84517; };  this.GetNextWindowExact =function() { var va0576 =ISGetActiveWindow(); var vd572 =this.DesktopManager.Windows[this.Index+1]; if (!vd572) vd572 =this.DesktopManager.Windows[0]; if (vd572 &&(!vd572.ClientVisible ||vd572.IsClosed)) vd572 =vd572.GetNextWindowExact();  return vd572; };  this.GetPreviousWindow =function() { var vb9425 =this.DesktopManager.GetWindowListByZOrder(); var v90066 =null;  for (var v71a69=0; v71a69<vb9425.length; v71a69++) { if (vb9425[v71a69] ==this) { v90066 =vb9425[v71a69-1]; } }  if (!v90066 &&vb9425.length >0) v90066 =vb9425[vb9425.length-1];  return v90066; };  this.GetPreviousWindowExact =function() { var va0576 =ISGetActiveWindow(); var vd572 =this.DesktopManager.Windows[this.Index-1];  if (!vd572) vd572 =this.DesktopManager.Windows[this.DesktopManager.Windows.length-1]; if (vd572 &&(!vd572.ClientVisible ||vd572.IsClosed)) vd572 =vd572.GetPreviousWindowExact();  return vd572; };  this.InitializeLayout =function(v1c587,v1ad77) { wd83010.m3ad8(this,v1c587,v1ad77); };  this.SetInlineContent =function(v83559) { var vbc926 =this.GetContentDivElement(); vbc926.innerHTML =v83559; };  this.GetHourGlassDiv =function() { var v4aa97 =this.GetWindowDivElement();  if (v4aa97) { var vc7823 =v4aa97.children[v4aa97.children.length-1]; if (vc7823 &&vc7823.tagName =="DIV" &&vc7823.type =="BusyLayer") return vc7823; }  return null; };  this.SetBusy =function() { var v4aa97 =this.GetWindowDivElement();  if (v4aa97) { var vac890 =this.GetHourGlassDiv();  if (!vac890) { var v17659 =0; if (this.DesktopManager.WindowSettings.DimWindowWhenBusy) v17659 =50;  vac890 =document.createElement("DIV"); vac890.type ="BusyLayer"; vac890.style.cssText ="position:absolute; top:0px; left:0px; width:100%; height:100%; cursor:wait; z-index: 1;"; vac890.style.width =v4aa97.offsetWidth;  if (IS.ie) { vac890.style.filter ="Alpha(Opacity=" +v17659 +")"; vac890.style.backgroundColor ="white"; } vac890.title =this.Get("BusyText"); v4aa97.insertAdjacentElement("beforeEnd",vac890); } else { vac890.style.cursor ="wait"; vac890.style.display =""; }  this.InteractiveObject.OriginalResizable =this.InteractiveObject.Resizable; this.InteractiveObject.Resizable =false; this.IsBusy =true; } };  this.SetIdle =function() { if (this.IsBusy) { var vac890 =this.GetHourGlassDiv(); if (vac890) { vac890.style.cursor ="default"; vac890.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(vcb279){ var v78979 =wd83010.m66813(vcb279); v78979.OnInitialize();}function OnWebDMRSC(v97898,vf6235){ var ve0f14 =v97898.name; var v7aa95 =ISGetObject(vf6235);  if (v7aa95) { var vf7d6 =v7aa95.GetWindow(ve0f14); wd83010.m4dd4(vf7d6); } else setTimeout(function(){OnWebDMRSC(v97898,vf6235);},10);}var wd83010 ={ Initialized: false, ResourcesList: null,  m66813:function(v4f316) { var v64116 =new WebDesktopManager(v4f316); wd83010.madf99(v64116); wd83010.m29227(v64116); wd83010.mdce82(v64116); wd83010.mec860(v64116); wd83010.md777(v64116); v64116.IsInit =true; return v64116; },  md777:function(v6b343) { if (v6b343.WindowSettings.BorderType =="ComplexImages") { var v2aa88 =new Array(); var v64178 =v6b343.ImagesSettings; var v8e660 =0;  for(var p in v64178) { var v87254 =v64178[p];  if (typeof(v87254)=="string" &&v87254 !="" &&v87254 !=v64178._Type) { var v3e093 =v6b343.ResolveImagePath(v87254); v2aa88[v8e660] =new Image(); v2aa88[v8e660].src =v3e093; v8e660++; } } } },  madf99:function(v7c663) { if (v7c663 ==null) return;  if (!v7c663.IsInit) { var v2b743 =null;  try { v2b743 =ISXml.GetNode(v7c663.XmlDt,"//WebDesktopManager"); } catch(e) {} if (v2b743 ==null) v2b743 =v7c663.XmlDt.documentElement; if (v2b743!=null) { IS.SetPropertiesRecursive(v7c663,v2b743); v7c663.TaskBarButtonStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v7c663.XmlDt,"//TaskBarButtonStyle")); v7c663.ShortcutStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v7c663.XmlDt,"//ShortcutStyle"));  var v0fc57 =["CaptionButtonStyle","CaptionStyle","WindowStyle","CommandButtonStyle"]; var vb9645 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"];  DynamicStyleEngine.AssignFromArray(v7c663.WindowSettings,v7c663.WindowSettings.XmlNode,v0fc57);  if (v7c663.EnableContextMenu) { DynamicStyleEngine.AssignFromArray(v7c663.MenuStyles.Application,v7c663.MenuStyles.Application.XmlNode,vb9645); DynamicStyleEngine.AssignFromArray(v7c663.MenuStyles.System,v7c663.MenuStyles.System.XmlNode,vb9645); } } } },  m7f477:function(v54038) { var v55f82 =v54038.GetWindowDivElement(); if (!v55f82)return; var v8f076 =v54038.GetWindowOptionsCellElement();  if (v55f82) Listener.Unload(v55f82);  if (v8f076) Listener.Unload(v8f076);  if (v54038.Get("ContentMode")=="UseInlineContent") { var v2a579 =v54038.GetContentDivElement(); if (v2a579) Listener.Unload(v2a579); }  var ve5381 =v54038.GetCaptionBarTableElement(); if (ve5381) Listener.Unload(ve5381);  var vd5314 =v54038.GetControlBoxCellElement(); if (vd5314) Listener.Unload(vd5314);  var ve2878 =v54038.GetTaskBarButtonElement(); if (ve2878) Listener.Unload(ve2878); },  m3b265:function(vc1093) { var vbb138 =vc1093.FrameObj; var vb9355 =vc1093.GetDesktopElement();  Listener.Unload(vbb138); Listener.Unload(vb9355); Listener.Unload(document.body);  var v83c64 =vc1093.GetTaskBarWindowGroupElement(); if (v83c64) Listener.Unload(v83c64);  for (var va3f84=0; va3f84<vc1093.Windows.length; va3f84++) { var v9a336 =vc1093.Windows[va3f84]; wd83010.m7f477(v9a336); } },  m9fd97:function(v13d32) { var v21777 =v13d32.DesktopManager; var vfdf75 =v13d32.GetWindowDivElement(); var v81898 =v13d32.GetWindowOptionsCellElement();  if (vfdf75) { Listener.Add(vfdf75,"onmousedown",wd83010.me7e14,v13d32); Listener.Add(vfdf75,"onmousemove",wd83010.m1b760,v13d32); Listener.Add(v81898,"onmousedown",wd83010.m24e16,v13d32); Listener.Add(v81898,"onmouseup",wd83010.m24e16,v13d32); Listener.Add(v81898,"onmouseover",wd83010.m24e16,v13d32); Listener.Add(v81898,"onmouseout",wd83010.m24e16,v13d32);  if (v13d32.Get("ContentMode")=="UseInlineContent") { var v74d8 =v13d32.GetContentDivElement(); Listener.Add(v74d8,"onselectstart",function(){wd83010.m5f352(v21777); }); Listener.Add(v74d8,"onscroll",function(){wd83010.mf0a1(v21777); }); }  var ve7436 =v13d32.GetCaptionBarTableElement(); if (ve7436) { Listener.Add(ve7436,"ondblclick",function(){wd83010.mde783(v21777); }); Listener.Add(ve7436,"oncontextmenu",function(){return wd83010.md4183(v21777);}); }  var vd4e3 =v13d32.GetControlBoxCellElement(); if (vd4e3) Listener.Add(vd4e3,"onclick",function(){wd83010.m10618(v21777); }); } },  m29227:function(v7b724) { var v49468 =v7b724.FrameObj; var v05223 =v7b724.GetDesktopElement();  Listener.Add(v49468,"onresize",function(){wd83010.m6e054(v7b724);}); Listener.Add(v49468,"onselectstart",function(){wd83010.m52842(v7b724); }); Listener.Add(v49468,"ondragstart",function(){event.cancelBubble =true; return false; }); Listener.Add(v05223,"onmousedown",function(){wd83010.me3a77(v7b724);}); Listener.Add(v05223,"ondblclick",function(){wd83010.me3a77(v7b724);}); Listener.Add(v05223,"onkeydown",function(){wd83010.mc9694(v7b724);}); Listener.Add(v05223,"oncontextmenu",function(){return wd83010.ma823(v7b724);});  var ve672 =v7b724.GetTaskBarWindowGroupElement(); if (ve672) { Listener.Add(ve672,"onmousedown",function(){wd83010.m0f996(v7b724); }); Listener.Add(ve672,"onmouseup",function(){wd83010.m0f996(v7b724); }); Listener.Add(ve672,"onmouseover",function(){wd83010.m0f996(v7b724); }); Listener.Add(ve672,"onmouseout",function(){wd83010.m0f996(v7b724); }); Listener.Add(ve672,"oncontextmenu",function(){return wd83010.m0f996(v7b724); }); }  for (var v2cf52=0; v2cf52<v7b724.Windows.length; v2cf52++) { wd83010.m9fd97(v7b724.Windows[v2cf52]); }  if (IS.moz) { window.attachEvent("onload",function(){wd83010.m8fd35(v7b724); }); window.attachEvent("onresize",function(){wd83010.m6e054(v7b724); }); } },  mdce82:function(v16a79) { if (IS.moz) { var vc737 =v16a79.FrameObj; vc737.tabindex =0; vc737.style.MozUserFocus ="normal";  for (var vfbd42=0; vfbd42<v16a79.Windows.length; vfbd42++) { var v3a835 =v16a79.Windows[vfbd42]; var vcb076 =v3a835.GetWindowDivElement();  vcb076.style.overflow ="hidden";  } } },  m40f16:function(v57538) { var v4bb63 =false; var va7221 =null;  if (v57538.WindowArrangement =="Cascaded") v57538.CascadeWindows(true); else if (v57538.WindowArrangement =="TiledHorizontally") v57538.TileWindowsHorizontally(true); else if (v57538.WindowArrangement =="TiledVertically") v57538.TileWindowsVertically(true);  for (var vcf221=0; vcf221<v57538.Windows.length; vcf221++) { var va3079 =v57538.Windows[vcf221];  if (va3079.ClientVisible) { if (va3079.WindowState =="Normal") va3079.Show(); else if (va3079.WindowState =="Maximized") { va3079.Show(); va3079.WindowState ="Normal"; va3079.Maximize(null,false); } else { va3079.Hide(); if (vcf221 ==v57538.ActiveWindowIndex) { if (v57538.Windows[vcf221+1] !=null &&!v4bb63) { var ve811 =v57538.Windows[vcf221+1]; if (ve811.ClientVisible &&ve811.WindowState !="Minimized") { v57538.ActiveWindowIndex =vcf221; v4bb63 =true; va7221 =ve811; } } } }  va3079.StartupPositionInitialized =true;  } else va3079.Hide();  if (va3079.Get("ContentMode")=="UseIFrame") { var vc8634 =va3079.GetContentDivElement();  vc8634.style.overflow ="hidden"; vc8634.style.overflowY ="hidden"; vc8634.style.overflowX ="hidden"; }  va3079.Initialized =true; } if (v57538.ActiveWindowIndex >-1 &&v57538.Windows.length >v57538.ActiveWindowIndex &&v57538.Windows[v57538.ActiveWindowIndex].ClientVisible &&!va7221) v57538.Windows[v57538.ActiveWindowIndex].Activate(); else { if (va7221) va7221.Activate(); else v57538.ActiveWindowIndex =-1; }  wd83010.m9bd73(v57538); wd83010.m0e836(v57538); wd83010.m61559(v57538); },  mbf131:function(v69129) { for (var v4bc73=0; v4bc73<v69129.Windows.length; v4bc73++) { var v96180 =v69129.Windows[v4bc73]; var v34991 =new ISInteractiveObject();  if (v96180.Get("AllowResize")=="Yes") v34991.Resizable =true;  v34991.Window =v96180; v34991.DesktopManager =v69129; v34991.Movable =true; v34991.DragElement =v96180.GetCaptionBarTableElement(); v34991.FrameElement =v96180.GetWindowDivElement();  v69129.InteractiveObjects[v69129.InteractiveObjects.length] =v34991; v96180.InteractiveObject =v34991; }  if (v69129.ShortcutSettings.Movable) { for (var v4bc73=0; v4bc73<v69129.ShortcutIcons.length; v4bc73++) { var v74445 =v69129.ShortcutIcons[v4bc73]; var v34991 =new ISInteractiveObject();  v34991.DesktopManager =v69129; v34991.Movable =true; v34991.DragElement =v74445.GetElement(); v34991.FrameElement =v74445.GetElement();  v69129.InteractiveObjects[v69129.InteractiveObjects.length] =v34991; v74445.InteractiveObject =v34991; } } },  mb5a61:function(vc9548,v1b468) { return vc9548 -v1b468; },  m9bd73:function(ve704) { var vf4384 =ve704.GetTaskBarLeftTemplateElement(); var vb3438 =ve704.GetTaskBarRightTemplateElement();  if (vf4384) { vf4384.style.width =vf4384.scrollWidth; if (IS.moz &&vf4384.scrollWidth ==0 &&vf4384.children.length >0) vf4384.style.width =vf4384.children[0].offsetWidth; }  if (vb3438) { vb3438.style.width =vb3438.scrollWidth; if (IS.moz &&vb3438.scrollWidth ==0 &&vb3438.children.length >0) vb3438.style.width =vb3438.children[0].offsetWidth; } },  m52842:function(vb3c23) { var v9984 =event.srcElement; var v2ea47 =v9984.tagName; var v11b28 =true;  switch (v2ea47) { case "INPUT": case "SELECT": case "TEXTAREA": { v11b28 =false; } } if (v11b28) { event.cancelBubble =true; event.returnValue =false; } },  mf0a1:function(vbe423) { if (IS.ie) { if (typeof(wd3e491)=="object") { wd3e491.IsMouseDown =false; } } },  m5f352:function(vea423) { if (typeof(wd3e491)=="object") { if (wd3e491.IsMouseDown &&wd3e491.LastValidObject) return true; }  event.cancelBubble =true; return true; },  mde783:function(v10979) { var v94223 =event.srcElement; var v25a57 =wd83010.m31e48(v10979,v94223); if (v94223 &&v94223.tagName =="INPUT") return;  if (v25a57) { var v70695 =v25a57.GetControlBoxElement(); if (v70695 &&v70695.contains(v94223)) { if (v10979.WindowSettings.ControlBoxPosition =="Left") { if (v25a57.Get("AllowClose")=="Yes") { v25a57.Close(); return; } } else { if (v70695.children[0] ==v94223 &&v25a57.Get("AllowClose")=="Yes") { v25a57.Close(); return; } } }  if (v25a57.WindowState =="Normal" &&v25a57.Get("AllowMaximize")=="Yes") { v25a57.Maximize(true,true); } else if (v25a57.WindowState =="Maximized" ||v25a57.WindowState =="Minimized") { v25a57.Restore(true,true); } } },  mc9694:function(v4a220,v15e62,v9d699,v28b92,vf3a98,v35a27) { var vcc515 =event; if (v15e62) { vcc515 =new Object(); vcc515.srcElement =v15e62; vcc515.keyCode =v9d699; vcc515.ctrlKey =v28b92; vcc515.altKey =vf3a98; vcc515.shiftKey =v35a27; }  var v6255 =vcc515.srcElement; var v9d699 =vcc515.keyCode; var vbfd60 =false;  if (!v4a220.EnableKeyboardNavigation) return false;   switch (v9d699) { case 49: { if (vcc515.ctrlKey) { var vc4133 =true; var v4f287 =null; var v9f559 =v4a220.GetActiveWindow();  if (vcc515.shiftKey) vc4133 =false; if (v9f559) { if (vc4133) v4f287 =v9f559.GetNextWindowExact(); else v4f287 =v9f559.GetPreviousWindowExact(); } else { if (v4a220.Windows.length >0) v4f287 =v4a220.Windows[0]; }  if (v4f287) { v4f287.Activate(); vbfd60 =true; } } break; } case 67: { if (vcc515.ctrlKey &&vcc515.altKey) { var v9f559 =v4a220.GetActiveWindow();  if (v9f559 &&v9f559.Get("AllowClose")=="Yes") { v9f559.Close(); vbfd60 =true; } } break; } case ISKeyboardKey.LEFT: case ISKeyboardKey.RIGHT: case ISKeyboardKey.DOWN: case ISKeyboardKey.UP: { var v11e13 =wd83010.mac776(v6255); if (v11e13) { var v80e4 =wd83010.m7870(v11e13.id,v4a220.Id); var v02871 =v4a220.ShortcutIcons.GetNamedItem(v80e4); var v64046 =null;  if (IS.moz) v02871 =v4a220.ShortcutIcons[v4a220.ActiveShortcutIndex];  if (v9d699 ==ISKeyboardKey.LEFT ||v9d699 ==ISKeyboardKey.UP) { v64046 =v4a220.ShortcutIcons[v02871.Index-1]; if (!v64046 &&v4a220.ShortcutIcons.length >0) v64046 =v4a220.ShortcutIcons[0]; } else if (v9d699 ==ISKeyboardKey.RIGHT ||v9d699 ==ISKeyboardKey.DOWN) { v64046 =v4a220.ShortcutIcons[v02871.Index+1]; if (!v64046 &&v4a220.ShortcutIcons.length >0) v64046 =v4a220.ShortcutIcons[v4a220.ShortcutIcons.length-1]; }  if (v64046 &&v64046.Visible) { v64046.Select(true); if (IS.ie) v64046.GetElement().focus(); vbfd60 =true; } } break; } case ISKeyboardKey.ENTER: { var v11e13 =wd83010.mac776(v6255); if (v11e13) { var v80e4 =wd83010.m7870(v11e13.id,v4a220.Id); var v02871 =v4a220.ShortcutIcons.GetNamedItem(v80e4); var v64046 =null;  if (IS.moz) v02871 =v4a220.ShortcutIcons[v4a220.ActiveShortcutIndex];  if (v02871 &&v02871.Visible &&v02871.Enabled) v02871.Open(true); }  vbfd60 =true; break; } }  if (vbfd60) { try { vcc515.keyCode =0; } catch(e){} vcc515.cancelBubble =true; vcc515.returnValue =false; } },  mac776:function(v9de59) { if (v9de59.tagName =="DIV") { if (v9de59.id.indexOf("dvSCI")>-1) return v9de59; }  while (v9de59.parentElement !=null) { v9de59 =v9de59.parentElement; if (v9de59.tagName =="DIV" &&v9de59.id.indexOf("dvSCI")>-1) { return v9de59; } }  return null; },  me3a77:function(vca686) { var v38195 =event.type; var va1e50 =event.srcElement; var v1b040; var vc4d57 ="";  if (va1e50.tagName =="DIV") { if (va1e50.id.indexOf("dvDesktop")>-1) { v1b040 =va1e50; vc4d57 ="Desktop"; } else if (va1e50.id.indexOf("dvSCI")>-1) { v1b040 =va1e50; vc4d57 ="Shortcut"; } }  if (!v1b040) { while (va1e50.parentElement !=null) { va1e50 =va1e50.parentElement; if (va1e50.tagName =="DIV" &&va1e50.id.indexOf("dvSCI")>-1) { v1b040 =va1e50; vc4d57 ="Shortcut"; break; } } }  if (v1b040) { if (v38195 =="mousedown") { if (event.button ==ISEvent.LEFT) { if (vc4d57 =="Desktop") { var v24719 =vca686.GetActiveShortcut();  if (v24719) DynamicStyleEngine.SetToStyle(null,vca686.ShortcutStyle,v24719.GetTextElement());  vca686.ActiveShortcutIndex =-1; } else { var v3ea44 =wd83010.m7870(v1b040.id,vca686.Id); var vada49 =vca686.ShortcutIcons.GetNamedItem(v3ea44); if (vada49) vada49.Select(true); } } } else if (v38195 =="dblclick") { if (vc4d57 =="Shortcut") { var v3ea44 =wd83010.m7870(v1b040.id,vca686.Id); var vada49 =vca686.ShortcutIcons.GetNamedItem(v3ea44); if (vada49) vada49.Open(true); }  if (IS.moz) { event.cancelBubble =true; event.returnValue =false; } } } },  m24e16:function() { var v60a70 =this; var v49339 =event.srcElement; if (!v60a70)return;  var v3e193 =v60a70.GetMinimizeButtonElement(); var vb2922 =v60a70.GetMaximizeButtonElement(); var v60e41 =v60a70.GetCloseButtonElement(); var v55a60 =[v3e193,vb2922,v60e41];  for (var btnEl in v55a60) { btnEl =v55a60[btnEl]; if (btnEl) { if (btnEl ==v49339 ||btnEl.contains(v49339)) { wd83010.m61546(v60a70,event.type,btnEl); return; } } } },  m61546:function(v1ea36,v23676,vecb48) { var va2a61 =v1ea36.DesktopManager; var v61d88 =va2a61.WindowSettings; var v56096 =v61d88.BorderType; var vf2767 =va2a61.ImagesSettings;  if (v23676 =="mouseover") { if (v56096 =="Simple") DynamicStyleEngine.SetToOverStyle(null,v61d88.CaptionButtonStyle,vecb48); else if (v56096 =="ComplexImages") { var v88585 =vecb48.children[0]; var v76c66 ="";  if (IS.GetAttr(vecb48,"type")=="Min") v76c66 =va2a61.ResolveImagePath(vf2767.MinimizeOver); else if (IS.GetAttr(vecb48,"type")=="Max") { if (v1ea36.WindowState =="Maximized") v76c66 =va2a61.ResolveImagePath(vf2767.RestoreOver); else v76c66 =va2a61.ResolveImagePath(vf2767.MaximizeOver); } else v76c66 =va2a61.ResolveImagePath(vf2767.CloseOver);  v88585.src =v76c66; } } else if (v23676 =="mouseout" ||v23676 =="mouseup") { if (v56096 =="Simple") DynamicStyleEngine.SetToStyle(null,v61d88.CaptionButtonStyle,vecb48); else if (v56096 =="ComplexImages") { var v88585 =vecb48.children[0]; var v76c66 ="";  if (v1ea36.IsActiveWindow()||(v1ea36.IsDialogBox)) { if (IS.GetAttr(vecb48,"type")=="Min") v76c66 =va2a61.ResolveImagePath(vf2767.MinimizeActive); else if (IS.GetAttr(vecb48,"type")=="Max") { if (v1ea36.WindowState =="Maximized") v76c66 =va2a61.ResolveImagePath(vf2767.RestoreActive); else v76c66 =va2a61.ResolveImagePath(vf2767.MaximizeActive); } else v76c66 =va2a61.ResolveImagePath(vf2767.CloseActive); } else { if (IS.GetAttr(vecb48,"type")=="Min") v76c66 =va2a61.ResolveImagePath(vf2767.MinimizeInactive); else if (IS.GetAttr(vecb48,"type")=="Max") { if (v1ea36.WindowState =="Maximized") v76c66 =va2a61.ResolveImagePath(vf2767.RestoreInactive); else v76c66 =va2a61.ResolveImagePath(vf2767.MaximizeInactive); } else v76c66 =va2a61.ResolveImagePath(vf2767.CloseInactive); }  v88585.src =v76c66; } } else if (v23676 =="mousedown") { if (v56096 =="Simple") DynamicStyleEngine.SetToActiveStyle(null,v61d88.CaptionButtonStyle,vecb48); else if (v56096 =="ComplexImages") { var v88585 =vecb48.children[0]; var v76c66 ="";  if (IS.GetAttr(vecb48,"type")=="Min") v76c66 =va2a61.ResolveImagePath(vf2767.MinimizeDown); else if (IS.GetAttr(vecb48,"type")=="Max") { if (v1ea36.WindowState =="Maximized") v76c66 =va2a61.ResolveImagePath(vf2767.RestoreDown); else v76c66 =va2a61.ResolveImagePath(vf2767.MaximizeDown); } else v76c66 =va2a61.ResolveImagePath(vf2767.CloseDown);  v88585.src =v76c66; } }  if (v23676 =="mouseup") { var v4b261 =IS.GetAttr(vecb48,"type");  if (v4b261 =="Min") { if (v1ea36.WindowState !="Minimized") v1ea36.Minimize(true,true); else v1ea36.Restore(true,true); } else if (v4b261 =="Max") { if (v1ea36.WindowState !="Maximized") v1ea36.Maximize(true,true); else v1ea36.Restore(true,true); } else if (v4b261 =="Close") { if (!vecb48.disabled) v1ea36.Close(true); } if (typeof(wd3e491)=="object") wd3e491.IsMouseDown =false; }  if (IS.moz) { event.cancelBubble =true; event.returnValue =false; } },  m0f996:function(v40466) {  var v65d91 =event.srcElement; var v1ad55 =wd83010.m1f216(v65d91);   if (v1ad55 &&IS.GetAttr(v1ad55,"name")!="") { var vae633 =event.type; var v2ed35 =IS.GetAttr(v1ad55,"name"); var va3829 =v40466.GetWindow(v2ed35);  if (va3829 &&va3829.DesktopManager) { if (va3829.DesktopManager.TaskBarLocked) return; }  if (vae633 =="mouseover") { if (!va3829.IsActiveWindow()) { var vcac89 =IS.GetCssObject(null,v40466.TaskBarButtonStyle.Over); if (vcac89) { DynamicStyleEngine.SetToOverStyle(null,v40466.TaskBarButtonStyle,v1ad55); } } var v99068 =v1ad55.children[0]; if (v99068.scrollWidth >v99068.offsetWidth) v1ad55.title =v99068.innerText; else v1ad55.title ="";  } else if (vae633 =="mouseout") { if (!va3829.IsActiveWindow()) { DynamicStyleEngine.SetToStyle(null,v40466.TaskBarButtonStyle,v1ad55); } } else if (vae633 =="mousedown") { if (!va3829.IsActiveWindow()) { DynamicStyleEngine.SetToActiveStyle(null,v40466.TaskBarButtonStyle,v1ad55); } } else if (vae633 =="mouseup") { if (event.button ==ISEvent.LEFT) { if (va3829.IsActiveWindow()) { va3829.Minimize(true,true); } else { wd83010.m42623(v40466,va3829); } } } else if (vae633 =="contextmenu") { event.cancelBubble =true; event.returnValue =false; wd83010.mbcc95(va3829); return false; } } },  m6e054:function(v22d50) {  wd83010.m34170(v22d50); wd83010.m0e836(v22d50); wd83010.m61559(v22d50); wd83010.m0bd13(v22d50);  v22d50.CachedDesktopSize =null; },  m8fd35:function(vf6186) { if (IS.moz) { for (var v17850=0; v17850<vf6186.Windows.length; v17850++) { var vf6384 =vf6186.Windows[v17850];  if (vf6384.Get("ContentMode")=="UseIFrame") { wd83010.m03c71(vf6186,vf6186.GetIFrameWindow(vf6384.Name)); } } } },  me7e14:function(v87d21) { if (!v87d21 ||typeof(v87d21.IsActiveWindow)!="function") v87d21 =this;  if (!v87d21.IsActiveWindow()) { var v81821 =v87d21.DesktopManager;  if (v87d21.IsDialogBox) v87d21.DialogBox.Activate(); else wd83010.m42623(v81821,v87d21); } },  m1b760:function(v0ac5) {  },  meca84:function(vd7377,v9392,v81556) { if (v81556)v9392 =v81556; var v87d5 =window.frames[v9392];  if (v87d5) { var vee963 =v87d5.event; var v07b19 =vd7377.GetWindow(v9392);  if (v07b19 !=null &&!v07b19.IsActiveWindow()) { wd83010.me7e14(v07b19); } } },  m69985:function(v10c80,ve5f52,va7371) { var v4ad61 =window.frames[ve5f52]; if (v4ad61) { var v8f142 =v4ad61.event; var vd5f5 =v10c80.GetWindow(ve5f52);  if (vd5f5) wd83010.mc9694(v10c80,vd5f5.GetWindowDivElement(),v8f142.keyCode,v8f142.ctrlKey,v8f142.altKey,v8f142.shiftKey); } },  mab342:function(v7a835,v55731,v1d857) { if (v1d857)v55731 =v1d857; var vd6e52 =window.frames[v55731]; if (!vd6e52)return;  if (typeof(wd3e491)=="object") { var vcb191 =v7a835.GetWindow(v55731); if (IS.ie)wd3e491.Event =vd6e52.event; else wd3e491.Event =event; wd3e491.m74413(); } },  m7fb38:function(vfda7,vc7b70) { if (vfda7 ==null ||vfda7.ClassName ==null)return false;  var v2a37 =vfda7.GetWindow(vc7b70); if (!v2a37)return;  v2a37.IFrameContentLoaded =false;  if (IS.moz) { setTimeout(function(){wd83010.m62734(vfda7,vc7b70); },50); } },  m0d445:function(ve8782,vae559,vbd346) { var vad591 =vae559.name; var v0ed10 =window.frames[vad591]; var vd9c42 =vad591;  if (typeof(vbd346)=="string") { v0ed10 =window.frames[vbd346]; vd9c42 =vbd346; } if (typeof(wd3e491)=="object") { var v5b794 =ve8782.GetWindow(vd9c42); var v33415 =null;  if (v5b794 ==null) return;  if (vbd346) { if (IS.ie)wd3e491.Event =vae559.event; else wd3e491.Event =event; wd3e491.Event.FrameElement =vae559.frameElement; wd3e491.Event.IsChildFrame =true; wd3e491.Event.ParentFrameName =vbd346; } else { if (v0ed10 ==null)return; if (IS.ie)wd3e491.Event =v0ed10.event; else wd3e491.Event =event; wd3e491.Event.FrameElement =v5b794.GetWindowIFrameElement(); }  wd3e491.Event.Window =v5b794; wd3e491.m80673(); } },  m62734:function(v6452,v05b68) { var v02d2 =v6452.GetIFrameWindow(v05b68);  },  m7870:function(v18b21,vedb78) { if (!vedb78) { var vd9a38 =v18b21.lastIndexOf("_"); return v18b21.substring(vd9a38 +1); } else { var v4e738 =v18b21.indexOf(vedb78); return v18b21.substring(v4e738 +vedb78.length +1); } },  m1f216:function(v25057) { if (v25057.tagName =="TD") return v25057;  while (v25057.parentElement !=null) { v25057 =v25057.parentElement; if (v25057.tagName =="TD") return v25057; }  return null; },  mbc96:function(vbdd41) { if (vbdd41.tagName =="DIV" &&vbdd41.id.indexOf("dvWnd")>-1) return vbdd41; while (vbdd41.parentElement !=null) { vbdd41 =vbdd41.parentElement; if (vbdd41.tagName =="DIV" &&vbdd41.id.indexOf("dvWnd")>-1) return vbdd41; }  return null; }, m31e48:function(v25d96,v48377) { var v48377 =event.srcElement; var v61e57 =wd83010.mbc96(v48377); var v2ef64 =""; if (v61e57) v2ef64 =wd83010.m7870(v61e57.id,v25d96.Id);  if (v2ef64 !="") { var v2ff65 =v25d96.GetWindow(v2ef64); return v2ff65; }  return null; },  m61559:function(vdf343) { var v9ad32 =vdf343.GetTaskBarWindowGroupElement(); if (!v9ad32)return null; var v07b36 =v9ad32.children[0]; var vaf950 =v07b36.children[0];   if (!vdf343.IsInResizing) { vdf343.IsInResizing =true;  if (v07b36.currentMode =="justify") { var v4b869 =null; for (var vbed3=0; vbed3<vaf950.rows[0].cells.length; vbed3++) { var v49493 =vaf950.rows[0].cells[vbed3]; if (IS.GetAttr(v49493,"name")!="") { v4b869 =v49493; break; } }  if (v4b869) { if (v4b869.offsetWidth >vdf343.TaskBarSettings.WindowButtonWidth) v07b36.currentMode ="normal"; } }  if (v07b36.offsetWidth >=vaf950.offsetWidth &&v07b36.currentMode !="justify") { for (var vbed3=0; vbed3<vaf950.rows[0].cells.length; vbed3++) { var v49493 =vaf950.rows[0].cells[vbed3]; if (IS.GetAttr(v49493,"name")!="") { v49493.style.width =vdf343.TaskBarSettings.WindowButtonWidth; } }  if (IS.ie)vaf950.rows[0].cells[vaf950.rows[0].cells.length-1].style.width ="100%"; v07b36.currentMode ="normal"; } else { if (v07b36.currentMode !="justify") { for (var vbed3=0; vbed3<vaf950.rows[0].cells.length; vbed3++) { var v49493 =vaf950.rows[0].cells[vbed3]; if (IS.GetAttr(v49493,"name")!="") { v49493.style.width ="auto"; } }  vaf950.rows[0].cells[vaf950.rows[0].cells.length-1].style.width ="0%"; v07b36.currentMode ="justify"; } }  vdf343.IsInResizing =false; }  },  m0e836:function(ve1498) { if (ve1498.ShortcutIconsVisible) { for (var v10662=0; v10662<ve1498.ShortcutIcons.length; v10662++) { var v8884 =ve1498.ShortcutIcons[v10662]; v8884.Rearrange(); } } },  m34170:function(vfa218) { var vc6598 =vfa218.ShortcutSettings;  for (var v7aa73=0; v7aa73<vfa218.ShortcutIcons.length; v7aa73++) { var v4ba5 =vfa218.ShortcutIcons[v7aa73];  if (vc6598.AllowAutoArrange ||v4ba5.Location.IsEmpty()) { v4ba5.RuntimeLocation =new OffsetLocation(); } }  },  m11467:function(v5d71,vda723,ve1821) { for (var v48d18=0; v48d18<v5d71.Windows.length; v48d18++) { var vedb83 =v5d71.Windows[v48d18]; if (ve1821 &&vedb83.Get("AllowResize")=="No") vedb83.ForceNoResize =true; if (!vedb83.IsDialogBox) vedb83.InitializeLayout("Cascade",vda723); } },  m17a4:function(v69a57,v9442,v6406,v41763) { for (var v50e73=0; v50e73<v69a57.Windows.length; v50e73++) { var v7a362 =v69a57.Windows[v50e73]; if (v41763 &&v7a362.Get("AllowResize")=="No") v7a362.ForceNoResize =true; if (!v7a362.IsDialogBox) v7a362.InitializeLayout("TileWindows" +v6406,v9442); } },  m78197:function(v0dc12,v05781,v63191) { var v9a412 =v0dc12.GetWindowDivElement();  v9a412.style.left =v0dc12.Location.X =v05781; v9a412.style.top =v0dc12.Location.Y =v63191;  if (v0dc12.EnableDropShadow &&v0dc12.DropShadow !=null) v0dc12.DropShadow.UpdatePosition(); },  mbd519:function(vdb087,vb0870,v75e43) { var v40a32 =vdb087.GetWindowDivElement();  if (!vdb087.IsTargetSizeValid(vb0870,v75e43)) { var v31991 =vdb087.GetPreferredSize(vb0870,v75e43); vb0870 =v31991.Width; v75e43 =v31991.Height; }  v40a32.style.width =vdb087.Size.Width =vb0870; v40a32.style.height =vdb087.Size.Height =v75e43; if (vdb087.EnableDropShadow &&vdb087.DropShadow !=null) vdb087.DropShadow.UpdatePosition();  if (IS.moz) { if (vdb087.Get("ContentMode")=="UseInlineContent") { var v45658 =vdb087.GetContentDivElement(); var vf1f28 =v45658.children[0]; var v33c89 =vdb087.GetCaptionBarTableElement();  vf1f28.style.height ="0pt"; } wd83010.m33011(vdb087); } else { wd83010.m69153(vdb087); } },  m69153:function(v63462) { var va1642 =v63462.GetWindowDivElement(); var v6e149 =v63462.GetContentDivElement(); var vef229 =v63462.DesktopManager;  if (v63462.Get("ContentMode")=="UseIFrame") { var v3e334 =v63462.GetWindowIFrameElement(); if (v3e334) { v3e334.style.display ="none"; v3e334.style.height ="100%";  v3e334.style.display =""; } } },  m33011:function(ve9a73) { var v01298 =ve9a73.GetWindowDivElement(); var vbc128 =ve9a73.GetContentDivElement(); var v57614 =ve9a73.DesktopManager; if (IS.safari) return; if (v57614.WindowSettings.BorderType =="Simple") { vbc128.style.overflow ="visible"; if (!ve9a73.IsDialogBox) setTimeout(function(){vbc128.style.overflow ="auto";}); } else { vbc128.style.overflow ="visible"; var v8d238 =vbc128.children[0]; v8d238.style.overflow ="visible"; v8d238.style.display ="none"; setTimeout(function() { if (!ve9a73.IsDialogBox) vbc128.style.overflow ="auto";   v8d238.style.display ="";   var vdaf55 =v8d238.children[0];  if (vdaf55 !=null &&vdaf55.clientHeight ==0) v8d238.style.height ="100%"; }); }  if (ve9a73.Get("ContentMode")=="UseIFrame") { var ve0581 =ve9a73.GetWindowIFrameElement();  if (ve0581) { if (IS.moz) ve0581.style.display ="none";  ve0581.parentElement.style.display ="none"; setTimeout(function() { var v63e57 =ve0581.parentElement;  if (IS.moz ||v63e57.offsetHeight ==0) v63e57 =v63e57.parentElement; if (v63e57.offsetHeight >0) { ve0581.style.height =ISPosLib.getHeight(v63e57)-(IS.moz ? ((parseFloat(v63e57.currentStyle.paddingTop)*2)): 0);  ve0581.style.display =""; ve0581.parentElement.style.display =""; } else wd83010.m33011(ve9a73); } ,10); } }  },  md7c96:function(vbcc92) { for (var va8d9=0; va8d9<vbcc92.Windows.length;va8d9++) { var v8a586 =vbcc92.Windows[va8d9]; var v0fc84 =v8a586.GetWindowDivElement();  if (v0fc84) { var v96244 =v0fc84.style.zIndex-1; v0fc84.style.zIndex =v96244; } } },  m4dd4:function(va5839) { var v0a964 =va5839.GetWindowIFrameElement(); var vb8665 =false;  if (!v0a964) return;  if (!va5839.ClientVisible) { if (va5839.WindowState =="Minimized" ||va5839.WindowState =="Maximized") vb8665 =true; else return false; }  var v2f870 =va5839.DesktopManager.GetIFrameWindow(v0a964.name); var vca447 =v0a964.parentElement; var v9c721 =va5839.DesktopManager; var v4143 =v9c721.WindowSettings; if (!va5839.IFrameContentLoaded &&v0a964.readyState =="complete") { var va6174 =vca447.children[1];  if (va6174 &&va6174.tagName =="DIV") { if (!vb8665) { if (va6174.style.display !="none") { v0a964.style.display =""; wd83010.mdb945(va6174,v4143.IFrameReadyTransitionEffect); } else { v0a964.style.display =""; v0a964.style.visibility ="hidden";  wd83010.mdb945(v0a964,v4143.IFrameReadyTransitionEffect,true); } } if (v4143.IFrameReadyTransitionEffect =="None" ||vb8665) va6174.removeNode(true); else setTimeout(function(){if (va6174)va6174.removeNode(true);},500); }  wd83010.m03c71(v9c721,v2f870); va5839.IFrameContentLoaded =true; } },  m03c71:function(v41950,v07112,vf6792) { var vfa558 =null;  try { vfa558 =v07112.document.body; } catch(e) {}  if (vfa558) { if (IS.GetAttr(vfa558,"ISWinEventsInitialized")=="") { Listener.Add(vfa558,"onmousedown",function(){wd83010.meca84(v41950,v07112.name,vf6792); }); Listener.Add(vfa558,"onmouseup",function(){wd83010.mab342(v41950,v07112.name,vf6792); }); Listener.Add(vfa558,"onunload",function(){wd83010.m7fb38(v41950,v07112.name,vf6792); }); Listener.Add(vfa558,"onmousemove",function(){wd83010.m0d445(v41950,v07112,vf6792); }); Listener.Add(vfa558,"onkeydown",function(){wd83010.m69985(v41950,v07112.name,vf6792); });  vfa558.ISWinEventsInitialized =true; }  var v26f63 =vfa558.getElementsByTagName("IFRAME"); for (var v58289=0; v58289<v26f63.length; v58289++) { if (v26f63[v58289].name !="") { var ve7e74 =v07112.frames[v26f63[v58289].name]; if (ve7e74 &&v26f63[v58289].readyState =="complete") { if (!vf6792)vf6792 =v07112.name; wd83010.m03c71(v41950,ve7e74,vf6792); } } } }  },  me8141:function(v20969,v02921) { var v91169 =v02921.DesktopManager;  if (v20969.BorderType =="Simple") { if (v20969.EnableFastWindowActivation &&IS.ie) wd83010.ma0295(v20969,v20969.WindowStyle.Normal,v02921.GetWindowDivElement()); else DynamicStyleEngine.SetToStyle(null,v20969.WindowStyle,v02921.GetWindowDivElement());  DynamicStyleEngine.SetToStyle(null,v20969.CaptionStyle,v02921.GetCaptionBarCellElement().children[0]); } else if (v20969.BorderType =="ComplexImages") { DynamicStyleEngine.SetToStyle(null,v20969.WindowStyle,v02921.GetContentDivElement()); DynamicStyleEngine.SetToStyle(null,v20969.CaptionStyle,v02921.GetCaptionBarTableElement()); wd83010.m83971(v91169,v02921,"Normal"); } },  mf8815:function(vdc90,v4ef89) { var va0f53 =vdc90.DesktopManager; var vbb362 =va0f53.WindowSettings; var vbbd8 =va0f53.GetActiveWindow(); var v64d0 =vdc90.GetWindowDivElement(); if (vbbd8) { wd83010.me8141(vbb362,vbbd8);  if (!vdc90.IsDialogBox) { var v67763 =vbbd8.GetTaskBarButtonElement(); if (v67763) { DynamicStyleEngine.SetToStyle(null,va0f53.TaskBarButtonStyle,v67763); } } if (vbbd8.CurrentDialogBox &&vbbd8.DialogBoxShown) { var v6b454 =vbbd8.CurrentDialogBox.Window; wd83010.me8141(vbb362,v6b454); }  vbbd8.UnregisterAccessKeys(); }  if (vbb362.BorderType =="Simple") { if (vbb362.EnableFastWindowActivation &&IS.ie) wd83010.ma0295(vbb362,vbb362.WindowStyle.Active,v64d0); else DynamicStyleEngine.SetToActiveStyle(null,vbb362.WindowStyle,v64d0); DynamicStyleEngine.SetToActiveStyle(null,vbb362.CaptionStyle,vdc90.GetCaptionBarCellElement().children[0]); } else if (vbb362.BorderType =="ComplexImages") { DynamicStyleEngine.SetToActiveStyle(null,vbb362.CaptionStyle,vdc90.GetCaptionBarTableElement()); DynamicStyleEngine.SetToActiveStyle(null,vbb362.WindowStyle,vdc90.GetContentDivElement()); wd83010.m83971(va0f53,vdc90,"Active"); } if (!vdc90.IsDialogBox) { var v67763 =vdc90.GetTaskBarButtonElement();  if (vdc90.WindowState =="Minimized" &&v67763) { vdc90.Restore(true,true); }  if (!vdc90.CreatedAtRuntime &&!vdc90.StartupPositionInitialized) { if (vdc90.WindowState =="Maximized") { vdc90.WindowState ="Normal"; vdc90.Maximize(null,false); } }  if (v67763) DynamicStyleEngine.SetToActiveStyle(null,va0f53.TaskBarButtonStyle,v67763); vdc90.RegisterAccessKeys(); va0f53.ActiveWindowIndex =vdc90.Index; }  if (vdc90.DialogBoxShown) { if (vdc90.DialogBoxWindows.length >0) { var v20537 =vdc90.GetWindowDivElement().style.zIndex;  for (var v82c95=0; v82c95<vdc90.DialogBoxWindows.length; v82c95++) { var v7c097 =vdc90.DialogBoxWindows[v82c95];  if (v7c097.IsDialogBox) v7c097.GetWindowDivElement().style.zIndex =v20537; } }  vdc90.CurrentDialogBox.Window.Activate(); }  if (va0f53.IsVistaAnimation()&&!v4ef89) { ISAnimation_RemoveOpacity(v64d0);  if (vdc90.Get("ContentMode")=="UseIFrame") { var vecb13 =vdc90.GetWindowIFrameElement();  if (vecb13.style.display =="none") vecb13.style.display =""; } } },  m42623:function(vcaa39,v1188) { var v32655 =wd83010.m5c991(vcaa39);  if (v32655) { v32655 =ISEvent.Raise(v1188.OnBeforeActivated,v1188);  if (v32655) { if (ISEvent.Raise(vcaa39.ClientSideEvents.OnWindowBeforeActivated,vcaa39.Id,v1188)) { v1188.Activate(true); } }  ISEvent.Raise(v1188.OnAfterActivated,v1188); ISEvent.Raise(vcaa39.ClientSideEvents.OnWindowAfterActivated,vcaa39.Id,v1188); } },  m5c991:function(vc5f74) { var v3c374 =vc5f74.GetActiveWindow(); if (v3c374) { if (!window.IsDialogBox) { return ISEvent.Raise(vc5f74.ClientSideEvents.OnWindowDeactivated,vc5f74.Id,v3c374); } }  return true; },  ma0295:function(ve7694,v1d687,vc7015) { if (!ve7694.CachedStyles[v1d687]) ve7694.CachedStyles[v1d687] =IS.GetCssObject(null,v1d687);  var vea510 =ve7694.CachedStyles[v1d687]; if (vea510) vc7015.runtimeStyle.border =vea510.border; },  m83971:function(vd2116,v9974,v94756) { var v02314 =v9974.GetCaptionBarCellElement().children[0]; var vcbb97 =v02314.rows[0].cells[0]; var vdd682 =v02314.rows[0].cells[1]; var vcfd36 =v02314.rows[0].cells[2]; var v7a751 =""; var v6d51 =""; var v8b743 =""; var v6b379 =""; var v0da88 =""; var vbe016 =""; var ve1e31 =vd2116.ImagesSettings;  if (v94756 =="Normal") { v7a751 =vd2116.ResolveImagePath(ve1e31.CaptionLeftInactive); v6d51 =vd2116.ResolveImagePath(ve1e31.CaptionCenterInactive); v8b743 =vd2116.ResolveImagePath(ve1e31.CaptionRightInactive);  v6b379 =vd2116.ResolveImagePath(ve1e31.MinimizeInactive); v0da88 =vd2116.ResolveImagePath(ve1e31.MaximizeInactive); if (v9974.WindowState =="Maximized") v0da88 =vd2116.ResolveImagePath(ve1e31.RestoreInactive); vbe016 =vd2116.ResolveImagePath(ve1e31.CloseInactive); } else { v7a751 =vd2116.ResolveImagePath(ve1e31.CaptionLeftActive); v6d51 =vd2116.ResolveImagePath(ve1e31.CaptionCenterActive); v8b743 =vd2116.ResolveImagePath(ve1e31.CaptionRightActive);  v6b379 =vd2116.ResolveImagePath(ve1e31.MinimizeActive); v0da88 =vd2116.ResolveImagePath(ve1e31.MaximizeActive); if (v9974.PreviousWindowState =="Maximized") v0da88 =vd2116.ResolveImagePath(ve1e31.RestoreActive); vbe016 =vd2116.ResolveImagePath(ve1e31.CloseActive); }  vcbb97.children[0].src =v7a751; vdd682.style.backgroundImage ="url(" +v6d51 +")"; vcfd36.children[0].src =v8b743;  if (v9974.Get("AllowMinimize")=="Yes") { var v2a418 =v9974.GetMinimizeButtonElement(); if (v2a418) v2a418.children[0].src =v6b379; }  if (v9974.Get("AllowMaximize")=="Yes") { var vb475 =v9974.GetMaximizeButtonElement(); if (vb475) vb475.children[0].src =v0da88; } if (v9974.Get("AllowClose")=="Yes") { var vaed25 =v9974.GetCloseButtonElement(); if (vaed25) vaed25.children[0].src =vbe016; }  },  m6af93:function(v3eb60,v55879,v3cb80) { var v09b71 =v3eb60.DesktopManager; var v39683 =false;  if (v09b71.EnableAnimation) { if (v55879) v39683 =true; }  if (v3eb60.DialogBoxShown) return;  if (v39683 &&!v3cb80) { var v95442 =new UnitSize(); var v15b91 =new OffsetLocation();   if (v3eb60.GetTaskBarButtonElement()) { var v0ee61 =v3eb60.GetTaskBarButtonElement(); v15b91.X =ISPosLib.getLeft(v0ee61); v15b91.Y =ISPosLib.getTop(v0ee61); v95442.Width =ISPosLib.getWidth(v0ee61); v95442.Height =ISPosLib.getHeight(v0ee61); } else { v15b91 =v3eb60.GetMinimizedLocation(); v95442 =v3eb60.GetMinimizedSize(); }  var va8e29 =new ISAnimatedObject(); va8e29.Type =(v09b71.IsVistaAnimation()? "ZoomOut" : "ShrinkExpand"); va8e29.AnimateLocation =true; va8e29.AnimateSize =true; va8e29.Element =v3eb60.GetWindowDivElement(); va8e29.CurrentSize =v3eb60.Size; va8e29.CurrentLocation =v3eb60.Location; va8e29.TargetSize =v95442; va8e29.TargetLocation =v15b91; va8e29.OnCompleted =function(){wd83010.m6af93(v3eb60,null,true);};  if (v09b71.IsVistaAnimation()) { va8e29.MaxStep =3;  if (v3eb60.Get("ContentMode")=="UseIFrame") { var v9d284 =v3eb60.GetWindowIFrameElement(); v9d284.style.display ="none"; } }  va8e29.Play(); } else if (!v39683 ||v3cb80) { var va8714 =v3eb60.GetWindowDivElement();   if (!v3eb60.GetTaskBarButtonElement()) { var v5bb12 =v3eb60.GetContentDivElement(); var v6c439=v3eb60.GetMinimizedLocation(); var v11061 =v3eb60.GetMinimizedSize(); var vbc945 =v3eb60.GetMinimizeButtonElement(); var v32c29 =v3eb60.GetMaximizeButtonElement(); var v75138 =v09b71.ImagesSettings; var ve0728 =v09b71.TextSettings;  if (v5bb12) v5bb12.style.display ="";  if (vbc945) { if (v75138.RestoreActive =="") { var v89e90 =vbc945.children[0].children[0]; v89e90.innerText ="2"; } else { var v08425 =vbc945.children[0]; v08425.src =v09b71.ResolveImagePath(v75138.RestoreActive); }  vbc945.title =ve0728.RestoreText; }  if (v32c29) { if (v75138.MaximizeActive =="") { var v89e90 =v32c29.children[0].children[0]; v89e90.innerText ="1"; } else { var v08425 =v32c29.children[0]; v08425.src =v09b71.ResolveImagePath(v75138.MaximizeActive); }  v32c29.title =ve0728.MaximizeText; }  va8714.style.left =v6c439.X; va8714.style.top =v6c439.Y; va8714.style.width =v11061.Width; va8714.style.height =v11061.Height;  v3eb60.InteractiveObject.Resizable =false; v3eb60.InteractiveObject.Enabled =true; } else { va8714.style.display ="none"; }  var v2d129 =v09b71.GetTopMostWindowBefore(v3eb60); if (v2d129 &&v2d129.IsDialogBox) v2d129 =null;  if (v2d129) v2d129.Activate(); else v09b71.SetNoActiveWindow();  v3eb60.PreviousWindowState =v3eb60.WindowState; v3eb60.WindowState ="Minimized"; } }, m19f44:function(v51465,va1236,vc8c69) { var v39c15 =v51465.DesktopManager; var vb2058 =v39c15; var v92665 =v39c15.WindowSettings; var v3ac47 =v39c15.ImagesSettings; var v36e25 =v39c15.TextSettings; var v5b987 =v51465.GetWindowDivElement(); var v4b957 =v51465.GetMaximizeButtonElement(); var vce08 =v51465.GetMinimizeButtonElement(); var v71d90 =v51465.GetTaskBarButtonElement(); var vaff11 =false;  if (vb2058.EnableAnimation) { if (va1236) vaff11 =true;  if (vb2058.IsVistaAnimation()) vaff11 =false; }  if (vaff11 &&!vc8c69) { var v24784 =new UnitSize(); var vb3734 =new OffsetLocation();  vb3734.X =0; vb3734.Y =0; v24784.Width =vb2058.GetDesktopSize().Width; v24784.Height =vb2058.GetDesktopSize().Height;  var vf6247 =new ISAnimatedObject(); vf6247.Type =(vb2058.IsVistaAnimation()? "ZoomIn" : "ShrinkExpand"); vf6247.AnimateLocation =true; vf6247.AnimateSize =true; vf6247.Element =v51465.GetWindowDivElement(); vf6247.CurrentSize =v51465.Size; vf6247.CurrentLocation =v51465.Location; vf6247.TargetSize =v24784; vf6247.TargetLocation =vb3734; vf6247.OnCompleted =function(){wd83010.m19f44(v51465,null,true);};  vf6247.Play(); } else if (!vaff11 ||vc8c69) { v51465.PreviousWindowState =v51465.WindowState; v51465.WindowState ="Maximized"; v51465.InteractiveObject.Enabled =false;  if (v71d90) v51465.SaveLocationAndSize(); else { v51465.InteractiveObject.Resizable =v51465.Get("AllowResize")=="Yes";  if (vce08) { if (v3ac47.MinimizeActive =="") { var v3e825 =vce08.children[0].children[0]; v3e825.innerText ="0"; } else { var v8dd77 =vce08.children[0]; v8dd77.src =v39c15.ResolveImagePath(v3ac47.MinimizeActive); }  vce08.title =v36e25.MinimizeText;  } } v5b987.style.left =0; v5b987.style.top =0; v5b987.style.width =vb2058.GetDesktopSize().Width; v5b987.style.height =vb2058.GetAvailableDesktopHeight(vb2058.GetDesktopSize().Height);  if (v4b957) { if (v3ac47.RestoreActive =="") { var v3e825 =v4b957.children[0].children[0]; v3e825.innerText ="2"; } else { var v8dd77 =v4b957.children[0]; v8dd77.src =v39c15.ResolveImagePath(v3ac47.RestoreActive); }  v4b957.title =v36e25.RestoreText; }  wd83010.m33011(v51465); } }, m5f693:function(v04e98,va7210,v88280) { var vebd21 =v04e98.DesktopManager; var v80215 =vebd21; var vec054 =vebd21.WindowSettings; var vf1480 =vebd21.TextSettings; var v27990 =vebd21.ImagesSettings; var vb3c27 =v04e98.GetWindowDivElement(); var vf7253 =v04e98.GetMaximizeButtonElement(); var v2ff92 =v04e98.GetMinimizeButtonElement(); var vb9c2 =false;  if (v80215.EnableAnimation) { if (va7210) vb9c2 =true;  if (v04e98.WindowState =="Maximized" &&v80215.IsVistaAnimation()) vb9c2 =false; } if (vb9c2 &&!v88280) { var ve3c96 =new UnitSize(); var v5e740 =new OffsetLocation(); var vf3382 =v04e98.GetTaskBarButtonElement(); var v1f82 =new UnitSize(); var v83d86 =new OffsetLocation();  if (v04e98.WindowState =="Maximized") { v83d86.X =0; v83d86.Y =0; v1f82.Width =v80215.GetDesktopSize().Width; v1f82.Height =v80215.GetDesktopSize().Height; v5e740 =v04e98.Location; ve3c96 =v04e98.Size; } else { if (vf3382) { v83d86.X =ISPosLib.getLeft(vf3382); v83d86.Y =ISPosLib.getTop(vf3382); v1f82.Width =ISPosLib.getWidth(vf3382); v1f82.Height =ISPosLib.getHeight(vf3382); } else { v83d86 =v04e98.GetMinimizedLocation(); v1f82 =v04e98.GetMinimizedSize(); }  v5e740 =v04e98.Location; ve3c96 =v04e98.Size;  if (v80215.IsVistaAnimation()&&v04e98.PreviousWindowState =="Maximized") { v5e740 =new OffsetLocation(0,0); ve3c96 =new UnitSize(v80215.GetDesktopSize().Width,v80215.GetDesktopSize().Height); } }  var veae86 =new ISAnimatedObject(); veae86.Type =(v80215.IsVistaAnimation()? "ZoomIn" : "ShrinkExpand"); veae86.AnimateLocation =true; veae86.AnimateSize =true; veae86.Element =v04e98.GetWindowDivElement(); veae86.CurrentSize =v1f82; veae86.CurrentLocation =v83d86; veae86.TargetSize =ve3c96; veae86.TargetLocation =v5e740; veae86.OnCompleted =function(){wd83010.m5f693(v04e98,null,true);}; if (v80215.IsVistaAnimation()) { veae86.MaxStep =3; veae86.CurrentOpacity =20; veae86.CurrentInterval =100;  if (v04e98.Get("ContentMode")=="UseIFrame") { var vdc717 =v04e98.GetWindowIFrameElement(); vdc717.style.display ="none"; } }  veae86.Play(); } else if (!vb9c2 ||v88280) { var vf1a98 =v04e98.PreviousWindowState;  vb3c27.style.display =""; v04e98.InteractiveObject.Resizable =v04e98.Get("AllowResize")=="Yes";  if ((v04e98.PreviousWindowState !="Maximized" &&v04e98.WindowState =="Minimized")||v04e98.WindowState =="Maximized") { if (vf7253) { if (v27990.MaximizeActive =="") { var vd4c78 =vf7253.children[0].children[0]; vd4c78.innerText ="1"; } else { var v3bd43 =vf7253.children[0]; v3bd43.src =vebd21.ResolveImagePath(v27990.MaximizeActive); }  vf7253.title =vf1480.MaximizeText; } } if (v04e98.WindowState =="Maximized" ||(v04e98.WindowState =="Minimized" &&!v04e98.GetTaskBarButtonElement())) { if (v04e98.WindowState =="Minimized" &&v2ff92) { if (v27990.MinimizeActive =="") { var vd4c78 =v2ff92.children[0].children[0]; vd4c78.innerText ="0"; } else { var v3bd43 =v2ff92.children[0]; v3bd43.src =vebd21.ResolveImagePath(v27990.MinimizeActive); }  v2ff92.title =vf1480.MinimizeText; } v04e98.MoveTo(v04e98.Location.X,v04e98.Location.Y); v04e98.ResizeTo(v04e98.Size.Width,v04e98.Size.Height); v04e98.PreviousWindowState ="Normal"; } v04e98.WindowState =v04e98.PreviousWindowState; v04e98.InteractiveObject.Enabled =true;  if (v80215.IsVistaAnimation()) { if (vf1a98 =="Maximized" &&v04e98.WindowState =="Maximized") v04e98.InteractiveObject.Enabled =false;  if (v88280) { ISAnimation_RemoveOpacity(vb3c27);  if (v04e98.Get("ContentMode")=="UseIFrame") { setTimeout(function() { var vdc717 =v04e98.GetWindowIFrameElement();  if (vdc717 !=null) vdc717.style.display =""; },50); } } } } },  m26d1:function(vdb672) { var v5d453 =null;  try { v5d453 =vdb672.document; } catch(e) { return; }  v5d453.open("text/html"); v5d453.write(""); v5d453.close();  var v40389 =vdb672.frameElement.removeNode(true); v40389 =null; delete v40389;  vdb672.ISWindowDestroyed =true; vdb672 =null; delete vdb672;  v5d453 =null; delete v5d453; }, mdf06:function(v9963) { var vc9356 =v9963.DesktopManager; var v6ea39 =v9963.Collection; var v3e181 =vc9356.GetTopMostWindowBefore(v9963); var vb8b81 =v9963.GetWindowDivElement(); var v86b99 =v9963.GetTaskBarButtonElement(); var v3ec91 =true;  if (v9963.IsDialogBox) { var v28a49 =v9963.DialogBox; v28a49.CloseDialog(); return; }  ISEvent.Raise(v9963.OnPrepareClosed);  if (v9963.Get("ContentMode")=="UseIFrame") { if (v9963.CreatedAtRuntime) { var v9c448 =vc9356.GetIFrameWindow(v9963.Name); var v96460 =false;  try { if (v9c448.document) v96460 =true;  } catch(e) { if (e.message.indexOf("Access is denied")>-1) v96460 =true; }  if (v9c448 &&v96460) { v9963.Hide(); setTimeout(function(){wd83010.m26d1(v9c448);},(vc9356.IsVistaAnimation()? 200 : 10)); } } else { v3ec91 =false; v9963.Hide(); } } else { if (!v9963.CreatedAtRuntime) { v3ec91 =false; v9963.Hide(); } }  if (v3ec91) { wd83010.m7f477(v9963);  var vfa591 =null;  if (!vc9356.IsVistaAnimation()) vfa591 =vb8b81.removeNode(true); else setTimeout(function() { vfa591 =vb8b81.removeNode(true); delete vfa591; } ,200);   if (v86b99) { Listener.Unload(v86b99); v86b99.removeNode(true); wd83010.m61559(vc9356); }  if (vfa591 !=null) { delete vfa591; vfa591 =null; }  if (v9963.EnableDropShadow &&v9963.DropShadow !=null) v9963.DropShadow.Destroy();  v9963.IsClosed =true;  if (v6ea39 !=null) { v6ea39.Remove(v9963); v6ea39.UpdateChanges(); } } wd83010.mdd27(v9963);  v9963 =null; delete v9963;  if (vc9356.IsVistaAnimation()) { setTimeout(function() { vc9356.ActiveWindowIndex =-1;  if (v3e181) v3e181.Activate(); else vc9356.SetNoActiveWindow(); }, 100); return; }  vc9356.ActiveWindowIndex =-1;  if (v3e181) v3e181.Activate(); else vc9356.SetNoActiveWindow();  },  m46c82:function(v3f022) {  },  mda678:function(v23d97,v51d65) { if (v51d65.Enabled &&(v51d65.TargetUrl !="" ||v51d65.WindowName !="")) { var va9922 =null;  if (v51d65.WindowName !="") va9922 =v23d97.Windows.GetNamedItem(v51d65.WindowName);  if (!va9922) { for (var v51b76=0; v51b76<v23d97.Windows.length; v51b76++) { if (v23d97.Windows[v51b76].ContentURL ==v51d65.TargetUrl) { va9922 =v23d97.Windows[v51b76]; break; } } }  if (va9922) { if (va9922.Initialized &&!va9922.IsClosed) { if (va9922.ClientVisible) va9922.Activate(); else { var vcac37 =va9922.GetWindowDivElement(); vcac37.style.display ="";  var ve1f90 =va9922.GetTaskBarButtonElement();  if (va9922.ShowInTaskBar) { if (!ve1f90) wd83010.m7f438(va9922); else ve1f90.style.display =""; }  if (va9922.ContentURL !="") va9922.LoadContent();  va9922.ClientVisible =true; va9922.Activate(); } } } else { var vb8065 =new WebDesktopWindow(); vb8065.Name =v51d65.WindowName; vb8065.ContentURL =v51d65.TargetUrl; vb8065.Text =v51d65.Text; vb8065.ControlBoxImage =v51d65.TargetControlBoxImage; vb8065.DesktopManager =v23d97; vb8065.ContentMode ="UseIFrame";  v23d97.Windows.Add(vb8065); vb8065.Show(); } } },  m0c96:function(v5f98) { var vc7a17 =v5f98.DesktopManager;  if (v5f98.Enabled &&(v5f98.TargetURL !="" ||v5f98.WindowName !="")) { var v0ad74 =null;  if (v5f98.WindowName !="") v0ad74 =vc7a17.Windows.GetNamedItem(v5f98.WindowName);  if (!v0ad74) { for (var v93456=0; v93456<vc7a17.Windows.length; v93456++) { if (vc7a17.Windows[v93456].ContentURL ==v5f98.TargetURL) { v0ad74 =vc7a17.Windows[v93456]; break; } } }  if (v0ad74) { if (v0ad74.Initialized &&!v0ad74.IsClosed) { if (v0ad74.ClientVisible) v0ad74.Activate(); else { var vd8917 =v0ad74.GetWindowDivElement(); vd8917.style.display ="";  var v06286 =v0ad74.GetTaskBarButtonElement();  if (v0ad74.ShowInTaskBar) { if (!v06286) wd83010.m7f438(v0ad74); else v06286.style.display =""; }  if (v0ad74.ContentURL !="") v0ad74.LoadContent();  v0ad74.ClientVisible =true; v0ad74.Activate(); } } } else { var v70038 =new WebDesktopWindow(); v70038.Name =v5f98.WindowName; v70038.ContentURL =v5f98.TargetURL; v70038.Text =v5f98.Text; v70038.ControlBoxImage =v5f98.TargetControlBoxImage; v70038.DesktopManager =vc7a17; v70038.ContentMode ="UseIFrame";  vc7a17.Windows.Add(v70038); v70038.Show(v5f98.GetElement()); } } },  m93a39:function(vca883) { var v9a244 =vca883.DesktopManager; var v77a92 =v9a244.GetDesktopElement(); var v97b78 =""; var ve3d3 =null;  if (vca883.Name !="") { var v2f553 =v9a244.GetWindow(vca883.Name); if (v2f553 !=null &&v2f553 !=vca883) vca883.Name +=vca883.Index; } else vca883.Name ="Window" +vca883.Index; ISEvent.Raise(v9a244.ClientSideEvents.OnWindowCreating,v9a244.Id,vca883);  ve3d3 =document.createElement("DIV"); ve3d3.id ="dvWnd_" +v9a244.Id +"_" +vca883.Name; ve3d3.style.cssText ="position:absolute; display:none"; ve3d3.style.zIndex =100 -vca883.Index;  if (v9a244.WindowSettings.BorderType !="ComplexImages") ve3d3.className =v9a244.WindowSettings.WindowStyle.Normal;  v97b78 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%'>"; v97b78 +="<tr><td noWrap>";  v97b78 +=wd41714.m10d99(vca883);  v97b78 +="</td></tr>"; v97b78 +="<tr height='100%'><td valign=top>";  v97b78 +=wd41714.m29047(vca883);  v97b78 +="</td></tr>"; v97b78 +="</table>"; ve3d3.innerHTML =v97b78;  try { v77a92.appendChild(ve3d3); } catch(e) { v77a92.insertAdjacentElement("beforeEnd",ve3d3); }  vca883.CreatedAtRuntime =true; vca883.Initialize(); vca883.InitializeLayout("Cascade");  ISEvent.Raise(v9a244.ClientSideEvents.OnWindowCreated,v9a244.Id,vca883); },  mccc27:function(v36a58) { var vaf12 =v36a58.DesktopManager; var v11121 =vaf12.GetDesktopElement(); var vf4278 =""; var v2af88 =null;  if (v36a58.Name !="") { if (vaf12.ShortcutIcons.GetNamedItem(v36a58.Name)!=v36a58) v36a58.Name +=v36a58.Index; } else v36a58.Name ="Shortcut" +v36a58.Index;  v2af88 =document.createElement("DIV"); v2af88.id ="dvSCI_" +vaf12.Id +"_" +v36a58.Name; v2af88.style.cssText ="position:absolute; width:80px; height:80px; overflow: hidden; text-overflow: ellipsis;"; v2af88.align ="center";  if (!v36a58.Visible) v2af88.style.display ="none";  v11121.appendChild(v2af88);  vf4278 +="<img vspace=2 src='" +vaf12.ResolveImagePath(v36a58.Image)+"' />"; vf4278 +="<div "; vf4278 +="class=" +vaf12.ShortcutStyle.Normal; vf4278 +=">";  if (vaf12.ShortcutDisplayMode =="TextAndImage") vf4278 +=v36a58.Text;  vf4278 +="</div>"; v2af88.innerHTML =vf4278; v36a58.Initialize(); ISEvent.Raise(vaf12.ClientSideEvents.OnShortcutCreated,vaf12.Id,v36a58); },  mf6e17:function(vbb213) { var v90f77 =vbb213.GetElement(); var v07710 =vbb213.Collection;  v07710.Remove(vbb213); v07710.UpdateChanges();  Listener.Unload(v90f77); v90f77.removeNode(true); },  m7f438:function(v41c88) { var vc7913 =v41c88.DesktopManager;  var vec579 =vc7913.GetTaskBarWindowGroupElement(); var va9449 =v41c88.GetTaskBarButtonElement();  if (vec579 &&!va9449) { var v0e394 =vec579.children[0].children[0]; var v93d96 =v0e394.rows[0]; var vb0f84 =-1;  if (v93d96.cells[v93d96.cells.length-1].getAttribute("placeholder")=="true")vb0f84 =v93d96.cells.length-1;  var vd0b69 =v93d96.insertCell(vb0f84); var v66635 ="";  vd0b69.nowrap =true; vd0b69.name =v41c88.Name; vd0b69.className =vc7913.TaskBarButtonStyle.Normal;  v66635 ="<div style='overflow:hidden; text-overflow: ellipsis; width:100%'>"; v66635 +="<nobr>"; v66635 +="&nbsp;<img src='" +vc7913.ResolveImagePath(v41c88.Get("ControlBoxImage"))+"' align=absmiddle>"; v66635 +="&nbsp;"; v66635 +=v41c88.Text; v66635 +="</nobr>"; v66635 +="</div>";  vd0b69.innerHTML =v66635;  wd83010.m61559(vc7913); } },  mf871:function(vedb8,v61578) { for (var v5cd24=0; v5cd24<vedb8.length; v5cd24++) { if (vedb8[v5cd24].Name ==v61578.Name) return v5cd24; }  return -1; },  m3ad8:function(v9d138,vd9a45,v8215) { var vb2844 =v9d138.DesktopManager; var vc8547 =vb2844.GetDesktopSize();  if (vc8547.Width ==0 ||vc8547.Height ==0) { vb2844.CachedDesktopSize =null; vc8547 =vb2844.GetDesktopSize();  if (vc8547.Width ==0) { setTimeout(function(){wd83010.m3ad8(v9d138,vd9a45,v8215);},50); return; } } if (!v8215 ||(v8215 &&v9d138.Location.IsEmpty())) { var vd8086 =vb2844.GetVisibleWindows(); var v54662 =wd83010.mf871(vd8086,v9d138);  if (vd9a45 =="Cascade") { v9d138.MoveTo(75 +(v54662*20),25 +(v54662*20)); var v18839 =vc8547.Height -v9d138.Location.Y -(25 *(vd8086.length -v54662));  if (vb2844.DockBottomHeight >0) { var v5ec8 =v18839 +v9d138.Location.Y;  if (vc8547.Height -v5ec8 <vb2844.DockBottomHeight) v18839 =v18839 -(vb2844.DockBottomHeight -(vc8547.Height -v5ec8)); } if (v9d138.Size.IsEmpty()&&!v9d138.ForceNoResize) v9d138.ResizeTo(vc8547.Width -v9d138.Location.X -(25 *(vd8086.length -v54662)),v18839); } else if (vd9a45 =="TileWindowsH") { var v6dd69 =vc8547.Height /vd8086.length; v9d138.MoveTo(0,v54662 *v6dd69 ); if (!v9d138.ForceNoResize) v9d138.ResizeTo(vc8547.Width,v6dd69 ); } else { var vaef6 =vc8547.Width /vd8086.length; v9d138.MoveTo(v54662 *vaef6,0 ); if (!v9d138.ForceNoResize) v9d138.ResizeTo(vaef6,vc8547.Height); }  if (!v9d138.Size.IsEmpty()) v9d138.ResizeTo(v9d138.Size.Width,v9d138.Size.Height ); } else if (!v9d138.Location.IsEmpty()&&v8215) { v9d138.MoveTo(v9d138.Location.X,v9d138.Location.Y ); if (v9d138.Size.IsEmpty()) { v9d138.ResizeTo(vc8547.Width -v9d138.Location.X -10,vc8547.Height -v9d138.Location.Y -10); } else { v9d138.ResizeTo(v9d138.Size.Width,v9d138.Size.Height ); } } },  m85711:function(v8d124) { var vcb693 =v8d124.GetWindowIFrameElement(); var v7e824 =vcb693.parentElement; var vcf390 =v8d124.DesktopManager; if (v8d124.ContentURL !="" &&(vcb693.src =="" ||!v8d124.IFrameLoaded)) { var v4df92 =v8d124.ContentURL;  if (vcb693.src.indexOf(v4df92)==-1 ||v8d124.ContentURLChanged) vcb693.src =v4df92; v8d124.IFrameLoaded =true; v8d124.ContentURLChanged =false; if (vcf390.WindowSettings.IFrameShowLoader &&IS.ie) { var v55683 =vcf390.GetIFrameWindow(vcb693.name); var ve6841 =false;  try { var v76a59 =v55683.document;  if (!v76a59) ve6841 =true; } catch(e) { ve6841 =true; } if (v55683 &&vcb693.readyState !="complete") { var v10f32 =vcb693.children[1];  if (v10f32 ==null) { var v7e824 =vcb693.parentElement; var v28881 =document.createElement("DIV"); var v88722 =IS.GetCssObject(null,vcf390.WindowSettings.ContainerStyle); v28881.style.cssText ="width:100%;height:100%;vertical-align:middle;position:absolute;left:0px;top:0px;background-color:White"; v28881.style.fontWeight =v88722.fontWeight; v28881.style.display ="none"; v28881.innerHTML ="<table width=100% height=100%><tr><td valign=center align=center style='font-family:" +v88722.fontFamily +";font-size:" +v88722.fontSize +"'>" +"<img align='absmiddle' src='" +vcf390.ResolveImagePath(vcf390.ImagesSettings.InProgress)+"'>&nbsp;" +v8d124.GetInProgressText()+"</td></tr></table>"; v7e824.appendChild(v28881); } else {  } vcb693.style.display ="none"; v8d124.IFrameContentLoaded =false; setTimeout(function(){wd83010.m99389(v8d124);},100); } else { v8d124.IFrameContentLoaded =true; vcb693.style.display =""; } } else { v8d124.IFrameContentLoaded =true; vcb693.style.display ="";  if (!(IS.moz &&vcb693.style.height.indexOf("%")==-1)) vcb693.style.height ="100%"; } } },  m99389:function(v95b79) { if (v95b79.IsClosed)return;  var v62624 =v95b79.GetWindowIFrameElement(); var vc0092 =v95b79.DesktopManager; var veea28 =vc0092.GetIFrameWindow(v62624.name);  if (veea28 &&v62624.readyState =="complete") wd83010.m4dd4(v95b79); if (!v95b79.IFrameContentLoaded) { v62624.nextSibling.style.display ="";  if (v62624.onreadystatechange ==null) v62624.attachEvent("onreadystatechange",function(){wd83010.m4dd4(v95b79);}); } },  mec860:function(v9cc26) { if (v9cc26.EnableContextMenu) { var v26b15 =new WebContextMenu(v9cc26.Id +"_SysMenu"); v26b15.MenuStyleSettings.CopyFrom(v9cc26.MenuStyles.System); v26b15.MenuStyleSettings.Parent =v26b15; v26b15.MenuStyleSettings.OnPropertiesInitialized(); var vb3141 =v26b15.Items.Add(new WebMenuItem("mnuRestore","Restore",IS.GetSymbol(v9cc26,"2",true),function(){wd83010.m85962(this);})); var vc1531 =v26b15.Items.Add(new WebMenuItem("mnuMove","Move",null,function(){wd83010.m85962(this);})); var v3f95 =v26b15.Items.Add(new WebMenuItem("mnuSize","Size",null,function(){wd83010.m85962(this);})); var ve8c71 =v26b15.Items.Add(new WebMenuItem("mnuMinimize","Minimize",IS.GetSymbol(v9cc26,"0",true),function(){wd83010.m85962(this);})); var vfeb70 =v26b15.Items.Add(new WebMenuItem("mnuMaximize","Maximize",IS.GetSymbol(v9cc26,"1",true),function(){wd83010.m85962(this);})); v26b15.Items.Add(new WebMenuSeparatorItem()); var vf0c82 =v26b15.Items.Add(new WebMenuItem("mnuClose","Close",IS.GetSymbol(v9cc26,"r",true),function(){wd83010.m85962(this);},new ShortcutKey(true,true,false,null,"C")));  if (IS.ie ||(IS.moz &&!IsGecko30())) { vb3141.UseFontImage =ve8c71.UseFontImage = vfeb70.UseFontImage =vf0c82.UseFontImage =true; } else { v26b15.ImageSize =new UnitSize(12,14); }  v9cc26.SystemMenu =v26b15;  var ve0b64 =new WebContextMenu(v9cc26.Id +"_DeskMenu"); ve0b64.MenuStyleSettings.CopyFrom(v9cc26.MenuStyles.System); ve0b64.MenuStyleSettings.Parent =ve0b64; ve0b64.MenuStyleSettings.OnPropertiesInitialized();  ve0b64.Items.Add(new WebMenuCheckBoxItem("mnuAutoArrange","Auto Arrange Icons",null,function(){wd83010.mdcd8(this);},null,v9cc26.ShortcutSettings.AllowAutoArrange)); var v2ee46 =ve0b64.Items.Add(new WebMenuCheckBoxItem("mnuShowDesktopIcons","Show Desktop Icons",null,function(){wd83010.mdcd8(this);},null,v9cc26.ShortcutIconsVisible)); ve0b64.Items.Add(new WebMenuSeparatorItem()); ve0b64.Items.Add(new WebMenuItem("mnuCascade","Cascade Windows",null,function(){wd83010.mdcd8(this);})); ve0b64.Items.Add(new WebMenuItem("mnuTileHz","Tile Windows Horizontally",null,function(){wd83010.mdcd8(this);})); ve0b64.Items.Add(new WebMenuItem("mnuTileVt","Tile Windows Vertically",null,function(){wd83010.mdcd8(this);})); ve0b64.Items.Add(new WebMenuSeparatorItem()); ve0b64.Items.Add(new WebMenuItem("mnuShowDesktop","Show the Desktop",null,function(){wd83010.mdcd8(this);}));  if (!v9cc26.ShortcutIconsVisible) v2ee46.Enabled =false;  v9cc26.DesktopContextMenu =ve0b64; } },  ma823:function(va9184) { event.cancelBubble =true; event.returnValue =false;  var v6fc45 =event.srcElement; var v4078 =0; var v18669 =0;  if (v6fc45 ==va9184.GetDesktopElement()) { if (va9184.EnableContextMenu &&va9184.DesktopContextMenu) { var v25873 =va9184.DesktopContextMenu; ISEvent.Raise(va9184.ClientSideEvents.OnContextMenu,va9184.Id,"Desktop",va9184,v25873); if (IS.ie) { if (v25873.MenuWindowType =="Normal") { v4078 =window.screenLeft; v18669 =window.screenTop; }  v25873.Show(event.screenX -v4078,event.screenY -v18669); } else { var v12014 =event.screenY; var vca894 =event.screenX;  if (IS.moz) v12014 -=140;  v25873.Show(vca894,v12014); } } }  return false; },  m10618:function(vef256) { if (vef256.EnableContextMenu &&vef256.SystemMenu) { var v80e84 =event.srcElement; var v58528 =wd83010.m31e48(vef256,v80e84);  if (v58528 &&!v58528.IsClosed) wd83010.mbcc95(v58528); } },  mdd27:function(v92140) { if (v92140.IsClosed ||!v92140.ClientVisible) { var vb2c56 =v92140.DesktopManager;  if (vb2c56.SystemMenu) vb2c56.SystemMenu.HideAll(); } },  md4183:function(v79240) { event.returnValue =false; event.cancelBubble =true; if (v79240.EnableContextMenu &&v79240.SystemMenu) {  var vdd140 =event.srcElement; var vd2a7 =wd83010.m31e48(v79240,vdd140);  wd83010.mbcc95(vd2a7); }  return false; },  mbcc95:function(vaae15) { var v2aa76 =vaae15.DesktopManager; var v2ca76 =v2aa76.SystemMenu; var v06a6 =0; var vdc441 =0;  if (vaae15 &&vaae15.Initialized &&!vaae15.IsClosed &&v2ca76) { if (vaae15.WindowState =="Normal") { v2ca76.Items[0].Disable(); v2ca76.Items[1].Enable(); v2ca76.Items[2].Enable(); v2ca76.Items[3].Enable(); v2ca76.Items[4].Enable(); } else if (vaae15.WindowState =="Minimized") { v2ca76.Items[0].Enable(); v2ca76.Items[1].Disable(); v2ca76.Items[2].Disable(); v2ca76.Items[3].Disable(); v2ca76.Items[4].Enable(); } else if (vaae15.WindowState =="Maximized") { v2ca76.Items[1].Disable(); v2ca76.Items[2].Disable(); v2ca76.Items[4].Disable();  if (!v2ca76.Items[0].Enabled) v2ca76.Items[0].Enable();  v2ca76.Items[3].Enable(); }  if (vaae15.Get("AllowClose")=="No") v2ca76.Items[6].Disable();  if (vaae15.Get("AllowMinimize")=="No") v2ca76.Items[3].Disable(); if (vaae15.Get("AllowMaximize")=="No") { v2ca76.Items[0].Disable(); v2ca76.Items[4].Disable(); }  if (vaae15.Get("AllowResize")=="No") { v2ca76.Items[2].Disable(); }  v2ca76.Window =vaae15; ISEvent.Raise(v2aa76.ClientSideEvents.OnContextMenu,v2aa76.Id,"Window",vaae15,v2ca76);  if (IS.ie ||IS.opera) { if (v2ca76.MenuWindowType =="Normal") { v06a6 =window.screenLeft; vdc441 =window.screenTop; }  v2ca76.Show(event.screenX +5 -v06a6,event.screenY +5 -vdc441); } else v2ca76.Show(event.screenX,event.screenY -(IS.moz ? 140 : 0)); } },  m85962:function(v79486) { var v02586 =v79486.OwnerMenu.MenuControl.Window;  switch (v79486.Name) { case "mnuMinimize": v02586.Minimize(null,true); break; case "mnuMaximize": { if (v02586.WindowState =="Minimized") v02586.Restore();  v02586.Maximize(null,true); break; } case "mnuRestore": v02586.Restore(null,true); break; case "mnuClose": v02586.Close(); break; case "mnuMove": case "mnuSize":  wd3e491.CaptureAction =(v79486.Name =="mnuMove")? "Move" : "Size"; wd83010.m31a10(v02586); wd3e491.m27c25(v02586,v02586.Location.X,v02586.Location.Y ,v02586.Size.Width,v02586.Size.Height); break; } },  m31a10:function(v9da6) { var v80870 =document.body;  if (!IS.ie) v80870 =window;  Listener.Add(v80870,"onkeydown",wd83010.m2e939,v9da6); Listener.Add(v80870,"onmousedown",wd83010.m2e939,v9da6);  if (IS.ie) Listener.Add(v80870,"onkeyup",wd83010.m2e939,v9da6); },  ma2c10:function(vf856) { var v1db6 =document.body;  if (!IS.ie) v1db6 =window; Listener.Remove(v1db6,"onkeydown",wd83010.m2e939,vf856); Listener.Remove(v1db6,"onmousedown",wd83010.m2e939,vf856); if (IS.ie) Listener.Remove(v1db6,"onkeyup",wd83010.m2e939,vf856); wd3e491.Shadow.winName =null; wd3e491.Shadow.style.display ="none"; wd3e491.ShadowInfo.style.display ="none"; wd3e491.CaptureAction =null; },  m2e939:function() { if (event.type =="keydown" ||event.type =="keyup") { var vbae6 =wd3e491.Shadow; var v9ad44 =true; var vd4143 =-1; var vac79 =-1; var v4e21 =-1; var vc9841 =-1; var v35a85 =event.keyCode;  if (event.type =="keyup" &&event.keyCode !=ISKeyboardKey.ENTER) v35a85 =0;  switch (v35a85) { case ISKeyboardKey.ESC: wd83010.ma2c10(this); v9ad44 =false; break;  case ISKeyboardKey.LEFT:  if (wd3e491.CaptureAction =="Move") vd4143 =ISPosLib.getLeft(vbae6)-10; else { vd4143 =ISPosLib.getLeft(vbae6)-10; v4e21 =ISPosLib.getWidth(vbae6)+10; }  break;  case ISKeyboardKey.DOWN: if (wd3e491.CaptureAction =="Move") vac79 =ISPosLib.getTop(vbae6)+10; else { vac79 =ISPosLib.getTop(vbae6)+10; vc9841 =ISPosLib.getHeight(vbae6)-10; }  break;  case ISKeyboardKey.RIGHT: if (wd3e491.CaptureAction =="Move") vd4143 =ISPosLib.getLeft(vbae6)+10; else { vd4143 =ISPosLib.getLeft(vbae6)+10; v4e21 =ISPosLib.getWidth(vbae6)-10; }  break;  case ISKeyboardKey.UP: if (wd3e491.CaptureAction =="Move") vac79 =ISPosLib.getTop(vbae6)-10; else { vac79 =ISPosLib.getTop(vbae6)-10; vc9841 =ISPosLib.getHeight(vbae6)+10; }  break;  case ISKeyboardKey.ENTER:  var vf5377 =this.GetPreferredSize(parseFloat(vbae6.style.width),parseFloat(vbae6.style.height));  this.MoveTo(parseFloat(vbae6.style.left),parseFloat(vbae6.style.top)); this.ResizeTo(vf5377.Width,vf5377.Height);  if (this.EnableDropShadow &&this.DropShadow !=null) this.DropShadow.UpdatePosition(); this.SaveLocationAndSize(); wd83010.ma2c10(this);  v9ad44 =false; break; }  if (v9ad44) { var veca85 =this.GetDesktopManager().GetDesktopElement(); var vd6642 =ISPosLib.getLeft(veca85); var vd350 =ISPosLib.getTop(veca85); if (vd4143 ==-1) vd4143 =parseFloat(vbae6.style.left);  if (vac79 ==-1) vac79 =parseFloat(vbae6.style.top);  if (v4e21 ==-1) v4e21 =parseFloat(vbae6.style.width);  if (vc9841 ==-1) vc9841 =parseFloat(vbae6.style.height);  if (v4e21 <50) return;  vd4143 -=vd6642; vac79 -=vd350;  wd3e491.m27c25(this,vd4143,vac79,v4e21,vc9841); } } else { wd83010.ma2c10(this); } },  mdcd8:function(v56a56) { var v21720 =ISGetDesktopManager();  switch (v56a56.Name) { case "mnuAutoArrange": if (v56a56.Checked) { v21720.ShortcutSettings.AllowAutoArrange =true; wd83010.m34170(v21720); wd83010.m0e836(v21720); } else { v21720.ShortcutSettings.AllowAutoArrange =false; } break;  case "mnuShowDesktopIcons": if (v56a56.Checked) v21720.ShowShortcutIcons(); else v21720.HideShortcutIcons(); break;  case "mnuCascade": v21720.CascadeWindows(null,true); break;  case "mnuTileHz": v21720.TileWindowsHorizontally(null,true); break;  case "mnuTileVt": v21720.TileWindowsVertically(null,true); break;  case "mnuShowDesktop": v21720.ShowDesktop(); break; } },  m05f92:function(vfb411) { var v58256 =new Array(); for(var v33221=0; v33221<vfb411.IS.RuntimeObjects.length; v33221++) { var v64648 =vfb411.IS.RuntimeObjects[v33221]; if (v64648 &&(v64648.GetType()=="WebToolBar" ||v64648.GetType()=="WebMenuBar")) v58256.push(v64648); }  return v58256; },  mf9720:function(v86167) { if (!v86167.BarsAccessKeyEnabled)return;  if (v86167.Get("ContentMode")=="UseIFrame" &&!v86167.IsClosed &&v86167.Initialized) { var v59b11 =v86167.DesktopManager; var vd880 =v59b11.GetIFrameWindow(v86167.Name); if (vd880 &&vd880.ISGetObject) { var vace33 =wd83010.m05f92(vd880);  for(var v36542=0; v36542<vace33.length; v36542++) { var vaed66 =vace33[v36542]; if (vaed66.Enabled) vaed66.UnregisterAccessKeys(); } }  v86167.BarsAccessKeyEnabled =false; } },  m2b182:function(v56341) { if (v56341.BarsAccessKeyEnabled)return;  if (v56341.Get("ContentMode")=="UseIFrame" &&!v56341.IsClosed &&v56341.Initialized) { var v01d86 =v56341.DesktopManager; var v6d289 =v01d86.GetIFrameWindow(v56341.Name); if (v6d289 &&v6d289.ISGetObject) { var v83285 =wd83010.m05f92(v6d289);  for(var v4de7=0; v4de7<v83285.length; v4de7++) { var vf6c88 =v83285[v4de7]; if (vf6c88.Enabled) vf6c88.RegisterAccessKeys(); } }  v56341.BarsAccessKeyEnabled =true; } },  mdb945:function(vd3f61,v62e78,v96537) { var v76377 ="progid:DXImageTransform.Microsoft."; var v38137 ="0.5";  if (v62e78 !="None") { switch (v62e78) { case "Fade": v76377 +="Fade(duration=" +v38137 +",overlap=1.0)"; break; case "GradientWipe": v76377 +="Wipe(duration=" +v38137 +",GradientSize=1.0, wipeStyle=1, motion='forward')"; break; case "Pixelate": v76377 +="Pixelate(duration=" +v38137 +",MaxSquare=30)"; break; case "SlideAndHide": v76377 +="Slide(duration=" +v38137 +",slideStyle='HIDE', bands=1)"; break; case "SlideAndPush": v76377 +="Slide(duration=" +v38137 +",slideStyle='PUSH', bands=1)"; break; case "SlideAndSwap": v76377 +="Slide(duration=" +v38137 +",slideStyle='SWAP', bands=1)"; break; case "Iris": v76377 +="Iris(duration=" +v38137 +",irisStyle='CIRCLE', motion='out')"; break; case "Wheel": v76377 +="Wheel(duration=" +v38137 +",Spokes=4)"; break; }  vd3f61.style.filter =v76377; vd3f61.filters[0].Apply();  if (!v96537) vd3f61.style.visibility ="hidden"; else vd3f61.style.visibility ="visible";  vd3f61.filters[0].Play(); } else { vd3f61.style.visibility ="visible"; } },  m73461:function(v46e16) { var vf5480 =v46e16.GetWindowDivElement();  if (vf5480 !=null) { vf5480.style.display ="none"; vf5480.style.zoom ="100%"; } },  m5de99:function(v2cb52,vac626) { var v87652 =v2cb52.GetWindowDivElement();  if (v87652 !=null) { v87652.style.display =""; ISAnimation_RemoveOpacity(v87652); }  var vc1726 =v2cb52.GetContentDivElement().children[0];  if (vc1726 !=null) vc1726.style.display =""; v2cb52.Show(null,null,true,vac626); },  m0bd13:function(vd7911) { var v7c636 =vd7911.GetDesktopClientSize();  for (var v4f766=0; v4f766<vd7911.Windows.length; v4f766++) { var ve4f89 =vd7911.Windows[v4f766]; var v18636 =ve4f89.GetWindowDivElement();  if (ve4f89.ClientVisible &&ve4f89.WindowState =="Maximized" &&!ve4f89.IsClosed) { v18636.style.width =v7c636.Width; v18636.style.height =vd7911.GetAvailableDesktopHeight(v7c636.Height); if (ve4f89.Get("ContentMode")=="UseIFrame") { var v22631 =ve4f89.GetWindowIFrameElement(); var va7d30 =v22631.parentElement.clientHeight;  if (v22631) { if (va7d30 >v7c636.Height) v22631.style.height =va7d30; else v22631.style.height ="100%"; } } } } }};function ISFindWindowRecursive(v80773,v58324){ var vf8134 =null;  if (!v58324)vf8134 =window; else vf8134 =v58324;  if (vf8134.name ==v80773) return vf8134; else { var v8b55 =vf8134.frames; for (var vf7472=0; vf7472<v8b55.length; vf7472++) { var v2ae87 =v8b55[vf7472]; if (v2ae87.name ==v80773) return v2ae87;  if (v2ae87.frames.length >0) { var v87185 =ISFindWindowRecursive(v80773,v2ae87); if (v87185)return v87185; } } }  return null;}function WebDesktopManagerDestructor(){ var vbdf9 =delete wd83010;}window.attachEvent("onunload",WebDesktopManagerDestructor);