
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 12/8/2009 8:47:40 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 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 wd80959 = { Collection: null, LastValidObject: null, LastCursorPart: null, IsMouseDown: false, Event: null, LastDragObject: null, LastMovedObject: null, MozillaMouseUpTreshold: false, MozillaMouseUpTresholdId: 0, m78889: function(v5b148) { var vd3a28 = document.body; Listener.Add(vd3a28, "onmousemove", wd80959.m17f3); Listener.Add(vd3a28, "onmousedown", wd80959.m46235); Listener.Add(vd3a28, "onmouseup", wd80959.m44732); for (var vaf779 = 0; vaf779 < v5b148.length; vaf779++) { var v85a83 = v5b148[vaf779]; var v3f25 = v85a83.FrameElement; v3f25.IsInteractiveObject = true; v85a83.Registered = true; } wd80959.Collection = v5b148; }, m99b49: function(v91184, ve4b58, vdb669) { if (!vdb669) vdb669 = "afterBegin"; var v86484 = document.createElement("DIV"); v86484.onselectstart = function() { return false; }; v86484.ondragstart = function() { return false; }; v86484.style.display = "none"; v86484.hideFocus = true; v86484.innerHTML = "<img width=100% height=100% src='" + v91184.ResolveImagePath("blank.gif") + "' />"; Listener.Add(v86484, "onmousemove", wd80959.m90268); ve4b58.insertAdjacentElement(vdb669, v86484); return v86484; }, m90268: function() { }, m52068: function(v26d59) { if (v26d59.InteractiveShadow == null) v26d59.InteractiveShadow = wd80959.m99b49(v26d59, v26d59.FrameObj, "beforeEnd"); var vd5239 = v26d59.InteractiveShadow; if (vd5239.style.display == "none") { var v83e38 = v26d59.GetDesktopSize(); with (vd5239.style) { position = "absolute"; width = v26d59.FrameObj.clientWidth; height = v26d59.FrameObj.clientHeight; left = 0; top = 0; backgroundColor = "gray"; zIndex = 252; } if (v26d59.ShadowModeAnimation) { var v94f54 = new ISAnimatedObject(); v94f54.Element = vd5239; v94f54.Speed = "Fast"; v94f54.StepInterval = 10; v94f54.Type = "FadeIn"; v94f54.MaxFadeInOpacity = 40; v94f54.Play(); } else { vd5239.style.display = ""; if (!v26d59.ShadowModeTransparency) vd5239.style.backgroundColor = "transparent"; else { vd5239.style.opacity = "0.5"; vd5239.style.filter = "Alpha(Opacity=50)"; } } } }, m72357: function(vc8f94) { if (vc8f94.ShadowModeAnimation) { var v09c94 = new ISAnimatedObject(); v09c94.Element = vc8f94.InteractiveShadow; v09c94.Speed = "Fast"; v09c94.StepInterval = 10; v09c94.MaxFadeInOpacity = 40; v09c94.Type = "FadeOut"; v09c94.OnCompleted = wd80959.mb0410; v09c94.Play(); } else vc8f94.InteractiveShadow.style.display = "none"; }, mb0410: function() { this.Element.style.display = "none"; }, m8bf28: function(v61678, v98057, v09c88, ve0435) { var v0bf94 = true; if (v61678 != null && v98057 != null && v09c88 == null && ve0435 == null) v0bf94 = false; return v0bf94; }, m3ce48: function(v46533, v1a936, ve4d73, v17f38, vb6734, v56744) { var v91150 = true; if (v1a936 && v1a936.Window && v1a936.Window.DesktopManager.WindowInteractiveMode == "Shadow") v91150 = false; if (v1a936 && v1a936.Window && IsIE8StandardMode() && wd80959.m8bf28(ve4d73, v17f38, vb6734, v56744)) v91150 = false; if (v91150) { if (ve4d73) v46533.style.left = ve4d73 + "px"; if (v17f38) v46533.style.top = v17f38 + "px"; if (vb6734) v46533.style.width = vb6734 + "px"; if (v56744) v46533.style.height = v56744 + "px"; window.status = v46533.style.height; } else { wd80959.m52068(v1a936.Window.DesktopManager); wd80959.m29084(v1a936.Window, ve4d73, v17f38, vb6734, v56744); } }, m29084: function(v95b64, v13f4, vea710, vaba6, v84278) { var vc9425 = wd80959.Shadow; var v24e84 = v95b64.DesktopManager; var v93a76 = wd80959.ShadowInfo; if (vc9425 == null) { vc9425 = document.createElement("DIV"); vc9425.onselectstart = function() { return false; }; vc9425.ondragstart = function() { return false; }; vc9425.style.cssText = "position: absolute; border: white 1px solid; background-color: gray;" + "opacity: 0.5; filter: Alpha(Opacity=50); "; v24e84.FrameObj.appendChild(vc9425); wd80959.Shadow = vc9425; } if (v93a76 == null) { v93a76 = document.createElement("DIV"); v93a76.style.cssText = "position: absolute; z-index: 254; color: white; font-family: Segoe UI, Tahoma; font-size: 9pt"; v93a76.innerHTML = "<span style='font-weight:bold'></span><br/>X: <span></span>, Y: <span></span><br/>Width: <span></span>, Height:<span></span>"; v24e84.FrameObj.appendChild(v93a76); wd80959.ShadowInfo = v93a76; } if (vc9425.winName != v95b64.Name) { v13f4 = v95b64.Location.X; vea710 = v95b64.Location.Y; vaba6 = v95b64.Size.Width; v84278 = v95b64.Size.Height; vc9425.winName = v95b64.Name; } if (v84278 != null && v84278 < 50) return; var vc7a83 = v24e84.GetDesktopElement(); if (v13f4) v13f4 += vc7a83.offsetLeft; if (vea710) vea710 += vc7a83.offsetTop; with (vc9425.style) { if (v13f4) left = v13f4 + "px"; if (vea710) top = vea710 + "px"; if (vaba6) width = vaba6 + "px"; if (v84278) height = v84278 + "px"; zIndex = 253; display = ""; v93a76.children[0].innerText = v95b64.Text; v93a76.children[2].innerText = left; v93a76.children[3].innerText = top; v93a76.children[5].innerText = width; v93a76.children[6].innerText = height; } with (v93a76.style) { left = (((vc9425.offsetWidth - v93a76.offsetWidth) / 2) + vc9425.style.posLeft) + "px"; top = (((vc9425.offsetHeight - v93a76.offsetHeight) / 2) + vc9425.style.posTop) + "px"; display = ""; } }, mda283: function(vc9b30, v3d541, v25666) { if (vc9b30 != null) { var vd2155 = null; if (IsIE8StandardMode() && v25666 == "Resize") vd2155 = false; if ((vd2155 == false || vc9b30.DesktopManager.WindowInteractiveMode == "Shadow") && wd80959.Shadow != null) { var v05652 = wd80959.Shadow; var va5014 = vc9b30.DesktopManager; var v91d51 = wd80959.ShadowInfo; var v76422 = wd80959.LastValidObject; var v01e73 = wd80959.LastMovedObject; if (v25666 == "Move") { if (v01e73 == null) return; if (v01e73 != null && !v01e73.Moved) return; v01e73.Moved = false; } if (v25666 == "Resize") { if (v76422 == null) return; if (v76422 != null && !v76422.Resized) return; v76422.Resized = false; } v05652.winName = null; v05652.style.display = "none"; v91d51.style.display = "none"; var v18095 = va5014.GetDesktopElement(); with (v3d541.style) { left = (parseFloat(v05652.style.left) - v18095.offsetLeft) + "px"; top = (parseFloat(v05652.style.top) - v18095.offsetTop) + "px"; width = v05652.style.width; height = v05652.style.height; } if (IsIE8StandardMode() && vc9b30 != null) wd9ac40.m25117(vc9b30, true); if (vc9b30.EnableDropShadow && vc9b30.DropShadow != null) vc9b30.DropShadow.UpdatePosition(); vc9b30.SaveLocationAndSize(); wd80959.m72357(va5014); } else { if (IsIE8StandardMode()) vc9b30.GetContentDivElement().children[0].style.display = "none"; if (vc9b30.IFrameContentBlocker) vc9b30.IFrameContentBlocker.style.display = "none"; if (IsIE8StandardMode()) setTimeout(function() { vc9b30.GetContentDivElement().children[0].style.display = ""; }, 0); } } }, m17f3: function() { var v68c85 = event; var v23f20 = false; if (v68c85) wd80959.Event = null; else v68c85 = wd80959.Event; var vba451 = v68c85.srcElement; var vb7819 = v68c85.clientX; var v58d66 = v68c85.clientY; if (!event) { vba451 = v68c85.FrameElement; vb7819 += ISPosLib.getLeft(vba451) + ISPosLib.getScrollLeft(vba451.ownerDocument); v58d66 += ISPosLib.getTop(vba451) + ISPosLib.getScrollTop(vba451.ownerDocument); if (v68c85.IsChildFrame) { v58d66 += wd80959.m10893(null, v68c85); vb7819 += wd80959.m47a61(null, v68c85); } v23f20 = true; } else { if (IS.moz && event.view.name != "") { var v7e797 = v68c85.FrameElement; if (IS.moz && IsGecko18Up() && v7e797 != null) { vba451 = v7e797; vb7819 += ISPosLib.getLeft(vba451); v58d66 += ISPosLib.getTop(vba451); } } if (!vba451.ownerDocument) return null; v58d66 += ISPosLib.getScrollTop(vba451.ownerDocument); } if (vba451) { if (!wd80959.IsMouseDown) { if (v23f20) return; var v05695 = wd80959.m6ff47(vba451); if (v05695) { if (v05695 && v05695.Enabled) { if (v05695.Resizable) { var v32a19 = ISPosLib.getTop(v05695.FrameElement); var ve5330 = ISPosLib.getLeft(v05695.FrameElement); var v5de18 = v32a19 + ISPosLib.getHeight(v05695.FrameElement); var vf4b10 = ve5330 + ISPosLib.getWidth(v05695.FrameElement); var vb1f87 = wd80959.LastValidObject; if (vb1f87 != null && vb1f87 != v05695) { wd80959.m6bf44(); wd80959.LastValidObject = null; } if (v58d66 >= v32a19 && v58d66 < v32a19 + 7) { if (vb7819 >= ve5330 && vb7819 < ve5330 + 20) { if (vb1f87 && wd80959.LastCursorPart == "UpperLeft") return; vba451.style.cursor = "nw-resize"; wd80959.LastCursorPart = "UpperLeft"; } else if (vb7819 <= vf4b10 + 2 && vb7819 > vf4b10 - 20) { if (vb1f87 && wd80959.LastCursorPart == "UpperRight") return; vba451.style.cursor = "ne-resize"; wd80959.LastCursorPart = "UpperRight"; } else { if (vb1f87 && wd80959.LastCursorPart == "Upper") return; vba451.style.cursor = "n-resize"; wd80959.LastCursorPart = "Upper"; } v05695._CursorElement = vba451; wd80959.LastValidObject = v05695; } else if (vb7819 >= ve5330 && vb7819 < ve5330 + 5 && v58d66 < v5de18 - 4) { var vb1f87 = wd80959.LastValidObject; if (vb1f87 && wd80959.LastCursorPart == "Left") return; vba451.style.cursor = "w-resize"; v05695._CursorElement = vba451; wd80959.LastValidObject = v05695; wd80959.LastCursorPart = "Left"; } else if (vb7819 <= vf4b10 + 2 && vb7819 > vf4b10 - 4 && v58d66 < v5de18 - 4) { var vb1f87 = wd80959.LastValidObject; if (vba451.id == "" && v05695 && v05695.Window && v05695.Window.DesktopManager.WindowSettings.BorderType == "ComplexImages") vba451 = vba451.parentElement; if (vba451.currentStyle.overflow == "visible" || IS.moz) { if (vb1f87 && wd80959.LastCursorPart == "Right") return; vba451.style.cursor = "w-resize"; v05695._CursorElement = vba451; wd80959.LastValidObject = v05695; wd80959.LastCursorPart = "Right"; } } else if (v58d66 <= v5de18 + 1 && v58d66 > v5de18 - 4) { if (vb7819 >= ve5330 && vb7819 < ve5330 + 10) { if (vb1f87 && wd80959.LastCursorPart == "BottomLeft") return; vba451.style.cursor = "ne-resize"; wd80959.LastCursorPart = "BottomLeft"; } else if (vb7819 <= vf4b10 + 2 && vb7819 > vf4b10 - 10) { if (vb1f87 && wd80959.LastCursorPart == "BottomRight") return; vba451.style.cursor = "nw-resize"; wd80959.LastCursorPart = "BottomRight"; } else { var vb1f87 = wd80959.LastValidObject; if (vb1f87 && wd80959.LastCursorPart == "Bottom") return; vba451.style.cursor = "n-resize"; wd80959.LastCursorPart = "Bottom"; } v05695._CursorElement = vba451; wd80959.LastValidObject = v05695; } else { wd80959.m6bf44(); } } else { wd80959.m6bf44(); wd80959.LastValidObject = null; } } else { wd80959.m6bf44(); wd80959.LastValidObject = null; } } else { wd80959.m6bf44(); wd80959.LastValidObject = null; } } else { var vb1f87 = wd80959.LastValidObject; var v97e18 = false; var vaf657 = null; if (v68c85 != null && !ISEvent.IsLeftButton(v68c85)) { wd80959.m44732(); return; } if (vb1f87 && vb1f87.Window) vaf657 = vb1f87.Window; else if (wd80959.LastMovedObject && wd80959.LastMovedObject.Window) vaf657 = wd80959.LastMovedObject.Window; if (vaf657 != null && vaf657.Get("ContentMode") == "UseIFrame" && vaf657 && vaf657.DesktopManager.WindowInteractiveMode != "Shadow") { if (!vaf657.IFrameContentBlocker) { var v18892 = vaf657.GetContentDivElement().parentElement; var vf1955 = document.createElement("div"); vf1955.style.cssText = "position: absolute; top:" + ISPosLib.getHeight(vaf657.GetCaptionBarCellElement()) + "px; left:0px; width:100%; height:100%; z-index: 399; opacity:0.01"; vf1955.hideFocus = true; vf1955.innerHTML = "<img width='100%' height='100%' src='" + vaf657.DesktopManager.ResolveImagePath("blank.gif") + "' />"; v18892.insertAdjacentElement("beforeEnd", vf1955); vaf657.IFrameContentBlocker = vf1955; } vaf657.IFrameContentBlocker.style.display = ""; } if (vb1f87) { var v0c785 = wd80959.LastCursorPart; var v8a159 = vb1f87.FrameElement; var v64f48 = 0; var vb6869 = 0; if (vb1f87.Window) { var vaa778 = vb1f87.Window.DesktopManager.GetDesktopElement(); v64f48 = ISPosLib.getLeft(vaa778); vb6869 = ISPosLib.getTop(vaa778); wd80959.mb036(vb1f87.Window); } if (v0c785 == "Upper") { if (!v8a159.origBottom) v8a159.origBottom = ISPosLib.getTop(v8a159) + ISPosLib.getHeight(v8a159) - vb6869; var v6d054 = v58d66 - 4 - vb6869; var vbd065 = v8a159.origBottom - v6d054; if (vb1f87.Window) { if (!vb1f87.Window.IsTargetSizeValid(ISPosLib.getWidth(v8a159), vbd065)) { var v60e33 = vb1f87.Window.GetPreferredSize(ISPosLib.getWidth(v8a159), vbd065); vbd065 = v60e33.Height; v6d054 = v8a159.style.posTop; } } if (vbd065 < 30) { vbd065 = 30; v6d054 = v8a159.style.posTop; } wd80959.m3ce48(v8a159, vb1f87, null, v6d054, null, vbd065); v97e18 = true; } else if (v0c785 == "UpperLeft" || v0c785 == "UpperRight") { if (!v8a159.origBottom) v8a159.origBottom = ISPosLib.getTop(v8a159) + ISPosLib.getHeight(v8a159) - vb6869; if (!v8a159.origRight) v8a159.origRight = ISPosLib.getLeft(v8a159) + ISPosLib.getWidth(v8a159) - v64f48; var v6d054 = v58d66 - 4 - vb6869; var vbd065 = v8a159.origBottom - v6d054; var vb8126 = vb7819 - 4 - v64f48; var v26351 = v8a159.origRight - vb8126; if (v0c785 == "UpperRight") v26351 = vb7819 - ISPosLib.getLeft(v8a159); if (vb1f87.Window) { if (!vb1f87.Window.IsTargetSizeValid(v26351, vbd065)) { var v60e33 = vb1f87.Window.GetPreferredSize(v26351, vbd065); vbd065 = v60e33.Height; v26351 = v60e33.Width; } } if (vbd065 < 30) { vbd065 = 30; v6d054 = v8a159.style.posTop; } if (v26351 < 80) { v26351 = 80; vb8126 = v8a159.style.posLeft; } if (v0c785 == "UpperLeft") { } else { vb8126 = null; } wd80959.m3ce48(v8a159, vb1f87, vb8126, v6d054, v26351, vbd065); v97e18 = true; } else if (v0c785 == "Left") { if (!v8a159.origRight) v8a159.origRight = ISPosLib.getLeft(v8a159) + ISPosLib.getWidth(v8a159) - v64f48; var vb8126 = vb7819 - 4 - v64f48; var v26351 = v8a159.origRight - vb8126; if (vb1f87.Window) { if (!vb1f87.Window.IsTargetSizeValid(v26351, ISPosLib.getHeight(v8a159))) { var v60e33 = vb1f87.Window.GetPreferredSize(v26351, ISPosLib.getHeight(v8a159)); v26351 = v60e33.Width; vb8126 = v8a159.style.posLeft; } } if (v26351 < 80) { v26351 = 80; vb8126 = v8a159.style.posLeft; } wd80959.m3ce48(v8a159, vb1f87, vb8126, null, v26351, null); v97e18 = true; } else if (v0c785 == "Right") { var v26351 = vb7819 - ISPosLib.getLeft(v8a159); if (vb1f87.Window) { if (!vb1f87.Window.IsTargetSizeValid(v26351, ISPosLib.getHeight(v8a159))) { var v60e33 = vb1f87.Window.GetPreferredSize(v26351, ISPosLib.getHeight(v8a159)); v26351 = v60e33.Width; } } if (v26351 < 80) v26351 = 80; wd80959.m3ce48(v8a159, vb1f87, null, null, v26351, null); v97e18 = true; } else if (v0c785 == "Bottom") { var vbd065 = v58d66 - ISPosLib.getTop(v8a159); if (vb1f87.Window) { if (!vb1f87.Window.IsTargetSizeValid(ISPosLib.getWidth(v8a159), vbd065)) { var v60e33 = vb1f87.Window.GetPreferredSize(ISPosLib.getWidth(v8a159), vbd065); vbd065 = v60e33.Height; } } if (vbd065 < 30) vbd065 = 30; wd80959.m3ce48(v8a159, vb1f87, null, null, null, vbd065); v97e18 = true; } else if (v0c785 == "BottomLeft" || v0c785 == "BottomRight") { if (!v8a159.origRight) v8a159.origRight = ISPosLib.getLeft(v8a159) + ISPosLib.getWidth(v8a159) - v64f48; var vbd065 = v58d66 - ISPosLib.getTop(v8a159); var vb8126 = vb7819 - 4 - v64f48; var v26351 = v8a159.origRight - vb8126; if (v0c785 == "BottomRight") v26351 = vb7819 - ISPosLib.getLeft(v8a159); if (vb1f87.Window) { if (!vb1f87.Window.IsTargetSizeValid(v26351, vbd065)) { var v60e33 = vb1f87.Window.GetPreferredSize(v26351, vbd065); vbd065 = v60e33.Height; v26351 = v60e33.Width; } } if (vbd065 < 30) vbd065 = 30; if (v26351 < 80) { v26351 = 80; vb8126 = v8a159.style.posLeft; } if (v0c785 != "BottomLeft") vb8126 = null; wd80959.m3ce48(v8a159, vb1f87, vb8126, null, v26351, vbd065); v97e18 = true; } if (v97e18) { if (vb1f87.Window) { if ((IS.moz) && vb1f87.Window.Get("ContentMode") == "UseIFrame") { var v72718 = vb1f87.Window.GetWindowIFrameElement().parentElement.parentElement; if (IsGecko18Up()) v72718 = v72718.children[0]; v72718.style.display = "none"; } vb1f87.Resized = true; vb1f87.Window.SaveLocationAndSize(); var vc7124 = vb1f87.Window.DesktopManager; if (vc7124.WindowInteractiveMode != "Shadow") { if (vb1f87.Window.EnableDropShadow && vb1f87.Window.DropShadow != null) vb1f87.Window.DropShadow.UpdatePosition(); } ISEvent.Raise(vc7124.ClientSideEvents.OnWindowResized, vc7124.Id, vb1f87.Window, "interactive"); } } } else { var v05695 = null; if (wd80959.LastMovedObject == null) v05695 = wd80959.m6ff47(vba451); else v05695 = wd80959.LastMovedObject; if (v05695 && v05695.Enabled && v05695.Movable) { var v91712 = true; var vb8e80 = null; if (wd80959.LastDragObject) { vb8e80 = wd80959.LastDragObject; if (v05695.DragElement.contains(vb8e80) && !vb8e80.nonMovable && vb8e80.tagName != "INPUT") { v91712 = true; } else { v91712 = false; } } if (v91712) { var v8a159 = v05695.FrameElement; var v64f48 = 0; var vb6869 = 0; var vf8584 = v05695.DesktopManager; var v4640 = ISPosLib.getLeft(v8a159); var v4fe60 = ISPosLib.getTop(v8a159); if (vf8584) { var vaa778 = vf8584.GetDesktopElement(); if (vf8584.CreatedAtRuntime && vf8584.Id == "Global") vaa778 = document.body; v64f48 = ISPosLib.getLeft(vaa778); vb6869 = ISPosLib.getTop(vaa778); } if (!v8a159.parentOffsetX) v8a159.parentOffsetX = vb7819 - v4640; if (!v8a159.parentOffsetY) v8a159.parentOffsetY = v58d66 - v4fe60; var vb8126 = vb7819 - v8a159.parentOffsetX - v64f48 + document.body.scrollLeft; var v6d054 = v58d66 - v8a159.parentOffsetY - vb6869 + document.body.scrollTop; if (vf8584.WindowInteractiveMode == "Shadow") { wd80959.LastMovedObject = v05695; if (vb8126 == v4640 && v6d054 == v4fe60) return; } v05695.Moved = true; wd80959.m3ce48(v8a159, v05695, vb8126, v6d054, null, null); wd80959.LastMovedObject = v05695; if (v05695.Window) { wd80959.mb036(v05695.Window); if (v05695.Window.WindowState == "Normal") v05695.Window.SaveLocationAndSize(); if (vf8584.WindowInteractiveMode != "Shadow") { if (v05695.Window.EnableDropShadow && v05695.Window.DropShadow != null) v05695.Window.DropShadow.UpdatePosition(); } var vc7124 = v05695.Window.DesktopManager; ISEvent.Raise(vc7124.ClientSideEvents.OnWindowMoved, vc7124.Id, v05695.Window); } } } } } } }, m46235: function() { var vc5f98 = event.srcElement; var v04694 = wd80959.m6ff47(vc5f98, true); var vd1f13 = false; if (v04694) { if (v04694.DragElement.contains(vc5f98)) { vd1f13 = true; if (v04694.Window) { if (vc5f98.tagName == "SPAN" || vc5f98.tagName == "IMG") { vc5f98.nonMovable = true; } } } } if (event.button != ISEvent.LEFT || vc5f98.nonMovable || v04694 == null) return; wd80959.IsMouseDown = true; wd80959.LastDragObject = vc5f98; if (!IS.ie) { if (wd80959.LastValidObject != null || wd80959.LastDragObject != null) { var vda895 = false; if (vc5f98.tagName == "TEXTAREA" || vc5f98.tagName == "SELECT" || vc5f98.tagName == "BUTTON") vda895 = true; if (vc5f98.tagName == "INPUT" && vc5f98.type == "checkbox" && vc5f98.className != "DefChkBox") vda895 = true; if (vc5f98.tagName == "INPUT" && vc5f98.type == "text") vda895 = true; if (!vda895) { event.cancelBubble = true; event.returnValue = false; } } if (IS.MozillaMouseUpTresholdId > 0) clearTimeout(IS.MozillaMouseUpTresholdId); IS.MozillaMouseUpTreshold = false; } if (IS.safari) { if ((wd80959.LastValidObject != null || vd1f13) && !vda895) { event.cancelBubble = true; event.returnValue = false; } } }, m44732: function() { wd80959.IsMouseDown = false; var vf3737 = wd80959.LastValidObject; if (vf3737) { vf3737.FrameElement.origBottom = null; vf3737.FrameElement.origRight = null; } if (vf3737 && vf3737.Window && IS.moz) { if (vf3737.Window.Get("ContentMode") == "UseIFrame") { var v12413 = vf3737.Window.GetWindowIFrameElement().parentElement.parentElement; if (IsGecko18Up()) v12413 = v12413.children[0]; v12413.style.display = ""; } wd9ac40.m8a991(vf3737.Window); } if (wd80959.LastMovedObject != null) { var vfd546 = wd80959.LastMovedObject; var v91218 = vfd546.FrameElement; v91218.parentOffsetX = null; v91218.parentOffsetY = null; wd80959.mda283(vfd546.Window, vfd546.FrameElement, "Move"); wd80959.LastMovedObject = null; } if (vf3737 != null && vf3737.Window != null) { var vf4170 = vf3737.Window.DesktopManager; wd80959.mda283(vf3737.Window, vf3737.FrameElement, "Resize"); ISEvent.Raise(vf4170.ClientSideEvents.OnWindowResized, vf4170.Id, vf3737.Window, "end"); } wd80959.LastDragObject = null; wd80959.LastValidObject = null; if (IS.moz) { wd80959.MozillaMouseUpTreshold = true; wd80959.MozillaMouseUpTresholdId = setTimeout(function() { wd80959.MozillaMouseUpTreshold = false; }, 1000); } }, m6bf44: function() { var v62528 = wd80959.LastValidObject; if (v62528 != null) { var v2f362 = v62528._CursorElement; v2f362.style.cursor = ""; wd80959.LastValidObject = null; } }, GetValidResizableObject: function(v81483) { for (var v74647 = 0; v74647 < wd80959.Collection.length; v74647++) { var v42071 = wd80959.Collection[v74647]; if (v42071.Resizable && v42071.Enabled) { if (v81483 == v42071.FrameElement) return v42071; } } return null; }, m6ff47: function(vbb383, v6e820) { var vbb383 = wd80959.mcb98(vbb383, v6e820); if (vbb383) { for (var v48241 = 0; v48241 < wd80959.Collection.length; v48241++) { var v14b35 = wd80959.Collection[v48241]; if (vbb383 == v14b35.FrameElement) return v14b35; } return null; } }, mcb98: function(v72f39, v41c60) { if (v72f39.IsInteractiveObject) return v72f39; if (v41c60 && IS.GetAttr(v72f39, "nonMovable") != "") return null; while (v72f39.parentElement != null) { var v72f39 = v72f39.parentElement; if (v41c60 && IS.GetAttr(v72f39, "nonMovable") != "") return null; if (v72f39.IsInteractiveObject) return v72f39; } return null; }, mb036: function(v47958) { if (v47958 && (v47958.CreatedAtRuntime || IS.moz)) { var v7d522 = v47958.DesktopManager.GetIFrameWindow(v47958.Name); if (v7d522) wd9ac40.mc1285(v47958.DesktopManager, v7d522); } }, ma8e34: function(ve3078, v9ae39) { if (v9ae39 && v9ae39.IsChildFrame && IS.ie) return v9ae39.FrameElement.document.parentWindow.frameElement; return null; }, m10893: function(va9197, v31649) { if (v31649 && v31649.IsChildFrame && IS.ie) { var v91014 = wd80959.ma8e34(va9197, v31649); if (v91014) return ISPosLib.getTop(v91014); } return 0; }, m47a61: function(v24e97, vee749) { if (vee749 && vee749.IsChildFrame && IS.ie) { var v7dd97 = wd80959.ma8e34(v24e97, vee749); if (v7dd97) return ISPosLib.getLeft(v7dd97); } return 0; } }; var wdba297 = { mc0d43: function(v5dd68) { var v43613 = ""; var v01352 = v5dd68.DesktopManager; var v9e354 = v01352.ImagesSettings.CaptionLeftInactive; var v0265 = v01352.ImagesSettings.CaptionCenterInactive; var v1c291 = v01352.ImagesSettings.CaptionRightInactive; if (v01352.WindowSettings.BorderType == "ComplexImages") { v43613 += "<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%'>"; v43613 += "<tr>"; v43613 += "<td>"; v43613 += "<img src='" + v01352.ResolveImagePath(v9e354) + "' />"; v43613 += "</td>"; v43613 += "<td width='100%' noWrap style='background-repeat: repeat-x; background-image:url(" + v01352.ResolveImagePath(v0265) + ")'>"; v43613 += wdba297.m87586(v5dd68); v43613 += "</td>"; v43613 += "<td>"; v43613 += "<img src='" + v01352.ResolveImagePath(v1c291) + "' />"; v43613 += "</td>"; v43613 += "</tr>"; v43613 += "</table>"; } else { v43613 += wdba297.m87586(v5dd68); } return v43613; }, m87586: function(v92f7) { var v80268 = ""; var v86f31 = v92f7.DesktopManager; v80268 += "<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%' "; v80268 += "class=" + v86f31.WindowSettings.CaptionStyle.Normal; v80268 += ">"; v80268 += "<tr>"; if (v86f31.WindowSettings.WindowOptionsPosition == "Left") v80268 += wdba297.med512(v92f7, "Left"); if (v86f31.WindowSettings.ControlBoxPosition == "Left") { if (v92f7.Get("ControlBox") == "Yes") { v80268 += "<td valign=absmiddle>"; v80268 += "<img src='" + v86f31.ResolveImagePath(v92f7.Get("ControlBoxImage")) + "' align=absmiddle vspace=2 />"; v80268 += "</td>"; } } v80268 += "<td width='100%' noWrap valign=absmiddle align=" + v92f7.Get("TextAlignment").toLowerCase() + ">"; if (v92f7.Get("ControlBox") == "Yes" && v86f31.WindowSettings.ControlBoxPosition == "Center") { v80268 += "<img "; v80268 += "src='" + v86f31.ResolveImagePath(v92f7.Get("ControlBoxImage")) + "' "; v80268 += "align='" + (IS.ie ? "absmiddle" : "") + "' "; v80268 += "/>"; v80268 += "&nbsp;"; } if (v92f7.Get("CaptionDisplayMode") == "UseTemplate") { } else { v80268 += v92f7.Text; } v80268 += "</td>"; if (v86f31.WindowSettings.WindowOptionsPosition == "Right") v80268 += wdba297.med512(v92f7, "Right"); v80268 += "</tr>"; v80268 += "</table>"; return v80268; }, med512: function(v20043, v7a219) { var v76a7 = "<td noWrap valign=absmiddle "; if (IS.moz) { v76a7 += "width=100 align=" + v7a219; } v76a7 += ">"; v76a7 += wdba297.m7b554(v20043); v76a7 += "</td>"; return v76a7; }, m7b554: function(ve8318) { var v97443 = ""; var v6fa19 = ve8318.DesktopManager; var vf2691 = v6fa19.ImagesSettings.MinimizeInactive; var v9d173 = v6fa19.ImagesSettings.MaximizeInactive; var v79a35 = v6fa19.ImagesSettings.RestoreInactive; var vf9267 = v6fa19.ImagesSettings.CloseInactive; if (IS.opera || IS.safari || IsGecko30()) { if (vf2691 == "") vf2691 = "webdings_0.gif"; if (v9d173 == "") v9d173 = "webdings_1.gif"; if (vf9267 == "") vf9267 = "webdings_r.gif"; } if (v6fa19.WindowSettings.WindowOptionsPosition == "Right") { if (ve8318.Get("AllowMinimize") == "Yes") { v97443 += wdba297.m94795(v6fa19, vf2691); v97443 += wdba297.m4c010(v6fa19); } if (ve8318.Get("AllowMaximize") == "Yes") { v97443 += wdba297.m68811(v6fa19, v9d173); v97443 += wdba297.m4c010(v6fa19); } if (ve8318.Get("AllowClose") == "Yes") { v97443 += wdba297.mac550(v6fa19, vf9267); } } else { if (ve8318.Get("AllowClose") == "Yes") { v97443 += wdba297.mac550(v6fa19, vf9267); v97443 += wdba297.m4c010(v6fa19); } if (ve8318.Get("AllowMinimize") == "Yes") { v97443 += wdba297.m94795(v6fa19, vf2691); v97443 += wdba297.m4c010(v6fa19); } if (ve8318.Get("AllowMaximize") == "Yes") { v97443 += wdba297.m68811(v6fa19, v9d173); } } return v97443; }, m94795: function(v8eb54, vd8578) { var v0df18 = "<span type='Min' "; v0df18 += "title='" + v8eb54.TextSettings.MinimizeText + "' "; v0df18 += "class='" + v8eb54.WindowSettings.CaptionButtonStyle.Normal + "' "; v0df18 += ">"; if (vd8578 == "") { v0df18 += "<font face='Webdings'>"; v0df18 += "<span style='position:relative; top:-2px'>"; v0df18 += "0"; v0df18 += "</span>"; v0df18 += "</font>"; } else { v0df18 += "<img src='" + v8eb54.ResolveImagePath(vd8578) + "' align=absmiddle />"; } v0df18 += "</span>"; return v0df18; }, m4c010: function(vd1a73) { var v00473 = "<span style='width:" + vd1a73.WindowSettings.CaptionButtonSpacing + "px;"; if (IS.moz) v00473 += "display:-moz-inline-box"; else if (!IS.ie) v00473 += "display:inline-block"; v00473 += "'></span>"; return v00473; }, m68811: function(vd0773, vd2087) { var v82173 = "<span type='Max' "; v82173 += "title='" + vd0773.TextSettings.MaximizeText + "' "; v82173 += "class='" + vd0773.WindowSettings.CaptionButtonStyle.Normal + "' "; v82173 += ">"; if (vd2087 == "") { v82173 += "<font face='Webdings'>"; v82173 += "<span style='position:relative; top:-2px'>"; v82173 += "1"; v82173 += "</span>"; v82173 += "</font>"; } else { v82173 += "<img src='" + vd0773.ResolveImagePath(vd2087) + "' align=absmiddle />"; } v82173 += "</span>"; return v82173; }, mac550: function(v80e73, vc9287) { var v5ec73 = "<span type='Close' "; v5ec73 += "title='" + v80e73.TextSettings.CloseText + "' "; v5ec73 += "class='" + v80e73.WindowSettings.CaptionButtonStyle.Normal + "' "; v5ec73 += ">"; if (vc9287 == "") { v5ec73 += "<font face='Webdings'>"; v5ec73 += "<span style='position:relative; top:-2px'>"; v5ec73 += "r"; v5ec73 += "</span>"; v5ec73 += "</font>"; } else { v5ec73 += "<img src='" + v80e73.ResolveImagePath(vc9287) + "' align=absmiddle />"; } v5ec73 += "</span>"; return v5ec73; }, mc8f55: function(v5d99) {
    var v60d9 = ""; var vd1b57 = v5d99.DesktopManager; v60d9 += "<div class=" + vd1b57.WindowSettings.ContainerStyle; v60d9 += " style='position:relative;"; if (v5d99.Get("ContentMode") == "UseIFrame") v60d9 += "overflow:hidden;"; if (vd1b57.WindowSettings.IgnoreIFramePadding && v5d99.Get("ContentMode") == "UseIFrame") v60d9 += "padding:0px;"; v60d9 += "'"; v60d9 += ">"; v60d9 += "<div style='width:100%; height:100%;"; v60d9 += "'>"; if (v5d99.Get("ContentMode") == "UseIFrame" || v5d99.ContentURL != "") { 
v60d9 +="<iframe src='javascript:\"\";'" +(vd1b57.WindowSettings.IFrameAllowTransparency ? "allowtransparency='true'" : "")+" frameborder=0 "; v60d9 +=" style='width:100%; height:100%; position:relative; "; if (vd1b57.WindowSettings.IFrameShowLoader &&!IS.moz) v60d9 +="display:none;"; v60d9 +="'"; v60d9 +=" name='" +v5d99.Name +"'"; v60d9 +=">"; v60d9 +="</iframe>"; } v60d9 +="</div>"; v60d9 +="</div>"; return v60d9; }};function ISDropShadow(){ this.Margin =35; this.Owner =null; this.ImageFolder ="images/"; this.Element =null; this.ParentElement =null; this.Container =null; this.Create =function() { var v1d756 =document.createElement("div"); var ve9650 ="<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>"; v1d756.style.display ="none"; v1d756.style.direction ="ltr"; v1d756.style.zIndex =1; v1d756.innerHTML =ve9650; this.Element =v1d756; if (this.Container ==null) document.body.insertAdjacentElement("afterBegin",v1d756); else this.Container.insertAdjacentElement("afterBegin",v1d756); }; this.AttachTo =function(v5db28) { if (this.Element ==null) this.Create();  var v47e71 =parseFloat(v5db28.style.zIndex);  if (!isNaN(v47e71)&&this.Container !=null) this.Element.style.zIndex =v47e71; this.ParentElement =v5db28; 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 v1d756 =this.Element; var v5db28 =this.ParentElement; var v6c37 =ISPosLib.getLeft(v5db28)-this.GetContainerLeft(); var v14e13 =ISPosLib.getTop(v5db28)-this.GetContainerTop()-(!IS.ie ? ISPosLib.getScrollTop(document): 0); var v57685 =ISPosLib.getWidth(v5db28); var vdde1 =ISPosLib.getHeight(v5db28); if (IsIE7StandardMode()) vdde1 =v5db28.scrollHeight; with (v1d756.style) { position ="absolute"; left =(v6c37 -this.Margin)+"px"; top =(v14e13 -this.Margin)+"px"; width =(v57685 +(this.Margin *2))+"px"; } v1d756.style.height =(vdde1 +(this.Margin *2))+"px"; if (IsIE7StandardMode()) { var ve8c11 =parseFloat(v1d756.style.height); var v3fa28 =0; if (ve8c11 >142) v3fa28 =ve8c11 -142; v1d756.children[0].rows[1].style.height =v3fa28 +"px"; } }; this.GetContainerLeft =function() { if (this.Container ==null) return 0; else return ISPosLib.getLeft(this.Container); }; this.GetContainerTop =function() { if (this.Container ==null) return 0; else return ISPosLib.getTop(this.Container); };}
