
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 6/24/2008 1:36:18 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(veb927,v53083,v78b66,v38038,v1cc45){ var vf4a2 =document.getElementById(veb927 +"_loader");  if (vf4a2) { if (v53083 =="UseBuiltIn") { var vc9e17 =vf4a2.currentStyle; var v8989 =vf4a2.children[0]; var va3c43 =v8989.rows[1].cells[0].children[0]; var vb6681 =va3c43.children[0]; with (v8989.style) { color =vc9e17.color; fontFamily =vc9e17.fontFamily; fontSize =vc9e17.fontSize; }  vb6681.style.filter ="progid:DXImageTransform.Microsoft.Alpha(Opacity=30, FinishOpacity=100, Style=1, StartX=0,  FinishX=100, StartY=0, FinishY=0)"; vb6681.style.width ="0px"; vb6681.style.backgroundColor =va3c43.currentStyle.color; }  vf4a2.mode =v53083; vf4a2.transition =v78b66; vf4a2.eventName =v38038; vf4a2.loaderText =v1cc45;  if (document.readyState =="complete") { WebDesktopLoaderProgress(veb927,100); } else { var v1a49 =new Array(); var v61e63 =document.getElementsByTagName("script"); var v9d317 =eval(veb927 +"_images");  if (IS.ie) {for(var v48387=0; v48387<v61e63.length; v48387++) { if (v61e63[v48387].src !="") v1a49[v1a49.length] =v61e63[v48387]; } } for(var v48387=0; v48387<v9d317.length; v48387++) { var v66412 =new Image(); v66412.src =v9d317[v48387]; v66412.loadTry =0; v1a49[v1a49.length] =v66412; }  wd32b61.ResourcesList =v1a49; vf4a2.totalResources =v1a49.length; setTimeout(function(){WebDesktopLoaderTimer(veb927,vf4a2); },50); } }}function WebDesktopLoaderTimer(v1bd88,v8bf19){ var v02438 =wd32b61.ResourcesList; var v7ed41 =v8bf19.totalResources; var vfe736 =0; var ve8944 =0; var v24d89 =0;  for (var v47773=0; v47773<v02438.length; v47773++) { var ve3059 =v02438[v47773]; if (ve3059.marked) { vfe736++; } else { if ((ve3059.tagName =="SCRIPT" &&ve3059.readyState =="complete")||(ve3059.complete)) { ve8944++; ve3059.marked =true; } else if (ve3059.tagName =="IMG" &&!ve3059.complete) { if (ve3059.loadTry ==5 &&ve3059.fileSize ==-1) { ve8944++; ve3059.marked =true; } else { ve3059.loadTry++; } } } }  v24d89 =Math.round(((vfe736 +ve8944)/v7ed41)*100);  if (IS.ie) { if (v24d89 >90) { if (document.readyState !="complete") { if (!v8bf19.retryCount) v8bf19.retryCount =0; else v8bf19.retryCount++;  v24d89 =90 +v8bf19.retryCount; if (v24d89 >97) v24d89 =97; } else v24d89 =100; } }  WebDesktopLoaderProgress(v1bd88,v8bf19,v24d89); if (v24d89 <100) v8bf19.nextTimerID =setTimeout(function(){WebDesktopLoaderTimer(v1bd88,v8bf19); },50);}function WebDesktopLoaderProgress(v16618,vcb386,ve5d78){ if (vcb386.mode =="UseBuiltIn") { var v1fc43 =vcb386.children[0]; var v2e198 =v1fc43.rows[1].cells[0].children[0].children[0]; var v19526 =v1fc43.rows[0].cells[0]; var v7a777 =vcb386.loaderText;  v7a777 =v7a777.replace("[completed]",ve5d78); v19526.innerText =v7a777; v2e198.style.width =(ve5d78/100)*200; } ISEvent.Raise(vcb386.eventName,v16618,ve5d78); if (ve5d78 >99) { wd32b61.ResourcesList =null;  clearTimeout(vcb386.nextTimerID);  if (IS.ie) { setTimeout(function() { wd32b61.m6aa85(vcb386,vcb386.transition); },500); }  setTimeout(function() { vcb386.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(vd0284){ this.ClassName ="WebDesktopManager"; this.Version ="1.0.2006"; this.BuildNumber ="0"; this.MajorVersion ="1.0"; this.RequiredFrameworkVersion ="2.0.5000.16"; ISControl.call(this,vd0284);  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 ="/CommonLibrary/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 =vd0284; 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(); wd32b61.m77c38(this); wd32b61.m6f86(this);  if (typeof(wd7f075)=="object") wd7f075.mba569(this.InteractiveObjects);  };  this.ReBindingPostBackData =function() { this.Set("ActiveWindowIndex",this.ActiveWindowIndex,true); };  this.OnPropertiesInitialized =function() { if (this.Events !=null) { var vb5529; for(vb5529 in this.Events) { if (typeof(this.Events[vb5529])=="string") this.ClientSideEvents[vb5529] =this.Events[vb5529]; } }  var v31444 =document.getElementById(this.Id);  if (v31444 ==null) v31444 =document.getElementById(this.ServerUniqueID);  v31444.value ="ISWebDesktopManager"; };  this.RemoveDynamicStyle =function() { var v74e48 =["TaskBarButon","Shortcut"]; var vcb748 =["Caption","CaptionButton","Window","CommandButton"]; for(var v42620=0; v42620<v74e48.length; v42620++) { var vf0a44 =this[v74e48[v42620] +"Style"]; if (vf0a44) ISXml.RemoveNode(this.XmlNode,v74e48[v42620] +"Style"); }  for(var v42620=0; v42620<vcb748.length; v42620++) { var vf0a44 =this.WindowSettings[vcb748[v42620] +"Style"]; if (vf0a44) ISXml.RemoveNode(this.WindowSettings.XmlNode,vcb748[v42620] +"Style"); } };  this.GetMaxZIndex =function() { if (this.MaxZIndex ==0) { for (var v42620=0; v42620<this.Windows.length; v42620++) { var vdf075 =this.Windows[v42620].GetWindowDivElement();  if (vdf075) { this.MaxZIndex =Math.max(this.MaxZIndex,vdf075.style.zIndex); } } }  return this.MaxZIndex; };  this.GetIFrameWindow =function(v32e68) { return window.frames[v32e68]; };  this.GetAvailableColumn =function() { var v8894 =10; var vefc35 =0; var v37b52 =-1; var v4448 =this.GetDesktopSize();  for (var v42620=0; v42620<this.ShortcutIcons.length; v42620++) { var v6cb73 =this.ShortcutIcons[v42620];  if (!v6cb73.RuntimeLocation.IsEmpty()&&v6cb73.Location.IsEmpty()) { v8894 =Math.max(v8894,v6cb73.RuntimeLocation.X); } }  v37b52 =(v8894-10)/80;   for (var v42620=0; v42620<this.ShortcutIcons.length; v42620++) { var v6cb73 =this.ShortcutIcons[v42620];  if (!v6cb73.RuntimeLocation.IsEmpty()&&v6cb73.RuntimeLocation.X ==v8894 &&v6cb73.Location.IsEmpty()) { vefc35 =Math.max(vefc35,v6cb73.RuntimeLocation.Y); } } if (vefc35 +(80*2)>v4448.Height) { v37b52++; }  return v37b52; };  this.GetAvailableRow =function(v37b52) { var v8894 =(v37b52*80)+10; var vefc35 =5; var vab742 =-1;  for (var v42620=0; v42620<this.ShortcutIcons.length; v42620++) { var v6cb73 =this.ShortcutIcons[v42620]; if (!v6cb73.RuntimeLocation.IsEmpty()&&v6cb73.RuntimeLocation.X ==v8894 &&(this.ShortcutSettings.AllowAutoArrange ||v6cb73.Location.IsEmpty())) { vefc35 =Math.max(vefc35,v6cb73.RuntimeLocation.Y+80); } } vab742 =(vefc35-5)/80;  return vab742; };  this.GetCssObject =function(v32e68) { return IS.GetCssObject(null,v32e68,true); };  this.TransferStyle =function(vfd159) { var v63547 =this.GetCssObject(vfd159.selectorText.substring(1)); if (!v63547) { var vf0a44 =IS.GetRuntimeStyleSheetExact(); if (IS.ie ||IS.safari) vf0a44.addRule(vfd159.selectorText,vfd159.style.cssText); else vf0a44.innerHTML +=vfd159.selectorText +" { " +vfd159.style.cssText +" }\n";  return true; }  return false; };  this.OnUnload =function() { wd32b61.md1e91(this); };  this.CreateWindow =function() { return new WebDesktopWindow(); };  this.ShowDialogBox =function() {  };  this.GetDocument =function() { var vc3242 =this.GetDesktopElement();  if (vc3242) { if (IS.ie) return vc3242.document; else return vc3242.ownerDocument; } else return document; };  this.GetContentWindow =function() { var v86852 =this.GetDocument(); return v86852.parentWindow; };  this.GetTaskBarElement =function() { return document.getElementById("dvTaskBar_" +this.Id); };  this.GetTaskBarWindowGroupElement =function() { var v91082 =this.GetTaskBarElement(); if (!v91082)return null;  var v1a570 =v91082.children[0];  for (var v42620=0; v42620 <v1a570.rows[0].cells.length; v42620++) { if (IS.GetAttr(v1a570.rows[0].cells[v42620],"type")=="WindowGroup") return v1a570.rows[0].cells[v42620]; } return null; };  this.GetTaskBarLeftTemplateElement =function() { var v91082 =this.GetTaskBarElement(); if (!v91082)return null; var v1a570 =v91082.children[0];  for (var v42620=0; v42620 <v1a570.rows[0].cells.length; v42620++) { if (IS.GetAttr(v1a570.rows[0].cells[v42620],"type")=="Left") return v1a570.rows[0].cells[v42620]; } return null; };  this.GetTaskBarRightTemplateElement =function() { var v91082 =this.GetTaskBarElement(); if (!v91082)return null; var v1a570 =v91082.children[0];  for (var v42620=0; v42620 <v1a570.rows[0].cells.length; v42620++) { if (IS.GetAttr(v1a570.rows[0].cells[v42620],"type")=="Right") return v1a570.rows[0].cells[v42620]; } return null; };  this.GetDesktopElement =function() { var vc3242 =document.getElementById("dvDesktop_" +this.Id);  if (!vc3242 &&this.CreatedAtRuntime) { if (document.forms.length >0) vc3242 =document.forms[0]; else vc3242 =document.body; } return vc3242; };  this.GetDesktopSize =function() { var ve9665 =new UnitSize(); if (this.CachedDesktopSize ==null) { var v9c095 =null;  if (!this.CreatedAtRuntime) v9c095 =this.GetDesktopElement(); else v9c095 =document.body;  ve9665.Width =v9c095.offsetWidth; ve9665.Height =v9c095.offsetHeight;  if (ve9665.Height ==0) ve9665.Height =ISPosLib.getHeight(v9c095);  this.CachedDesktopSize =ve9665; } else ve9665 =this.CachedDesktopSize;  return ve9665; };  this.GetDesktopClientSize =function() { var ve9665 =new UnitSize(); var v9c095 =null;  if (!this.CreatedAtRuntime) v9c095 =this.GetDesktopElement(); else v9c095 =document.body;  ve9665.Width =v9c095.clientWidth; ve9665.Height =v9c095.clientHeight;  if (ve9665.Height ==0) ve9665.Height =ISPosLib.getHeight(v9c095);  return ve9665; };  this.GetAvailableDesktopHeight =function(v47914) { return v47914 -this.DockBottomHeight; };  this.CascadeWindows =function(vd3d98,v4d414) { wd32b61.m58552(this,vd3d98,v4d414); };  this.TileWindowsHorizontally =function(vd3d98,v4d414) { wd32b61.m26b19(this,vd3d98,"H",v4d414); };  this.TileWindowsVertically =function(vd3d98,v4d414) { wd32b61.m26b19(this,vd3d98,"V",v4d414); };  this.GetActiveWindow =function() { return this.Windows[this.ActiveWindowIndex]; };  this.GetActiveShortcut =function() { return this.ShortcutIcons[this.ActiveShortcutIndex]; };  this.GetWindow =function(v32e68) { var v9ff75 =this.Windows.GetNamedItem(v32e68); if (!v9ff75 &&this.CreatedAtRuntime) { v9ff75 =ISGetObject(v32e68.substring(3)); if (v9ff75 &&v9ff75.GetType()=="WebDialogBox") v9ff75 =v9ff75.Window; }  return v9ff75; };  this.ResolveImagePath =function(vae345) { return this._ResolveImagePath(this.ImagesDirectory,vae345); };  this.GetTopMostWindowBefore =function(v9ff75) { var v13e96 =null; var vef273 =0;  for (var v42620=0; v42620<this.Windows.length; v42620++) { var vb9d92 =this.Windows[v42620];  if (vb9d92.WindowState !="Minimized" &&!vb9d92.IsClosed &&vb9d92.Initialized &&vb9d92 !=v9ff75 &&vb9d92.ClientVisible) { var vdf075 =vb9d92.GetWindowDivElement();  if (vdf075) { vef273 =Math.max(vef273,vdf075.style.zIndex);  if (vef273 ==vdf075.style.zIndex) { v13e96 =vb9d92; } } } }  return v13e96; };  this.GetWindowListByZOrder =function() { var vc4c44 =new Array(); var v05123 =new Array();  for (var v42620=0; v42620<this.Windows.length; v42620++) vc4c44[vc4c44.length] =this.Windows[v42620].GetWindowDivElement().style.zIndex; vc4c44.sort(wd32b61.m6a026); vc4c44.reverse(); for (var v42620=0; v42620<vc4c44.length; v42620++) { for (var v7d041=0; v7d041<this.Windows.length; v7d041++) { var vb9d92 =this.Windows[v7d041]; var vdf075 =vb9d92.GetWindowDivElement();  if (vdf075.style.zIndex ==vc4c44[v42620]) v05123[v05123.length] =vb9d92; } }  return v05123; };  this.SetNoActiveWindow =function() { var vb9d92 =this.GetActiveWindow(); if (vb9d92 &&vb9d92.ClientVisible &&!vb9d92.Closed) { var v8d762 =vb9d92.GetTaskBarButtonElement(); DynamicStyleEngine.SetToStyle(null,this.TaskBarButtonStyle,v8d762); } this.ActiveWindowIndex =-1; };  this.RearrangeShortcutIcons =function() { wd32b61.mbe293(this); };  this.ShowShortcutIcons =function() { for (var v42620=0; v42620<this.ShortcutIcons.length; v42620++) { var vc641 =this.ShortcutIcons[v42620]; vc641.Show(); } this.ShortcutIconsVisible =true; };  this.HideShortcutIcons =function() { for (var v42620=0; v42620<this.ShortcutIcons.length; v42620++) { var vc641 =this.ShortcutIcons[v42620]; vc641.Hide(); } this.ShortcutIconsVisible =false; };  this.ShowDesktop =function() { for (var v42620=0; v42620<this.Windows.length; v42620++) { var vb9d92 =this.Windows[v42620]; if (vb9d92.WindowState !="Minimized" &&!vb9d92.IsDialogBox) vb9d92.Minimize(); } this.SetNoActiveWindow(); };  this.SaveDesktopStateToXml =function() { this.Windows.UpdateChanges(); this.ShortcutIcons.UpdateChanges();  var v86215 =ISXml.CreateXmlDocument(); var vf0a44 ="<Desktop>";  vf0a44 +=this.Windows.XmlNode.xml; if (this.ShortcutIconsVisible) vf0a44 +=this.ShortcutIcons.XmlNode.xml; vf0a44 +="</Desktop>";  ISXml.LoadXml(v86215,vf0a44); return vf0a44; };  this.RegisterEvents =function(ve4864,vcaa51) { wd32b61.m11c0(this,ve4864,vcaa51 ? ve4864.parent.name : null); };   this.GetNotificationControl =function() { for (var v42620=0; v42620<IS.RuntimeObjects; v42620++) { var vd1d55 =IS.RuntimeObjects[v42620]; if (vd1d55 !=null &&vd1d55.GetType()=="WebNotification") return vd1d55; }  return null; };  this.IsVistaAnimation =function() { return (this.EnableAnimation &&this.AnimationStyle =="VistaStyleZoom"); };  this.GetVisibleWindows =function() { var vc4c44 =new Array();  for (var v42620=0; v42620<this.Windows.length; v42620++) { var v9ff75 =this.Windows[v42620];  if (v9ff75.ClientVisible &&!v9ff75.IsClosed) vc4c44.push(v9ff75); }  return vc4c44; };  this.OpenFromFishEye =function(v0163) { wd32b61.mae236(this,v0163); };}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 veba75 =ISXml.GetAttribute(this.XmlNode,"Location"); this.Location.Parse(veba75); } }; this.OnAdd =function() { wd32b61.m4ce99(this); };  this.Initialize =function() { this.Rearrange();  if (this.DesktopManager.ShortcutSettings.Movable) { var vc499 =new ISInteractiveObject(); var v16a12 =this.GetElement(); var va8914 =this.DesktopManager;  vc499.DesktopManager =this.DesktopManager; vc499.Movable =true; vc499.DragElement =v16a12; vc499.FrameElement =v16a12;  va8914.InteractiveObjects[va8914.InteractiveObjects.length] =vc499; this.InteractiveObject =vc499; this.Registered =true; v16a12.IsInteractiveObject =true; } };   this.GetElement =function() { return document.getElementById("dvSCI_" +this.DesktopManager.Id +"_" +this.Name); };  this.GetTextElement =function() { var v16a12 =this.GetElement(); return v16a12.children[1]; };  this.Rearrange =function() { var v5265 =this.Index; var vd1d95 =this.DesktopManager; var v84412 =vd1d95.ShortcutSettings; var v16a12 =this.GetElement();  if (!this.Visible ||!v16a12)return;  if (v84412.AllowAutoArrange ||this.Location.IsEmpty()) { var v24f39 =vd1d95.GetAvailableColumn(); var vde682 =vd1d95.GetAvailableRow(v24f39); var ve7237 =5 +(vde682 *80);  this.RuntimeLocation.X =(v24f39*80)+10; this.RuntimeLocation.Y =ve7237; } else { this.RuntimeLocation.X =this.Location.X; this.RuntimeLocation.Y =this.Location.Y; }  v16a12.style.left =this.RuntimeLocation.X; v16a12.style.top =this.RuntimeLocation.Y; };  this.Select =function(v0c739) { if (this.Visible) { var va1280 =this.DesktopManager.GetActiveShortcut();  if (va1280) { var v40934 =va1280.GetTextElement(); DynamicStyleEngine.SetToStyle(null,this.DesktopManager.ShortcutStyle,v40934); }  var v16a12 =this.GetTextElement(); DynamicStyleEngine.SetToActiveStyle(null,this.DesktopManager.ShortcutStyle,v16a12);  this.DesktopManager.ActiveShortcutIndex =this.Index;  if (v0c739) va496 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutSelected,this.DesktopManager.Id,this);  } };  this.Open =function(v0c739) { var va496 =true;  if (v0c739) va496 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutBeforeLaunched,this.DesktopManager.Id,this);  if (va496) wd32b61.m29695(this);  ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnShortcutAfterLaunched,this.DesktopManager.Id,this);  };  this.SetText =function(v7ee74) { var v16a12 =this.GetElement(); if (v16a12) v16a12.children[1].innerHTML =v7ee74;  this.Text =v7ee74; };  this.Delete =function() { wd32b61.m38079(this); };  this.Show =function() { var v16a12 =this.GetElement(); if (v16a12) v16a12.style.display =""; };  this.Hide =function() { var v16a12 =this.GetElement(); if (v16a12) v16a12.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(v67f97) { if (this[v67f97] =="Default") return this.DesktopManager.WindowSettings[v67f97]; else return this[v67f97]; };  this.GetDefaultSize =function(v67f97) { if (this[v67f97].IsEmpty()) return this.DesktopManager.WindowSettings[v67f97]; else return this[v67f97]; };  this.__getter =function(v67f97) { switch (v67f97) { case "CaptionDisplayMode": case "ImageAlignment": case "ContentMode": case "AllowMinimize": case "AllowMaximize": case "AllowClose": case "AllowResize": case "ControlBox": case "TextAlignment": return this.GetDefault(v67f97); break; case "ControlBoxImage": if (this[v67f97] =="") return this.DesktopManager.ImagesSettings["ControlBox"]; else return this[v67f97]; break; case "Size": case "MinimumSize": case "MaximumSize": return this.GetDefaultSize(v67f97); case "BusyText": if (this[v67f97] =="") return this.DesktopManager.TextSettings[v67f97]; else return this[v67f97];  } };  this.OnAdd =function() { wd32b61.m4aa75(this); };  this.OnUpdate =function(v2a136) { if (!this.Location.IsEmpty()) ISXml.SetAttribute(v2a136,"Location",this.Location.X +", " +this.Location.Y);  if (!this.IsClosed &&!this.Size.IsEmpty()) ISXml.SetAttribute(v2a136,"Size",this.Size.Width +", " +this.Size.Height); };  this.ReInitialize =function() { wd32b61.mde427(this); this.Initialize(true); };  this.Initialize =function(v6748) { wd32b61.mc7a36(this);  if (v6748) return; var v57794 =this.DesktopManager; var v02d73 =this.GetWindowDivElement(); var v60387 =this.GetCaptionBarTableElement();  var v8b735 =new ISInteractiveObject();  if (this.Get("AllowResize")=="Yes") v8b735.Resizable =true;  v8b735.Window =this; v8b735.DesktopManager =v57794; v8b735.Movable =true; v8b735.DragElement =v60387; v8b735.FrameElement =v02d73; v8b735.FrameElement.IsInteractiveObject =true; v8b735.Registered =true;  v57794.InteractiveObjects[v57794.InteractiveObjects.length] =v8b735; this.InteractiveObject =v8b735; this.Initialized =true;  };  this.UnregisterAccessKeys =function() { wd32b61.m3a244(this); };  this.RegisterAccessKeys =function() { wd32b61.mda734(this); };   this.GetWindowDivElement =function() { return document.getElementById("dvWnd_" +this.DesktopManager.Id +"_" +this.Name); };  this.GetCaptionBarCellElement =function() { var v1014 =this.GetWindowDivElement(); if (v1014) { var v2bd80 =v1014.children[0]; return v2bd80.rows[0].cells[0]; } return null; };  this.GetControlBoxElement =function() { var v1a863 =this.GetCaptionBarCellElement();  if (this.Get("ControlBox")=="Yes") { var v2bd80 =v1a863.children[0]; var vf984 =(this.DesktopManager.WindowSettings.ControlBoxPosition =="Left")? 0 : 1;  if (this.DesktopManager.WindowSettings.BorderType =="Simple") return v2bd80.rows[0].cells[vf984]; else return v2bd80.rows[0].cells[1].children[0].rows[0].cells[vf984]; }  return null; };  this.GetCaptionBarTableElement =function() { if (this.DesktopManager.WindowSettings.BorderType =="Simple") { return this.GetCaptionBarCellElement().children[0]; } else if (this.DesktopManager.WindowSettings.BorderType =="ComplexImages") { var v0ee87 =this.GetCaptionBarCellElement(); if (v0ee87) { var v2bd80 =v0ee87.children[0]; var v3d816 =v2bd80.rows[0].cells[1];  return v3d816.children[0]; } return null; } }; this.GetInProgressText =function() { if (this.InProgressText =="") return this.DesktopManager.TextSettings.InProgressText; else return this.InProgressText; };  this.GetContentDivElement =function() { var v1014 =this.GetWindowDivElement(); if (v1014) { var v2bd80 =v1014.children[0]; return v2bd80.rows[1].cells[0].children[0]; } return null; };  this.GetDesktopManager =function() { return this.DesktopManager; };  this.GetWindowOptionsCellElement =function() { var v6fd44 =this.GetCaptionBarTableElement();  if (v6fd44) { var vc8e27 =v6fd44.rows[0];  if (this.DesktopManager.WindowSettings.WindowOptionsPosition =="Right") return vc8e27.cells[v6fd44.rows[0].cells.length-1]; else return vc8e27.cells[0]; } else return null; };  this.GetControlBoxCellElement =function() { if (this.Get("ControlBox")=="No") return null;  var v6fd44 =this.GetCaptionBarTableElement();  if (v6fd44) { if (this.DesktopManager.WindowSettings.ControlBoxPosition =="Left") return v6fd44.rows[0].cells[0]; else return v6fd44.rows[0].cells[1].children[0]; } else return null; };  this.GetMaximizeButtonElement =function() { var v36f86 =this.GetWindowOptionsCellElement();  for (var v2c66=0; v2c66<v36f86.children.length; v2c66++) { var ve9979 =v36f86.children[v2c66];  if (IS.GetAttr(ve9979,"type")=="Max") return ve9979; }  return null; }; this.GetCloseButtonElement =function() { var v36f86 =this.GetWindowOptionsCellElement();  for (var v2c66=0; v2c66<v36f86.children.length; v2c66++) { var ve9979 =v36f86.children[v2c66];  if (IS.GetAttr(ve9979,"type")=="Close") return ve9979; }  return null; }; this.GetMinimizeButtonElement =function() { var v36f86 =this.GetWindowOptionsCellElement();  for (var v2c66=0; v2c66<v36f86.children.length; v2c66++) { var ve9979 =v36f86.children[v2c66];  if (IS.GetAttr(ve9979,"type")=="Min") return ve9979; }  return null; };  this.IsActiveWindow =function() { return (this.DesktopManager.ActiveWindowIndex ==this.Index); };  this.GetTaskBarButtonElement =function() { var v49464 =this.DesktopManager;  if (v49464.TaskBarVisible &&v49464.TaskBarSettings.ShowWindows) { if (this.ShowInTaskBar &&!this.IsClosed &&this.Initialized) { var v16315 =this.DesktopManager.GetTaskBarWindowGroupElement(); if (v16315) { var v2bd80 =v16315.children[0].children[0]; for (var v2c66=0; v2c66<v2bd80.rows[0].cells.length; v2c66++) { if (IS.GetAttr(v2bd80.rows[0].cells[v2c66],"name")==this.Name) return v2bd80.rows[0].cells[v2c66]; } } } }  return null; };  this.GetTaskBarButtonImageElement =function() { var ve3821 =this.GetTaskBarButtonElement();  if (ve3821) return ve3821.children[0].children[0].children[0];  return null; };  this.GetTaskBarButtonTextElement =function() { var ve3821 =this.GetTaskBarButtonElement(); if (ve3821) return ve3821.children[0].children[0].childNodes[2];  return null;  };  this.GetWindowIFrameElement =function() { var v11197 =this.GetContentDivElement(); if (!v11197)return null; var v40155 =v11197.children[0];  if (v40155.children[0].tagName =="IFRAME") return v40155.children[0]; else return v40155.children[1]; };  this.GetContentWindow =function() { var ve9979 =this.GetWindowIFrameElement();  if (ve9979) return ve9979.contentWindow; };  this.MoveTo =function(v42327,vbad0) { wd32b61.m72f53(this,v42327,vbad0); };  this.MoveToCenterDesktop =function() { var v9c794 =this.DesktopManager.GetDesktopSize(); wd32b61.m72f53(this,(v9c794.Width-this.Size.Width)/2,(v9c794.Height-this.Size.Height)/2); };  this.MoveToCenterDesktopAbsolute =function() { var v9c794 =this.DesktopManager.GetDesktopClientSize(); wd32b61.m72f53(this,(v9c794.Width-this.Size.Width)/2,(v9c794.Height-this.Size.Height)/2); };  this.ResizeTo =function(v97566,v2dd20) { wd32b61.m39e25(this,v97566,v2dd20); };  this.Minimize =function(vbac77,vc5a78) { var v2be15 =true;  if (vbac77) { v2be15 =wd32b61.m8a022(this.DesktopManager);  if (v2be15) v2be15 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowMinimized,this.DesktopManager.Id,this); }  if (v2be15) wd32b61.m93930(this,vc5a78);  };  this.Maximize =function(vbac77,vc5a78) { var v2be15 =true; if (vbac77) v2be15 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowMaximized,this.DesktopManager.Id,this);  if (v2be15) wd32b61.m43e4(this,vc5a78); };  this.Restore =function(vbac77,vc5a78) { var v2be15 =true; if (vbac77) v2be15 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowRestored,this.DesktopManager.Id,this);  if (v2be15) wd32b61.m47e12(this,vc5a78); };  this.Close =function(vbac77) { var v2be15 =true; if (vbac77) { v2be15 =wd32b61.m8a022(this.DesktopManager);  if (v2be15) v2be15 =ISEvent.Raise(this.OnBeforeClosed,this); }  if (v2be15) { if (vbac77) v2be15 =ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowBeforeClosed,this.DesktopManager.Id,this); }  if (v2be15) { wd32b61.m51737(this); ISEvent.Raise(this.OnAfterClosed,this);  if (vbac77) ISEvent.Raise(this.DesktopManager.ClientSideEvents.OnWindowAfterClosed,this.DesktopManager.Id,this);  wd32b61.m5cd15(this); } };  this.Activate =function(vfec27) {  if (!this.IsActiveWindow()) { wd32b61.m77032(this.DesktopManager); this.BringToFront();  wd32b61.me8547(this,vfec27); } };  this.ShowAndActivate =function() { this.Show(null,null,null,true); };  this.Show =function(v4dd99,vfdb94,ve0e10,v8e184) { var v88947 =false;  if (this.CreatedAtRuntime) { if (v4dd99 &&this.DesktopManager.EnableAnimation &&this.DesktopManager.AnimationStyle =="ShrinkExpand") { var v9e02 =new ISAnimatedObject(); var v1014 =this; var vc4c72 =new UnitSize(); var v03466 =new OffsetLocation();  v03466.X =ISPosLib.getLeft(v4dd99); v03466.Y =ISPosLib.getTop(v4dd99); vc4c72.Width =ISPosLib.getWidth(v4dd99); vc4c72.Height =ISPosLib.getHeight(v4dd99);  if (vfdb94) v9e02.BorderColor =vfdb94;  v9e02.Type ="ShrinkExpand"; v9e02.AnimateLocation =true; v9e02.AnimateSize =true; v9e02.Element =this.GetWindowDivElement(); v9e02.CurrentSize =vc4c72; v9e02.CurrentLocation =v03466; v9e02.TargetSize =this.Size; v9e02.TargetLocation =this.Location; v9e02.OnCompleted =function(){v1014.Show();};  v9e02.Play(); v88947 =true; } else { if (this.ShowInTaskBar) wd32b61.m1d155(this); if ((ve0e10 ==true ||!this.DesktopManager.IsVistaAnimation())&&this.ContentURL !="") this.LoadContent();  this.Activate(); } } else { if (!this.ClientVisible &&this.DesktopManager.TaskBarVisible &&this.ShowInTaskBar) wd32b61.m1d155(this); if ((ve0e10 ==true ||!this.DesktopManager.IsVistaAnimation())&&this.ContentURL !="" &&this.Get("ContentMode")=="UseIFrame"  &&!this.IFrameContentLoaded) this.LoadContent(); }  var v02d73 =this.GetWindowDivElement(); var ve3821 =this.GetTaskBarButtonElement(); var v5567 =false; if (!v88947 &&!ve0e10) { if (this.DesktopManager.IsVistaAnimation()) { var vcea90 =this.GetContentDivElement().children[0]; vcea90.style.display ="none";  var v9e02 =new ISAnimatedObject(); var v1014 =this; v9e02.Type ="ZoomIn"; v9e02.AnimateLocation =false; v9e02.AnimateSize =false; v9e02.Element =v02d73; v9e02.MaxStep =7; v9e02.OnCompleted =function(){wd32b61.mb2492(v1014,v8e184);};  v9e02.Play(); v88947 =true; } else { v5567 =true; } }  if (!v5567 &&ve0e10) v5567 =true;  if (v5567) { v02d73.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(v02d73); }  this.DropShadow.UpdatePosition(); this.DropShadow.Show(); } }  if (ve3821) ve3821.style.display ="";  if (!v88947 &&v8e184) this.Activate();  this.ClientVisible =true; };  this.Hide =function() { var v02d73 =this.GetWindowDivElement(); var ve3821 =this.GetTaskBarButtonElement(); if (typeof(event)!="undefined" &&event !=null &&this.DesktopManager.IsVistaAnimation()&&this.WindowState !="Minimized") { if (this.Get("ContentMode")=="UseIFrame") { var v72e93 =this.GetWindowIFrameElement(); v72e93.style.display ="none"; }  var v9e02 =new ISAnimatedObject(); var v1014 =this; v9e02.Type ="ZoomOut"; v9e02.AnimateLocation =false; v9e02.AnimateSize =false; v9e02.Element =v02d73; v9e02.OnCompleted =function(){wd32b61.m41d82(v1014);};  v9e02.Play(); } else { v02d73.style.display ="none";  if (this.EnableDropShadow &&this.DropShadow !=null) this.DropShadow.Hide(); }  if (ve3821) ve3821.style.display ="none";  this.ClientVisible =false; };  this.BringToFront =function() { var v02d73 =this.GetWindowDivElement();  if (v02d73) { v02d73.style.zIndex =102; } };  this.SendToBack =function() { var v02d73 =this.GetWindowDivElement();  if (v02d73) { v02d73.style.zIndex =100 -this.Collection.length; } };  this.SetCaption =function(ved248) { var v12b51 =this.GetCaptionBarTableElement(); var vbec15 =this.GetTaskBarButtonTextElement(); if (v12b51) { var v99d48 =1; if (this.Get("ControlBox")=="No")v99d48 =0; var v1a863 =v12b51.rows[0].cells[v99d48]; if (this.DesktopManager.WindowSettings.ControlBoxPosition =="Left") v1a863.innerHTML =ved248; else v1a863.childNodes[1].nodeValue =" " +ved248; }  if (vbec15) vbec15.nodeValue =" " +ved248; };  this.SetControlBoxImage =function(v33e4) { var v07e23 =this.GetControlBoxElement();  if (v07e23) v07e23.children[0].src =v33e4; };  this.SetContentURL =function(va1e23) { if (this.Get("ContentMode")=="UseIFrame") { this.ContentURL =va1e23; this.IFrameLoaded =false; this.IFrameContentLoaded =false;  if (this.DesktopManager.WindowSettings.IFrameShowLoader &&IS.ie) { var v72e93 =this.GetWindowIFrameElement(); v72e93.style.display ="none"; } this.LoadContent(); } };  this.LoadContent =function() { if (this.Get("ContentMode")=="UseIFrame") { wd32b61.m65817(this); } };  this.SaveLocationAndSize =function() { var va8220 =new OffsetLocation(); var v75818 =new UnitSize(); var v02d73 =this.GetWindowDivElement();  va8220.X =v02d73.style.posLeft; va8220.Y =v02d73.style.posTop; v75818.Width =v02d73.offsetWidth; v75818.Height =v02d73.offsetHeight;  this.Location =va8220; this.Size =v75818; };  this.IsTargetSizeValid =function(v97566,v2dd20) { if (this.MinimumSize.IsEmpty()&&this.MaximumSize.IsEmpty()) return true; if (!this.MinimumSize.IsEmpty()) { if (v97566 <this.MinimumSize.Width ||v2dd20 <this.MinimumSize.Height) return false; }  if (!this.MaximumSize.IsEmpty()) { if (v97566 >this.MaximumSize.Width ||v2dd20 >this.MaximumSize.Height) return false; }  return true; };  this.GetPreferredSize =function(v97566,v2dd20) {  if (!v97566 &&!v2dd20) { v97566 =this.Size.Width; v2dd20 =this.Size.Height; }  var v62089 =new UnitSize(); v62089.Width =v97566; v62089.Height =v2dd20;  if (!this.MinimumSize.IsEmpty()) { if (v97566 <this.MinimumSize.Width) v62089.Width =this.MinimumSize.Width;  if (v2dd20 <this.MinimumSize.Height) v62089.Height =this.MinimumSize.Height; }  if (!this.MaximumSize.IsEmpty()) { if (v97566 >this.MaximumSize.Width) v62089.Width =this.MaximumSize.Width;  if (v2dd20 >this.MaximumSize.Height) v62089.Height =this.MaximumSize.Height; }  return v62089; };  this.GetMinimizedLocation =function() { var v4b849 =this.Collection; var v99d48 =-1; var ve8120 =new OffsetLocation();  for (var v2c66=0; v2c66<v4b849.length; v2c66++) { var vc4235 =v4b849[v2c66];  if (vc4235.WindowState =="Minimized" &&vc4235.GetTaskBarButtonElement()==null) { v99d48++; } }  v99d48++;  ve8120.X =5+(v99d48*200); ve8120.Y =this.DesktopManager.GetDesktopSize().Height -35;  return ve8120; };  this.GetMinimizedSize =function() { var v75818 =new UnitSize(); v75818.Width =150; v75818.Height =25;  return v75818; };  this.GetNextWindow =function() { var v4b849 =this.DesktopManager.GetWindowListByZOrder(); var v67b25 =null;  for (var v2c66=0; v2c66<v4b849.length; v2c66++) { if (v4b849[v2c66] ==this) { v67b25 =v4b849[v2c66+1]; } }  if (!v67b25 &&v4b849.length >0) v67b25 =v4b849[0];  return v67b25; };  this.GetNextWindowExact =function() { var va5360 =ISGetActiveWindow(); var v41074 =this.DesktopManager.Windows[this.Index+1]; if (!v41074) v41074 =this.DesktopManager.Windows[0]; if (v41074 &&(!v41074.ClientVisible ||v41074.IsClosed)) v41074 =v41074.GetNextWindowExact();  return v41074; };  this.GetPreviousWindow =function() { var v4b849 =this.DesktopManager.GetWindowListByZOrder(); var v20a47 =null;  for (var v2c66=0; v2c66<v4b849.length; v2c66++) { if (v4b849[v2c66] ==this) { v20a47 =v4b849[v2c66-1]; } }  if (!v20a47 &&v4b849.length >0) v20a47 =v4b849[v4b849.length-1];  return v20a47; };  this.GetPreviousWindowExact =function() { var va5360 =ISGetActiveWindow(); var v41074 =this.DesktopManager.Windows[this.Index-1];  if (!v41074) v41074 =this.DesktopManager.Windows[this.DesktopManager.Windows.length-1]; if (v41074 &&(!v41074.ClientVisible ||v41074.IsClosed)) v41074 =v41074.GetPreviousWindowExact();  return v41074; };  this.InitializeLayout =function(vb6434,vc5e18) { wd32b61.m8a412(this,vb6434,vc5e18); };  this.SetInlineContent =function(v34a73) { var v11197 =this.GetContentDivElement(); v11197.innerHTML =v34a73; };  this.GetHourGlassDiv =function() { var v40155 =this.GetWindowDivElement();  if (v40155) { var v68a68 =v40155.children[v40155.children.length-1]; if (v68a68 &&v68a68.tagName =="DIV" &&v68a68.type =="BusyLayer") return v68a68; }  return null; };  this.SetBusy =function() { var v40155 =this.GetWindowDivElement();  if (v40155) { var v2f222 =this.GetHourGlassDiv();  if (!v2f222) { var v31436 =0; if (this.DesktopManager.WindowSettings.DimWindowWhenBusy) v31436 =50;  v2f222 =document.createElement("DIV"); v2f222.type ="BusyLayer"; v2f222.style.cssText ="position:absolute; top:0px; left:0px; width:100%; height:100%; cursor:wait; z-index: 1;"; v2f222.style.width =v40155.offsetWidth;  if (IS.ie) { v2f222.style.filter ="Alpha(Opacity=" +v31436 +")"; v2f222.style.backgroundColor ="white"; } v2f222.title =this.Get("BusyText"); v40155.insertAdjacentElement("beforeEnd",v2f222); } else { v2f222.style.cursor ="wait"; v2f222.style.display =""; }  this.InteractiveObject.OriginalResizable =this.InteractiveObject.Resizable; this.InteractiveObject.Resizable =false; this.IsBusy =true; } };  this.SetIdle =function() { if (this.IsBusy) { var v2f222 =this.GetHourGlassDiv(); if (v2f222) { v2f222.style.cursor ="default"; v2f222.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(v81164){ var vc6b29 =wd32b61.m3d176(v81164); vc6b29.OnInitialize();}function OnWebDMRSC(v74920,v45665){ var vaa848 =v74920.name; var ve3a26 =ISGetObject(v45665);  if (ve3a26) { var v96623 =ve3a26.GetWindow(vaa848); wd32b61.m2b032(v96623); } else setTimeout(function(){OnWebDMRSC(v74920,v45665);},10);}var wd32b61 ={ Initialized: false, ResourcesList: null,  m3d176:function(v05927) { var vc2891 =new WebDesktopManager(v05927); wd32b61.mb1718(vc2891); wd32b61.m62b74(vc2891); wd32b61.m6f566(vc2891); wd32b61.mab222(vc2891); wd32b61.mdf595(vc2891); vc2891.IsInit =true; return vc2891; },  mdf595:function(v30e22) { if (v30e22.WindowSettings.BorderType =="ComplexImages") { var v5ff11 =new Array(); var v9af89 =v30e22.ImagesSettings; var vcb258 =0;  for(var p in v9af89) { var vf0128 =v9af89[p];  if (typeof(vf0128)=="string" &&vf0128 !="" &&vf0128 !=v9af89._Type) { var v85060 =v30e22.ResolveImagePath(vf0128); v5ff11[vcb258] =new Image(); v5ff11[vcb258].src =v85060; vcb258++; } } } },  mb1718:function(v28033) { if (v28033 ==null) return;  if (!v28033.IsInit) { var vd8c41 =null;  try { vd8c41 =ISXml.GetNode(v28033.XmlDt,"//WebDesktopManager"); } catch(e) {} if (vd8c41 ==null) vd8c41 =v28033.XmlDt.documentElement; if (vd8c41!=null) { IS.SetPropertiesRecursive(v28033,vd8c41); v28033.TaskBarButtonStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v28033.XmlDt,"//TaskBarButtonStyle")); v28033.ShortcutStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v28033.XmlDt,"//ShortcutStyle"));  var vf1457 =["CaptionButtonStyle","CaptionStyle","WindowStyle","CommandButtonStyle"]; var v76b96 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"];  DynamicStyleEngine.AssignFromArray(v28033.WindowSettings,v28033.WindowSettings.XmlNode,vf1457);  if (v28033.EnableContextMenu) { DynamicStyleEngine.AssignFromArray(v28033.MenuStyles.Application,v28033.MenuStyles.Application.XmlNode,v76b96); DynamicStyleEngine.AssignFromArray(v28033.MenuStyles.System,v28033.MenuStyles.System.XmlNode,v76b96); } } } },  mde427:function(v66e47) { var vd0188 =v66e47.GetWindowDivElement(); if (!vd0188)return; var v3bd84 =v66e47.GetWindowOptionsCellElement();  if (vd0188) Listener.Unload(vd0188);  if (v3bd84) Listener.Unload(v3bd84);  if (v66e47.Get("ContentMode")=="UseInlineContent") { var va9984 =v66e47.GetContentDivElement(); if (va9984) Listener.Unload(va9984); }  var va2144 =v66e47.GetCaptionBarTableElement(); if (va2144) Listener.Unload(va2144);  var vcdd69 =v66e47.GetControlBoxCellElement(); if (vcdd69) Listener.Unload(vcdd69);  var v4af94 =v66e47.GetTaskBarButtonElement(); if (v4af94) Listener.Unload(v4af94); },  md1e91:function(v55577) { var v8b418 =v55577.FrameObj; var v76452 =v55577.GetDesktopElement();  Listener.Unload(v8b418); Listener.Unload(v76452); Listener.Unload(document.body);  var v0e422 =v55577.GetTaskBarWindowGroupElement(); if (v0e422) Listener.Unload(v0e422);  for (var v4b412=0; v4b412<v55577.Windows.length; v4b412++) { var v05013 =v55577.Windows[v4b412]; wd32b61.mde427(v05013); } },  mc7a36:function(vfe07) { var vff813 =vfe07.DesktopManager; var vbee50 =vfe07.GetWindowDivElement(); var v86241 =vfe07.GetWindowOptionsCellElement();  if (vbee50) { Listener.Add(vbee50,"onmousedown",wd32b61.m6e080,vfe07); Listener.Add(vbee50,"onmousemove",wd32b61.mee258,vfe07); Listener.Add(v86241,"onmousedown",wd32b61.m9be66,vfe07); Listener.Add(v86241,"onmouseup",wd32b61.m9be66,vfe07); Listener.Add(v86241,"onmouseover",wd32b61.m9be66,vfe07); Listener.Add(v86241,"onmouseout",wd32b61.m9be66,vfe07);  if (vfe07.Get("ContentMode")=="UseInlineContent") { var v62a39 =vfe07.GetContentDivElement(); Listener.Add(v62a39,"onselectstart",function(){wd32b61.mea272(vff813); }); Listener.Add(v62a39,"onscroll",function(){wd32b61.m79184(vff813); }); }  var v7e334 =vfe07.GetCaptionBarTableElement(); if (v7e334) { Listener.Add(v7e334,"ondblclick",function(){wd32b61.m10933(vff813); }); Listener.Add(v7e334,"oncontextmenu",function(){return wd32b61.m2ab92(vff813);}); }  var vbfa43 =vfe07.GetControlBoxCellElement(); if (vbfa43) Listener.Add(vbfa43,"onclick",function(){wd32b61.m2977(vff813); }); } },  m62b74:function(ve2454) { var v96a79 =ve2454.FrameObj; var v5ef88 =ve2454.GetDesktopElement();  Listener.Add(v96a79,"onresize",function(){wd32b61.mf0b10(ve2454);}); Listener.Add(v96a79,"onselectstart",function(){wd32b61.meef16(ve2454); }); Listener.Add(v96a79,"ondragstart",function(){event.cancelBubble =true; return false; }); Listener.Add(v5ef88,"onmousedown",function(){wd32b61.m5bd75(ve2454);}); Listener.Add(v5ef88,"ondblclick",function(){wd32b61.m5bd75(ve2454);}); Listener.Add(v5ef88,"onkeydown",function(){wd32b61.mece59(ve2454);}); Listener.Add(v5ef88,"oncontextmenu",function(){return wd32b61.m43f72(ve2454);});  var vab296 =ve2454.GetTaskBarWindowGroupElement(); if (vab296) { Listener.Add(vab296,"onmousedown",function(){wd32b61.m06555(ve2454); }); Listener.Add(vab296,"onmouseup",function(){wd32b61.m06555(ve2454); }); Listener.Add(vab296,"onmouseover",function(){wd32b61.m06555(ve2454); }); Listener.Add(vab296,"onmouseout",function(){wd32b61.m06555(ve2454); }); Listener.Add(vab296,"oncontextmenu",function(){return wd32b61.m06555(ve2454); }); }  for (var v3ad48=0; v3ad48<ve2454.Windows.length; v3ad48++) { wd32b61.mc7a36(ve2454.Windows[v3ad48]); }  if (IS.moz) { window.attachEvent("onload",function(){wd32b61.md1170(ve2454); }); window.attachEvent("onresize",function(){wd32b61.mf0b10(ve2454); }); } },  m6f566:function(v8a229) { if (IS.moz) { var v74a73 =v8a229.FrameObj; v74a73.tabindex =0; v74a73.style.MozUserFocus ="normal";  for (var v4a086=0; v4a086<v8a229.Windows.length; v4a086++) { var vc1815 =v8a229.Windows[v4a086]; var ve9c75 =vc1815.GetWindowDivElement();  ve9c75.style.overflow ="hidden";  } } },  m6f86:function(v98898) { var v59312 =false; var v9af5 =null;  if (v98898.WindowArrangement =="Cascaded") v98898.CascadeWindows(true); else if (v98898.WindowArrangement =="TiledHorizontally") v98898.TileWindowsHorizontally(true); else if (v98898.WindowArrangement =="TiledVertically") v98898.TileWindowsVertically(true);  for (var v2a849=0; v2a849<v98898.Windows.length; v2a849++) { var v9f998 =v98898.Windows[v2a849];  if (v9f998.ClientVisible) { if (v9f998.WindowState =="Normal") v9f998.Show(); else if (v9f998.WindowState =="Maximized") { v9f998.Show(); v9f998.WindowState ="Normal"; v9f998.Maximize(null,false); } else { v9f998.Hide(); if (v2a849 ==v98898.ActiveWindowIndex) { if (v98898.Windows[v2a849+1] !=null &&!v59312) { var v38b21 =v98898.Windows[v2a849+1]; if (v38b21.ClientVisible &&v38b21.WindowState !="Minimized") { v98898.ActiveWindowIndex =v2a849; v59312 =true; v9af5 =v38b21; } } } }  v9f998.StartupPositionInitialized =true;  } else v9f998.Hide();  if (v9f998.Get("ContentMode")=="UseIFrame") { var va519 =v9f998.GetContentDivElement();  va519.style.overflow ="hidden"; va519.style.overflowY ="hidden"; va519.style.overflowX ="hidden"; }  v9f998.Initialized =true; } if (v98898.ActiveWindowIndex >-1 &&v98898.Windows.length >v98898.ActiveWindowIndex &&v98898.Windows[v98898.ActiveWindowIndex].ClientVisible &&!v9af5) v98898.Windows[v98898.ActiveWindowIndex].Activate(); else { if (v9af5) v9af5.Activate(); else v98898.ActiveWindowIndex =-1; }  wd32b61.m26261(v98898); wd32b61.mbe293(v98898); wd32b61.mb961(v98898); },  m77c38:function(v2360) { for (var v11054=0; v11054<v2360.Windows.length; v11054++) { var vc0731 =v2360.Windows[v11054]; var vc6357 =new ISInteractiveObject();  if (vc0731.Get("AllowResize")=="Yes") vc6357.Resizable =true;  vc6357.Window =vc0731; vc6357.DesktopManager =v2360; vc6357.Movable =true; vc6357.DragElement =vc0731.GetCaptionBarTableElement(); vc6357.FrameElement =vc0731.GetWindowDivElement();  v2360.InteractiveObjects[v2360.InteractiveObjects.length] =vc6357; vc0731.InteractiveObject =vc6357; }  if (v2360.ShortcutSettings.Movable) { for (var v11054=0; v11054<v2360.ShortcutIcons.length; v11054++) { var v1608 =v2360.ShortcutIcons[v11054]; var vc6357 =new ISInteractiveObject();  vc6357.DesktopManager =v2360; vc6357.Movable =true; vc6357.DragElement =v1608.GetElement(); vc6357.FrameElement =v1608.GetElement();  v2360.InteractiveObjects[v2360.InteractiveObjects.length] =vc6357; v1608.InteractiveObject =vc6357; } } },  m6a026:function(v57c20,vc3d68) { return v57c20 -vc3d68; },  m26261:function(v2f931) { var vc4875 =v2f931.GetTaskBarLeftTemplateElement(); var v5e547 =v2f931.GetTaskBarRightTemplateElement();  if (vc4875) { vc4875.style.width =vc4875.scrollWidth; if (IS.moz &&vc4875.scrollWidth ==0 &&vc4875.children.length >0) vc4875.style.width =vc4875.children[0].offsetWidth; }  if (v5e547) { v5e547.style.width =v5e547.scrollWidth; if (IS.moz &&v5e547.scrollWidth ==0 &&v5e547.children.length >0) v5e547.style.width =v5e547.children[0].offsetWidth; } },  meef16:function(va7d70) { var v5cd14 =event.srcElement; var v7ab66 =v5cd14.tagName; var vf3d32 =true;  switch (v7ab66) { case "INPUT": case "SELECT": case "TEXTAREA": { vf3d32 =false; } } if (vf3d32) { event.cancelBubble =true; event.returnValue =false; } },  m79184:function(v5a370) { if (IS.ie) { if (typeof(wd7f075)=="object") { wd7f075.IsMouseDown =false; } } },  mea272:function(v26170) { if (typeof(wd7f075)=="object") { if (wd7f075.IsMouseDown &&wd7f075.LastValidObject) return true; }  event.cancelBubble =true; return true; },  m10933:function(vf0e80) { var v6885 =event.srcElement; var vdce15 =wd32b61.mf7b34(vf0e80,v6885); if (v6885 &&v6885.tagName =="INPUT") return;  if (vdce15) { var v3c235 =vdce15.GetControlBoxElement(); if (v3c235 &&v3c235.contains(v6885)) { if (vf0e80.WindowSettings.ControlBoxPosition =="Left") { if (vdce15.Get("AllowClose")=="Yes") { vdce15.Close(); return; } } else { if (v3c235.children[0] ==v6885 &&vdce15.Get("AllowClose")=="Yes") { vdce15.Close(); return; } } }  if (vdce15.WindowState =="Normal" &&vdce15.Get("AllowMaximize")=="Yes") { vdce15.Maximize(true,true); } else if (vdce15.WindowState =="Maximized" ||vdce15.WindowState =="Minimized") { vdce15.Restore(true,true); } } },  mece59:function(v2a935,vc2437,vba736,vcb781,v39470,v9b390) { var v48364 =event; if (vc2437) { v48364 =new Object(); v48364.srcElement =vc2437; v48364.keyCode =vba736; v48364.ctrlKey =vcb781; v48364.altKey =v39470; v48364.shiftKey =v9b390; }  var v5c444 =v48364.srcElement; var vba736 =v48364.keyCode; var v35838 =false;  if (!v2a935.EnableKeyboardNavigation) return false;   switch (vba736) { case 49: { if (v48364.ctrlKey) { var v1ad38 =true; var ve1d28 =null; var va7257 =v2a935.GetActiveWindow();  if (v48364.shiftKey) v1ad38 =false; if (va7257) { if (v1ad38) ve1d28 =va7257.GetNextWindowExact(); else ve1d28 =va7257.GetPreviousWindowExact(); } else { if (v2a935.Windows.length >0) ve1d28 =v2a935.Windows[0]; }  if (ve1d28) { ve1d28.Activate(); v35838 =true; } } break; } case 67: { if (v48364.ctrlKey &&v48364.altKey) { var va7257 =v2a935.GetActiveWindow();  if (va7257 &&va7257.Get("AllowClose")=="Yes") { va7257.Close(); v35838 =true; } } break; } case ISKeyboardKey.LEFT: case ISKeyboardKey.RIGHT: case ISKeyboardKey.DOWN: case ISKeyboardKey.UP: { var v23972 =wd32b61.m89c36(v5c444); if (v23972) { var v41330 =wd32b61.m7df11(v23972.id,v2a935.Id); var v1ce2 =v2a935.ShortcutIcons.GetNamedItem(v41330); var v28437 =null;  if (IS.moz) v1ce2 =v2a935.ShortcutIcons[v2a935.ActiveShortcutIndex];  if (vba736 ==ISKeyboardKey.LEFT ||vba736 ==ISKeyboardKey.UP) { v28437 =v2a935.ShortcutIcons[v1ce2.Index-1]; if (!v28437 &&v2a935.ShortcutIcons.length >0) v28437 =v2a935.ShortcutIcons[0]; } else if (vba736 ==ISKeyboardKey.RIGHT ||vba736 ==ISKeyboardKey.DOWN) { v28437 =v2a935.ShortcutIcons[v1ce2.Index+1]; if (!v28437 &&v2a935.ShortcutIcons.length >0) v28437 =v2a935.ShortcutIcons[v2a935.ShortcutIcons.length-1]; }  if (v28437 &&v28437.Visible) { v28437.Select(true); if (IS.ie) v28437.GetElement().focus(); v35838 =true; } } break; } case ISKeyboardKey.ENTER: { var v23972 =wd32b61.m89c36(v5c444); if (v23972) { var v41330 =wd32b61.m7df11(v23972.id,v2a935.Id); var v1ce2 =v2a935.ShortcutIcons.GetNamedItem(v41330); var v28437 =null;  if (IS.moz) v1ce2 =v2a935.ShortcutIcons[v2a935.ActiveShortcutIndex];  if (v1ce2 &&v1ce2.Visible &&v1ce2.Enabled) v1ce2.Open(true); }  v35838 =true; break; } }  if (v35838) { try { v48364.keyCode =0; } catch(e){} v48364.cancelBubble =true; v48364.returnValue =false; } },  m89c36:function(v37c82) { if (v37c82.tagName =="DIV") { if (v37c82.id.indexOf("dvSCI")>-1) return v37c82; }  while (v37c82.parentElement !=null) { v37c82 =v37c82.parentElement; if (v37c82.tagName =="DIV" &&v37c82.id.indexOf("dvSCI")>-1) { return v37c82; } }  return null; },  m5bd75:function(vd8432) { var vab82 =event.type; var v39875 =event.srcElement; var vcb637; var v75490 ="";  if (v39875.tagName =="DIV") { if (v39875.id.indexOf("dvDesktop")>-1) { vcb637 =v39875; v75490 ="Desktop"; } else if (v39875.id.indexOf("dvSCI")>-1) { vcb637 =v39875; v75490 ="Shortcut"; } }  if (!vcb637) { while (v39875.parentElement !=null) { v39875 =v39875.parentElement; if (v39875.tagName =="DIV" &&v39875.id.indexOf("dvSCI")>-1) { vcb637 =v39875; v75490 ="Shortcut"; break; } } }  if (vcb637) { if (vab82 =="mousedown") { if (event.button ==ISEvent.LEFT) { if (v75490 =="Desktop") { var v6dc35 =vd8432.GetActiveShortcut();  if (v6dc35) DynamicStyleEngine.SetToStyle(null,vd8432.ShortcutStyle,v6dc35.GetTextElement());  vd8432.ActiveShortcutIndex =-1; } else { var ve3f12 =wd32b61.m7df11(vcb637.id,vd8432.Id); var v5be88 =vd8432.ShortcutIcons.GetNamedItem(ve3f12); if (v5be88) v5be88.Select(true); } } } else if (vab82 =="dblclick") { if (v75490 =="Shortcut") { var ve3f12 =wd32b61.m7df11(vcb637.id,vd8432.Id); var v5be88 =vd8432.ShortcutIcons.GetNamedItem(ve3f12); if (v5be88) v5be88.Open(true); }  if (IS.moz) { event.cancelBubble =true; event.returnValue =false; } } } },  m9be66:function() { var v57c51 =this; var v73452 =event.srcElement; if (!v57c51)return;  var v53441 =v57c51.GetMinimizeButtonElement(); var v9a120 =v57c51.GetMaximizeButtonElement(); var vdc679 =v57c51.GetCloseButtonElement(); var ve1944 =[v53441,v9a120,vdc679];  for (var btnEl in ve1944) { btnEl =ve1944[btnEl]; if (btnEl) { if (btnEl ==v73452 ||btnEl.contains(v73452)) { wd32b61.m0be54(v57c51,event.type,btnEl); return; } } } },  m0be54:function(v45532,va3a97,v12083) { var vdb382 =v45532.DesktopManager; var v3cb20 =vdb382.WindowSettings; var v91978 =v3cb20.BorderType; var vc2388 =vdb382.ImagesSettings;  if (va3a97 =="mouseover") { if (v91978 =="Simple") DynamicStyleEngine.SetToOverStyle(null,v3cb20.CaptionButtonStyle,v12083); else if (v91978 =="ComplexImages") { var v9bd22 =v12083.children[0]; var vb7768 ="";  if (IS.GetAttr(v12083,"type")=="Min") vb7768 =vdb382.ResolveImagePath(vc2388.MinimizeOver); else if (IS.GetAttr(v12083,"type")=="Max") { if (v45532.WindowState =="Maximized") vb7768 =vdb382.ResolveImagePath(vc2388.RestoreOver); else vb7768 =vdb382.ResolveImagePath(vc2388.MaximizeOver); } else vb7768 =vdb382.ResolveImagePath(vc2388.CloseOver);  v9bd22.src =vb7768; } } else if (va3a97 =="mouseout" ||va3a97 =="mouseup") { if (v91978 =="Simple") DynamicStyleEngine.SetToStyle(null,v3cb20.CaptionButtonStyle,v12083); else if (v91978 =="ComplexImages") { var v9bd22 =v12083.children[0]; var vb7768 ="";  if (v45532.IsActiveWindow()||(v45532.IsDialogBox)) { if (IS.GetAttr(v12083,"type")=="Min") vb7768 =vdb382.ResolveImagePath(vc2388.MinimizeActive); else if (IS.GetAttr(v12083,"type")=="Max") { if (v45532.WindowState =="Maximized") vb7768 =vdb382.ResolveImagePath(vc2388.RestoreActive); else vb7768 =vdb382.ResolveImagePath(vc2388.MaximizeActive); } else vb7768 =vdb382.ResolveImagePath(vc2388.CloseActive); } else { if (IS.GetAttr(v12083,"type")=="Min") vb7768 =vdb382.ResolveImagePath(vc2388.MinimizeInactive); else if (IS.GetAttr(v12083,"type")=="Max") { if (v45532.WindowState =="Maximized") vb7768 =vdb382.ResolveImagePath(vc2388.RestoreInactive); else vb7768 =vdb382.ResolveImagePath(vc2388.MaximizeInactive); } else vb7768 =vdb382.ResolveImagePath(vc2388.CloseInactive); }  v9bd22.src =vb7768; } } else if (va3a97 =="mousedown") { if (v91978 =="Simple") DynamicStyleEngine.SetToActiveStyle(null,v3cb20.CaptionButtonStyle,v12083); else if (v91978 =="ComplexImages") { var v9bd22 =v12083.children[0]; var vb7768 ="";  if (IS.GetAttr(v12083,"type")=="Min") vb7768 =vdb382.ResolveImagePath(vc2388.MinimizeDown); else if (IS.GetAttr(v12083,"type")=="Max") { if (v45532.WindowState =="Maximized") vb7768 =vdb382.ResolveImagePath(vc2388.RestoreDown); else vb7768 =vdb382.ResolveImagePath(vc2388.MaximizeDown); } else vb7768 =vdb382.ResolveImagePath(vc2388.CloseDown);  v9bd22.src =vb7768; } }  if (va3a97 =="mouseup") { var v28e35 =IS.GetAttr(v12083,"type");  if (v28e35 =="Min") { if (v45532.WindowState !="Minimized") v45532.Minimize(true,true); else v45532.Restore(true,true); } else if (v28e35 =="Max") { if (v45532.WindowState !="Maximized") v45532.Maximize(true,true); else v45532.Restore(true,true); } else if (v28e35 =="Close") { if (!v12083.disabled) v45532.Close(true); } if (typeof(wd7f075)=="object") wd7f075.IsMouseDown =false; }  if (IS.moz) { event.cancelBubble =true; event.returnValue =false; } },  m06555:function(vd089) {  var vc6f7 =event.srcElement; var vdf486 =wd32b61.ma8519(vc6f7);   if (vdf486 &&IS.GetAttr(vdf486,"name")!="") { var vfc235 =event.type; var v0d583 =IS.GetAttr(vdf486,"name"); var v04987 =vd089.GetWindow(v0d583);  if (v04987 &&v04987.DesktopManager) { if (v04987.DesktopManager.TaskBarLocked) return; }  if (vfc235 =="mouseover") { if (!v04987.IsActiveWindow()) { var v10817 =IS.GetCssObject(null,vd089.TaskBarButtonStyle.Over); if (v10817) { DynamicStyleEngine.SetToOverStyle(null,vd089.TaskBarButtonStyle,vdf486); } } var v84563 =vdf486.children[0]; if (v84563.scrollWidth >v84563.offsetWidth) vdf486.title =v84563.innerText; else vdf486.title ="";  } else if (vfc235 =="mouseout") { if (!v04987.IsActiveWindow()) { DynamicStyleEngine.SetToStyle(null,vd089.TaskBarButtonStyle,vdf486); } } else if (vfc235 =="mousedown") { if (!v04987.IsActiveWindow()) { DynamicStyleEngine.SetToActiveStyle(null,vd089.TaskBarButtonStyle,vdf486); } } else if (vfc235 =="mouseup") { if (event.button ==ISEvent.LEFT) { if (v04987.IsActiveWindow()) { v04987.Minimize(true,true); } else { wd32b61.m9599(vd089,v04987); } } } else if (vfc235 =="contextmenu") { event.cancelBubble =true; event.returnValue =false; wd32b61.m2b054(v04987); return false; } } },  mf0b10:function(vb3292) {  wd32b61.m6cb60(vb3292); wd32b61.mbe293(vb3292); wd32b61.mb961(vb3292); wd32b61.m83772(vb3292);  vb3292.CachedDesktopSize =null; },  md1170:function(v4da48) { if (IS.moz) { for (var v92e28=0; v92e28<v4da48.Windows.length; v92e28++) { var v15a2 =v4da48.Windows[v92e28];  if (v15a2.Get("ContentMode")=="UseIFrame") { wd32b61.m11c0(v4da48,v4da48.GetIFrameWindow(v15a2.Name)); } } } },  m6e080:function(ve8067) { if (!ve8067 ||typeof(ve8067.IsActiveWindow)!="function") ve8067 =this;  if (!ve8067.IsActiveWindow()) { var v0ff84 =ve8067.DesktopManager;  if (ve8067.IsDialogBox) ve8067.DialogBox.Activate(); else wd32b61.m9599(v0ff84,ve8067); } },  mee258:function(v23e39) {  },  me6c21:function(vc1294,vde139,vab831) { if (vab831)vde139 =vab831; var vc2739 =window.frames[vde139];  if (vc2739) { var va1d60 =vc2739.event; var vfa146 =vc1294.GetWindow(vde139);  if (vfa146 !=null &&!vfa146.IsActiveWindow()) { wd32b61.m6e080(vfa146); } } },  m5c591:function(vb8b89,v59737,va9750) { var v08d33 =window.frames[v59737]; if (v08d33) { var v54158 =v08d33.event; var v8fb65 =vb8b89.GetWindow(v59737);  if (v8fb65) wd32b61.mece59(vb8b89,v8fb65.GetWindowDivElement(),v54158.keyCode,v54158.ctrlKey,v54158.altKey,v54158.shiftKey); } },  m53c23:function(vda00,v3df96,vcfb21) { if (vcfb21)v3df96 =vcfb21; var v58344 =window.frames[v3df96]; if (!v58344)return;  if (typeof(wd7f075)=="object") { var v22e16 =vda00.GetWindow(v3df96); if (IS.ie)wd7f075.Event =v58344.event; else wd7f075.Event =event; wd7f075.m02823(); } },  m54c61:function(vc3b58,v1e124) { if (vc3b58 ==null ||vc3b58.ClassName ==null)return false;  var ve7874 =vc3b58.GetWindow(v1e124); if (!ve7874)return;  ve7874.IFrameContentLoaded =false;  if (IS.moz) { setTimeout(function(){wd32b61.mc491(vc3b58,v1e124); },50); } },  m98755:function(v99388,v50592,v26c59) { var vfcb30 =v50592.name; var v44363 =window.frames[vfcb30]; var vbc258 =vfcb30;  if (typeof(v26c59)=="string") { v44363 =window.frames[v26c59]; vbc258 =v26c59; } if (typeof(wd7f075)=="object") { var va846 =v99388.GetWindow(vbc258); var v34f50 =null;  if (va846 ==null) return;  if (v26c59) { if (IS.ie)wd7f075.Event =v50592.event; else wd7f075.Event =event; wd7f075.Event.FrameElement =v50592.frameElement; wd7f075.Event.IsChildFrame =true; wd7f075.Event.ParentFrameName =v26c59; } else { if (v44363 ==null)return; if (IS.ie)wd7f075.Event =v44363.event; else wd7f075.Event =event; wd7f075.Event.FrameElement =va846.GetWindowIFrameElement(); }  wd7f075.Event.Window =va846; wd7f075.m8a055(); } },  mc491:function(v1d816,vdb210) { var v9f880 =v1d816.GetIFrameWindow(vdb210);  },  m7df11:function(v7d519,v97060) { if (!v97060) { var v13799 =v7d519.lastIndexOf("_"); return v7d519.substring(v13799 +1); } else { var v86950 =v7d519.indexOf(v97060); return v7d519.substring(v86950 +v97060.length +1); } },  ma8519:function(v1db74) { if (v1db74.tagName =="TD") return v1db74;  while (v1db74.parentElement !=null) { v1db74 =v1db74.parentElement; if (v1db74.tagName =="TD") return v1db74; }  return null; },  m69312:function(vcac10) { if (vcac10.tagName =="DIV" &&vcac10.id.indexOf("dvWnd")>-1) return vcac10; while (vcac10.parentElement !=null) { vcac10 =vcac10.parentElement; if (vcac10.tagName =="DIV" &&vcac10.id.indexOf("dvWnd")>-1) return vcac10; }  return null; }, mf7b34:function(vdb521,va3946) { var va3946 =event.srcElement; var v04178 =wd32b61.m69312(va3946); var v53c18 =""; if (v04178) v53c18 =wd32b61.m7df11(v04178.id,vdb521.Id);  if (v53c18 !="") { var v0a245 =vdb521.GetWindow(v53c18); return v0a245; }  return null; },  mb961:function(vf3b90) { var va5940 =vf3b90.GetTaskBarWindowGroupElement(); if (!va5940)return null; var v69376 =va5940.children[0]; var vb9d37 =v69376.children[0];   if (!vf3b90.IsInResizing) { vf3b90.IsInResizing =true;  if (v69376.currentMode =="justify") { var vda972 =null; for (var v69280=0; v69280<vb9d37.rows[0].cells.length; v69280++) { var v68213 =vb9d37.rows[0].cells[v69280]; if (IS.GetAttr(v68213,"name")!="") { vda972 =v68213; break; } }  if (vda972) { if (vda972.offsetWidth >vf3b90.TaskBarSettings.WindowButtonWidth) v69376.currentMode ="normal"; } }  if (v69376.offsetWidth >=vb9d37.offsetWidth &&v69376.currentMode !="justify") { for (var v69280=0; v69280<vb9d37.rows[0].cells.length; v69280++) { var v68213 =vb9d37.rows[0].cells[v69280]; if (IS.GetAttr(v68213,"name")!="") { v68213.style.width =vf3b90.TaskBarSettings.WindowButtonWidth; } }  if (IS.ie)vb9d37.rows[0].cells[vb9d37.rows[0].cells.length-1].style.width ="100%"; v69376.currentMode ="normal"; } else { if (v69376.currentMode !="justify") { for (var v69280=0; v69280<vb9d37.rows[0].cells.length; v69280++) { var v68213 =vb9d37.rows[0].cells[v69280]; if (IS.GetAttr(v68213,"name")!="") { v68213.style.width ="auto"; } }  vb9d37.rows[0].cells[vb9d37.rows[0].cells.length-1].style.width ="0%"; v69376.currentMode ="justify"; } }  vf3b90.IsInResizing =false; }  },  mbe293:function(vafe81) { if (vafe81.ShortcutIconsVisible) { for (var v15210=0; v15210<vafe81.ShortcutIcons.length; v15210++) { var v0df63 =vafe81.ShortcutIcons[v15210]; v0df63.Rearrange(); } } },  m6cb60:function(v6a120) { var vbc365 =v6a120.ShortcutSettings;  for (var v08642=0; v08642<v6a120.ShortcutIcons.length; v08642++) { var v40893 =v6a120.ShortcutIcons[v08642];  if (vbc365.AllowAutoArrange ||v40893.Location.IsEmpty()) { v40893.RuntimeLocation =new OffsetLocation(); } }  },  m58552:function(vcb912,v61b70,veec82) { for (var v22756=0; v22756<vcb912.Windows.length; v22756++) { var va3a91 =vcb912.Windows[v22756]; if (veec82 &&va3a91.Get("AllowResize")=="No") va3a91.ForceNoResize =true; if (!va3a91.IsDialogBox) va3a91.InitializeLayout("Cascade",v61b70); } },  m26b19:function(v1fc70,v65e98,vb3383,v99399) { for (var v74a67=0; v74a67<v1fc70.Windows.length; v74a67++) { var v33649 =v1fc70.Windows[v74a67]; if (v99399 &&v33649.Get("AllowResize")=="No") v33649.ForceNoResize =true; if (!v33649.IsDialogBox) v33649.InitializeLayout("TileWindows" +vb3383,v65e98); } },  m72f53:function(va9281,vb7757,vb7253) { var vd9297 =va9281.GetWindowDivElement();  vd9297.style.left =va9281.Location.X =vb7757; vd9297.style.top =va9281.Location.Y =vb7253;  if (va9281.EnableDropShadow &&va9281.DropShadow !=null) va9281.DropShadow.UpdatePosition(); },  m39e25:function(v5bb31,v7e934,v5f658) { var vfa372 =v5bb31.GetWindowDivElement();  if (!v5bb31.IsTargetSizeValid(v7e934,v5f658)) { var vc605 =v5bb31.GetPreferredSize(v7e934,v5f658); v7e934 =vc605.Width; v5f658 =vc605.Height; }  vfa372.style.width =v5bb31.Size.Width =v7e934; vfa372.style.height =v5bb31.Size.Height =v5f658; if (v5bb31.EnableDropShadow &&v5bb31.DropShadow !=null) v5bb31.DropShadow.UpdatePosition();  if (IS.moz) { if (v5bb31.Get("ContentMode")=="UseInlineContent") { var vdb157 =v5bb31.GetContentDivElement(); var vd7050 =vdb157.children[0]; var vce898 =v5bb31.GetCaptionBarTableElement();  vd7050.style.height ="0pt"; } wd32b61.m72717(v5bb31); } else { wd32b61.me8d47(v5bb31); } },  me8d47:function(v65f97) { var vdc858 =v65f97.GetWindowDivElement(); var v73852 =v65f97.GetContentDivElement(); var v3bf80 =v65f97.DesktopManager;  if (v65f97.Get("ContentMode")=="UseIFrame") { var v1a221 =v65f97.GetWindowIFrameElement(); if (v1a221) { v1a221.style.display ="none"; v1a221.style.height ="100%";  v1a221.style.display =""; } } },  m72717:function(vd152) { var v82517 =vd152.GetWindowDivElement(); var v61a81 =vd152.GetContentDivElement(); var vd7e80 =vd152.DesktopManager; if (IS.safari) return; if (vd7e80.WindowSettings.BorderType =="Simple") { v61a81.style.overflow ="visible"; if (!vd152.IsDialogBox) setTimeout(function(){v61a81.style.overflow ="auto";}); } else { v61a81.style.overflow ="visible"; var vd6a6 =v61a81.children[0]; vd6a6.style.overflow ="visible"; vd6a6.style.display ="none"; setTimeout(function() { if (!vd152.IsDialogBox) v61a81.style.overflow ="auto";   vd6a6.style.display ="";   var v02163 =vd6a6.children[0];  if (v02163 !=null &&v02163.clientHeight ==0) vd6a6.style.height ="100%"; }); }  if (vd152.Get("ContentMode")=="UseIFrame") { var v12281 =vd152.GetWindowIFrameElement();  if (v12281) { if (IS.moz) v12281.style.display ="none";  v12281.parentElement.style.display ="none"; setTimeout(function() { var v39f79 =v12281.parentElement;  if (IS.moz ||v39f79.offsetHeight ==0) v39f79 =v39f79.parentElement; if (v39f79.offsetHeight >0) { v12281.style.height =ISPosLib.getHeight(v39f79)-(IS.moz ? ((parseFloat(v39f79.currentStyle.paddingTop)*2)): 0);  v12281.style.display =""; v12281.parentElement.style.display =""; } else wd32b61.m72717(vd152); } ,10); } }  },  m77032:function(va2149) { for (var vf8b22=0; vf8b22<va2149.Windows.length;vf8b22++) { var v47f37 =va2149.Windows[vf8b22]; var v47570 =v47f37.GetWindowDivElement();  if (v47570) { var v25739 =v47570.style.zIndex-1; v47570.style.zIndex =v25739; } } },  m2b032:function(vb8218) { var v11833 =vb8218.GetWindowIFrameElement(); var vb4495 =false;  if (!v11833) return;  if (!vb8218.ClientVisible) { if (vb8218.WindowState =="Minimized" ||vb8218.WindowState =="Maximized") vb4495 =true; else return false; }  var vb2140 =vb8218.DesktopManager.GetIFrameWindow(v11833.name); var v84246 =v11833.parentElement; var ve3872 =vb8218.DesktopManager; var v18e35 =ve3872.WindowSettings; if (!vb8218.IFrameContentLoaded &&v11833.readyState =="complete") { var v9a187 =v84246.children[1];  if (v9a187 &&v9a187.tagName =="DIV") { if (!vb4495) { if (v9a187.style.display !="none") { v11833.style.display =""; wd32b61.m6aa85(v9a187,v18e35.IFrameReadyTransitionEffect); } else { v11833.style.display =""; v11833.style.visibility ="hidden";  wd32b61.m6aa85(v11833,v18e35.IFrameReadyTransitionEffect,true); } } if (v18e35.IFrameReadyTransitionEffect =="None" ||vb4495) v9a187.removeNode(true); else setTimeout(function(){if (v9a187)v9a187.removeNode(true);},500); }  wd32b61.m11c0(ve3872,vb2140); vb8218.IFrameContentLoaded =true; } },  m11c0:function(v86685,v33979,vda618) { var v3e274 =null;  try { v3e274 =v33979.document.body; } catch(e) {}  if (v3e274) { if (IS.GetAttr(v3e274,"ISWinEventsInitialized")=="") { Listener.Add(v3e274,"onmousedown",function(){wd32b61.me6c21(v86685,v33979.name,vda618); }); Listener.Add(v3e274,"onmouseup",function(){wd32b61.m53c23(v86685,v33979.name,vda618); }); Listener.Add(v3e274,"onunload",function(){wd32b61.m54c61(v86685,v33979.name,vda618); }); Listener.Add(v3e274,"onmousemove",function(){wd32b61.m98755(v86685,v33979,vda618); }); Listener.Add(v3e274,"onkeydown",function(){wd32b61.m5c591(v86685,v33979.name,vda618); });  v3e274.ISWinEventsInitialized =true; }  var v56321 =v3e274.getElementsByTagName("IFRAME"); for (var v5ad48=0; v5ad48<v56321.length; v5ad48++) { if (v56321[v5ad48].name !="") { var vfa220 =v33979.frames[v56321[v5ad48].name]; if (vfa220 &&v56321[v5ad48].readyState =="complete") { if (!vda618)vda618 =v33979.name; wd32b61.m11c0(v86685,vfa220,vda618); } } } }  },  ma0213:function(va5b60,v8f668) { var v3a824 =v8f668.DesktopManager;  if (va5b60.BorderType =="Simple") { if (va5b60.EnableFastWindowActivation &&IS.ie) wd32b61.m5dd39(va5b60,va5b60.WindowStyle.Normal,v8f668.GetWindowDivElement()); else DynamicStyleEngine.SetToStyle(null,va5b60.WindowStyle,v8f668.GetWindowDivElement());  DynamicStyleEngine.SetToStyle(null,va5b60.CaptionStyle,v8f668.GetCaptionBarCellElement().children[0]); } else if (va5b60.BorderType =="ComplexImages") { DynamicStyleEngine.SetToStyle(null,va5b60.WindowStyle,v8f668.GetContentDivElement()); DynamicStyleEngine.SetToStyle(null,va5b60.CaptionStyle,v8f668.GetCaptionBarTableElement()); wd32b61.mab197(v3a824,v8f668,"Normal"); } },  me8547:function(vd8e76,v67482) { var ve5315 =vd8e76.DesktopManager; var v78147 =ve5315.WindowSettings; var ve5756 =ve5315.GetActiveWindow(); var vf7d95 =vd8e76.GetWindowDivElement(); if (ve5756) { wd32b61.ma0213(v78147,ve5756);  if (!vd8e76.IsDialogBox) { var va4b47 =ve5756.GetTaskBarButtonElement(); if (va4b47) { DynamicStyleEngine.SetToStyle(null,ve5315.TaskBarButtonStyle,va4b47); } } if (ve5756.CurrentDialogBox &&ve5756.DialogBoxShown) { var v37012 =ve5756.CurrentDialogBox.Window; wd32b61.ma0213(v78147,v37012); }  ve5756.UnregisterAccessKeys(); }  if (v78147.BorderType =="Simple") { if (v78147.EnableFastWindowActivation &&IS.ie) wd32b61.m5dd39(v78147,v78147.WindowStyle.Active,vf7d95); else DynamicStyleEngine.SetToActiveStyle(null,v78147.WindowStyle,vf7d95); DynamicStyleEngine.SetToActiveStyle(null,v78147.CaptionStyle,vd8e76.GetCaptionBarCellElement().children[0]); } else if (v78147.BorderType =="ComplexImages") { DynamicStyleEngine.SetToActiveStyle(null,v78147.CaptionStyle,vd8e76.GetCaptionBarTableElement()); DynamicStyleEngine.SetToActiveStyle(null,v78147.WindowStyle,vd8e76.GetContentDivElement()); wd32b61.mab197(ve5315,vd8e76,"Active"); } if (!vd8e76.IsDialogBox) { var va4b47 =vd8e76.GetTaskBarButtonElement();  if (vd8e76.WindowState =="Minimized" &&va4b47) { vd8e76.Restore(true,true); }  if (!vd8e76.CreatedAtRuntime &&!vd8e76.StartupPositionInitialized) { if (vd8e76.WindowState =="Maximized") { vd8e76.WindowState ="Normal"; vd8e76.Maximize(null,false); } }  if (va4b47) DynamicStyleEngine.SetToActiveStyle(null,ve5315.TaskBarButtonStyle,va4b47); vd8e76.RegisterAccessKeys(); ve5315.ActiveWindowIndex =vd8e76.Index; }  if (vd8e76.DialogBoxShown) { if (vd8e76.DialogBoxWindows.length >0) { var vb769 =vd8e76.GetWindowDivElement().style.zIndex;  for (var vf8815=0; vf8815<vd8e76.DialogBoxWindows.length; vf8815++) { var vcae83 =vd8e76.DialogBoxWindows[vf8815];  if (vcae83.IsDialogBox) vcae83.GetWindowDivElement().style.zIndex =vb769; } }  vd8e76.CurrentDialogBox.Window.Activate(); }  if (ve5315.IsVistaAnimation()&&!v67482) { ISAnimation_RemoveOpacity(vf7d95);  if (vd8e76.Get("ContentMode")=="UseIFrame") { var vb4b24 =vd8e76.GetWindowIFrameElement();  if (vb4b24.style.display =="none") vb4b24.style.display =""; } } },  m9599:function(vb3c34,v11711) { var v7cd50 =wd32b61.m8a022(vb3c34);  if (v7cd50) { v7cd50 =ISEvent.Raise(v11711.OnBeforeActivated,v11711);  if (v7cd50) { if (ISEvent.Raise(vb3c34.ClientSideEvents.OnWindowBeforeActivated,vb3c34.Id,v11711)) { v11711.Activate(true); } }  ISEvent.Raise(v11711.OnAfterActivated,v11711); ISEvent.Raise(vb3c34.ClientSideEvents.OnWindowAfterActivated,vb3c34.Id,v11711); } },  m8a022:function(v81461) { var vb5f25 =v81461.GetActiveWindow(); if (vb5f25) { if (!window.IsDialogBox) { return ISEvent.Raise(v81461.ClientSideEvents.OnWindowDeactivated,v81461.Id,vb5f25); } }  return true; },  m5dd39:function(vc1764,v55c79,vc2568) { if (!vc1764.CachedStyles[v55c79]) vc1764.CachedStyles[v55c79] =IS.GetCssObject(null,v55c79);  var vcfd45 =vc1764.CachedStyles[v55c79]; if (vcfd45) vc2568.runtimeStyle.border =vcfd45.border; },  mab197:function(v08836,v22373,ve7e14) { var v3c456 =v22373.GetCaptionBarCellElement().children[0]; var veca28 =v3c456.rows[0].cells[0]; var vb1772 =v3c456.rows[0].cells[1]; var vdb228 =v3c456.rows[0].cells[2]; var vaed21 =""; var v4de16 =""; var v6423 =""; var vcdb48 =""; var vbaf84 =""; var vf1363 =""; var v19845 =v08836.ImagesSettings;  if (ve7e14 =="Normal") { vaed21 =v08836.ResolveImagePath(v19845.CaptionLeftInactive); v4de16 =v08836.ResolveImagePath(v19845.CaptionCenterInactive); v6423 =v08836.ResolveImagePath(v19845.CaptionRightInactive);  vcdb48 =v08836.ResolveImagePath(v19845.MinimizeInactive); vbaf84 =v08836.ResolveImagePath(v19845.MaximizeInactive); if (v22373.WindowState =="Maximized") vbaf84 =v08836.ResolveImagePath(v19845.RestoreInactive); vf1363 =v08836.ResolveImagePath(v19845.CloseInactive); } else { vaed21 =v08836.ResolveImagePath(v19845.CaptionLeftActive); v4de16 =v08836.ResolveImagePath(v19845.CaptionCenterActive); v6423 =v08836.ResolveImagePath(v19845.CaptionRightActive);  vcdb48 =v08836.ResolveImagePath(v19845.MinimizeActive); vbaf84 =v08836.ResolveImagePath(v19845.MaximizeActive); if (v22373.PreviousWindowState =="Maximized") vbaf84 =v08836.ResolveImagePath(v19845.RestoreActive); vf1363 =v08836.ResolveImagePath(v19845.CloseActive); }  veca28.children[0].src =vaed21; vb1772.style.backgroundImage ="url(" +v4de16 +")"; vdb228.children[0].src =v6423;  if (v22373.Get("AllowMinimize")=="Yes") { var v6b80 =v22373.GetMinimizeButtonElement(); if (v6b80) v6b80.children[0].src =vcdb48; }  if (v22373.Get("AllowMaximize")=="Yes") { var vf3b1 =v22373.GetMaximizeButtonElement(); if (vf3b1) vf3b1.children[0].src =vbaf84; } if (v22373.Get("AllowClose")=="Yes") { var v53c66 =v22373.GetCloseButtonElement(); if (v53c66) v53c66.children[0].src =vf1363; }  },  m93930:function(ve2b2,v50864,vbfe78) { var v71327 =ve2b2.DesktopManager; var vfdf21 =false;  if (v71327.EnableAnimation) { if (v50864) vfdf21 =true; }  if (ve2b2.DialogBoxShown) return;  if (vfdf21 &&!vbfe78) { var v70117 =new UnitSize(); var vae171 =new OffsetLocation();   if (ve2b2.GetTaskBarButtonElement()) { var vcc652 =ve2b2.GetTaskBarButtonElement(); vae171.X =ISPosLib.getLeft(vcc652); vae171.Y =ISPosLib.getTop(vcc652); v70117.Width =ISPosLib.getWidth(vcc652); v70117.Height =ISPosLib.getHeight(vcc652); } else { vae171 =ve2b2.GetMinimizedLocation(); v70117 =ve2b2.GetMinimizedSize(); }  var v5f478 =new ISAnimatedObject(); v5f478.Type =(v71327.IsVistaAnimation()? "ZoomOut" : "ShrinkExpand"); v5f478.AnimateLocation =true; v5f478.AnimateSize =true; v5f478.Element =ve2b2.GetWindowDivElement(); v5f478.CurrentSize =ve2b2.Size; v5f478.CurrentLocation =ve2b2.Location; v5f478.TargetSize =v70117; v5f478.TargetLocation =vae171; v5f478.OnCompleted =function(){wd32b61.m93930(ve2b2,null,true);};  if (v71327.IsVistaAnimation()) { v5f478.MaxStep =3;  if (ve2b2.Get("ContentMode")=="UseIFrame") { var vc9416 =ve2b2.GetWindowIFrameElement(); vc9416.style.display ="none"; } }  v5f478.Play(); } else if (!vfdf21 ||vbfe78) { var v5186 =ve2b2.GetWindowDivElement();   if (!ve2b2.GetTaskBarButtonElement()) { var v30440 =ve2b2.GetContentDivElement(); var vad648=ve2b2.GetMinimizedLocation(); var v1af88 =ve2b2.GetMinimizedSize(); var v6be57 =ve2b2.GetMinimizeButtonElement(); var vc4749 =ve2b2.GetMaximizeButtonElement(); var v61e63 =v71327.ImagesSettings; var v9b381 =v71327.TextSettings;  if (v30440) v30440.style.display ="";  if (v6be57) { if (v61e63.RestoreActive =="") { var v4a66 =v6be57.children[0].children[0]; v4a66.innerText ="2"; } else { var v5e284 =v6be57.children[0]; v5e284.src =v71327.ResolveImagePath(v61e63.RestoreActive); }  v6be57.title =v9b381.RestoreText; }  if (vc4749) { if (v61e63.MaximizeActive =="") { var v4a66 =vc4749.children[0].children[0]; v4a66.innerText ="1"; } else { var v5e284 =vc4749.children[0]; v5e284.src =v71327.ResolveImagePath(v61e63.MaximizeActive); }  vc4749.title =v9b381.MaximizeText; }  v5186.style.left =vad648.X; v5186.style.top =vad648.Y; v5186.style.width =v1af88.Width; v5186.style.height =v1af88.Height;  ve2b2.InteractiveObject.Resizable =false; ve2b2.InteractiveObject.Enabled =true; } else { v5186.style.display ="none"; }  var v3d792 =v71327.GetTopMostWindowBefore(ve2b2); if (v3d792 &&v3d792.IsDialogBox) v3d792 =null;  if (v3d792) v3d792.Activate(); else v71327.SetNoActiveWindow();  ve2b2.PreviousWindowState =ve2b2.WindowState; ve2b2.WindowState ="Minimized"; } }, m43e4:function(v15648,vc5b47,ve2975) { var va9348 =v15648.DesktopManager; var vdd192 =va9348; var v22c67 =va9348.WindowSettings; var v40b43 =va9348.ImagesSettings; var v2c026 =va9348.TextSettings; var v4ae73 =v15648.GetWindowDivElement(); var v2ad19 =v15648.GetMaximizeButtonElement(); var v4cc90 =v15648.GetMinimizeButtonElement(); var v31726 =v15648.GetTaskBarButtonElement(); var vb0f86 =false;  if (vdd192.EnableAnimation) { if (vc5b47) vb0f86 =true;  if (vdd192.IsVistaAnimation()) vb0f86 =false; }  if (vb0f86 &&!ve2975) { var v48525 =new UnitSize(); var v0d793 =new OffsetLocation();  v0d793.X =0; v0d793.Y =0; v48525.Width =vdd192.GetDesktopSize().Width; v48525.Height =vdd192.GetDesktopSize().Height;  var v45e22 =new ISAnimatedObject(); v45e22.Type =(vdd192.IsVistaAnimation()? "ZoomIn" : "ShrinkExpand"); v45e22.AnimateLocation =true; v45e22.AnimateSize =true; v45e22.Element =v15648.GetWindowDivElement(); v45e22.CurrentSize =v15648.Size; v45e22.CurrentLocation =v15648.Location; v45e22.TargetSize =v48525; v45e22.TargetLocation =v0d793; v45e22.OnCompleted =function(){wd32b61.m43e4(v15648,null,true);};  v45e22.Play(); } else if (!vb0f86 ||ve2975) { v15648.PreviousWindowState =v15648.WindowState; v15648.WindowState ="Maximized"; v15648.InteractiveObject.Enabled =false;  if (v31726) v15648.SaveLocationAndSize(); else { v15648.InteractiveObject.Resizable =v15648.Get("AllowResize")=="Yes";  if (v4cc90) { if (v40b43.MinimizeActive =="") { var vd1976 =v4cc90.children[0].children[0]; vd1976.innerText ="0"; } else { var vcb180 =v4cc90.children[0]; vcb180.src =va9348.ResolveImagePath(v40b43.MinimizeActive); }  v4cc90.title =v2c026.MinimizeText;  } } v4ae73.style.left =0; v4ae73.style.top =0; v4ae73.style.width =vdd192.GetDesktopSize().Width; v4ae73.style.height =vdd192.GetAvailableDesktopHeight(vdd192.GetDesktopSize().Height);  if (v2ad19) { if (v40b43.RestoreActive =="") { var vd1976 =v2ad19.children[0].children[0]; vd1976.innerText ="2"; } else { var vcb180 =v2ad19.children[0]; vcb180.src =va9348.ResolveImagePath(v40b43.RestoreActive); }  v2ad19.title =v2c026.RestoreText; }  wd32b61.m72717(v15648); } }, m47e12:function(v14661,v21f66,vf5d28) { var v6db59 =v14661.DesktopManager; var ve0f5 =v6db59; var vb9746 =v6db59.WindowSettings; var v0349 =v6db59.TextSettings; var vca156 =v6db59.ImagesSettings; var v77d53 =v14661.GetWindowDivElement(); var v90310 =v14661.GetMaximizeButtonElement(); var vd1659 =v14661.GetMinimizeButtonElement(); var v5c549 =false;  if (ve0f5.EnableAnimation) { if (v21f66) v5c549 =true;  if (v14661.WindowState =="Maximized" &&ve0f5.IsVistaAnimation()) v5c549 =false; } if (v5c549 &&!vf5d28) { var vd9057 =new UnitSize(); var vaa336 =new OffsetLocation(); var v2a290 =v14661.GetTaskBarButtonElement(); var vcb132 =new UnitSize(); var vb6f98 =new OffsetLocation();  if (v14661.WindowState =="Maximized") { vb6f98.X =0; vb6f98.Y =0; vcb132.Width =ve0f5.GetDesktopSize().Width; vcb132.Height =ve0f5.GetDesktopSize().Height; vaa336 =v14661.Location; vd9057 =v14661.Size; } else { if (v2a290) { vb6f98.X =ISPosLib.getLeft(v2a290); vb6f98.Y =ISPosLib.getTop(v2a290); vcb132.Width =ISPosLib.getWidth(v2a290); vcb132.Height =ISPosLib.getHeight(v2a290); } else { vb6f98 =v14661.GetMinimizedLocation(); vcb132 =v14661.GetMinimizedSize(); }  vaa336 =v14661.Location; vd9057 =v14661.Size;  if (ve0f5.IsVistaAnimation()&&v14661.PreviousWindowState =="Maximized") { vaa336 =new OffsetLocation(0,0); vd9057 =new UnitSize(ve0f5.GetDesktopSize().Width,ve0f5.GetDesktopSize().Height); } }  var va3e99 =new ISAnimatedObject(); va3e99.Type =(ve0f5.IsVistaAnimation()? "ZoomIn" : "ShrinkExpand"); va3e99.AnimateLocation =true; va3e99.AnimateSize =true; va3e99.Element =v14661.GetWindowDivElement(); va3e99.CurrentSize =vcb132; va3e99.CurrentLocation =vb6f98; va3e99.TargetSize =vd9057; va3e99.TargetLocation =vaa336; va3e99.OnCompleted =function(){wd32b61.m47e12(v14661,null,true);}; if (ve0f5.IsVistaAnimation()) { va3e99.MaxStep =3; va3e99.CurrentOpacity =20; va3e99.CurrentInterval =100;  if (v14661.Get("ContentMode")=="UseIFrame") { var v77e88 =v14661.GetWindowIFrameElement(); v77e88.style.display ="none"; } }  va3e99.Play(); } else if (!v5c549 ||vf5d28) { var v20869 =v14661.PreviousWindowState;  v77d53.style.display =""; v14661.InteractiveObject.Resizable =v14661.Get("AllowResize")=="Yes";  if ((v14661.PreviousWindowState !="Maximized" &&v14661.WindowState =="Minimized")||v14661.WindowState =="Maximized") { if (v90310) { if (vca156.MaximizeActive =="") { var ve8b79 =v90310.children[0].children[0]; ve8b79.innerText ="1"; } else { var vfcb88 =v90310.children[0]; vfcb88.src =v6db59.ResolveImagePath(vca156.MaximizeActive); }  v90310.title =v0349.MaximizeText; } } if (v14661.WindowState =="Maximized" ||(v14661.WindowState =="Minimized" &&!v14661.GetTaskBarButtonElement())) { if (v14661.WindowState =="Minimized" &&vd1659) { if (vca156.MinimizeActive =="") { var ve8b79 =vd1659.children[0].children[0]; ve8b79.innerText ="0"; } else { var vfcb88 =vd1659.children[0]; vfcb88.src =v6db59.ResolveImagePath(vca156.MinimizeActive); }  vd1659.title =v0349.MinimizeText; } v14661.MoveTo(v14661.Location.X,v14661.Location.Y); v14661.ResizeTo(v14661.Size.Width,v14661.Size.Height); v14661.PreviousWindowState ="Normal"; } v14661.WindowState =v14661.PreviousWindowState; v14661.InteractiveObject.Enabled =true;  if (ve0f5.IsVistaAnimation()) { if (v20869 =="Maximized" &&v14661.WindowState =="Maximized") v14661.InteractiveObject.Enabled =false;  if (vf5d28) { ISAnimation_RemoveOpacity(v77d53);  if (v14661.Get("ContentMode")=="UseIFrame") { setTimeout(function() { var v77e88 =v14661.GetWindowIFrameElement();  if (v77e88 !=null) v77e88.style.display =""; },50); } } } } },  m2f499:function(va8c75) { var vbfa19 =null;  try { vbfa19 =va8c75.document; } catch(e) { return; }  vbfa19.open("text/html"); vbfa19.write(""); vbfa19.close();  var vafe95 =va8c75.frameElement.removeNode(true); vafe95 =null; delete vafe95;  va8c75.ISWindowDestroyed =true; va8c75 =null; delete va8c75;  vbfa19 =null; delete vbfa19; }, m51737:function(v74d7) { var v08b30 =v74d7.DesktopManager; var v31e53 =v74d7.Collection; var v71199 =v08b30.GetTopMostWindowBefore(v74d7); var v39211 =v74d7.GetWindowDivElement(); var v50174 =v74d7.GetTaskBarButtonElement(); var vc9781 =true;  if (v74d7.IsDialogBox) { var ve253 =v74d7.DialogBox; ve253.CloseDialog(); return; }  ISEvent.Raise(v74d7.OnPrepareClosed);  if (v74d7.Get("ContentMode")=="UseIFrame") { if (v74d7.CreatedAtRuntime) { var vef269 =v08b30.GetIFrameWindow(v74d7.Name); var v14965 =false;  try { if (vef269.document) v14965 =true;  } catch(e) { if (e.message.indexOf("Access is denied")>-1) v14965 =true; }  if (vef269 &&v14965) { v74d7.Hide(); setTimeout(function(){wd32b61.m2f499(vef269);},(v08b30.IsVistaAnimation()? 200 : 10)); } } else { vc9781 =false; v74d7.Hide(); } } else { if (!v74d7.CreatedAtRuntime) { vc9781 =false; v74d7.Hide(); } }  if (vc9781) { wd32b61.mde427(v74d7);  var vadf47 =null;  if (!v08b30.IsVistaAnimation()) vadf47 =v39211.removeNode(true); else setTimeout(function() { vadf47 =v39211.removeNode(true); delete vadf47; } ,200);   if (v50174) { Listener.Unload(v50174); v50174.removeNode(true); wd32b61.mb961(v08b30); }  if (vadf47 !=null) { delete vadf47; vadf47 =null; }  if (v74d7.EnableDropShadow &&v74d7.DropShadow !=null) v74d7.DropShadow.Destroy();  v74d7.IsClosed =true;  if (v31e53 !=null) { v31e53.Remove(v74d7); v31e53.UpdateChanges(); } } wd32b61.m99624(v74d7);  v74d7 =null; delete v74d7;  if (v08b30.IsVistaAnimation()) { setTimeout(function() { v08b30.ActiveWindowIndex =-1;  if (v71199) v71199.Activate(); else v08b30.SetNoActiveWindow(); }, 100); return; }  v08b30.ActiveWindowIndex =-1;  if (v71199) v71199.Activate(); else v08b30.SetNoActiveWindow();  },  m5cd15:function(v95e10) {  },  mae236:function(v72257,vc0026) { if (vc0026.Enabled &&(vc0026.TargetUrl !="" ||vc0026.WindowName !="")) { var vb8410 =null;  if (vc0026.WindowName !="") vb8410 =v72257.Windows.GetNamedItem(vc0026.WindowName);  if (!vb8410) { for (var v49c98=0; v49c98<v72257.Windows.length; v49c98++) { if (v72257.Windows[v49c98].ContentURL ==vc0026.TargetUrl) { vb8410 =v72257.Windows[v49c98]; break; } } }  if (vb8410) { if (vb8410.Initialized &&!vb8410.IsClosed) { if (vb8410.ClientVisible) vb8410.Activate(); else { var v1be41 =vb8410.GetWindowDivElement(); v1be41.style.display ="";  var ve878 =vb8410.GetTaskBarButtonElement();  if (vb8410.ShowInTaskBar) { if (!ve878) wd32b61.m1d155(vb8410); else ve878.style.display =""; }  if (vb8410.ContentURL !="") vb8410.LoadContent();  vb8410.ClientVisible =true; vb8410.Activate(); } } } else { var vc3461 =new WebDesktopWindow(); vc3461.Name =vc0026.WindowName; vc3461.ContentURL =vc0026.TargetUrl; vc3461.Text =vc0026.Text; vc3461.ControlBoxImage =vc0026.TargetControlBoxImage; vc3461.DesktopManager =v72257; vc3461.ContentMode ="UseIFrame";  v72257.Windows.Add(vc3461); vc3461.Show(); } } },  m29695:function(v7b626) { var v6fb96 =v7b626.DesktopManager;  if (v7b626.Enabled &&(v7b626.TargetURL !="" ||v7b626.WindowName !="")) { var vafb45 =null;  if (v7b626.WindowName !="") vafb45 =v6fb96.Windows.GetNamedItem(v7b626.WindowName);  if (!vafb45) { for (var vb3063=0; vb3063<v6fb96.Windows.length; vb3063++) { if (v6fb96.Windows[vb3063].ContentURL ==v7b626.TargetURL) { vafb45 =v6fb96.Windows[vb3063]; break; } } }  if (vafb45) { if (vafb45.Initialized &&!vafb45.IsClosed) { if (vafb45.ClientVisible) vafb45.Activate(); else { var v57a80 =vafb45.GetWindowDivElement(); v57a80.style.display ="";  var v39826 =vafb45.GetTaskBarButtonElement();  if (vafb45.ShowInTaskBar) { if (!v39826) wd32b61.m1d155(vafb45); else v39826.style.display =""; }  if (vafb45.ContentURL !="") vafb45.LoadContent();  vafb45.ClientVisible =true; vafb45.Activate(); } } } else { var v44a68 =new WebDesktopWindow(); v44a68.Name =v7b626.WindowName; v44a68.ContentURL =v7b626.TargetURL; v44a68.Text =v7b626.Text; v44a68.ControlBoxImage =v7b626.TargetControlBoxImage; v44a68.DesktopManager =v6fb96; v44a68.ContentMode ="UseIFrame";  v6fb96.Windows.Add(v44a68); v44a68.Show(v7b626.GetElement()); } } },  m4aa75:function(v3a928) { var vc6198 =v3a928.DesktopManager; var va7952 =vc6198.GetDesktopElement(); var v05837 =""; var vf9c31 =null;  if (v3a928.Name !="") { var v9c914 =vc6198.GetWindow(v3a928.Name); if (v9c914 !=null &&v9c914 !=v3a928) v3a928.Name +=v3a928.Index; } else v3a928.Name ="Window" +v3a928.Index; ISEvent.Raise(vc6198.ClientSideEvents.OnWindowCreating,vc6198.Id,v3a928);  vf9c31 =document.createElement("DIV"); vf9c31.id ="dvWnd_" +vc6198.Id +"_" +v3a928.Name; vf9c31.style.cssText ="position:absolute; display:none"; vf9c31.style.zIndex =100 -v3a928.Index;  if (vc6198.WindowSettings.BorderType !="ComplexImages") vf9c31.className =vc6198.WindowSettings.WindowStyle.Normal;  v05837 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%'>"; v05837 +="<tr><td noWrap>";  v05837 +=wd1ff36.mbec53(v3a928);  v05837 +="</td></tr>"; v05837 +="<tr height='100%'><td valign=top>";  v05837 +=wd1ff36.m5bb6(v3a928);  v05837 +="</td></tr>"; v05837 +="</table>"; vf9c31.innerHTML =v05837;  try { va7952.appendChild(vf9c31); } catch(e) { va7952.insertAdjacentElement("beforeEnd",vf9c31); }  v3a928.CreatedAtRuntime =true; v3a928.Initialize(); v3a928.InitializeLayout("Cascade");  ISEvent.Raise(vc6198.ClientSideEvents.OnWindowCreated,vc6198.Id,v3a928); },  m4ce99:function(v88078) { var v69e31 =v88078.DesktopManager; var vffd69 =v69e31.GetDesktopElement(); var v15290 =""; var vcc580 =null;  if (v88078.Name !="") { if (v69e31.ShortcutIcons.GetNamedItem(v88078.Name)!=v88078) v88078.Name +=v88078.Index; } else v88078.Name ="Shortcut" +v88078.Index;  vcc580 =document.createElement("DIV"); vcc580.id ="dvSCI_" +v69e31.Id +"_" +v88078.Name; vcc580.style.cssText ="position:absolute; width:80px; height:80px; overflow: hidden; text-overflow: ellipsis;"; vcc580.align ="center";  if (!v88078.Visible) vcc580.style.display ="none";  vffd69.appendChild(vcc580);  v15290 +="<img vspace=2 src='" +v69e31.ResolveImagePath(v88078.Image)+"' />"; v15290 +="<div "; v15290 +="class=" +v69e31.ShortcutStyle.Normal; v15290 +=">";  if (v69e31.ShortcutDisplayMode =="TextAndImage") v15290 +=v88078.Text;  v15290 +="</div>"; vcc580.innerHTML =v15290; v88078.Initialize(); ISEvent.Raise(v69e31.ClientSideEvents.OnShortcutCreated,v69e31.Id,v88078); },  m38079:function(v78d53) { var v8d633 =v78d53.GetElement(); var v31876 =v78d53.Collection;  v31876.Remove(v78d53); v31876.UpdateChanges();  Listener.Unload(v8d633); v8d633.removeNode(true); },  m1d155:function(va6d39) { var v10f89 =va6d39.DesktopManager;  var v53455 =v10f89.GetTaskBarWindowGroupElement(); var v44049 =va6d39.GetTaskBarButtonElement();  if (v53455 &&!v44049) { var vcad35 =v53455.children[0].children[0]; var v50b45 =vcad35.rows[0]; var vc2060 =-1;  if (v50b45.cells[v50b45.cells.length-1].getAttribute("placeholder")=="true")vc2060 =v50b45.cells.length-1;  var va1937 =v50b45.insertCell(vc2060); var v57885 ="";  va1937.nowrap =true; va1937.name =va6d39.Name; va1937.className =v10f89.TaskBarButtonStyle.Normal;  v57885 ="<div style='overflow:hidden; text-overflow: ellipsis; width:100%'>"; v57885 +="<nobr>"; v57885 +="&nbsp;<img src='" +v10f89.ResolveImagePath(va6d39.Get("ControlBoxImage"))+"' align=absmiddle>"; v57885 +="&nbsp;"; v57885 +=va6d39.Text; v57885 +="</nobr>"; v57885 +="</div>";  va1937.innerHTML =v57885;  wd32b61.mb961(v10f89); } },  m50168:function(vdfd94,v0fd11) { for (var v18f58=0; v18f58<vdfd94.length; v18f58++) { if (vdfd94[v18f58].Name ==v0fd11.Name) return v18f58; }  return -1; },  m8a412:function(v5ce38,v23587,v3e662) { var v8d914 =v5ce38.DesktopManager; var v18221 =v8d914.GetDesktopSize();  if (v18221.Width ==0 ||v18221.Height ==0) { v8d914.CachedDesktopSize =null; v18221 =v8d914.GetDesktopSize();  if (v18221.Width ==0) { setTimeout(function(){wd32b61.m8a412(v5ce38,v23587,v3e662);},50); return; } } if (!v3e662 ||(v3e662 &&v5ce38.Location.IsEmpty())) { var v4d66 =v8d914.GetVisibleWindows(); var v2d729 =wd32b61.m50168(v4d66,v5ce38);  if (v23587 =="Cascade") { var vcb410 =v18221.Height -v5ce38.Location.Y -(25 *(v4d66.length -v2d729)); v5ce38.MoveTo(75 +(v2d729*20),25 +(v2d729*20));  if (v8d914.DockBottomHeight >0) { var v4879 =vcb410 +v5ce38.Location.Y;  if (v18221.Height -v4879 <v8d914.DockBottomHeight) vcb410 =vcb410 -(v8d914.DockBottomHeight -(v18221.Height -v4879)); } if (v5ce38.Size.IsEmpty()&&!v5ce38.ForceNoResize) v5ce38.ResizeTo(v18221.Width -v5ce38.Location.X -(25 *(v4d66.length -v2d729)),vcb410); } else if (v23587 =="TileWindowsH") { var v8ae21 =v18221.Height /v4d66.length; v5ce38.MoveTo(0,v2d729 *v8ae21 ); if (!v5ce38.ForceNoResize) v5ce38.ResizeTo(v18221.Width,v8ae21 ); } else { var v98524 =v18221.Width /v4d66.length; v5ce38.MoveTo(v2d729 *v98524,0 ); if (!v5ce38.ForceNoResize) v5ce38.ResizeTo(v98524,v18221.Height); }  if (!v5ce38.Size.IsEmpty()) v5ce38.ResizeTo(v5ce38.Size.Width,v5ce38.Size.Height ); } else if (!v5ce38.Location.IsEmpty()&&v3e662) { v5ce38.MoveTo(v5ce38.Location.X,v5ce38.Location.Y ); if (v5ce38.Size.IsEmpty()) { v5ce38.ResizeTo(v18221.Width -v5ce38.Location.X -10,v18221.Height -v5ce38.Location.Y -10); } else { v5ce38.ResizeTo(v5ce38.Size.Width,v5ce38.Size.Height ); } } },  m65817:function(v83174) { var v8e785 =v83174.GetWindowIFrameElement(); var v7cb14 =v8e785.parentElement; var vac151 =v83174.DesktopManager; if (v83174.ContentURL !="" &&(v8e785.src =="" ||!v83174.IFrameLoaded)) { var v2fd72 =v83174.ContentURL;  if (v8e785.src.indexOf(v2fd72)==-1 ||v83174.ContentURLChanged) v8e785.src =v2fd72; v83174.IFrameLoaded =true; v83174.ContentURLChanged =false; if (vac151.WindowSettings.IFrameShowLoader &&IS.ie) { var vae541 =vac151.GetIFrameWindow(v8e785.name); var v5f571 =false;  try { var v12a34 =vae541.document; } catch(e) { v5f571 =true; } if (vae541 &&!v5f571 &&vae541.document.readyState =="loading") { var v0bd82 =v8e785.children[1];  if (v0bd82 ==null) { var v7cb14 =v8e785.parentElement; var v43a83 =document.createElement("DIV"); var v9ce16 =IS.GetCssObject(null,vac151.WindowSettings.ContainerStyle); v43a83.style.cssText ="width:100%;height:100%;vertical-align:middle;position:absolute;left:0px;top:0px;background-color:White"; v43a83.style.fontWeight =v9ce16.fontWeight; v43a83.style.display ="none"; v43a83.innerHTML ="<table width=100% height=100%><tr><td valign=center align=center style='font-family:" +v9ce16.fontFamily +";font-size:" +v9ce16.fontSize +"'>" +"<img align='absmiddle' src='" +vac151.ResolveImagePath(vac151.ImagesSettings.InProgress)+"'>&nbsp;" +v83174.GetInProgressText()+"</td></tr></table>"; v7cb14.appendChild(v43a83); } else {  } v8e785.style.display ="none"; v83174.IFrameContentLoaded =false; setTimeout(function(){wd32b61.m01f69(v83174);},100); } else { v83174.IFrameContentLoaded =true; v8e785.style.display =""; } } else { v83174.IFrameContentLoaded =true; v8e785.style.display ="";  if (!(IS.moz &&v8e785.style.height.indexOf("%")==-1)) v8e785.style.height ="100%"; } } },  m01f69:function(ve4f21) { if (ve4f21.IsClosed)return;  var vff965 =ve4f21.GetWindowIFrameElement(); var v5a559 =ve4f21.DesktopManager; var v2ee93 =v5a559.GetIFrameWindow(vff965.name);  if (v2ee93 &&v2ee93.document.readyState =="complete") wd32b61.m2b032(ve4f21); if (!ve4f21.IFrameContentLoaded) { vff965.nextSibling.style.display ="";  if (vff965.onreadystatechange ==null) vff965.attachEvent("onreadystatechange",function(){wd32b61.m2b032(ve4f21);}); } },  mab222:function(ve4a45) { if (ve4a45.EnableContextMenu) { var v2a440 =new WebContextMenu(ve4a45.Id +"_SysMenu"); v2a440.MenuStyleSettings.CopyFrom(ve4a45.MenuStyles.System); v2a440.MenuStyleSettings.Parent =v2a440; v2a440.MenuStyleSettings.OnPropertiesInitialized(); var v59448 =v2a440.Items.Add(new WebMenuItem("mnuRestore","Restore",IS.GetSymbol(ve4a45,"2",true),function(){wd32b61.m68418(this);})); var vd6545 =v2a440.Items.Add(new WebMenuItem("mnuMove","Move",null,function(){wd32b61.m68418(this);})); var v22134 =v2a440.Items.Add(new WebMenuItem("mnuSize","Size",null,function(){wd32b61.m68418(this);})); var vf4049 =v2a440.Items.Add(new WebMenuItem("mnuMinimize","Minimize",IS.GetSymbol(ve4a45,"0",true),function(){wd32b61.m68418(this);})); var v14044 =v2a440.Items.Add(new WebMenuItem("mnuMaximize","Maximize",IS.GetSymbol(ve4a45,"1",true),function(){wd32b61.m68418(this);})); v2a440.Items.Add(new WebMenuSeparatorItem()); var v10119 =v2a440.Items.Add(new WebMenuItem("mnuClose","Close",IS.GetSymbol(ve4a45,"r",true),function(){wd32b61.m68418(this);},new ShortcutKey(true,true,false,null,"C")));  if (IS.ie ||IS.moz) { v59448.UseFontImage =vf4049.UseFontImage = v14044.UseFontImage =v10119.UseFontImage =true; } else { v2a440.ImageSize =new UnitSize(12,14); }  ve4a45.SystemMenu =v2a440;  var v75a93 =new WebContextMenu(ve4a45.Id +"_DeskMenu"); v75a93.MenuStyleSettings.CopyFrom(ve4a45.MenuStyles.System); v75a93.MenuStyleSettings.Parent =v75a93; v75a93.MenuStyleSettings.OnPropertiesInitialized();  v75a93.Items.Add(new WebMenuCheckBoxItem("mnuAutoArrange","Auto Arrange Icons",null,function(){wd32b61.m33766(this);},null,ve4a45.ShortcutSettings.AllowAutoArrange)); var v04e43 =v75a93.Items.Add(new WebMenuCheckBoxItem("mnuShowDesktopIcons","Show Desktop Icons",null,function(){wd32b61.m33766(this);},null,ve4a45.ShortcutIconsVisible)); v75a93.Items.Add(new WebMenuSeparatorItem()); v75a93.Items.Add(new WebMenuItem("mnuCascade","Cascade Windows",null,function(){wd32b61.m33766(this);})); v75a93.Items.Add(new WebMenuItem("mnuTileHz","Tile Windows Horizontally",null,function(){wd32b61.m33766(this);})); v75a93.Items.Add(new WebMenuItem("mnuTileVt","Tile Windows Vertically",null,function(){wd32b61.m33766(this);})); v75a93.Items.Add(new WebMenuSeparatorItem()); v75a93.Items.Add(new WebMenuItem("mnuShowDesktop","Show the Desktop",null,function(){wd32b61.m33766(this);}));  if (!ve4a45.ShortcutIconsVisible) v04e43.Enabled =false;  ve4a45.DesktopContextMenu =v75a93; } },  m43f72:function(v38892) { event.cancelBubble =true; event.returnValue =false;  var v95065 =event.srcElement; var vef814 =0; var v2b61 =0;  if (v95065 ==v38892.GetDesktopElement()) { if (v38892.EnableContextMenu &&v38892.DesktopContextMenu) { var va1529 =v38892.DesktopContextMenu; ISEvent.Raise(v38892.ClientSideEvents.OnContextMenu,v38892.Id,"Desktop",v38892,va1529); if (IS.ie ||IS.opera) { if (va1529.MenuWindowType =="Normal") { vef814 =window.screenLeft; v2b61 =window.screenTop; }  va1529.Show(event.screenX -vef814,event.screenY -v2b61); } else va1529.Show(event.screenX,event.screenY -140); } }  return false; },  m2977:function(v88567) { if (v88567.EnableContextMenu &&v88567.SystemMenu) { var vcf095 =event.srcElement; var v41d82 =wd32b61.mf7b34(v88567,vcf095);  if (v41d82 &&!v41d82.IsClosed) wd32b61.m2b054(v41d82); } },  m99624:function(v39951) { if (v39951.IsClosed ||!v39951.ClientVisible) { var v5c251 =v39951.DesktopManager;  if (v5c251.SystemMenu) v5c251.SystemMenu.HideAll(); } },  m2ab92:function(v75222) { event.returnValue =false; event.cancelBubble =true; if (v75222.EnableContextMenu &&v75222.SystemMenu) {  var v60786 =event.srcElement; var v48b30 =wd32b61.mf7b34(v75222,v60786);  wd32b61.m2b054(v48b30); }  return false; },  m2b054:function(v56353) { var v54f6 =v56353.DesktopManager; var v08540 =v54f6.SystemMenu; var vae49 =0; var v9893 =0;  if (v56353 &&v56353.Initialized &&!v56353.IsClosed &&v08540) { if (v56353.WindowState =="Normal") { v08540.Items[0].Disable(); v08540.Items[1].Enable(); v08540.Items[2].Enable(); v08540.Items[3].Enable(); v08540.Items[4].Enable(); } else if (v56353.WindowState =="Minimized") { v08540.Items[0].Enable(); v08540.Items[1].Disable(); v08540.Items[2].Disable(); v08540.Items[3].Disable(); v08540.Items[4].Enable(); } else if (v56353.WindowState =="Maximized") { v08540.Items[1].Disable(); v08540.Items[2].Disable(); v08540.Items[4].Disable();  if (!v08540.Items[0].Enabled) v08540.Items[0].Enable();  v08540.Items[3].Enable(); }  if (v56353.Get("AllowClose")=="No") v08540.Items[6].Disable();  if (v56353.Get("AllowMinimize")=="No") v08540.Items[3].Disable(); if (v56353.Get("AllowMaximize")=="No") { v08540.Items[0].Disable(); v08540.Items[4].Disable(); }  if (v56353.Get("AllowResize")=="No") { v08540.Items[2].Disable(); }  v08540.Window =v56353; ISEvent.Raise(v54f6.ClientSideEvents.OnContextMenu,v54f6.Id,"Window",v56353,v08540);  if (IS.ie ||IS.opera) { if (v08540.MenuWindowType =="Normal") { vae49 =window.screenLeft; v9893 =window.screenTop; }  v08540.Show(event.screenX +5 -vae49,event.screenY +5 -v9893); } else v08540.Show(event.screenX,event.screenY -140); } },  m68418:function(v93d92) { var v70256 =v93d92.OwnerMenu.MenuControl.Window;  switch (v93d92.Name) { case "mnuMinimize": v70256.Minimize(null,true); break; case "mnuMaximize": { if (v70256.WindowState =="Minimized") v70256.Restore();  v70256.Maximize(null,true); break; } case "mnuRestore": v70256.Restore(null,true); break; case "mnuClose": v70256.Close(); break; } },  m33766:function(vb8111) { var va1928 =ISGetDesktopManager();  switch (vb8111.Name) { case "mnuAutoArrange": if (vb8111.Checked) { va1928.ShortcutSettings.AllowAutoArrange =true; wd32b61.m6cb60(va1928); wd32b61.mbe293(va1928); } else { va1928.ShortcutSettings.AllowAutoArrange =false; } break;  case "mnuShowDesktopIcons": if (vb8111.Checked) va1928.ShowShortcutIcons(); else va1928.HideShortcutIcons(); break;  case "mnuCascade": va1928.CascadeWindows(null,true); break;  case "mnuTileHz": va1928.TileWindowsHorizontally(null,true); break;  case "mnuTileVt": va1928.TileWindowsVertically(null,true); break;  case "mnuShowDesktop": va1928.ShowDesktop(); break; } },  m2e267:function(v91b86) { var vd9311 =new Array(); for(var vb6f96=0; vb6f96<v91b86.IS.RuntimeObjects.length; vb6f96++) { var v72198 =v91b86.IS.RuntimeObjects[vb6f96]; if (v72198 &&(v72198.GetType()=="WebToolBar" ||v72198.GetType()=="WebMenuBar")) vd9311.push(v72198); }  return vd9311; },  m3a244:function(v82333) { if (!v82333.BarsAccessKeyEnabled)return;  if (v82333.Get("ContentMode")=="UseIFrame" &&!v82333.IsClosed &&v82333.Initialized) { var ve2322 =v82333.DesktopManager; var v30f55 =ve2322.GetIFrameWindow(v82333.Name); if (v30f55 &&v30f55.ISGetObject) { var v49e69 =wd32b61.m2e267(v30f55);  for(var v6e543=0; v6e543<v49e69.length; v6e543++) { var vbcc11 =v49e69[v6e543]; if (vbcc11.Enabled) vbcc11.UnregisterAccessKeys(); } }  v82333.BarsAccessKeyEnabled =false; } },  mda734:function(vcc747) { if (vcc747.BarsAccessKeyEnabled)return;  if (vcc747.Get("ContentMode")=="UseIFrame" &&!vcc747.IsClosed &&vcc747.Initialized) { var v7ad52 =vcc747.DesktopManager; var vb3322 =v7ad52.GetIFrameWindow(vcc747.Name); if (vb3322 &&vb3322.ISGetObject) { var v3176 =wd32b61.m2e267(vb3322);  for(var v84a11=0; v84a11<v3176.length; v84a11++) { var v89b54 =v3176[v84a11]; if (v89b54.Enabled) v89b54.RegisterAccessKeys(); } }  vcc747.BarsAccessKeyEnabled =true; } },  m6aa85:function(v79674,vdd639,v0a847) { var v74b2 ="progid:DXImageTransform.Microsoft."; var vb830 ="0.5";  if (vdd639 !="None") { switch (vdd639) { case "Fade": v74b2 +="Fade(duration=" +vb830 +",overlap=1.0)"; break; case "GradientWipe": v74b2 +="Wipe(duration=" +vb830 +",GradientSize=1.0, wipeStyle=1, motion='forward')"; break; case "Pixelate": v74b2 +="Pixelate(duration=" +vb830 +",MaxSquare=30)"; break; case "SlideAndHide": v74b2 +="Slide(duration=" +vb830 +",slideStyle='HIDE', bands=1)"; break; case "SlideAndPush": v74b2 +="Slide(duration=" +vb830 +",slideStyle='PUSH', bands=1)"; break; case "SlideAndSwap": v74b2 +="Slide(duration=" +vb830 +",slideStyle='SWAP', bands=1)"; break; case "Iris": v74b2 +="Iris(duration=" +vb830 +",irisStyle='CIRCLE', motion='out')"; break; case "Wheel": v74b2 +="Wheel(duration=" +vb830 +",Spokes=4)"; break; }  v79674.style.filter =v74b2; v79674.filters[0].Apply();  if (!v0a847) v79674.style.visibility ="hidden"; else v79674.style.visibility ="visible";  v79674.filters[0].Play(); } else { v79674.style.visibility ="visible"; } },  m41d82:function(v57e49) { var v4d713 =v57e49.GetWindowDivElement();  if (v4d713 !=null) { v4d713.style.display ="none"; v4d713.style.zoom ="100%"; } },  mb2492:function(v8f04,vb4f6) { var vd2b32 =v8f04.GetWindowDivElement();  if (vd2b32 !=null) { vd2b32.style.display =""; ISAnimation_RemoveOpacity(vd2b32); }  var va3467 =v8f04.GetContentDivElement().children[0];  if (va3467 !=null) va3467.style.display =""; v8f04.Show(null,null,true,vb4f6); },  m83772:function(v51054) { var v81424 =v51054.GetDesktopClientSize();  for (var v65516=0; v65516<v51054.Windows.length; v65516++) { var v7f551 =v51054.Windows[v65516]; var v9d053 =v7f551.GetWindowDivElement();  if (v7f551.ClientVisible &&v7f551.WindowState =="Maximized" &&!v7f551.IsClosed) { v9d053.style.width =v81424.Width; v9d053.style.height =v51054.GetAvailableDesktopHeight(v81424.Height); if (v7f551.Get("ContentMode")=="UseIFrame") { var v47285 =v7f551.GetWindowIFrameElement(); var v08d72 =v47285.parentElement.clientHeight;  if (v47285) { if (v08d72 >v81424.Height) v47285.style.height =v08d72; else v47285.style.height ="100%"; } } } } }};function ISFindWindowRecursive(vd0970,v4d142){ var v93f75 =null;  if (!v4d142)v93f75 =window; else v93f75 =v4d142;  if (v93f75.name ==vd0970) return v93f75; else { var vfa244 =v93f75.frames; for (var v44645=0; v44645<vfa244.length; v44645++) { var v33559 =vfa244[v44645]; if (v33559.name ==vd0970) return v33559;  if (v33559.frames.length >0) { var vf0456 =ISFindWindowRecursive(vd0970,v33559); if (vf0456)return vf0456; } } }  return null;}function WebDesktopManagerDestructor(){ var ve3e89 =delete wd32b61;}window.attachEvent("onunload",WebDesktopManagerDestructor);