
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 3/15/2010 3:21:10 PM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
function ISInteractiveObject(){ this.Enabled =true; this.Resizable =false; this.Movable =false; this.FrameElement =null; this.DragElement =null; this.Registered =false; this.DesktopManager =null; this.Window =null;  this._CursorElement =null;}var wd6fa82 ={ Collection: null,LastValidObject: null, LastCursorPart: null, IsMouseDown: false, Event: null, LastDragObject: null, LastMovedObject: null, MozillaMouseUpTreshold: false, MozillaMouseUpTresholdId: 0, m75b51:function(v2c547) { var vb6511 =document.body; Listener.Add(vb6511,"onmousemove",wd6fa82.m23e27); Listener.Add(vb6511,"onmousedown",wd6fa82.m48160); Listener.Add(vb6511,"onmouseup",wd6fa82.maf775); for (var va5b42 =0; va5b42 <v2c547.length; va5b42++) { var v2ba28 =v2c547[va5b42]; var v6a922 =v2ba28.FrameElement; v6a922.IsInteractiveObject =true; v2ba28.Registered =true; } wd6fa82.Collection =v2c547; }, mbfb42:function(vd4f3,v08290,v6ca31) { if (!v6ca31) v6ca31 ="afterBegin"; var v96467 =document.createElement("DIV"); v96467.onselectstart =function(){return false; }; v96467.ondragstart =function(){return false; }; v96467.style.display ="none"; v96467.hideFocus =true; v96467.innerHTML ="<img width=100% height=100% src='" +vd4f3.ResolveImagePath("blank.gif")+"' />"; Listener.Add(v96467,"onmousemove",wd6fa82.md0871); v08290.insertAdjacentElement(v6ca31,v96467); return v96467; }, md0871:function() { }, ma4e38:function(v74458) { if (v74458.InteractiveShadow ==null) v74458.InteractiveShadow =wd6fa82.mbfb42(v74458,v74458.FrameObj,"beforeEnd"); var v50c86 =v74458.InteractiveShadow; if (v50c86.style.display =="none") { var v90d30 =v74458.GetDesktopSize(); with (v50c86.style) { position ="absolute"; width =v74458.FrameObj.clientWidth; height =v74458.FrameObj.clientHeight; left =0; top =0; backgroundColor ="gray"; zIndex =252; } if (v74458.ShadowModeAnimation) { var ve8e80 =new ISAnimatedObject(); ve8e80.Element =v50c86; ve8e80.Speed ="Fast"; ve8e80.StepInterval =10; ve8e80.Type ="FadeIn"; ve8e80.MaxFadeInOpacity =40; ve8e80.Play(); } else { v50c86.style.display =""; if (!v74458.ShadowModeTransparency) v50c86.style.backgroundColor ="transparent"; else { v50c86.style.opacity ="0.5"; v50c86.style.filter ="Alpha(Opacity=50)"; } } } }, md1665:function(v8ca58) { if (v8ca58.ShadowModeAnimation) { var vf6658 =new ISAnimatedObject(); vf6658.Element =v8ca58.InteractiveShadow; vf6658.Speed ="Fast"; vf6658.StepInterval =10; vf6658.MaxFadeInOpacity =40; vf6658.Type ="FadeOut"; vf6658.OnCompleted =wd6fa82.m5fa1; vf6658.Play(); } else v8ca58.InteractiveShadow.style.display ="none"; }, m5fa1:function() { this.Element.style.display ="none"; }, m5092:function(v98b58,v45d69,v73516,v05e69) { var v03b58 =true; if (v98b58 !=null &&v45d69 !=null &&v73516 ==null &&v05e69 ==null) v03b58 =false; return v03b58; }, m79c93:function(v6a897,vb1f89,v96150,vb1c93,v19a82,vcb97) { var ve7e14 =true; if (vb1f89 &&vb1f89.Window &&vb1f89.Window.DesktopManager.WindowInteractiveMode =="Shadow") ve7e14 =false; if (vb1f89 &&vb1f89.Window &&IsIE8StandardMode()&&wd6fa82.m5092(v96150,vb1c93,v19a82,vcb97)) ve7e14 =false; if (ve7e14) { if (v96150) v6a897.style.left =v96150 +"px"; if (vb1c93) v6a897.style.top =vb1c93 +"px"; if (v19a82) v6a897.style.width =v19a82 +"px"; if (vcb97) v6a897.style.height =vcb97 +"px"; window.status =v6a897.style.height; } else { wd6fa82.ma4e38(vb1f89.Window.DesktopManager); wd6fa82.me591(vb1f89.Window,v96150,vb1c93,v19a82,vcb97); } }, me591:function(vbcd53,vfe168,v40835,v25596,vbb94) { var v8f833 =wd6fa82.Shadow; var v31258 =vbcd53.DesktopManager; var va1968 =wd6fa82.ShadowInfo; if (v8f833 ==null) { v8f833 =document.createElement("DIV"); v8f833.onselectstart =function(){return false; }; v8f833.ondragstart =function(){return false; }; v8f833.style.cssText ="position: absolute; border: white 1px solid; background-color: gray;" + "opacity: 0.5; filter: Alpha(Opacity=50); "; v31258.FrameObj.appendChild(v8f833); wd6fa82.Shadow =v8f833; } if (va1968 ==null) { va1968 =document.createElement("DIV"); va1968.style.cssText ="position: absolute; z-index: 254; color: white; font-family: Segoe UI, Tahoma; font-size: 9pt"; va1968.innerHTML ="<span style='font-weight:bold'></span><br/>X: <span></span>, Y: <span></span><br/>Width: <span></span>, Height:<span></span>"; v31258.FrameObj.appendChild(va1968); wd6fa82.ShadowInfo =va1968; } if (v8f833.winName !=vbcd53.Name) {  vfe168 =vbcd53.Location.X; v40835 =vbcd53.Location.Y; v25596 =vbcd53.Size.Width; vbb94 =vbcd53.Size.Height; v8f833.winName =vbcd53.Name; } if (vbb94 !=null &&vbb94 <50) return; var vd4834 =v31258.GetDesktopElement();  if (vfe168) vfe168 +=vd4834.offsetLeft; if (v40835) v40835 +=vd4834.offsetTop; with (v8f833.style) { if (vfe168) left =vfe168 +"px"; if (v40835) top =v40835 +"px"; if (v25596) width =v25596 +"px"; if (vbb94) height =vbb94 +"px"; zIndex =253; display =""; va1968.children[0].innerText =vbcd53.Text; va1968.children[2].innerText =left; va1968.children[3].innerText =top; va1968.children[5].innerText =width; va1968.children[6].innerText =height; } with (va1968.style) { left =(((v8f833.offsetWidth -va1968.offsetWidth)/2)+v8f833.style.posLeft)+"px"; top =(((v8f833.offsetHeight -va1968.offsetHeight)/2)+v8f833.style.posTop)+"px"; display =""; } }, m69e10:function(v7362,v11445,vb1b40) { if (v7362 !=null) { var vf8a88 =null; if (IsIE8StandardMode()&&vb1b40 =="Resize") vf8a88 =false; if ((vf8a88 ==false ||v7362.DesktopManager.WindowInteractiveMode =="Shadow")&&wd6fa82.Shadow !=null) { var v54b37 =wd6fa82.Shadow; var v04a54 =v7362.DesktopManager; var vcb838 =wd6fa82.ShadowInfo; var v99a27 =wd6fa82.LastValidObject; var vd6213 =wd6fa82.LastMovedObject; if (vb1b40 =="Move") { if (vd6213 ==null) return; if (vd6213 !=null &&!vd6213.Moved) return; vd6213.Moved =false; } if (vb1b40 =="Resize") { if (v99a27 ==null) return; if (v99a27 !=null &&!v99a27.Resized) return; v99a27.Resized =false; } v54b37.winName =null; v54b37.style.display ="none"; vcb838.style.display ="none"; var v61b46 =v04a54.GetDesktopElement(); with (v11445.style) { left =(parseFloat(v54b37.style.left)-v61b46.offsetLeft)+"px"; top =(parseFloat(v54b37.style.top)-v61b46.offsetTop)+"px"; width =v54b37.style.width; height =v54b37.style.height; } if (IsIE8StandardMode()&&v7362 !=null) wdbe853.m88b90(v7362,true); if (v7362.EnableDropShadow &&v7362.DropShadow !=null) v7362.DropShadow.UpdatePosition(); v7362.SaveLocationAndSize(); wd6fa82.md1665(v04a54); } else { if (IsIE8StandardMode()) v7362.GetContentDivElement().children[0].style.display ="none"; if (v7362.IFrameContentBlocker) v7362.IFrameContentBlocker.style.display ="none"; if (IsIE8StandardMode()) setTimeout(function(){v7362.GetContentDivElement().children[0].style.display =""; },0); } } }, m23e27:function() { var v5ad38 =event; var v73814 =false; if (v5ad38)wd6fa82.Event =null; else v5ad38 =wd6fa82.Event; var vf2e58 =v5ad38.srcElement; var v0e667 =v5ad38.clientX; var vf0770 =v5ad38.clientY; if (!event) { vf2e58 =v5ad38.FrameElement; v0e667 +=ISPosLib.getLeft(vf2e58)+ISPosLib.getScrollLeft(vf2e58.ownerDocument); vf0770 +=ISPosLib.getTop(vf2e58)+ISPosLib.getScrollTop(vf2e58.ownerDocument); if (v5ad38.IsChildFrame) { vf0770 +=wd6fa82.mde715(null,v5ad38); v0e667 +=wd6fa82.m7c92(null,v5ad38); } v73814 =true; } else { if (IS.moz &&event.view.name !="") { var v5a646 =v5ad38.FrameElement; if (IS.moz &&IsGecko18Up()&&v5a646 !=null) { vf2e58 =v5a646; v0e667 +=ISPosLib.getLeft(vf2e58); vf0770 +=ISPosLib.getTop(vf2e58); } } if (!vf2e58.ownerDocument) return null; vf0770 +=ISPosLib.getScrollTop(vf2e58.ownerDocument); } if (vf2e58) { if (!wd6fa82.IsMouseDown) { if (v73814)return; var vdb635 =wd6fa82.mbaa52(vf2e58); if (vdb635) { if (vdb635 &&vdb635.Enabled) { if (vdb635.Resizable) { var vaba86 =ISPosLib.getTop(vdb635.FrameElement); var v05394 =ISPosLib.getLeft(vdb635.FrameElement); var vff046 =vaba86 +ISPosLib.getHeight(vdb635.FrameElement); var va8b81 =v05394 +ISPosLib.getWidth(vdb635.FrameElement); var v27b31 =wd6fa82.LastValidObject; if (v27b31 !=null &&v27b31 !=vdb635) { wd6fa82.mae92(); wd6fa82.LastValidObject =null; } if (vf0770 >=vaba86 &&vf0770 <vaba86 +7) { if (v0e667 >=v05394 &&v0e667 <v05394 +20) { if (v27b31 &&wd6fa82.LastCursorPart =="UpperLeft") return; vf2e58.style.cursor ="nw-resize"; wd6fa82.LastCursorPart ="UpperLeft"; } else if (v0e667 <=va8b81 +2 &&v0e667 >va8b81 -20) { if (v27b31 &&wd6fa82.LastCursorPart =="UpperRight") return; vf2e58.style.cursor ="ne-resize"; wd6fa82.LastCursorPart ="UpperRight"; } else { if (v27b31 &&wd6fa82.LastCursorPart =="Upper") return; vf2e58.style.cursor ="n-resize"; wd6fa82.LastCursorPart ="Upper"; } vdb635._CursorElement =vf2e58; wd6fa82.LastValidObject =vdb635; } else if (v0e667 >=v05394 &&v0e667 <v05394 +5 &&vf0770 <vff046 -4) { var v27b31 =wd6fa82.LastValidObject; if (v27b31 &&wd6fa82.LastCursorPart =="Left") return; vf2e58.style.cursor ="w-resize"; vdb635._CursorElement =vf2e58; wd6fa82.LastValidObject =vdb635; wd6fa82.LastCursorPart ="Left"; } else if (v0e667 <=va8b81 +2 &&v0e667 >va8b81 -4 &&vf0770 <vff046 -4) { var v27b31 =wd6fa82.LastValidObject; if (vf2e58.id =="" &&vdb635 &&vdb635.Window &&vdb635.Window.DesktopManager.WindowSettings.BorderType =="ComplexImages") vf2e58 =vf2e58.parentElement; if (vf2e58.currentStyle.overflow =="visible" ||IS.moz) { if (v27b31 &&wd6fa82.LastCursorPart =="Right") return; vf2e58.style.cursor ="w-resize"; vdb635._CursorElement =vf2e58; wd6fa82.LastValidObject =vdb635; wd6fa82.LastCursorPart ="Right"; } } else if (vf0770 <=vff046 +1 &&vf0770 >vff046 -4) { if (v0e667 >=v05394 &&v0e667 <v05394 +10) { if (v27b31 &&wd6fa82.LastCursorPart =="BottomLeft") return; vf2e58.style.cursor ="ne-resize"; wd6fa82.LastCursorPart ="BottomLeft"; } else if (v0e667 <=va8b81 +2 &&v0e667 >va8b81 -10) { if (v27b31 &&wd6fa82.LastCursorPart =="BottomRight") return; vf2e58.style.cursor ="nw-resize"; wd6fa82.LastCursorPart ="BottomRight"; } else { var v27b31 =wd6fa82.LastValidObject; if (v27b31 &&wd6fa82.LastCursorPart =="Bottom") return; vf2e58.style.cursor ="n-resize"; wd6fa82.LastCursorPart ="Bottom"; } vdb635._CursorElement =vf2e58; wd6fa82.LastValidObject =vdb635; } else { wd6fa82.mae92(); } } else { wd6fa82.mae92(); wd6fa82.LastValidObject =null; } } else { wd6fa82.mae92(); wd6fa82.LastValidObject =null; } } else { wd6fa82.mae92(); wd6fa82.LastValidObject =null; } } else { var v27b31 =wd6fa82.LastValidObject; var v4d696 =false; var vf2262 =null; if (v5ad38 !=null &&!ISEvent.IsLeftButton(v5ad38)) { wd6fa82.maf775(); return; } if (v27b31 &&v27b31.Window) vf2262 =v27b31.Window; else if (wd6fa82.LastMovedObject &&wd6fa82.LastMovedObject.Window) vf2262 =wd6fa82.LastMovedObject.Window; if (vf2262 !=null &&vf2262.Get("ContentMode")=="UseIFrame" &&vf2262 &&vf2262.DesktopManager.WindowInteractiveMode !="Shadow") { if (!vf2262.IFrameContentBlocker) { var v5a90 =vf2262.GetContentDivElement().parentElement; var v45143 =document.createElement("div"); v45143.style.cssText ="position: absolute; top:" +ISPosLib.getHeight(vf2262.GetCaptionBarCellElement())+ "px; left:0px; width:100%; height:100%; z-index: 399; opacity:0.01"; v45143.hideFocus =true; v45143.innerHTML ="<img width='100%' height='100%' src='" +vf2262.DesktopManager.ResolveImagePath("blank.gif")+"' />"; v5a90.insertAdjacentElement("beforeEnd",v45143); vf2262.IFrameContentBlocker =v45143; } vf2262.IFrameContentBlocker.style.display =""; } if (v27b31) { var v23978 =wd6fa82.LastCursorPart; var v9f242 =v27b31.FrameElement; var v61c6 =0; var v1a138 =0; if (v27b31.Window) { var vfbc82 =v27b31.Window.DesktopManager.GetDesktopElement(); v61c6 =ISPosLib.getLeft(vfbc82); v1a138 =ISPosLib.getTop(vfbc82); wd6fa82.m3cc53(v27b31.Window); } if (v23978 =="Upper") { if (!v9f242.origBottom) v9f242.origBottom =ISPosLib.getTop(v9f242)+ISPosLib.getHeight(v9f242)-v1a138; var v69663 =vf0770 -4 -v1a138; var vdb773 =v9f242.origBottom -v69663; if (v27b31.Window) { if (!v27b31.Window.IsTargetSizeValid(ISPosLib.getWidth(v9f242),vdb773)) { var v65242 =v27b31.Window.GetPreferredSize(ISPosLib.getWidth(v9f242),vdb773); vdb773 =v65242.Height; v69663 =v9f242.style.posTop; } } if (vdb773 <30) { vdb773 =30; v69663 =v9f242.style.posTop; } wd6fa82.m79c93(v9f242,v27b31,null,v69663,null,vdb773); v4d696 =true; } else if (v23978 =="UpperLeft" ||v23978 =="UpperRight") { if (!v9f242.origBottom) v9f242.origBottom =ISPosLib.getTop(v9f242)+ISPosLib.getHeight(v9f242)-v1a138; if (!v9f242.origRight) v9f242.origRight =ISPosLib.getLeft(v9f242)+ISPosLib.getWidth(v9f242)-v61c6; var v69663 =vf0770 -4 -v1a138; var vdb773 =v9f242.origBottom -v69663; var v54c38 =v0e667 -4 -v61c6; var v49840 =v9f242.origRight -v54c38; if (v23978 =="UpperRight") v49840 =v0e667 -ISPosLib.getLeft(v9f242); if (v27b31.Window) { if (!v27b31.Window.IsTargetSizeValid(v49840,vdb773)) { var v65242 =v27b31.Window.GetPreferredSize(v49840,vdb773); vdb773 =v65242.Height; v49840 =v65242.Width; } } if (vdb773 <30) { vdb773 =30; v69663 =v9f242.style.posTop; } if (v49840 <80) { v49840 =80; v54c38 =v9f242.style.posLeft; } if (v23978 =="UpperLeft") { } else { v54c38 =null; } wd6fa82.m79c93(v9f242,v27b31,v54c38,v69663,v49840,vdb773); v4d696 =true; } else if (v23978 =="Left") { if (!v9f242.origRight) v9f242.origRight =ISPosLib.getLeft(v9f242)+ISPosLib.getWidth(v9f242)-v61c6; var v54c38 =v0e667 -4 -v61c6; var v49840 =v9f242.origRight -v54c38; if (v27b31.Window) { if (!v27b31.Window.IsTargetSizeValid(v49840,ISPosLib.getHeight(v9f242))) { var v65242 =v27b31.Window.GetPreferredSize(v49840,ISPosLib.getHeight(v9f242)); v49840 =v65242.Width; v54c38 =v9f242.style.posLeft; } } if (v49840 <80) { v49840 =80; v54c38 =v9f242.style.posLeft; } wd6fa82.m79c93(v9f242,v27b31,v54c38,null,v49840,null); v4d696 =true; } else if (v23978 =="Right") { var v49840 =v0e667 -ISPosLib.getLeft(v9f242); if (v27b31.Window) { if (!v27b31.Window.IsTargetSizeValid(v49840,ISPosLib.getHeight(v9f242))) { var v65242 =v27b31.Window.GetPreferredSize(v49840,ISPosLib.getHeight(v9f242)); v49840 =v65242.Width; } } if (v49840 <80) v49840 =80; wd6fa82.m79c93(v9f242,v27b31,null,null,v49840,null); v4d696 =true; } else if (v23978 =="Bottom") { var vdb773 =vf0770 -ISPosLib.getTop(v9f242); if (v27b31.Window) { if (!v27b31.Window.IsTargetSizeValid(ISPosLib.getWidth(v9f242),vdb773)) { var v65242 =v27b31.Window.GetPreferredSize(ISPosLib.getWidth(v9f242),vdb773); vdb773 =v65242.Height; } } if (vdb773 <30) vdb773 =30; wd6fa82.m79c93(v9f242,v27b31,null,null,null,vdb773); v4d696 =true; } else if (v23978 =="BottomLeft" ||v23978 =="BottomRight") { if (!v9f242.origRight) v9f242.origRight =ISPosLib.getLeft(v9f242)+ISPosLib.getWidth(v9f242)-v61c6; var vdb773 =vf0770 -ISPosLib.getTop(v9f242); var v54c38 =v0e667 -4 -v61c6; var v49840 =v9f242.origRight -v54c38; if (v23978 =="BottomRight") v49840 =v0e667 -ISPosLib.getLeft(v9f242); if (v27b31.Window) { if (!v27b31.Window.IsTargetSizeValid(v49840,vdb773)) { var v65242 =v27b31.Window.GetPreferredSize(v49840,vdb773); vdb773 =v65242.Height; v49840 =v65242.Width; } } if (vdb773 <30) vdb773 =30; if (v49840 <80) { v49840 =80; v54c38 =v9f242.style.posLeft; } if (v23978 !="BottomLeft") v54c38 =null; wd6fa82.m79c93(v9f242,v27b31,v54c38,null,v49840,vdb773); v4d696 =true; } if (v4d696) { if (v27b31.Window) { if ((IS.moz )&&v27b31.Window.Get("ContentMode")=="UseIFrame") { var v07536 =v27b31.Window.GetWindowIFrameElement().parentElement.parentElement; if (IsGecko18Up()) v07536 =v07536.children[0]; v07536.style.display ="none"; } v27b31.Resized =true; v27b31.Window.SaveLocationAndSize(); var va4c59 =v27b31.Window.DesktopManager; if (va4c59.WindowInteractiveMode !="Shadow") { if (v27b31.Window.EnableDropShadow &&v27b31.Window.DropShadow !=null) v27b31.Window.DropShadow.UpdatePosition(); } ISEvent.Raise(va4c59.ClientSideEvents.OnWindowResized,va4c59.Id,v27b31.Window,"interactive"); } } } else { var vdb635 =null; if (wd6fa82.LastMovedObject ==null) vdb635 =wd6fa82.mbaa52(vf2e58); else vdb635 =wd6fa82.LastMovedObject; if (vdb635 &&vdb635.Enabled &&vdb635.Movable) { var vb4b37 =true; var v3bf23 =null; if (wd6fa82.LastDragObject) { v3bf23 =wd6fa82.LastDragObject; if (vdb635.DragElement.contains(v3bf23)&&!v3bf23.nonMovable &&v3bf23.tagName !="INPUT") { vb4b37 =true; } else { vb4b37 =false; } } if (vb4b37) { var v9f242 =vdb635.FrameElement; var v61c6 =0; var v1a138 =0; var vbaa39 =vdb635.DesktopManager; var v80a23 =ISPosLib.getLeft(v9f242); var v58e27 =ISPosLib.getTop(v9f242); if (vbaa39) { var vfbc82 =vbaa39.GetDesktopElement(); if (vbaa39.CreatedAtRuntime &&vbaa39.Id =="Global") vfbc82 =document.body; v61c6 =ISPosLib.getLeft(vfbc82); v1a138 =ISPosLib.getTop(vfbc82); } if (!v9f242.parentOffsetX) v9f242.parentOffsetX =v0e667 -v80a23; if (!v9f242.parentOffsetY) v9f242.parentOffsetY =vf0770 -v58e27; var v54c38 =v0e667 -v9f242.parentOffsetX -v61c6 +document.body.scrollLeft; var v69663 =vf0770 -v9f242.parentOffsetY -v1a138 +document.body.scrollTop; if (vbaa39.WindowInteractiveMode =="Shadow") {  wd6fa82.LastMovedObject =vdb635; if (v54c38 ==v80a23 &&v69663 ==v58e27) return; } vdb635.Moved =true; wd6fa82.m79c93(v9f242,vdb635,v54c38,v69663,null,null); wd6fa82.LastMovedObject =vdb635; if (vdb635.Window) { wd6fa82.m3cc53(vdb635.Window); if (vdb635.Window.WindowState =="Normal") vdb635.Window.SaveLocationAndSize(); if (vbaa39.WindowInteractiveMode !="Shadow") { if (vdb635.Window.EnableDropShadow &&vdb635.Window.DropShadow !=null) vdb635.Window.DropShadow.UpdatePosition(); } var va4c59 =vdb635.Window.DesktopManager; ISEvent.Raise(va4c59.ClientSideEvents.OnWindowMoved,va4c59.Id,vdb635.Window); } } } } } } }, m48160:function() { var vd8c83 =event.srcElement; var v27118 =wd6fa82.mbaa52(vd8c83,true); var veb139 =false; if (v27118) { if (v27118.DragElement.contains(vd8c83)) { veb139 =true; if (v27118.Window) { if (vd8c83.tagName =="SPAN" ||vd8c83.tagName =="IMG") { vd8c83.nonMovable =true; } } } } if (event.button !=ISEvent.LEFT ||vd8c83.nonMovable ||v27118 ==null)return; wd6fa82.IsMouseDown =true; wd6fa82.LastDragObject =vd8c83; if (!IS.ie) { if (wd6fa82.LastValidObject !=null ||wd6fa82.LastDragObject !=null) { var v5de22 =false; if (vd8c83.tagName =="TEXTAREA" ||vd8c83.tagName =="SELECT" ||vd8c83.tagName =="BUTTON") v5de22 =true; if (vd8c83.tagName =="INPUT" &&vd8c83.type =="checkbox" &&vd8c83.className !="DefChkBox") v5de22 =true; if (vd8c83.tagName =="INPUT" &&vd8c83.type =="text") v5de22 =true; if (!v5de22) { event.cancelBubble =true; event.returnValue =false; } } if (IS.MozillaMouseUpTresholdId >0) clearTimeout(IS.MozillaMouseUpTresholdId); IS.MozillaMouseUpTreshold =false; } if (IS.safari) { if ((wd6fa82.LastValidObject !=null ||veb139)&&!v5de22) { event.cancelBubble =true; event.returnValue =false; } } }, maf775:function() { wd6fa82.IsMouseDown =false; var v80d38 =wd6fa82.LastValidObject; if (v80d38) { v80d38.FrameElement.origBottom =null; v80d38.FrameElement.origRight =null; } if (v80d38 &&v80d38.Window &&IS.moz) { if (v80d38.Window.Get("ContentMode")=="UseIFrame") { var v8e297 =v80d38.Window.GetWindowIFrameElement().parentElement.parentElement; if (IsGecko18Up()) v8e297 =v8e297.children[0]; v8e297.style.display =""; } wdbe853.m5dc28(v80d38.Window); } if (wd6fa82.LastMovedObject !=null) { var v94325 =wd6fa82.LastMovedObject; var vc6c25 =v94325.FrameElement; vc6c25.parentOffsetX =null; vc6c25.parentOffsetY =null; wd6fa82.m69e10(v94325.Window,v94325.FrameElement,"Move"); wd6fa82.LastMovedObject =null; } if (v80d38 !=null &&v80d38.Window !=null) { var v87315 =v80d38.Window.DesktopManager; wd6fa82.m69e10(v80d38.Window,v80d38.FrameElement,"Resize"); ISEvent.Raise(v87315.ClientSideEvents.OnWindowResized,v87315.Id,v80d38.Window,"end"); } wd6fa82.LastDragObject =null; wd6fa82.LastValidObject =null; if (IS.moz) { wd6fa82.MozillaMouseUpTreshold =true; wd6fa82.MozillaMouseUpTresholdId =setTimeout(function(){wd6fa82.MozillaMouseUpTreshold =false; },1000); } }, mae92:function() { var ve5f13 =wd6fa82.LastValidObject; if (ve5f13 !=null) { var v38d85 =ve5f13._CursorElement; v38d85.style.cursor =""; wd6fa82.LastValidObject =null; } }, GetValidResizableObject: function(vd6197) { for (var v1a997 =0; v1a997 <wd6fa82.Collection.length; v1a997++) { var v2f325 =wd6fa82.Collection[v1a997]; if (v2f325.Resizable &&v2f325.Enabled) { if (vd6197 ==v2f325.FrameElement) return v2f325; } } return null; }, mbaa52:function(ve3168,vc355) { var ve3168 =wd6fa82.m87129(ve3168,vc355); if (ve3168) { for (var v1c664 =0; v1c664 <wd6fa82.Collection.length; v1c664++) { var vce862 =wd6fa82.Collection[v1c664]; if (ve3168 ==vce862.FrameElement) return vce862; } return null; } }, m87129:function(vdc788,vdc874) { if (vdc788.IsInteractiveObject) return vdc788; if (vdc874 &&IS.GetAttr(vdc788,"nonMovable")!="") return null; while (vdc788.parentElement !=null) { var vdc788 =vdc788.parentElement; if (vdc874 &&IS.GetAttr(vdc788,"nonMovable")!="") return null; if (vdc788.IsInteractiveObject) return vdc788; } return null; }, m3cc53:function(v2057) { if (v2057 &&(v2057.CreatedAtRuntime ||IS.moz)) { var vfa188 =v2057.DesktopManager.GetIFrameWindow(v2057.Name); if (vfa188) wdbe853.mc533(v2057.DesktopManager,vfa188); } }, me9e86:function(va457,v08a84) { if (v08a84 &&v08a84.IsChildFrame &&IS.ie) return v08a84.FrameElement.document.parentWindow.frameElement; return null; }, mde715:function(v65d27,v18193) { if (v18193 &&v18193.IsChildFrame &&IS.ie) { var va7e27 =wd6fa82.me9e86(v65d27,v18193); if (va7e27) return ISPosLib.getTop(va7e27); } return 0; }, m7c92:function(v5fb27,v42693) { if (v42693 &&v42693.IsChildFrame &&IS.ie) { var v03527 =wd6fa82.me9e86(v5fb27,v42693); if (v03527) return ISPosLib.getLeft(v03527); } return 0; }};var wdf6610 ={ meaa15:function(vfa24) { var v73412 =""; var v7ad64 =vfa24.DesktopManager; var v7ef91 =v7ad64.ImagesSettings.CaptionLeftInactive; var v5636 =v7ad64.ImagesSettings.CaptionCenterInactive; var v83086 =v7ad64.ImagesSettings.CaptionRightInactive; if (v7ad64.WindowSettings.BorderType =="ComplexImages") { v73412 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%'>"; v73412 +="<tr>"; v73412 +="<td>"; v73412 +="<img src='" +v7ad64.ResolveImagePath(v7ef91)+"' />"; v73412 +="</td>"; v73412 +="<td width='100%' noWrap style='background-repeat: repeat-x; background-image:url(" +v7ad64.ResolveImagePath(v5636)+")'>"; v73412 +=wdf6610.m17991(vfa24); v73412 +="</td>"; v73412 +="<td>"; v73412 +="<img src='" +v7ad64.ResolveImagePath(v83086)+"' />"; v73412 +="</td>"; v73412 +="</tr>"; v73412 +="</table>"; } else { v73412 +=wdf6610.m17991(vfa24); } return v73412; }, m17991:function(vf4823) { var v4a24 =""; var v01312 =vf4823.DesktopManager; v4a24 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%' "; v4a24 +="class=" +v01312.WindowSettings.CaptionStyle.Normal; v4a24 +=">"; v4a24 +="<tr>"; if (v01312.WindowSettings.WindowOptionsPosition =="Left") v4a24 +=wdf6610.m29271(vf4823,"Left"); if (v01312.WindowSettings.ControlBoxPosition =="Left") { if (vf4823.Get("ControlBox")=="Yes") { v4a24 +="<td valign=absmiddle>"; v4a24 +="<img src='" +v01312.ResolveImagePath(vf4823.Get("ControlBoxImage"))+"' align=absmiddle vspace=2 />"; v4a24 +="</td>"; } } v4a24 +="<td width='100%' noWrap valign=absmiddle align=" +vf4823.Get("TextAlignment").toLowerCase()+">"; if (vf4823.Get("ControlBox")=="Yes" &&v01312.WindowSettings.ControlBoxPosition =="Center") { v4a24 +="<img "; v4a24 +="src='" +v01312.ResolveImagePath(vf4823.Get("ControlBoxImage"))+"' "; v4a24 +="align='" +(IS.ie ? "absmiddle" : "")+"' "; v4a24 +="/>"; v4a24 +="&nbsp;"; } if (vf4823.Get("CaptionDisplayMode")=="UseTemplate") { } else { v4a24 +=vf4823.Text; } v4a24 +="</td>"; if (v01312.WindowSettings.WindowOptionsPosition =="Right") v4a24 +=wdf6610.m29271(vf4823,"Right"); v4a24 +="</tr>"; v4a24 +="</table>"; return v4a24; }, m29271:function(veed7,veeb62) { var v6c97 ="<td noWrap valign=absmiddle "; if (IS.moz) { v6c97 +="width=100 align=" +veeb62; } v6c97 +=">"; v6c97 +=wdf6610.mbf11(veed7); v6c97 +="</td>"; return v6c97; }, mbf11:function(v10434) { var v84843 =""; var v59132 =v10434.DesktopManager; var v28228 =v59132.ImagesSettings.MinimizeInactive; var v2e274 =v59132.ImagesSettings.MaximizeInactive; var v68430 =v59132.ImagesSettings.RestoreInactive; var vaa977 =v59132.ImagesSettings.CloseInactive; if (IS.opera ||IS.safari ||IsGecko30()) { if (v28228 =="") v28228 ="webdings_0.gif"; if (v2e274 =="") v2e274 ="webdings_1.gif"; if (vaa977 =="") vaa977 ="webdings_r.gif"; } if (v59132.WindowSettings.WindowOptionsPosition =="Right") { if (v10434.Get("AllowMinimize")=="Yes") { v84843 +=wdf6610.m9ed99(v59132,v28228); v84843 +=wdf6610.mf8b39(v59132); } if (v10434.Get("AllowMaximize")=="Yes") { v84843 +=wdf6610.m8e583(v59132,v2e274); v84843 +=wdf6610.mf8b39(v59132); } if (v10434.Get("AllowClose")=="Yes") { v84843 +=wdf6610.ma7533(v59132,vaa977); } } else { if (v10434.Get("AllowClose")=="Yes") { v84843 +=wdf6610.ma7533(v59132,vaa977); v84843 +=wdf6610.mf8b39(v59132); } if (v10434.Get("AllowMinimize")=="Yes") { v84843 +=wdf6610.m9ed99(v59132,v28228); v84843 +=wdf6610.mf8b39(v59132); } if (v10434.Get("AllowMaximize")=="Yes") { v84843 +=wdf6610.m8e583(v59132,v2e274); } } return v84843; }, m9ed99:function(va4254,v6a590) { var v37f18 ="<span type='Min' "; v37f18 +="title='" +va4254.TextSettings.MinimizeText +"' "; v37f18 +="class='" +va4254.WindowSettings.CaptionButtonStyle.Normal +"' "; v37f18 +=">"; if (v6a590 =="") { v37f18 +="<font face='Webdings'>"; v37f18 +="<span style='position:relative; top:-2px'>"; v37f18 +="0"; v37f18 +="</span>"; v37f18 +="</font>"; } else { v37f18 +="<img src='" +va4254.ResolveImagePath(v6a590)+"' align=absmiddle />"; } v37f18 +="</span>"; return v37f18; }, mf8b39:function(vda254) { var vfc454 ="<span style='width:" +vda254.WindowSettings.CaptionButtonSpacing +"px;"; if (IS.moz) vfc454 +="display:-moz-inline-box"; else if (!IS.ie) vfc454 +="display:inline-block"; vfc454 +="'></span>"; return vfc454; }, m8e583:function(vb4654,v90390) { var vead54 ="<span type='Max' "; vead54 +="title='" +vb4654.TextSettings.MaximizeText +"' "; vead54 +="class='" +vb4654.WindowSettings.CaptionButtonStyle.Normal +"' "; vead54 +=">"; if (v90390 =="") { vead54 +="<font face='Webdings'>"; vead54 +="<span style='position:relative; top:-2px'>"; vead54 +="1"; vead54 +="</span>"; vead54 +="</font>"; } else { vead54 +="<img src='" +vb4654.ResolveImagePath(v90390)+"' align=absmiddle />"; } vead54 +="</span>"; return vead54; }, ma7533:function(vc5137,v6e730) { var vf1637 ="<span type='Close' "; vf1637 +="title='" +vc5137.TextSettings.CloseText +"' "; vf1637 +="class='" +vc5137.WindowSettings.CaptionButtonStyle.Normal +"' "; vf1637 +=">"; if (v6e730 =="") { vf1637 +="<font face='Webdings'>"; vf1637 +="<span style='position:relative; top:-2px'>"; vf1637 +="r"; vf1637 +="</span>"; vf1637 +="</font>"; } else { vf1637 +="<img src='" +vc5137.ResolveImagePath(v6e730)+"' align=absmiddle />"; } vf1637 +="</span>"; return vf1637; }, mb0276:function(v0d09) { var v44673 =""; var va0699 =v0d09.DesktopManager; v44673 +="<div class=" +va0699.WindowSettings.ContainerStyle; v44673 +=" style='position:relative;"; if (v0d09.Get("ContentMode")=="UseIFrame") v44673 +="overflow:hidden;";  if (va0699.WindowSettings.IgnoreIFramePadding &&v0d09.Get("ContentMode")=="UseIFrame") v44673 +="padding:0px;"; v44673 +="'"; v44673 +=">"; v44673 +="<div style='width:100%; height:100%;"; v44673 +="'>"; if (v0d09.Get("ContentMode")=="UseIFrame" ||v0d09.ContentURL !="") { v44673 +="<iframe " +(va0699.WindowSettings.IFrameAllowTransparency ? "allowtransparency='true'" : "")+" frameborder=0 "; v44673 +=" style='width:100%; height:100%; position:relative; "; if (va0699.WindowSettings.IFrameShowLoader &&!IS.moz) v44673 +="display:none;"; v44673 +="'"; v44673 +=" name='" +v0d09.Name +"'"; v44673 +=">"; v44673 +="</iframe>"; } v44673 +="</div>"; v44673 +="</div>"; return v44673; }};function ISDropShadow(){ this.Margin =35; this.Owner =null; this.ImageFolder ="images/"; this.Element =null; this.ParentElement =null; this.Container =null; this.Create =function() { var vaff11 =document.createElement("div"); var v08c6 ="<table width='100%' height='100%' cellspacing='0' cellpadding='0' style='table-layout: fixed'><colgroup>    <col width='73' />    <col width='100%' />    <col width='73' /></colgroup><tr height='71'>    <td style='background-image: url(" +this.ImageFolder +"shadow_1.png); background-repeat: no-repeat'>&nbsp;</td>    <td style='background-image: url(" +this.ImageFolder +"shadow_2.png); background-repeat: repeat-x'>&nbsp;</td>    <td style='background-image: url(" +this.ImageFolder +"shadow_3.png); background-repeat: no-repeat'>&nbsp;</td></tr><tr>    <td style='background-image: url(" +this.ImageFolder +"shadow_4.png); background-repeat: repeat-y'>&nbsp;</td>    <td style='background-image: url(" +this.ImageFolder +"shadow_fill.png);'>&nbsp;</td>    <td style='background-image: url(" +this.ImageFolder +"shadow_5.png); background-repeat: repeat-y'>&nbsp;</td></tr><tr height='71'>    <td style='background-image: url(" +this.ImageFolder +"shadow_6.png); background-repeat: no-repeat'>&nbsp;</td>    <td style='background-image: url(" +this.ImageFolder +"shadow_7.png); background-repeat: repeat-x'>&nbsp;</td>    <td style='background-image: url(" +this.ImageFolder +"shadow_8.png); background-repeat: no-repeat'>&nbsp;</td></tr></table>"; vaff11.style.display ="none"; vaff11.style.direction ="ltr"; vaff11.style.zIndex =1; vaff11.innerHTML =v08c6; this.Element =vaff11; if (this.Container ==null) document.body.insertAdjacentElement("afterBegin",vaff11); else this.Container.insertAdjacentElement("afterBegin",vaff11); }; this.AttachTo =function(v6bb7) { if (this.Element ==null) this.Create();  var vedf61 =parseFloat(v6bb7.style.zIndex);  if (!isNaN(vedf61)&&this.Container !=null) this.Element.style.zIndex =vedf61; this.ParentElement =v6bb7; this.UpdatePosition(); }; this.Show =function() { this.Element.style.display =""; }; this.Hide =function() { this.Element.style.display ="none"; }; this.Destroy =function() { this.Hide(); if (this.Element !=null) { this.Element.removeNode(true); this.Element =null; } }; this.UpdatePosition =function() { var vaff11 =this.Element; var v6bb7 =this.ParentElement; var vc7f42 =ISPosLib.getLeft(v6bb7)-this.GetContainerLeft(); var v26867 =ISPosLib.getTop(v6bb7)-(!IS.ie ? ISPosLib.getScrollTop(document): 0)-this.GetContainerTop(); var va8481 =ISPosLib.getWidth(v6bb7); var v61468 =ISPosLib.getHeight(v6bb7); if (IsIE7StandardMode()) v61468 =v6bb7.scrollHeight; with (vaff11.style) { position ="absolute"; left =(vc7f42 -this.Margin)+"px"; top =(v26867 -this.Margin)+"px"; width =(va8481 +(this.Margin *2))+"px"; } vaff11.style.height =(v61468 +(this.Margin *2))+"px"; if (IsIE7StandardMode()) { var v88433 =parseFloat(vaff11.style.height); var v0e652 =0; if (v88433 >142) v0e652 =v88433 -142; vaff11.children[0].rows[1].style.height =v0e652 +"px"; }  if (!isNaN(vaff11.style.zIndex)) { var vedf61 =parseFloat(v6bb7.style.zIndex);  if (!isNaN(vedf61)&&this.Container !=null) this.Element.style.zIndex =vedf61; } }; this.GetContainerLeft =function() { if (this.Container ==null) return 0; else { if (this.Container.style.position =="relative") return ISPosLib.getLeft(this.Container); }  return 0; }; this.GetContainerTop =function() { if (this.Container ==null) return 0; else { if (this.Container.style.position =="relative") return ISPosLib.getTop(this.Container); }  return 0; };}
