
// 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 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 wd7f075 ={ Collection: null,LastValidObject: null, LastCursorPart: null, IsMouseDown: false, Event: null, LastDragObject: null, LastMovedObject: null, MozillaMouseUpTreshold: false, MozillaMouseUpTresholdId: 0,  mba569:function(v4e19) { var vb7470 =document.body; Listener.Add(vb7470,"onmousemove",wd7f075.m8a055); Listener.Add(vb7470,"onmousedown",wd7f075.m18084); Listener.Add(vb7470,"onmouseup",wd7f075.m02823);  for (var v37a98=0; v37a98<v4e19.length; v37a98++) { var vf1a49 =v4e19[v37a98]; var va6d60 =vf1a49.FrameElement;  va6d60.IsInteractiveObject =true; vf1a49.Registered =true; }  wd7f075.Collection =v4e19; },  mf3787:function(v8ac0,v24d66,v28d86) { if (!v28d86) v28d86 ="afterBegin";  var v73629 =document.createElement("DIV");  v73629.style.display ="none"; v73629.hideFocus =true; v73629.innerHTML ="<img width=100% height=100% src='" +v8ac0.ResolveImagePath("blank.gif")+"' />"; v73629.onselectstart =function(){return false;}; Listener.Add(v73629,"onmousemove",wd7f075.m7aa68); v24d66.insertAdjacentElement(v28d86,v73629); return v73629; },  m7aa68:function() {  },  m1b933:function(vc0595) { if (vc0595.InteractiveShadow ==null) vc0595.InteractiveShadow =wd7f075.mf3787(vc0595,vc0595.FrameObj,"beforeEnd");  var vc1439 =vc0595.InteractiveShadow;  if (vc1439.style.display =="none") { var v38185 =vc0595.GetDesktopSize();  with (vc1439.style) { position ="absolute"; width =vc0595.FrameObj.clientWidth; height =vc0595.FrameObj.clientHeight; left =0; top =0; backgroundColor ="gray"; zIndex =252; }  if (vc0595.ShadowModeAnimation) { var v99d20 =new ISAnimatedObject(); v99d20.Element =vc1439; v99d20.Speed ="Fast"; v99d20.StepInterval =10; v99d20.Type ="FadeIn"; v99d20.MaxFadeInOpacity =40; v99d20.Play(); } else { vc1439.style.display ="";  if (!vc0595.ShadowModeTransparency) vc1439.style.backgroundColor ="transparent"; else { vc1439.style.opacity ="0.5"; vc1439.style.filter ="Alpha(Opacity=50)"; } } } },  m52d49:function(vf4514) { if (vf4514.ShadowModeAnimation) { var vaac14 =new ISAnimatedObject(); vaac14.Element =vf4514.InteractiveShadow; vaac14.Speed ="Fast"; vaac14.StepInterval =10; vaac14.MaxFadeInOpacity =40; vaac14.Type ="FadeOut"; vaac14.OnCompleted =wd7f075.m09260; vaac14.Play(); } else vf4514.InteractiveShadow.style.display ="none"; },  m09260:function() { this.Element.style.display ="none"; },  mc0539:function(v85286,vb0313,vc459,vfcc0,vcc047,v8535) { var v60e14 =true;  if (vb0313 &&vb0313.Window &&vb0313.Window.DesktopManager.WindowInteractiveMode =="Shadow") v60e14 =false;  if (v60e14) { if (vc459) v85286.style.left =vc459;  if (vfcc0) v85286.style.top =vfcc0;  if (vcc047) v85286.style.width =vcc047;  if (v8535) v85286.style.height =v8535; } else { wd7f075.m1b933(vb0313.Window.DesktopManager); wd7f075.m6f07(vb0313.Window,vc459,vfcc0,vcc047,v8535); } },  m6f07:function(vb8c11,v29479,vd6465,v32a94,vc5d12) { var v4d381 =wd7f075.Shadow; var v2e611 =vb8c11.DesktopManager; var vf2a28 =wd7f075.ShadowInfo;  if (v4d381 ==null) { v4d381 =document.createElement("DIV"); v4d381.style.cssText ="position: absolute; border: white 1px solid; background-color: gray;" + "opacity: 0.5; filter: Alpha(Opacity=50); ";  v2e611.FrameObj.appendChild(v4d381); wd7f075.Shadow =v4d381; }  if (vf2a28 ==null) { vf2a28 =document.createElement("DIV"); vf2a28.style.cssText ="position: absolute; z-index: 254; color: white; font-family: Segoe UI, Tahoma; font-size: 9pt"; vf2a28.innerHTML ="<span style='font-weight:bold'></span><br/>X: <span></span>, Y: <span></span><br/>Width: <span></span>, Height:<span></span>";  v2e611.FrameObj.appendChild(vf2a28); wd7f075.ShadowInfo =vf2a28; }  if (v4d381.winName !=vb8c11.Name) {  v29479 =vb8c11.Location.X; vd6465 =vb8c11.Location.Y; v32a94 =vb8c11.Size.Width; vc5d12 =vb8c11.Size.Height; v4d381.winName =vb8c11.Name; }  if (vc5d12 !=null &&vc5d12 <50) return;  var v9d326 =v2e611.GetDesktopElement();  if (v29479) v29479 +=ISPosLib.getLeft(v9d326);  if (vd6465) vd6465 +=ISPosLib.getTop(v9d326);  with (v4d381.style) { if (v29479) left =v29479;  if (vd6465) top =vd6465;  if (v32a94) width =v32a94;  if (vc5d12) height =vc5d12;  zIndex =253; display =""; vf2a28.children[0].innerText =vb8c11.Text; vf2a28.children[2].innerText =left; vf2a28.children[3].innerText =top; vf2a28.children[5].innerText =width; vf2a28.children[6].innerText =height; } with (vf2a28.style) { left =((v4d381.offsetWidth -vf2a28.offsetWidth)/2)+v4d381.style.posLeft; top =((v4d381.offsetHeight -vf2a28.offsetHeight)/2)+v4d381.style.posTop; display =""; } },  m0ee38:function(v98591,v05a24,vfdc6) { if (v98591 !=null &&v98591.DesktopManager.WindowInteractiveMode =="Shadow" &&wd7f075.Shadow !=null) { var v3b461 =wd7f075.Shadow; var vd5156 =v98591.DesktopManager; var vf4e69 =wd7f075.ShadowInfo; var v2bc24 =wd7f075.LastValidObject; var vc4255 =wd7f075.LastMovedObject; if (vfdc6 =="Move") { if (vc4255 ==null) return;  if (vc4255 !=null &&!vc4255.Moved) return;  vc4255.Moved =false; }  if (vfdc6 =="Resize") { if (v2bc24 ==null) return;  if (v2bc24 !=null &&!v2bc24.Resized) return;  v2bc24.Resized =false; }  v3b461.winName =null; v3b461.style.display ="none"; vf4e69.style.display ="none"; var v55787 =vd5156.GetDesktopElement();  with (v05a24.style) { left =parseFloat(v3b461.style.left)-ISPosLib.getLeft(v55787); top =parseFloat(v3b461.style.top)-ISPosLib.getTop(v55787); width =v3b461.style.width; height =v3b461.style.height; }  if (v98591.EnableDropShadow &&v98591.DropShadow !=null) v98591.DropShadow.UpdatePosition();  v98591.SaveLocationAndSize(); wd7f075.m52d49(vd5156); } },  m8a055:function() { var vec966 =event; var v4fc12 =false; if (vec966)wd7f075.Event =null; else vec966 =wd7f075.Event; var v04c59 =vec966.srcElement; var v89257 =vec966.clientX; var vf6920 =vec966.clientY; if (!event) { v04c59 =vec966.FrameElement; v89257 +=ISPosLib.getLeft(v04c59); vf6920 +=ISPosLib.getTop(v04c59);  if (vec966.IsChildFrame) { vf6920 +=wd7f075.mc9167(null,vec966); v89257 +=wd7f075.mfe485(null,vec966); } v4fc12 =true; } else { if (IS.moz &&event.view.name !="") { var vcf028 =vec966.FrameElement;  if (IS.moz &&IsGecko18()&&vcf028 !=null) { v04c59 =vcf028; v89257 +=ISPosLib.getLeft(v04c59); vf6920 +=ISPosLib.getTop(v04c59); } } } if (v04c59) { if (!wd7f075.IsMouseDown) { if (v4fc12)return; var v61523 =wd7f075.m64b48(v04c59); if (v61523) { if (v61523 &&v61523.Enabled) { if (v61523.Resizable) { var v1b869 =ISPosLib.getTop(v61523.FrameElement); var v6a556 =ISPosLib.getLeft(v61523.FrameElement); var v91052 =v1b869 +ISPosLib.getHeight(v61523.FrameElement); var ve1b32 =v6a556 +ISPosLib.getWidth(v61523.FrameElement); var v1e457 =wd7f075.LastValidObject;  if (v1e457 !=null &&v1e457 !=v61523) { wd7f075.m3a151(); wd7f075.LastValidObject =null; }  if (vf6920 >=v1b869 &&vf6920 <v1b869 +7) { if (v89257 >=v6a556 &&v89257 <v6a556 +20) { if (v1e457 &&wd7f075.LastCursorPart =="UpperLeft") return;  v04c59.style.cursor ="nw-resize"; wd7f075.LastCursorPart ="UpperLeft"; } else if (v89257 <=ve1b32+2 &&v89257 >ve1b32 -20) { if (v1e457 &&wd7f075.LastCursorPart =="UpperRight") return; v04c59.style.cursor ="ne-resize"; wd7f075.LastCursorPart ="UpperRight"; } else { if (v1e457 &&wd7f075.LastCursorPart =="Upper") return; v04c59.style.cursor ="n-resize"; wd7f075.LastCursorPart ="Upper"; } v61523._CursorElement =v04c59; wd7f075.LastValidObject =v61523;  } else if (v89257 >=v6a556 &&v89257 <v6a556 +5 &&vf6920 <v91052 -4) { var v1e457 =wd7f075.LastValidObject; if (v1e457 &&wd7f075.LastCursorPart =="Left") return;  v04c59.style.cursor ="w-resize"; v61523._CursorElement =v04c59;  wd7f075.LastValidObject =v61523; wd7f075.LastCursorPart ="Left"; } else if (v89257 <=ve1b32+2 &&v89257 >ve1b32 -4 &&vf6920 <v91052 -4) { var v1e457 =wd7f075.LastValidObject;  if (v04c59.id =="" &&v61523 &&v61523.Window &&v61523.Window.DesktopManager.WindowSettings.BorderType =="ComplexImages") v04c59 =v04c59.parentElement; if (v04c59.currentStyle.overflow =="visible" ||IS.moz) { if (v1e457 &&wd7f075.LastCursorPart =="Right") return;  v04c59.style.cursor ="w-resize"; v61523._CursorElement =v04c59;  wd7f075.LastValidObject =v61523; wd7f075.LastCursorPart ="Right"; } } else if (vf6920 <=v91052+1 &&vf6920 >v91052 -4) {  if (v89257 >=v6a556 &&v89257 <v6a556 +10) { if (v1e457 &&wd7f075.LastCursorPart =="BottomLeft") return;  v04c59.style.cursor ="ne-resize"; wd7f075.LastCursorPart ="BottomLeft"; } else if (v89257 <=ve1b32+2 &&v89257 >ve1b32 -10) { if (v1e457 &&wd7f075.LastCursorPart =="BottomRight") return; v04c59.style.cursor ="nw-resize"; wd7f075.LastCursorPart ="BottomRight"; } else { var v1e457 =wd7f075.LastValidObject; if (v1e457 &&wd7f075.LastCursorPart =="Bottom") return;  v04c59.style.cursor ="n-resize"; wd7f075.LastCursorPart ="Bottom"; } v61523._CursorElement =v04c59; wd7f075.LastValidObject =v61523; } else { wd7f075.m3a151(); } } else { wd7f075.m3a151(); wd7f075.LastValidObject =null; } } else { wd7f075.m3a151(); wd7f075.LastValidObject =null; } } else { wd7f075.m3a151(); wd7f075.LastValidObject =null; } } else { var v1e457 =wd7f075.LastValidObject; var vbf830 =false; if (vec966 !=null &&!ISEvent.IsLeftButton(vec966)) { wd7f075.m02823(); return; } if (v1e457) { var v15336 =wd7f075.LastCursorPart; var v06f18 =v1e457.FrameElement; var vc7695 =0; var v6d680 =0; if (v1e457.Window) { var v94925 =v1e457.Window.DesktopManager.GetDesktopElement(); vc7695 =ISPosLib.getLeft(v94925); v6d680 =ISPosLib.getTop(v94925);  wd7f075.md7199(v1e457.Window); }  if (v15336 =="Upper") { if (!v06f18.origBottom) v06f18.origBottom =ISPosLib.getTop(v06f18)+ISPosLib.getHeight(v06f18)-v6d680;  var vaa098 =vf6920-4-v6d680; var v3ab23 =v06f18.origBottom -vaa098;  if (v1e457.Window) { if (!v1e457.Window.IsTargetSizeValid(ISPosLib.getWidth(v06f18),v3ab23)) { var v7f412 =v1e457.Window.GetPreferredSize(ISPosLib.getWidth(v06f18),v3ab23); v3ab23 =v7f412.Height; vaa098 =v06f18.style.posTop; } }  if (v3ab23 <30) { v3ab23 =30; vaa098 =v06f18.style.posTop; }  wd7f075.mc0539(v06f18,v1e457,null,vaa098,null,v3ab23); vbf830 =true; } else if (v15336 =="UpperLeft" ||v15336 =="UpperRight") { if (!v06f18.origBottom) v06f18.origBottom =ISPosLib.getTop(v06f18)+ISPosLib.getHeight(v06f18)-v6d680;  if (!v06f18.origRight) v06f18.origRight =ISPosLib.getLeft(v06f18)+ISPosLib.getWidth(v06f18)-vc7695; var vaa098 =vf6920-4-v6d680; var v3ab23 =v06f18.origBottom -vaa098; var v89144 =v89257-4-vc7695; var v5fa72 =v06f18.origRight -v89144;  if (v15336 =="UpperRight") v5fa72 =v89257 -ISPosLib.getLeft(v06f18);  if (v1e457.Window) { if (!v1e457.Window.IsTargetSizeValid(v5fa72,v3ab23)) { var v7f412 =v1e457.Window.GetPreferredSize(v5fa72,v3ab23); v3ab23 =v7f412.Height; v5fa72 =v7f412.Width; } }  if (v3ab23 <30) { v3ab23 =30; vaa098 =v06f18.style.posTop; }  if (v5fa72 <80) { v5fa72 =80; v89144 =v06f18.style.posLeft; }  if (v15336 =="UpperLeft") { } else { v89144 =null; }  wd7f075.mc0539(v06f18,v1e457,v89144,vaa098,v5fa72,v3ab23); vbf830 =true; } else if (v15336 =="Left") { if (!v06f18.origRight) v06f18.origRight =ISPosLib.getLeft(v06f18)+ISPosLib.getWidth(v06f18)-vc7695;  var v89144 =v89257-4-vc7695; var v5fa72 =v06f18.origRight -v89144;  if (v1e457.Window) { if (!v1e457.Window.IsTargetSizeValid(v5fa72,ISPosLib.getHeight(v06f18))) { var v7f412 =v1e457.Window.GetPreferredSize(v5fa72,ISPosLib.getHeight(v06f18)); v5fa72 =v7f412.Width; v89144 =v06f18.style.posLeft; } }  if (v5fa72 <80) { v5fa72 =80; v89144 =v06f18.style.posLeft; } wd7f075.mc0539(v06f18,v1e457,v89144,null,v5fa72,null); vbf830 =true; } else if (v15336 =="Right") { var v5fa72 =v89257 -ISPosLib.getLeft(v06f18); if (v1e457.Window) { if (!v1e457.Window.IsTargetSizeValid(v5fa72,ISPosLib.getHeight(v06f18))) { var v7f412 =v1e457.Window.GetPreferredSize(v5fa72,ISPosLib.getHeight(v06f18)); v5fa72 =v7f412.Width; } }  if (v5fa72 <80) v5fa72 =80; wd7f075.mc0539(v06f18,v1e457,null,null,v5fa72,null); vbf830 =true; } else if (v15336 =="Bottom") { var v3ab23 =vf6920 -ISPosLib.getTop(v06f18); if (v1e457.Window) { if (!v1e457.Window.IsTargetSizeValid(ISPosLib.getWidth(v06f18),v3ab23)) { var v7f412 =v1e457.Window.GetPreferredSize(ISPosLib.getWidth(v06f18),v3ab23); v3ab23 =v7f412.Height; } }  if (v3ab23 <30) v3ab23 =30; wd7f075.mc0539(v06f18,v1e457,null,null,null,v3ab23); vbf830 =true; } else if (v15336 =="BottomLeft" ||v15336 =="BottomRight") { if (!v06f18.origRight) v06f18.origRight =ISPosLib.getLeft(v06f18)+ISPosLib.getWidth(v06f18)-vc7695; var v3ab23 =vf6920 -ISPosLib.getTop(v06f18); var v89144 =v89257-4-vc7695; var v5fa72 =v06f18.origRight -v89144;  if (v15336 =="BottomRight") v5fa72 =v89257 -ISPosLib.getLeft(v06f18);  if (v1e457.Window) { if (!v1e457.Window.IsTargetSizeValid(v5fa72,v3ab23)) { var v7f412 =v1e457.Window.GetPreferredSize(v5fa72,v3ab23); v3ab23 =v7f412.Height; v5fa72 =v7f412.Width; } }  if (v3ab23 <30) v3ab23 =30;  if (v5fa72 <80) { v5fa72 =80; v89144 =v06f18.style.posLeft; } if (v15336 !="BottomLeft") v89144 =null;  wd7f075.mc0539(v06f18,v1e457,v89144,null,v5fa72,v3ab23); vbf830 =true; }  if (vbf830) { if (v1e457.Window) { if (IS.moz &&v1e457.Window.Get("ContentMode")=="UseIFrame") { var v9c697 =v1e457.Window.GetWindowIFrameElement().parentElement.parentElement;  if (IsGecko18()) v9c697 =v9c697.children[0]; v9c697.style.display ="none"; }  v1e457.Resized =true; v1e457.Window.SaveLocationAndSize();  var vc9a48 =v1e457.Window.DesktopManager; if (vc9a48.WindowInteractiveMode !="Shadow") { if (v1e457.Window.EnableDropShadow &&v1e457.Window.DropShadow !=null) v1e457.Window.DropShadow.UpdatePosition(); }  ISEvent.Raise(vc9a48.ClientSideEvents.OnWindowResized,vc9a48.Id,v1e457.Window,"interactive"); } } } else { var v61523 =null;  if (wd7f075.LastMovedObject ==null) v61523 =wd7f075.m64b48(v04c59); else v61523 =wd7f075.LastMovedObject; if (v61523 &&v61523.Enabled &&v61523.Movable) { var ve6a17 =true; var v97410 =null;  if (wd7f075.LastDragObject) { v97410 =wd7f075.LastDragObject; if (v61523.DragElement.contains(v97410)&&!v97410.nonMovable &&v97410.tagName !="INPUT") { ve6a17 =true; } else { ve6a17 =false; } }  if (ve6a17) { var v06f18 =v61523.FrameElement; var vc7695 =0; var v6d680 =0; var vc3219 =v61523.DesktopManager; var v72969 =ISPosLib.getLeft(v06f18); var v66722 =ISPosLib.getTop(v06f18);  if (vc3219) { var v94925 =vc3219.GetDesktopElement();  if (vc3219.CreatedAtRuntime &&vc3219.Id =="Global") v94925 =document.body;  vc7695 =ISPosLib.getLeft(v94925); v6d680 =ISPosLib.getTop(v94925); }  if (!v06f18.parentOffsetX) v06f18.parentOffsetX =v89257 -v72969;  if (!v06f18.parentOffsetY) v06f18.parentOffsetY =vf6920 -v66722;  var v89144 =v89257 -v06f18.parentOffsetX -vc7695 +document.body.scrollLeft; var vaa098 =vf6920 -v06f18.parentOffsetY -v6d680 +document.body.scrollTop; if (vc3219.WindowInteractiveMode =="Shadow") {  wd7f075.LastMovedObject =v61523;  if (v89144 ==v72969 &&vaa098 ==v66722) return; } v61523.Moved =true; wd7f075.mc0539(v06f18,v61523,v89144,vaa098,null,null); wd7f075.LastMovedObject =v61523;  if (v61523.Window) { wd7f075.md7199(v61523.Window);  if (v61523.Window.WindowState =="Normal") v61523.Window.SaveLocationAndSize();  if (vc3219.WindowInteractiveMode !="Shadow") { if (v61523.Window.EnableDropShadow &&v61523.Window.DropShadow !=null) v61523.Window.DropShadow.UpdatePosition(); }  var vc9a48 =v61523.Window.DesktopManager; ISEvent.Raise(vc9a48.ClientSideEvents.OnWindowMoved,vc9a48.Id,v61523.Window); } }  } } } } },  m18084:function() { var v02835 =event.srcElement; var v68127 =wd7f075.m64b48(v02835,true); var v6b688 =false;  if (v68127) { if (v68127.DragElement.contains(v02835)) { v6b688 =true;  if (v68127.Window) { if (v02835.tagName =="SPAN" ||v02835.tagName =="IMG") { v02835.nonMovable =true; } } } } if (event.button !=ISEvent.LEFT ||v02835.nonMovable ||v68127 ==null)return; wd7f075.IsMouseDown =true; wd7f075.LastDragObject =v02835; if (IS.moz) { if (wd7f075.LastValidObject !=null ||wd7f075.LastDragObject !=null) { event.cancelBubble =true; event.returnValue =false; }  if (IS.MozillaMouseUpTresholdId >0) clearTimeout(IS.MozillaMouseUpTresholdId);  IS.MozillaMouseUpTreshold =false; }  if (IS.safari) { if (wd7f075.LastValidObject !=null ||v6b688) { event.cancelBubble =true; event.returnValue =false; } } },  m02823:function() { wd7f075.IsMouseDown =false;  var v6c446 =wd7f075.LastValidObject; if (v6c446) { v6c446.FrameElement.origBottom =null; v6c446.FrameElement.origRight =null; }  if (v6c446 &&v6c446.Window &&IS.moz) { if (v6c446.Window.Get("ContentMode")=="UseIFrame") { var v80385 =v6c446.Window.GetWindowIFrameElement().parentElement.parentElement;  if (IsGecko18()) v80385 =v80385.children[0]; v80385.style.display =""; }  wd32b61.m72717(v6c446.Window); }  if (wd7f075.LastMovedObject !=null) { var vf6958 =wd7f075.LastMovedObject; var vc8653 =vf6958.FrameElement;  vc8653.parentOffsetX =null; vc8653.parentOffsetY =null;  wd7f075.m0ee38(vf6958.Window,vf6958.FrameElement,"Move"); wd7f075.LastMovedObject =null; }  if (v6c446 !=null &&v6c446.Window !=null) { var vc7966 =v6c446.Window.DesktopManager; wd7f075.m0ee38(v6c446.Window,v6c446.FrameElement,"Resize"); ISEvent.Raise(vc7966.ClientSideEvents.OnWindowResized,vc7966.Id,v6c446.Window,"end"); }  wd7f075.LastDragObject =null; wd7f075.LastValidObject =null;  if (IS.moz) { wd7f075.MozillaMouseUpTreshold =true; wd7f075.MozillaMouseUpTresholdId =setTimeout(function(){wd7f075.MozillaMouseUpTreshold =false;},1000); } },  m3a151:function() { var ve5276 =wd7f075.LastValidObject; if (ve5276 !=null) { var va2953 =ve5276._CursorElement; va2953.style.cursor =""; wd7f075.LastValidObject =null; } },  GetValidResizableObject: function(v25151) { for (var vd5a32=0; vd5a32<wd7f075.Collection.length; vd5a32++) { var vcd132 =wd7f075.Collection[vd5a32]; if (vcd132.Resizable &&vcd132.Enabled) { if (v25151 ==vcd132.FrameElement) return vcd132; } }  return null; },  m64b48:function(v51971,v7f80) { var v51971 =wd7f075.ma0723(v51971,v7f80);  if (v51971) { for (var vd0551=0; vd0551<wd7f075.Collection.length; vd0551++) { var vb9615 =wd7f075.Collection[vd0551]; if (v51971 ==vb9615.FrameElement) return vb9615; }  return null; } },  ma0723:function(ve8146,v0e59) { if (ve8146.IsInteractiveObject) return ve8146;  if (v0e59 &&IS.GetAttr(ve8146,"nonMovable")!="") return null;  while (ve8146.parentElement !=null) { var ve8146 =ve8146.parentElement;  if (v0e59 &&IS.GetAttr(ve8146,"nonMovable")!="") return null;  if (ve8146.IsInteractiveObject) return ve8146; }  return null; },  md7199:function(v9131) { if (v9131 &&(v9131.CreatedAtRuntime ||IS.moz)) { var v57d65 =v9131.DesktopManager.GetIFrameWindow(v9131.Name); if (v57d65) wd32b61.m11c0(v9131.DesktopManager,v57d65); } },  mc9167:function(v7a621,v14428) { if (v14428 &&v14428.IsChildFrame &&IS.ie) { var va2a37 =v14428.FrameElement.document.parentWindow.frameElement; if (va2a37) return ISPosLib.getTop(va2a37); }  return 0; },  mfe485:function(vde276,v3627) { if (v3627 &&v3627.IsChildFrame &&IS.ie) { var v1a776 =v3627.FrameElement.document.parentWindow.frameElement; if (v1a776) return ISPosLib.getLeft(v1a776); }  return 0; }};var wd1ff36 ={ mbec53:function(v43a81) { var v8c670 =""; var v9b671 =v43a81.DesktopManager; var v47d33 =v9b671.ImagesSettings.CaptionLeftInactive; var v8ff22 =v9b671.ImagesSettings.CaptionCenterInactive; var v9fa27 =v9b671.ImagesSettings.CaptionRightInactive; if (v9b671.WindowSettings.BorderType =="ComplexImages") { v8c670 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%' >"; v8c670 +="<tr>"; v8c670 +="<td>"; v8c670 +="<img src='" +v9b671.ResolveImagePath(v47d33)+"' />"; v8c670 +="</td>"; v8c670 +="<td width='100%' noWrap style='background-repeat: repeat-x; background-image:url(" +v9b671.ResolveImagePath(v8ff22)+")'>"; v8c670 +=wd1ff36.mb5382(v43a81); v8c670 +="</td>"; v8c670 +="<td>"; v8c670 +="<img src='" +v9b671.ResolveImagePath(v9fa27)+"' />"; v8c670 +="</td>"; v8c670 +="</tr>"; v8c670 +="</table>"; } else { v8c670 +=wd1ff36.mb5382(v43a81); }  return v8c670; },  mb5382:function(vde856) { var v7261 =""; var v71c38 =vde856.DesktopManager; v7261 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%' "; v7261 +="class=" +v71c38.WindowSettings.CaptionStyle.Normal; v7261 +=">"; v7261 +="<tr>"; if (v71c38.WindowSettings.WindowOptionsPosition =="Left") v7261 +=wd1ff36.m1cb77(vde856,"Left"); if (v71c38.WindowSettings.ControlBoxPosition =="Left") { if (vde856.Get("ControlBox")=="Yes") { v7261 +="<td valign=absmiddle>"; v7261 +="<img src='" +v71c38.ResolveImagePath(vde856.Get("ControlBoxImage"))+"' align=absmiddle vspace=2 />"; v7261 +="</td>"; } } v7261 +="<td width='100%' noWrap valign=absmiddle align=" +vde856.Get("TextAlignment").toLowerCase()+">"; if (vde856.Get("ControlBox")=="Yes" &&v71c38.WindowSettings.ControlBoxPosition =="Center") { v7261 +="<img "; v7261 +="src='" +v71c38.ResolveImagePath(vde856.Get("ControlBoxImage"))+"' "; v7261 +="align='" +(IS.ie ? "absmiddle" : "")+"' "; v7261 +="/>"; v7261 +="&nbsp;"; }  if (vde856.Get("CaptionDisplayMode")=="UseTemplate") {  } else { v7261 +=vde856.Text; }  v7261 +="</td>"; if (v71c38.WindowSettings.WindowOptionsPosition =="Right") v7261 +=wd1ff36.m1cb77(vde856,"Right"); v7261 +="</tr>"; v7261 +="</table>";  return v7261; },  m1cb77:function(vc8076,v78427) { var v4dc40 ="<td noWrap valign=absmiddle "; if (IS.moz) { v4dc40 +="width=100 align=" +v78427; } v4dc40 +=">"; v4dc40 +=wd1ff36.mce23(vc8076); v4dc40 +="</td>";  return v4dc40; },  mce23:function(vd8861) { var v01111 =""; var v0c197 =vd8861.DesktopManager; var v31641 =v0c197.ImagesSettings.MinimizeInactive; var v68b97 =v0c197.ImagesSettings.MaximizeInactive; var v54914 =v0c197.ImagesSettings.RestoreInactive; var v56d7 =v0c197.ImagesSettings.CloseInactive;  if (IS.opera ||IS.safari) { if (v31641 =="") v31641 ="webdings_0.gif";  if (v68b97 =="") v68b97="webdings_1.gif";  if (v56d7 =="") v56d7 ="webdings_r.gif"; } if (v0c197.WindowSettings.WindowOptionsPosition =="Right") { if (vd8861.Get("AllowMinimize")=="Yes") { v01111 +=wd1ff36.m71e26(v0c197,v31641); v01111 +=wd1ff36.m30494(v0c197); } if (vd8861.Get("AllowMaximize")=="Yes") { v01111 +=wd1ff36.m08f44(v0c197,v68b97); v01111 +=wd1ff36.m30494(v0c197); } if (vd8861.Get("AllowClose")=="Yes") { v01111 +=wd1ff36.m40d62(v0c197,v56d7); } } else { if (vd8861.Get("AllowClose")=="Yes") { v01111 +=wd1ff36.m40d62(v0c197,v56d7); v01111 +=wd1ff36.m30494(v0c197); } if (vd8861.Get("AllowMinimize")=="Yes") { v01111 +=wd1ff36.m71e26(v0c197,v31641); v01111 +=wd1ff36.m30494(v0c197); } if (vd8861.Get("AllowMaximize")=="Yes") { v01111 +=wd1ff36.m08f44(v0c197,v68b97); } }  return v01111; },  m71e26:function(v64617,v56353) { var v86081 ="<span type='Min' "; v86081 +="title='" +v64617.TextSettings.MinimizeText +"' "; v86081 +="class='" +v64617.WindowSettings.CaptionButtonStyle.Normal +"' "; v86081 +=">"; if (v56353 =="") { v86081 +="<font face='Webdings'>"; v86081 +="<span style='position:relative; top:-2px'>"; v86081 +="0"; v86081 +="</span>"; v86081 +="</font>"; } else { v86081 +="<img src='" +v64617.ResolveImagePath(v56353)+"' align=absmiddle />"; } v86081 +="</span>";  return v86081; },  m30494:function(vadc72) { var v86172 ="<span style='width:" +vadc72.WindowSettings.CaptionButtonSpacing +"px;";  if (IS.moz) v86172 +="display:-moz-inline-box"; else if (!IS.ie) v86172 +="display:inline-block";  v86172 +="'></span>";  return v86172; },  m08f44:function(v70d56,va8572) { var v9ee72 ="<span type='Max' "; v9ee72 +="title='" +v70d56.TextSettings.MaximizeText +"' "; v9ee72 +="class='" +v70d56.WindowSettings.CaptionButtonStyle.Normal +"' "; v9ee72 +=">"; if (va8572 =="") { v9ee72 +="<font face='Webdings'>"; v9ee72 +="<span style='position:relative; top:-2px'>"; v9ee72 +="1"; v9ee72 +="</span>"; v9ee72 +="</font>"; } else { v9ee72 +="<img src='" +v70d56.ResolveImagePath(va8572)+"' align=absmiddle />"; } v9ee72 +="</span>";  return v9ee72; },  m40d62:function(v48792,v1d742) { var v2b492 ="<span type='Close' "; v2b492 +="title='" +v48792.TextSettings.CloseText +"' "; v2b492 +="class='" +v48792.WindowSettings.CaptionButtonStyle.Normal +"' "; v2b492 +=">"; if (v1d742 =="") { v2b492 +="<font face='Webdings'>"; v2b492 +="<span style='position:relative; top:-2px'>"; v2b492 +="r"; v2b492 +="</span>"; v2b492 +="</font>"; } else { v2b492 +="<img src='" +v48792.ResolveImagePath(v1d742)+"' align=absmiddle />"; } v2b492 +="</span>";  return v2b492; },  m5bb6:function(v83147) { var vbe211 =""; var vc3c51 =v83147.DesktopManager; vbe211 +="<div class=" +vc3c51.WindowSettings.ContainerStyle; vbe211 +=" style='position:relative;";   if (v83147.Get("ContentMode")=="UseIFrame") vbe211 +="overflow:hidden;";  if (vc3c51.WindowSettings.IgnoreIFramePadding &&v83147.Get("ContentMode")=="UseIFrame") vbe211 +="padding:0px;"; vbe211 +="'"; vbe211 +=">";  vbe211 +="<div style='width:100%; height:100%;"; vbe211 +="'>";  if (v83147.Get("ContentMode")=="UseIFrame" ||v83147.ContentURL !="") { vbe211 +="<iframe " +(vc3c51.WindowSettings.IFrameAllowTransparency ? "allowtransparency='true'" : "")+" frameborder=0 "; vbe211 +=" style='width:100%; height:100%; position:relative; "; if (vc3c51.WindowSettings.IFrameShowLoader &&!IS.moz) vbe211 +="display:none;"; vbe211 +="'"; vbe211 +=" name='" +v83147.Name +"'"; vbe211 +=">"; vbe211 +="</iframe>"; }  vbe211 +="</div>"; vbe211 +="</div>";  return vbe211; }};function IsGecko18(){ return (IS.moz &&navigator.userAgent.indexOf("rv:1.8")>-1);}function ISDropShadow(){ this.Margin =35; this.Owner =null; this.ImageFolder ="images/"; this.Element =null; this.ParentElement =null; this.Container =null;  this.Create =function() { var v00545 =document.createElement("div"); var vc0522 ="<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>";  v00545.style.display ="none"; v00545.style.direction ="ltr"; v00545.style.zIndex =1; v00545.innerHTML =vc0522; this.Element =v00545;  if (this.Container ==null) document.body.insertAdjacentElement("afterBegin",v00545); else this.Container.appendChild(v00545); };  this.AttachTo =function(v74b70) { if (this.Element ==null) this.Create();  this.ParentElement =v74b70; 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 v00545 =this.Element; var v74b70 =this.ParentElement;  var v29098 =ISPosLib.getLeft(v74b70)-this.GetContainerLeft(); var v26450 =ISPosLib.getTop(v74b70)-this.GetContainerTop(); var v6ef64 =ISPosLib.getWidth(v74b70); var v8f477 =ISPosLib.getHeight(v74b70);  with (v00545.style) { position ="absolute"; left =v29098 -this.Margin; top =v26450 -this.Margin; width =v6ef64 +(this.Margin *2); height =v8f477 +(this.Margin *2); } };  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); };}