
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 10/23/2009 9:57:50 AM
// 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 WebNotification(vdd919){ this.ClassName ="WebNotification"; this.Version ="1.5.2006"; this.BuildNumber ="1"; this.MajorVersion ="1.5"; this.RequiredFrameworkVersion ="2.0.5000.18"; ISControl.call(this,vdd919); IFlyPostBack.call(this,"WebNotificationRequest"); this.ScriptDirectory ="/CommonLibrary/WebDesktop/V3_0_7200/"; this.ImagesDirectory ="/CommonLibrary/Images/WebDesktop/"; this.Interval =5; this.DisplayLatency =5; this.IntegratedToDesktopManager =false; this.DisplayPosition ="RightBottom"; this.ServiceType ="WebService"; this.ServiceUrl =""; this.DisplayMode ="TextAndImage"; this.ContentText =""; this.ContentImage =""; this.CaptionText =""; this.ContentTemplate =null; this.ShowActionDropdown =false; this.ShowCloseButton =true; this.EnableSound =false; this.SoundFile =""; this.AnimationStyle ="Fading"; this.ImagePosition ="Left"; this.ImageVAlign ="Top"; this.ImagesSettings =new WebNotificationImagesSettings(); this.ClientSideEvents =new WebNotificationClientSideEvents(); this.FrameStyle =null; this.CaptionStyle =null; this.ContentStyle =null; this.CommandStyle =new DynamicStyle(); this.ImageSize =new UnitSize(16,16); this.IntegratedTo ="None"; this.ShowDelay =500; this.FadingSpeed ="Slow"; this.HasInitialEvent =false;  if (typeof(WebMenu)!="undefined") { this.MenuStyleSettings =new WebMenuStyles(); this.ActionMenu =new WebMenu(); this.Menu =this.ActionMenu; this.Items =this.ActionMenu.Items; }  this.ViewStateStorage ="PageCache"; this.IsPreviewMode =false; this.ServerUniqueID =""; this.Enabled =true; this.ToolTip =""; this.Visible =true; this.XmlCompressionEnabled =false; this.ClientID =vdd919; this.ID =vdd919; this.UniqueID =vdd919; this.NotifyWindowClickable =false; this.NotifyWindowURL =""; this.NotifyWindowName ="_blank"; this.AutoStart =true; this.RunOnce =false;  this.FPBManager =null; this.TimerID =null; this.AnimatedObj =null; this.AllNotifications =new Array(); this.LastNotification =null; this.HideIntervalID =0; this.CurrentSession =null; this.CustomData ="";  this._Menu =null; this._NeedCreateMenuStyle =false; this._MenuOpened =false; this._Sound =null; this.WebResourceIdentifier ="D"; this.OnInitialize =function() { ISEvent.Raise(this.ClientSideEvents.OnInitialize,this.Id); };  this.OnUnload =function() { var v04878 =this; var v6dc41 =v04878.GetOptionElement(); var v7bc27 =v04878.GetCloseElement();  Listener.Unload(v6dc41); Listener.Unload(v7bc27); Listener.Unload(window); Listener.Unload(v04878.GetContentElement()); Listener.Unload(v04878.FrameObj);  if (this.IntegratedToDesktopManager) { var v01172 =v04878.FrameObj.removeNode(true); v01172 =null; v04878.FrameObj =null; } window.detachEvent("onload",function(){wd70061.m97796(v04878);});  };  this.OnPropertiesInitialized =function() { if (this.Events !=null) { var v4f125; for(v4f125 in this.Events) { if (typeof(this.Events[v4f125])=="string") this.ClientSideEvents[v4f125] =this.Events[v4f125]; } }  var v0a735 =document.getElementById(this.Id);  if (v0a735 ==null) v0a735 =document.getElementById(this.ServerUniqueID);  v0a735.value ="ISWebNotification"; };  this.Show =function() { this.FrameObj.style.display =""; };  this.Hide =function() { this.FrameObj.style.display ="none"; };  this.Enable =function() { if (!this.Enabled) { this.Enabled =true; if (this.TimerID >0) clearInterval(this.TimerID);  var v4f539 =this; this.TimerID =setInterval(function(){wd70061.m37640(v4f539);},this.Interval*1000); } };  this.Disable =function() { if (this.TimerID >0) { clearInterval(this.TimerID); this.TimerID =0; }  this.Enabled =false; };  this.GetFlyPostBackManager =function() { return this.FPBManager; };  this.GetCaptionElement =function() { var vcb933 =this.GetCaptionBarElement(); if (vcb933) { return vcb933.rows[0].cells[0]; } };  this.SetCaptionText =function(v50419) { var v76418 =this.GetCaptionElement(); v76418.innerText =v50419; };  this.GetOptionElement =function() { if (this.ShowActionDropdown) { var vcb933 =this.GetCaptionBarElement(); if (vcb933) { var v8464 =vcb933.rows[0].cells[1]; return v8464.children[0]; } }  return null; };  this.GetCloseElement =function() { if (this.ShowCloseButton) { var vcb933 =this.GetCaptionBarElement(); if (vcb933) { var v8464 =vcb933.rows[0].cells[1]; if (this.ShowActionDropdown) return v8464.children[2]; else return v8464.children[0]; } }  return null; };  this.GetCaptionBarElement =function() { var v7ab63 =this.FrameObj; var vcb933 =v7ab63.children[0]; var v8464 =vcb933.rows[0].cells[0];  return v8464.children[0]; };  this.GetContentElement =function() { return this.FrameObj.children[0].rows[1].cells[0].children[0]; };  this.GetContentTextElement =function() { var v76418 =this.GetContentElement(); var v5f762 =v76418.children[0].rows[0]; var v06a26 =0;  if (this.DisplayMode =="TextAndImage") v06a26 =1; else if (this.DisplayMode =="Text") v06a26 =0;  return v5f762.cells[v06a26].children[0]; };  this.GetContentImageElement =function() { var v76418 =this.GetContentElement(); var v5f762 =v76418.children[0].rows[0]; var v06a26 =0;  if (this.DisplayMode =="TextAndImage" ||this.DisplayMode =="Image") v06a26 =0;  return v5f762.cells[v06a26].children[0]; };  this.GetContentTemplateElement =function() { var v76418 =this.GetContentElement();  return v76418.children[0].rows[0].cells[0].children[0]; };  this.SetContentTemplateText =function(vc2119) { var v76418 =this.GetContentTemplateElement();  v76418.innerHTML =vc2119; };  this.SetContentText =function(v50419) { var v76418 =this.GetContentTextElement();  v76418.innerText =v50419; };  this.GetCurrentNotification =function() { return this.CurrentNotification; };  this.GetAllNotifications =function() { return this.AllNotifications; };  this.GetLastNotification =function() { return this.LastNotification; };  this.GetMissedNotifications =function() { var ve6745 =new Array();  for (var v9201=0; v9201<this.AllNotifications.length; v9201++) { var v34081 =this.AllNotifications[v9201]; if (!v34081.Clicked) ve6745[ve6745.length] =v34081; }  return ve6745; };  this.GetActionMenu =function() { return this._Menu; };  this.Notify =function(vd6855) { wd70061.m8da19(this,vd6855); };  this.GetSoundElement =function() { if (this._Sound ==null) { var vf8b76 =document.createElement("bgsound"); vf8b76.loop =1; document.body.appendChild(vf8b76);  this._Sound =vf8b76; } return this._Sound; };}function WebNotificationEventCollection(){ this.Notifications =new Array(); this.HasData =false;}function WebNotificationEvent(){ this.ContentImage =""; this.ContentText =""; this.Properties =new Array(); this.Shown =false; this.Clicked =false; this.CaptionText =""; this.NotifyURL ="";  this.GetProperty =function(vec910) { for (var v6f455=0; v6f455<this.Properties.length; v6f455++) { if (this.Properties[v6f455].Key ==vec910) return this.Properties[v6f455]; } };  this.GetPropertyValue =function(vec910) { for (var v6f455=0; v6f455<this.Properties.length; v6f455++) { if (this.Properties[v6f455].Key ==vec910) return this.Properties[v6f455].Value; } }}function WebNotificationEventArgs(){ this.Id =""; this.RawUrl =""; this.CustomData ="";}function Property(){ this.Key =""; this.Value ="";}function WebNotificationClientSideEvents(){ this._Type ="WebNotificationClientSideEvents"; ISObject.call(this); this.OnBeforeRequest =""; this.OnNotify =""; this.OnInitialize =""; this.OnResponse =""; this.OnError =""; this.OnClick =""; this.OnClose =""; this.OnActionClick ="";}function WebNotificationImagesSettings(){ this._Type ="WebNotificationImagesSettings"; ISObject.call(this); this.CloseNormal =""; this.CloseOver =""; this.CloseActive =""; this.ActionNormal =""; this.ActionOver =""; this.ActionActive ="";}function InitWebNotification(vc6710,v9a316){ var v66b10 =wd70061.mce29(vc6710,v9a316); v66b10.OnInitialize();}function WebNotification_Notify(vc4a94,v0d956,v3f887,ve6e11,vb5634){ var v85694 =ISGetObject(vc4a94); var ve5456 =new WebNotificationEvent();  ve5456.ContentText =v0d956; ve5456.ContentImage =v3f887; ve5456.CaptionText =ve6e11; ve5456.NotifyUrl =vb5634;  if (v85694 !=null) v85694.Notify(ve5456);}var wd70061 ={ Initialized: false,  mce29:function(vc656,v62250) { var vbcc6 =new WebNotification(vc656); wd70061.mdc515(vbcc6); wd70061.ma5457(vbcc6); wd70061.m28113(vbcc6); wd70061.m25f86(vbcc6); vbcc6.IsInit =true;  if (v62250) vbcc6.HasInitialEvent =true;  return vbcc6; },  mdc515:function(v86661) { if (v86661 ==null) return;  if (!v86661.IsInit) { var vea141 =null; if (typeof (IS_ReleaseType)!="undefined" &&IS_ReleaseType =="Beta") { v86661.ScriptDirectory ="/CommonLibraryBeta/WebDesktop/V3_0_7200/"; v86661.ImagesDirectory ="/CommonLibraryBeta/Images/WebDesktop/"; }  try { vea141 =ISXml.GetNode(v86661.XmlDt,"//WebNotification"); } catch(e) {} if (vea141 ==null) vea141 =v86661.XmlDt.documentElement;  if (vea141 !=null) { IS.SetPropertiesRecursive(v86661,vea141); v86661.CommandStyle =DynamicStyleEngine.Assign(ISXml.GetNode(v86661.XmlDt,"//CommandStyle"));  if (v86661.ShowActionDropdown) { if (ISXml.GetNode(vea141,"//MenuStyleSettings")==null) v86661._NeedCreateMenuStyle =true; else { var vfa319 =["ItemStyle","DisabledItemStyle","CheckedItemStyle"]; DynamicStyleEngine.AssignFromArray(v86661.MenuStyleSettings,v86661.MenuStyleSettings.XmlNode,vfa319); } if (v86661._Menu ==null) { v86661._Menu =new WebContextMenu(v86661.Id +"_Action"); v86661._Menu.RootMenu =v86661.ActionMenu; v86661._Menu.RootMenu.MenuControl =v86661._Menu; v86661._Menu.RootMenu.OffsetElement =v86661.GetOptionElement(); v86661._Menu.RootMenu.OwnerControl =v86661; v86661._Menu.Items =v86661.Items; v86661._Menu.MenuStyleSettings =v86661.MenuStyleSettings; v86661._Menu.OnRootMenuClosed ="wd70061.maea6"; } }   v86661.FPBMan =new WebFlyPostBackManager(v86661.ServerUniqueID +"_iswnf-pb");  with (v86661.FPBMan) { ServiceType =v86661.ServiceType; ServiceUrl =v86661.ServiceUrl; ClientSideEvents.OnResponseSuccess ="wd70061.m98d59"; ClientSideEvents.OnError ="wd70061.mbe498"; PostViewState =false; PostInputControls =false; PostHiddenFields =false; PostControlState =false; } v86661.FPBMan.Owner =v86661;  if (v86661.AnimationStyle !="None") { v86661.AnimatedObj =new ISAnimatedObject(); v86661.AnimatedObj.Element =v86661.FrameObj; v86661.AnimatedObj.OnCompleted =wd70061.md1449; v86661.AnimatedObj.Owner =v86661; v86661.AnimatedObj.Speed =v86661.FadingSpeed; } } }  vea141 =null; v86661 =null; },  ma5457:function(v42a0) { var vbb497 =v42a0.GetOptionElement(); var v70898 =v42a0.GetCloseElement();  if (vbb497) { Listener.Add(vbb497,"onmouseover",function(){wd70061.ma875(v42a0,vbb497);}); Listener.Add(vbb497,"onmouseout",function(){wd70061.m29e11(v42a0,vbb497);}); Listener.Add(vbb497,"onmouseup",function(){wd70061.m5e163(v42a0,vbb497);}); }  if (v70898) { Listener.Add(v70898,"onmouseover",function(){wd70061.ma875(v42a0,v70898);}); Listener.Add(v70898,"onmouseout",function(){wd70061.m29e11(v42a0,v70898);}); Listener.Add(v70898,"onmousedown",function(){wd70061.m5e163(v42a0,v70898);}); }  window.attachEvent("onload",function(){wd70061.m97796(v42a0);}); Listener.Add(v42a0.GetContentElement(),"onclick",wd70061.m7e38,v42a0); Listener.Add(v42a0.FrameObj,"onmouseover",wd70061.mca81,v42a0); Listener.Add(v42a0.FrameObj,"onmouseout",wd70061.mdcd16,v42a0);  if (!v42a0.IntegratedToDesktopManager) { Listener.Add(window,"onresize",wd70061.m2f01,v42a0); } },  m2f01:function() { wd70061.m25f86(this); },  m28113:function(vb1c36) { if (IS.moz) { } },  m25f86:function(v3902) { var vb2836 =v3902.DisplayPosition; var v0c617 =0; var v7d34 =0; var vbfa31 =null; var v1cf79 =null;  if (v3902.IsPreviewMode)return;  if (vb2836 =="Left" ||vb2836 =="Top") vb2836 ="LeftTop";  if (vb2836 =="Right" ||vb2836 =="Bottom") vb2836 ="RightBottom";  if (v3902.IntegratedToDesktopManager) { v1cf79 =ISGetDesktopManager(); if (v1cf79) { vbfa31 =v1cf79.GetDesktopElement(); wd70061.m73989(v1cf79,v3902); var v78d97 =v1cf79.GetDesktopElement(); var v3fd63 =v3902.FrameObj.removeNode(true); v78d97.insertAdjacentElement("beforeEnd",v3fd63); } else { v3902.FrameObj.style.display ="none"; v3902.Disable(); alert("Integration Error: Cannot find WebDesktopManager instance.\nMake sure this page is hosted inside WebDesktopManager."); return; } } else vbfa31 =document.body;  var vc7a53 =ISPosLib.getHeight(v3902.FrameObj);  if (v3902.FrameObj.OriginalHeight) vc7a53 =v3902.FrameObj.OriginalHeight;  switch (vb2836) { case "RightTop": v0c617 =vbfa31.clientWidth -v3902.FrameObj.offsetWidth; v7d34 =ISPosLib.getTop(vbfa31);  break; case "RightBottom": v0c617 =vbfa31.clientWidth -ISPosLib.getWidth(v3902.FrameObj)-ISPosLib.getLeft(v3902.FrameObj.parentElement)-4; v7d34 =ISPosLib.getTop(vbfa31)+vbfa31.offsetHeight -vc7a53 -ISPosLib.getTop(v3902.FrameObj.parentElement)-4;  break; case "LeftTop": v0c617 =ISPosLib.getLeft(vbfa31); v7d34 =ISPosLib.getTop(vbfa31);  break; case "LeftBottom": v0c617 =ISPosLib.getLeft(vbfa31); v7d34 =ISPosLib.getTop(vbfa31)+vbfa31.clientHeight -v3902.FrameObj.offsetHeight;  break; }  with (v3902.FrameObj) { style.position ="absolute"; style.left =v0c617; style.top =v7d34; if (v3902.AnimationStyle =="Sliding") { v3902.FrameObj.OriginalTop =parseFloat(v7d34);  if (!v3902.FrameObj.OriginalHeight) v3902.FrameObj.OriginalHeight =ISPosLib.getHeight(v3902.FrameObj); } var vc0014 =v3902.GetCurrentNotification();  if (vc0014 ==null) style.display ="none";  if (v3902.IntegratedToDesktopManager) { style.zIndex =200; } }  vbfa31 =null; },  mfa462:function(v59f86,v6ae95) { return v59f86.ResolveImagePath(v59f86.ImagesDirectory,v6ae95); },  m7e38:function() { if (this.NotifyWindowClickable) { var vb8422 =ISEvent.Raise(this.ClientSideEvents.OnClick,this.Id); if (this.NotifyWindowURL !="" &&vb8422) { var v95464 =this.GetCurrentNotification(); v95464.Clicked =true; window.open(this.NotifyWindowURL,this.NotifyWindowName); } } },  mca81:function() { if (this.AnimationStyle =="Fading" &&this.AnimatedObj.Type =="FadeOut") { if (this.HideIntervalID >0) { clearTimeout(this.HideIntervalID); this.HideIntervalID =0; } this.AnimatedObj.Stop(); } },  m58525:function(va7d77) { if (va7d77.IntegratedToDesktopManager) { var v2f641 =ISGetDesktopManager(); var vfca74 =v2f641.GetContentWindow().event; v2f641 =null;  return vfca74; } else return event; },  mdcd16:function() { if (this.AnimationStyle =="Fading" &&this.HideIntervalID ==0 &&this.AnimatedObj.Type =="FadeOut" &&!this._MenuOpened) { var v03a61 =this.FrameObj; var v8b183 =wd70061.m58525(this);  if (!v03a61.contains(v8b183.toElement)) wd70061.m8a330(this); } },  m97796:function(v84797) { if (v84797.IsPreviewMode) { v84797.ServiceUrl ="previewmode"; v84797.Enabled =false; v84797.IntegratedTo ="None"; }  if (v84797._NeedCreateMenuStyle) { if (v84797.IntegratedTo =="DesktopManager") v84797._Menu.SetIntegratedToDesktopManager(); else if (v84797.IntegratedTo =="None") wd70061.m71841(v84797); } else { if (v84797._Menu !=null) v84797._Menu.CreateDefaultStyles(); } if (v84797.ServiceUrl =="" &&!v84797.HasInitialEvent) alert(v84797.Id +": ServiceUrl has not been specified.\nThe control is running in disabled mode.");  if (v84797.Enabled &&v84797.Interval >0 &&v84797.ServiceUrl !="") { var vf6b97 =v84797; wddbb54.m33231(v84797.FPBMan); if (v84797.AutoStart) wd70061.m37640(vf6b97);  v84797.TimerID =setInterval(function(){wd70061.m37640(vf6b97);},v84797.Interval*1000); } },  ma875:function(v5e716,va9162) { if (v5e716._MenuOpened)return false; if (va9162.children[0].tagName =="FONT") DynamicStyleEngine.SetToOverStyle(null,v5e716.CommandStyle,va9162); else { var v5d532 =va9162.attributes["type"].value; if (v5e716.ImagesSettings[v5d532 +"Over"] !="") va9162.children[0].src =wd70061.mfa462(v5e716,v5e716.ImagesSettings["type" +Over]); } },  m29e11:function(v15752,v48532) { if (v15752._MenuOpened)return false;  if (v48532.children[0].tagName =="FONT") DynamicStyleEngine.SetToStyle(null,v15752.CommandStyle,v48532); else { var v56c52 =v48532.attributes["type"].value; v48532.children[0].src =wd70061.mfa462(v15752,v15752.ImagesSettings[v56c52 +"Normal"]); } },  m5e163:function(v8b652,vcff32) { var v64652 =vcff32.attributes["type"].value; if (vcff32.children[0].tagName =="FONT") DynamicStyleEngine.SetToActiveStyle(null,v8b652.CommandStyle,vcff32); else { if (v8b652.ImagesSettings[v64652 +"Active"] !="") vcff32.children[0].src =wd70061.mfa462(v8b652,v8b652.ImagesSettings[v64652 +"Active"]); else vcff32.children[0].src =wd70061.mfa462(v8b652,v8b652.ImagesSettings[v64652 +"Normal"]); } if (v64652 =="Action") { if (v8b652.Items !=null) { ISEvent.Raise(v8b652.ClientSideEvents.OnActionClick,v8b652.Id,v8b652._Menu); v8b652._Menu.Show(); v8b652._MenuOpened =true;  if (IS.moz) { vcff32.isContextMenu =true; if (vcff32.children[0].tagName =="FONT") vcff32.children[0].children[0].isContextMenu =true; else vcff32.children[0].isContextMenu =true;  event.cancelBubble =true; event.returnValue =false; } } } else if (v64652 =="Close") { if (v8b652.IsPreviewMode) return;  if (ISEvent.Raise(v8b652.ClientSideEvents.OnClose,v8b652.Id)) { v8b652.Hide(); v8b652.CurrentNotification.Shown =true; v8b652.CurrentNotification =null;  if (v8b652.AnimationStyle !="None" &&v8b652.AnimatedObj.IntervalId !=null &&v8b652.AnimatedObj.IntervalId !=0) { clearTimeout(v8b652.AnimatedObj.IntervalId); v8b652.AnimatedObj.IntervalId =0; } } } },  maea6:function(v71691) { var vf7b71 =v71691.OwnerControl; vf7b71._MenuOpened =false; wd70061.m29e11(vf7b71,vf7b71.GetOptionElement()); if (vf7b71.HideIntervalID ==0) vf7b71.HideIntervalID =setTimeout(function(){wd70061.m8a330(vf7b71); vf7b71 =null;},2000); },  m71841:function(v9de91) { wd70061.m96197(v9de91.Id,v9de91._Menu.MenuStyleSettings); v9de91._Menu.CreateDefaultStyles(); },  m96197:function(v2c591,vb0c51) { vb0c51.FrameStyle =v2c591 +"_FrameStyle"; vb0c51.ItemStyle =new DynamicStyle(); vb0c51.ItemStyle.Normal =v2c591 +"_ItemStyle_Normal"; vb0c51.ItemStyle.Over =v2c591 +"_ItemStyle_Over"; vb0c51.CheckedItemStyle =new DynamicStyle(); vb0c51.CheckedItemStyle.Normal =v2c591 +"_CheckedItemStyle_Normal"; vb0c51.CheckedItemStyle.Over =v2c591 +"_CheckedItemStyle_Over"; vb0c51.DisabledItemStyle =new DynamicStyle(); vb0c51.DisabledItemStyle.Normal =v2c591 +"_DisabledItemStyle_Normal"; vb0c51.DisabledItemStyle.Over =v2c591 +"_DisabledItemStyle_Over"; vb0c51.SeparatorStyle =v2c591 +"_SeparatorStyle"; },  m37640:function(v7a763) { if (v7a763.CurrentSession ==null) { var v1d563 =new WebNotificationEventArgs(); v1d563.Id =v7a763.ServerUniqueID; v1d563.RawUrl =wd70061.m3fd37(window.location.toString()); v1d563.CustomData =v7a763.CustomData; if (ISEvent.Raise(v7a763.ClientSideEvents.OnBeforeRequest,v7a763.Id,v1d563)) { v7a763.FPBMan.Invoke("GetNotifications",v1d563); } } },  m3fd37:function(vbf046) { if (vbf046.indexOf("?")>-1) vbf046 =vbf046.substring(0,vbf046.indexOf("?"));  return vbf046; },  m8da19:function(v2e518,vd2169) { v2e518.AllNotifications[v2e518.AllNotifications.length] =vd2169; v2e518.CurrentNotification =vd2169; v2e518.LastNotification =vd2169;  if (!ISEvent.Raise(v2e518.ClientSideEvents.OnNotify,v2e518.Id,vd2169)) return;  if (v2e518.DisplayMode =="UseTemplate") { var v50e82 =v2e518.GetContentTemplateElement();  if (typeof(vd2169.TemplateText)!="undefined" &&vd2169.TemplateText !="") v50e82.innerHTML =vd2169.TemplateText; } else { var v92c0 =v2e518.GetContentTextElement(); v92c0.innerText =vd2169.ContentText;  if (vd2169.ContentImage !="") v2e518.GetContentImageElement().src =wd70061.mfa462(v2e518,vd2169.ContentImage);  if (v2e518.NotifyWindowClickable &&vd2169.NotifyURL !="") v2e518.NotifyWindowURL =vd2169.NotifyURL; }  if (vd2169.CaptionText !="") { v2e518.SetCaptionText(vd2169.CaptionText); }  if (v2e518.AnimationStyle =="None") { vd2169.Shown =true; v2e518.Show(); v2e518.HideIntervalID =setTimeout(function(){wd70061.m8a330(v2e518);},v2e518.DisplayLatency *1000); } else { if (v2e518.AnimationStyle =="Fading") { v2e518.AnimatedObj.Type ="FadeIn"; v2e518.AnimatedObj.Play(); } else { v2e518.AnimatedObj.Type ="MSNSlideUp"; v2e518.AnimatedObj.Play(); } } },  macd29:function(vde648) { var v46921 =new Array(); for (var ve9319=0; ve9319<vde648.length; ve9319++) { var v52935 =vde648[ve9319]; if (v52935.Properties !=null &&v52935.Properties.childNodes.length >0) { for (var v18261=0; v18261<v52935.Properties.childNodes.length; v18261++) { var v26f31 =v52935.Properties.childNodes[v18261]; var va8994 =new Property();  va8994.Key =v26f31.selectSingleNode("Key").text; va8994.Value =v26f31.selectSingleNode("Value").text; v46921.push(va8994); } } }  v52935.Properties =v46921; },  m98d59:function(v77587,v59656,v1b991) { var vc4f32 =ISGetObject(unescape(v77587)); var vdab77 =vc4f32.Owner; if (!ISEvent.Raise(vdab77.ClientSideEvents.OnResponse,v77587,v1b991)) return; if (v1b991 !=null) { var v4516 =v1b991;  if (v4516.HasData) { vdab77.CurrentSession =v4516;  if (vdab77.EnableSound &&vdab77.SoundFile !="") { var v02668 =vdab77.GetSoundElement(); v02668.src =vdab77.SoundFile; }  if (vdab77.ServiceType =="WebService") wd70061.macd29(v4516.Notifications);  wd70061.m8da19(vdab77,v4516.Notifications[0]); } }  if (vdab77.RunOnce) { clearInterval(vdab77.TimerID); vdab77.TimerID =0; }  vc4f32 =null; vdab77 =null; },  mbe498:function(v6bb79,vaab4,v3c495) { var v2cc43 =ISGetObject(unescape(v6bb79)); var v5fc35 =v2cc43.Owner; if (unescape(v3c495)=="web method not available") v3c495 ="GetNotifications method required by WebNotification control cannot be found at specified ServiceUrl."; else v3c495 =unescape(v3c495);  if (v5fc35.RunOnce) { clearInterval(v5fc35.TimerID); v5fc35.TimerID =0; } if (ISEvent.Raise(v5fc35.ClientSideEvents.OnError,v6bb79,v3c495)) { if (v3c495 !="null" &&v3c495 !="undefined") alert(v6bb79 +" Error: " +v3c495); } },  md1449:function() { var v7c082 =this.Owner;  if (v7c082.CurrentNotification ==null) { wd70061.mcd625(v7c082); return; }  if (this.Type =="FadeIn" ||this.Type =="MSNSlideUp") { v7c082.CurrentNotification.Shown =true; v7c082.HideIntervalID =setTimeout(function(){wd70061.m8a330(v7c082);},v7c082.DisplayLatency *1000); } else { if (!this.Canceled) { v7c082.HideIntervalID =0; v7c082.Hide(); v7c082.CurrentNotification =null;  wd70061.mcd625(v7c082); } v7c082 =null; } },  mcd625:function(v31218) { var v7b118 =wd70061.m53c5(v31218); if (v7b118) setTimeout(function(){wd70061.m8da19(v31218,v7b118); v7b118 =null;},300); else v31218.CurrentSession =null; },  m8a330:function(v80b54) { if (!v80b54._MenuOpened) { if (v80b54.AnimationStyle =="None") { v80b54.Hide(); wd70061.mcd625(v80b54); } else if (v80b54.AnimationStyle =="Fading") { if (wd70061.m53c5(v80b54)) { v80b54.Hide(); wd70061.mcd625(v80b54); } else { v80b54.AnimatedObj.Type ="FadeOut"; v80b54.AnimatedObj.Canceled =false; v80b54.AnimatedObj.Play(); } } else { if (v80b54.CurrentNotification !=null) { v80b54.AnimatedObj.Type ="MSNSlideDown"; v80b54.AnimatedObj.Play(); } else { wd70061.mcd625(v80b54); } } } else { v80b54.HideIntervalID =0; } },  m53c5:function(va5d37) { if (va5d37.CurrentSession !=null) { for (var vbca54=0; vbca54<va5d37.CurrentSession.Notifications.length; vbca54++) { if (!va5d37.CurrentSession.Notifications[vbca54].Shown) { return va5d37.CurrentSession.Notifications[vbca54]; } } } },  m73989:function(v6769,va7572) { var v54137 =[va7572.CaptionStyle,va7572.FrameStyle,va7572.ContentStyle,va7572.CommandStyle.Normal,va7572.CommandStyle.Over,va7572.CommandStyle.Active];  for (var v19d33=0; v19d33<v54137.length; v19d33++) { var v90b95 =IS.GetCssObject(null,v54137[v19d33],true); if (v90b95) v6769.TransferStyle(v90b95); } }};function WebNotificationDestructor(){ wd70061 =null; var vd8541 =delete wd70061;}window.attachEvent("onunload",WebNotificationDestructor);