
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 2/25/2009 5:06:17 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 wd3e491 ={ Collection: null,LastValidObject: null, LastCursorPart: null, IsMouseDown: false, Event: null, LastDragObject: null, LastMovedObject: null, MozillaMouseUpTreshold: false, MozillaMouseUpTresholdId: 0,  mb810:function(v81632) { var v20013 =document.body; Listener.Add(v20013,"onmousemove",wd3e491.m80673); Listener.Add(v20013,"onmousedown",wd3e491.md4345); Listener.Add(v20013,"onmouseup",wd3e491.m74413);  for (var vd7a62=0; vd7a62<v81632.length; vd7a62++) { var v85d15 =v81632[vd7a62]; var vf2752 =v85d15.FrameElement;  vf2752.IsInteractiveObject =true; v85d15.Registered =true; }  wd3e491.Collection =v81632; },  maa16:function(va3752,v70a81,v4b149) { if (!v4b149) v4b149 ="afterBegin";  var v0ea68 =document.createElement("DIV");  v0ea68.style.display ="none"; v0ea68.hideFocus =true; v0ea68.innerHTML ="<img width=100% height=100% src='" +va3752.ResolveImagePath("blank.gif")+"' />"; v0ea68.onselectstart =function(){return false;}; Listener.Add(v0ea68,"onmousemove",wd3e491.m2eb54); v70a81.insertAdjacentElement(v4b149,v0ea68); return v0ea68; },  m2eb54:function() {  },  mdba59:function(v77043) { if (v77043.InteractiveShadow ==null) v77043.InteractiveShadow =wd3e491.maa16(v77043,v77043.FrameObj,"beforeEnd");  var ve5a71 =v77043.InteractiveShadow;  if (ve5a71.style.display =="none") { var vc4990 =v77043.GetDesktopSize();  with (ve5a71.style) { position ="absolute"; width =v77043.FrameObj.clientWidth; height =v77043.FrameObj.clientHeight; left =0; top =0; backgroundColor ="gray"; zIndex =252; }  if (v77043.ShadowModeAnimation) { var v9c816 =new ISAnimatedObject(); v9c816.Element =ve5a71; v9c816.Speed ="Fast"; v9c816.StepInterval =10; v9c816.Type ="FadeIn"; v9c816.MaxFadeInOpacity =40; v9c816.Play(); } else { ve5a71.style.display ="";  if (!v77043.ShadowModeTransparency) ve5a71.style.backgroundColor ="transparent"; else { ve5a71.style.opacity ="0.5"; ve5a71.style.filter ="Alpha(Opacity=50)"; } } } },  m3d718:function(v97e27) { if (v97e27.ShadowModeAnimation) { var vde427 =new ISAnimatedObject(); vde427.Element =v97e27.InteractiveShadow; vde427.Speed ="Fast"; vde427.StepInterval =10; vde427.MaxFadeInOpacity =40; vde427.Type ="FadeOut"; vde427.OnCompleted =wd3e491.mc3185; vde427.Play(); } else v97e27.InteractiveShadow.style.display ="none"; },  mc3185:function() { this.Element.style.display ="none"; },  m87a10:function(v62727,v7f569,v6981,v90e40,v3cc62,ve382) { var v85927 =true;  if (v7f569 &&v7f569.Window &&v7f569.Window.DesktopManager.WindowInteractiveMode =="Shadow") v85927 =false;  if (v85927) { if (v6981) v62727.style.left =v6981;  if (v90e40) v62727.style.top =v90e40;  if (v3cc62) v62727.style.width =v3cc62;  if (ve382) v62727.style.height =ve382; } else { wd3e491.mdba59(v7f569.Window.DesktopManager); wd3e491.m27c25(v7f569.Window,v6981,v90e40,v3cc62,ve382); } },  m27c25:function(vbe857,v8c337,v9d539,v20a8,v85d5) { var v96f2 =wd3e491.Shadow; var ve9c58 =vbe857.DesktopManager; var v29653 =wd3e491.ShadowInfo;  if (v96f2 ==null) { v96f2 =document.createElement("DIV"); v96f2.style.cssText ="position: absolute; border: white 1px solid; background-color: gray;" + "opacity: 0.5; filter: Alpha(Opacity=50); ";  ve9c58.FrameObj.appendChild(v96f2); wd3e491.Shadow =v96f2; }  if (v29653 ==null) { v29653 =document.createElement("DIV"); v29653.style.cssText ="position: absolute; z-index: 254; color: white; font-family: Segoe UI, Tahoma; font-size: 9pt"; v29653.innerHTML ="<span style='font-weight:bold'></span><br/>X: <span></span>, Y: <span></span><br/>Width: <span></span>, Height:<span></span>";  ve9c58.FrameObj.appendChild(v29653); wd3e491.ShadowInfo =v29653; }  if (v96f2.winName !=vbe857.Name) {  v8c337 =vbe857.Location.X; v9d539 =vbe857.Location.Y; v20a8 =vbe857.Size.Width; v85d5 =vbe857.Size.Height; v96f2.winName =vbe857.Name; }  if (v85d5 !=null &&v85d5 <50) return;  var v83c5 =ve9c58.GetDesktopElement();  if (v8c337) v8c337 +=ISPosLib.getLeft(v83c5);  if (v9d539) v9d539 +=ISPosLib.getTop(v83c5);  with (v96f2.style) { if (v8c337) left =v8c337;  if (v9d539) top =v9d539;  if (v20a8) width =v20a8;  if (v85d5) height =v85d5;  zIndex =253; display =""; v29653.children[0].innerText =vbe857.Text; v29653.children[2].innerText =left; v29653.children[3].innerText =top; v29653.children[5].innerText =width; v29653.children[6].innerText =height; } with (v29653.style) { left =((v96f2.offsetWidth -v29653.offsetWidth)/2)+v96f2.style.posLeft; top =((v96f2.offsetHeight -v29653.offsetHeight)/2)+v96f2.style.posTop; display =""; } },  m71639:function(v4ca59,vdd944,v61413) { if (v4ca59 !=null &&v4ca59.DesktopManager.WindowInteractiveMode =="Shadow" &&wd3e491.Shadow !=null) { var vc2032 =wd3e491.Shadow; var vbb526 =v4ca59.DesktopManager; var vf2191 =wd3e491.ShadowInfo; var v9fb73 =wd3e491.LastValidObject; var va9c27 =wd3e491.LastMovedObject; if (v61413 =="Move") { if (va9c27 ==null) return;  if (va9c27 !=null &&!va9c27.Moved) return;  va9c27.Moved =false; }  if (v61413 =="Resize") { if (v9fb73 ==null) return;  if (v9fb73 !=null &&!v9fb73.Resized) return;  v9fb73.Resized =false; }  vc2032.winName =null; vc2032.style.display ="none"; vf2191.style.display ="none"; var v40542 =vbb526.GetDesktopElement();  with (vdd944.style) { left =parseFloat(vc2032.style.left)-ISPosLib.getLeft(v40542); top =parseFloat(vc2032.style.top)-ISPosLib.getTop(v40542); width =vc2032.style.width; height =vc2032.style.height; }  if (v4ca59.EnableDropShadow &&v4ca59.DropShadow !=null) v4ca59.DropShadow.UpdatePosition();  v4ca59.SaveLocationAndSize(); wd3e491.m3d718(vbb526); } },  m80673:function() { var v16579 =event; var v63753 =false; if (v16579)wd3e491.Event =null; else v16579 =wd3e491.Event; var v4c080 =v16579.srcElement; var vf6c21 =v16579.clientX; var v2bb93 =v16579.clientY; if (!event) { v4c080 =v16579.FrameElement; vf6c21 +=ISPosLib.getLeft(v4c080); v2bb93 +=ISPosLib.getTop(v4c080);  if (v16579.IsChildFrame) { v2bb93 +=wd3e491.me0777(null,v16579); vf6c21 +=wd3e491.mccf55(null,v16579); } v63753 =true; } else { if (IS.moz &&event.view.name !="") { var va7455 =v16579.FrameElement;  if (IS.moz &&IsGecko18()&&va7455 !=null) { v4c080 =va7455; vf6c21 +=ISPosLib.getLeft(v4c080); v2bb93 +=ISPosLib.getTop(v4c080); } } } if (v4c080) { if (!wd3e491.IsMouseDown) { if (v63753)return; var v10191 =wd3e491.mc4075(v4c080); if (v10191) { if (v10191 &&v10191.Enabled) { if (v10191.Resizable) { var v69216 =ISPosLib.getTop(v10191.FrameElement); var v40b3 =ISPosLib.getLeft(v10191.FrameElement); var vc7326 =v69216 +ISPosLib.getHeight(v10191.FrameElement); var va7082 =v40b3 +ISPosLib.getWidth(v10191.FrameElement); var vba797 =wd3e491.LastValidObject;  if (vba797 !=null &&vba797 !=v10191) { wd3e491.m47864(); wd3e491.LastValidObject =null; }  if (v2bb93 >=v69216 &&v2bb93 <v69216 +7) { if (vf6c21 >=v40b3 &&vf6c21 <v40b3 +20) { if (vba797 &&wd3e491.LastCursorPart =="UpperLeft") return;  v4c080.style.cursor ="nw-resize"; wd3e491.LastCursorPart ="UpperLeft"; } else if (vf6c21 <=va7082+2 &&vf6c21 >va7082 -20) { if (vba797 &&wd3e491.LastCursorPart =="UpperRight") return; v4c080.style.cursor ="ne-resize"; wd3e491.LastCursorPart ="UpperRight"; } else { if (vba797 &&wd3e491.LastCursorPart =="Upper") return; v4c080.style.cursor ="n-resize"; wd3e491.LastCursorPart ="Upper"; } v10191._CursorElement =v4c080; wd3e491.LastValidObject =v10191;  } else if (vf6c21 >=v40b3 &&vf6c21 <v40b3 +5 &&v2bb93 <vc7326 -4) { var vba797 =wd3e491.LastValidObject; if (vba797 &&wd3e491.LastCursorPart =="Left") return;  v4c080.style.cursor ="w-resize"; v10191._CursorElement =v4c080;  wd3e491.LastValidObject =v10191; wd3e491.LastCursorPart ="Left"; } else if (vf6c21 <=va7082+2 &&vf6c21 >va7082 -4 &&v2bb93 <vc7326 -4) { var vba797 =wd3e491.LastValidObject;  if (v4c080.id =="" &&v10191 &&v10191.Window &&v10191.Window.DesktopManager.WindowSettings.BorderType =="ComplexImages") v4c080 =v4c080.parentElement; if (v4c080.currentStyle.overflow =="visible" ||IS.moz) { if (vba797 &&wd3e491.LastCursorPart =="Right") return;  v4c080.style.cursor ="w-resize"; v10191._CursorElement =v4c080;  wd3e491.LastValidObject =v10191; wd3e491.LastCursorPart ="Right"; } } else if (v2bb93 <=vc7326+1 &&v2bb93 >vc7326 -4) {  if (vf6c21 >=v40b3 &&vf6c21 <v40b3 +10) { if (vba797 &&wd3e491.LastCursorPart =="BottomLeft") return;  v4c080.style.cursor ="ne-resize"; wd3e491.LastCursorPart ="BottomLeft"; } else if (vf6c21 <=va7082+2 &&vf6c21 >va7082 -10) { if (vba797 &&wd3e491.LastCursorPart =="BottomRight") return; v4c080.style.cursor ="nw-resize"; wd3e491.LastCursorPart ="BottomRight"; } else { var vba797 =wd3e491.LastValidObject; if (vba797 &&wd3e491.LastCursorPart =="Bottom") return;  v4c080.style.cursor ="n-resize"; wd3e491.LastCursorPart ="Bottom"; } v10191._CursorElement =v4c080; wd3e491.LastValidObject =v10191; } else { wd3e491.m47864(); } } else { wd3e491.m47864(); wd3e491.LastValidObject =null; } } else { wd3e491.m47864(); wd3e491.LastValidObject =null; } } else { wd3e491.m47864(); wd3e491.LastValidObject =null; } } else { var vba797 =wd3e491.LastValidObject; var v8cc45 =false; if (v16579 !=null &&!ISEvent.IsLeftButton(v16579)) { wd3e491.m74413(); return; } if (vba797) { var v64684 =wd3e491.LastCursorPart; var v70b57 =vba797.FrameElement; var vec671 =0; var v22c64 =0; if (vba797.Window) { var vab161 =vba797.Window.DesktopManager.GetDesktopElement(); vec671 =ISPosLib.getLeft(vab161); v22c64 =ISPosLib.getTop(vab161);  wd3e491.m50c63(vba797.Window); }  if (v64684 =="Upper") { if (!v70b57.origBottom) v70b57.origBottom =ISPosLib.getTop(v70b57)+ISPosLib.getHeight(v70b57)-v22c64;  var v51a41 =v2bb93-4-v22c64; var vcb250 =v70b57.origBottom -v51a41;  if (vba797.Window) { if (!vba797.Window.IsTargetSizeValid(ISPosLib.getWidth(v70b57),vcb250)) { var vccb13 =vba797.Window.GetPreferredSize(ISPosLib.getWidth(v70b57),vcb250); vcb250 =vccb13.Height; v51a41 =v70b57.style.posTop; } }  if (vcb250 <30) { vcb250 =30; v51a41 =v70b57.style.posTop; }  wd3e491.m87a10(v70b57,vba797,null,v51a41,null,vcb250); v8cc45 =true; } else if (v64684 =="UpperLeft" ||v64684 =="UpperRight") { if (!v70b57.origBottom) v70b57.origBottom =ISPosLib.getTop(v70b57)+ISPosLib.getHeight(v70b57)-v22c64;  if (!v70b57.origRight) v70b57.origRight =ISPosLib.getLeft(v70b57)+ISPosLib.getWidth(v70b57)-vec671; var v51a41 =v2bb93-4-v22c64; var vcb250 =v70b57.origBottom -v51a41; var v87343 =vf6c21-4-vec671; var vda56 =v70b57.origRight -v87343;  if (v64684 =="UpperRight") vda56 =vf6c21 -ISPosLib.getLeft(v70b57);  if (vba797.Window) { if (!vba797.Window.IsTargetSizeValid(vda56,vcb250)) { var vccb13 =vba797.Window.GetPreferredSize(vda56,vcb250); vcb250 =vccb13.Height; vda56 =vccb13.Width; } }  if (vcb250 <30) { vcb250 =30; v51a41 =v70b57.style.posTop; }  if (vda56 <80) { vda56 =80; v87343 =v70b57.style.posLeft; }  if (v64684 =="UpperLeft") { } else { v87343 =null; }  wd3e491.m87a10(v70b57,vba797,v87343,v51a41,vda56,vcb250); v8cc45 =true; } else if (v64684 =="Left") { if (!v70b57.origRight) v70b57.origRight =ISPosLib.getLeft(v70b57)+ISPosLib.getWidth(v70b57)-vec671;  var v87343 =vf6c21-4-vec671; var vda56 =v70b57.origRight -v87343;  if (vba797.Window) { if (!vba797.Window.IsTargetSizeValid(vda56,ISPosLib.getHeight(v70b57))) { var vccb13 =vba797.Window.GetPreferredSize(vda56,ISPosLib.getHeight(v70b57)); vda56 =vccb13.Width; v87343 =v70b57.style.posLeft; } }  if (vda56 <80) { vda56 =80; v87343 =v70b57.style.posLeft; } wd3e491.m87a10(v70b57,vba797,v87343,null,vda56,null); v8cc45 =true; } else if (v64684 =="Right") { var vda56 =vf6c21 -ISPosLib.getLeft(v70b57); if (vba797.Window) { if (!vba797.Window.IsTargetSizeValid(vda56,ISPosLib.getHeight(v70b57))) { var vccb13 =vba797.Window.GetPreferredSize(vda56,ISPosLib.getHeight(v70b57)); vda56 =vccb13.Width; } }  if (vda56 <80) vda56 =80; wd3e491.m87a10(v70b57,vba797,null,null,vda56,null); v8cc45 =true; } else if (v64684 =="Bottom") { var vcb250 =v2bb93 -ISPosLib.getTop(v70b57); if (vba797.Window) { if (!vba797.Window.IsTargetSizeValid(ISPosLib.getWidth(v70b57),vcb250)) { var vccb13 =vba797.Window.GetPreferredSize(ISPosLib.getWidth(v70b57),vcb250); vcb250 =vccb13.Height; } }  if (vcb250 <30) vcb250 =30; wd3e491.m87a10(v70b57,vba797,null,null,null,vcb250); v8cc45 =true; } else if (v64684 =="BottomLeft" ||v64684 =="BottomRight") { if (!v70b57.origRight) v70b57.origRight =ISPosLib.getLeft(v70b57)+ISPosLib.getWidth(v70b57)-vec671; var vcb250 =v2bb93 -ISPosLib.getTop(v70b57); var v87343 =vf6c21-4-vec671; var vda56 =v70b57.origRight -v87343;  if (v64684 =="BottomRight") vda56 =vf6c21 -ISPosLib.getLeft(v70b57);  if (vba797.Window) { if (!vba797.Window.IsTargetSizeValid(vda56,vcb250)) { var vccb13 =vba797.Window.GetPreferredSize(vda56,vcb250); vcb250 =vccb13.Height; vda56 =vccb13.Width; } }  if (vcb250 <30) vcb250 =30;  if (vda56 <80) { vda56 =80; v87343 =v70b57.style.posLeft; } if (v64684 !="BottomLeft") v87343 =null;  wd3e491.m87a10(v70b57,vba797,v87343,null,vda56,vcb250); v8cc45 =true; }  if (v8cc45) { if (vba797.Window) { if (IS.moz &&vba797.Window.Get("ContentMode")=="UseIFrame") { var v6b967 =vba797.Window.GetWindowIFrameElement().parentElement.parentElement;  if (IsGecko18()) v6b967 =v6b967.children[0]; v6b967.style.display ="none"; }  vba797.Resized =true; vba797.Window.SaveLocationAndSize();  var vd986 =vba797.Window.DesktopManager; if (vd986.WindowInteractiveMode !="Shadow") { if (vba797.Window.EnableDropShadow &&vba797.Window.DropShadow !=null) vba797.Window.DropShadow.UpdatePosition(); }  ISEvent.Raise(vd986.ClientSideEvents.OnWindowResized,vd986.Id,vba797.Window,"interactive"); } } } else { var v10191 =null;  if (wd3e491.LastMovedObject ==null) v10191 =wd3e491.mc4075(v4c080); else v10191 =wd3e491.LastMovedObject; if (v10191 &&v10191.Enabled &&v10191.Movable) { var vac766 =true; var v41a30 =null;  if (wd3e491.LastDragObject) { v41a30 =wd3e491.LastDragObject; if (v10191.DragElement.contains(v41a30)&&!v41a30.nonMovable &&v41a30.tagName !="INPUT") { vac766 =true; } else { vac766 =false; } }  if (vac766) { var v70b57 =v10191.FrameElement; var vec671 =0; var v22c64 =0; var v01654 =v10191.DesktopManager; var v96919 =ISPosLib.getLeft(v70b57); var vc2986 =ISPosLib.getTop(v70b57);  if (v01654) { var vab161 =v01654.GetDesktopElement();  if (v01654.CreatedAtRuntime &&v01654.Id =="Global") vab161 =document.body;  vec671 =ISPosLib.getLeft(vab161); v22c64 =ISPosLib.getTop(vab161); }  if (!v70b57.parentOffsetX) v70b57.parentOffsetX =vf6c21 -v96919;  if (!v70b57.parentOffsetY) v70b57.parentOffsetY =v2bb93 -vc2986;  var v87343 =vf6c21 -v70b57.parentOffsetX -vec671 +document.body.scrollLeft; var v51a41 =v2bb93 -v70b57.parentOffsetY -v22c64 +document.body.scrollTop; if (v01654.WindowInteractiveMode =="Shadow") {  wd3e491.LastMovedObject =v10191;  if (v87343 ==v96919 &&v51a41 ==vc2986) return; } v10191.Moved =true; wd3e491.m87a10(v70b57,v10191,v87343,v51a41,null,null); wd3e491.LastMovedObject =v10191;  if (v10191.Window) { wd3e491.m50c63(v10191.Window);  if (v10191.Window.WindowState =="Normal") v10191.Window.SaveLocationAndSize();  if (v01654.WindowInteractiveMode !="Shadow") { if (v10191.Window.EnableDropShadow &&v10191.Window.DropShadow !=null) v10191.Window.DropShadow.UpdatePosition(); }  var vd986 =v10191.Window.DesktopManager; ISEvent.Raise(vd986.ClientSideEvents.OnWindowMoved,vd986.Id,v10191.Window); } }  } } } } },  md4345:function() { var v45b41 =event.srcElement; var vdff50 =wd3e491.mc4075(v45b41,true); var v53b37 =false;  if (vdff50) { if (vdff50.DragElement.contains(v45b41)) { v53b37 =true;  if (vdff50.Window) { if (v45b41.tagName =="SPAN" ||v45b41.tagName =="IMG") { v45b41.nonMovable =true; } } } } if (event.button !=ISEvent.LEFT ||v45b41.nonMovable ||vdff50 ==null)return; wd3e491.IsMouseDown =true; wd3e491.LastDragObject =v45b41; if (IS.moz) { if (wd3e491.LastValidObject !=null ||wd3e491.LastDragObject !=null) { var v89e68 =false;  if (v45b41.tagName =="TEXTAREA" ||v45b41.tagName =="SELECT" ||v45b41.tagName =="BUTTON") v89e68 =true; if (v45b41.tagName =="INPUT" &&v45b41.type =="checkbox" &&v45b41.className !="DefChkBox") v89e68 =true;  if (v45b41.tagName =="INPUT" &&v45b41.type =="text") v89e68 =true;  if (!v89e68) { event.cancelBubble =true; event.returnValue =false; } }  if (IS.MozillaMouseUpTresholdId >0) clearTimeout(IS.MozillaMouseUpTresholdId);  IS.MozillaMouseUpTreshold =false; }  if (IS.safari) { if (wd3e491.LastValidObject !=null ||v53b37) { event.cancelBubble =true; event.returnValue =false; } } },  m74413:function() { wd3e491.IsMouseDown =false;  var vb9444 =wd3e491.LastValidObject; if (vb9444) { vb9444.FrameElement.origBottom =null; vb9444.FrameElement.origRight =null; }  if (vb9444 &&vb9444.Window &&IS.moz) { if (vb9444.Window.Get("ContentMode")=="UseIFrame") { var vb6a0 =vb9444.Window.GetWindowIFrameElement().parentElement.parentElement;  if (IsGecko18()) vb6a0 =vb6a0.children[0]; vb6a0.style.display =""; }  wd83010.m33011(vb9444.Window); }  if (wd3e491.LastMovedObject !=null) { var v32952 =wd3e491.LastMovedObject; var v80d50 =v32952.FrameElement;  v80d50.parentOffsetX =null; v80d50.parentOffsetY =null;  wd3e491.m71639(v32952.Window,v32952.FrameElement,"Move"); wd3e491.LastMovedObject =null; }  if (vb9444 !=null &&vb9444.Window !=null) { var v93d32 =vb9444.Window.DesktopManager; wd3e491.m71639(vb9444.Window,vb9444.FrameElement,"Resize"); ISEvent.Raise(v93d32.ClientSideEvents.OnWindowResized,v93d32.Id,vb9444.Window,"end"); }  wd3e491.LastDragObject =null; wd3e491.LastValidObject =null;  if (IS.moz) { wd3e491.MozillaMouseUpTreshold =true; wd3e491.MozillaMouseUpTresholdId =setTimeout(function(){wd3e491.MozillaMouseUpTreshold =false;},1000); } },  m47864:function() { var va3b71 =wd3e491.LastValidObject; if (va3b71 !=null) { var v6f818 =va3b71._CursorElement; v6f818.style.cursor =""; wd3e491.LastValidObject =null; } },  GetValidResizableObject: function(va1575) { for (var v50355=0; v50355<wd3e491.Collection.length; v50355++) { var v43a58 =wd3e491.Collection[v50355]; if (v43a58.Resizable &&v43a58.Enabled) { if (va1575 ==v43a58.FrameElement) return v43a58; } }  return null; },  mc4075:function(v05310,v65447) { var v05310 =wd3e491.mf3699(v05310,v65447);  if (v05310) { for (var ved937=0; ved937<wd3e491.Collection.length; ved937++) { var v4ff8 =wd3e491.Collection[ved937]; if (v05310 ==v4ff8.FrameElement) return v4ff8; }  return null; } },  mf3699:function(v3fc66,v17116) { if (v3fc66.IsInteractiveObject) return v3fc66;  if (v17116 &&IS.GetAttr(v3fc66,"nonMovable")!="") return null;  while (v3fc66.parentElement !=null) { var v3fc66 =v3fc66.parentElement;  if (v17116 &&IS.GetAttr(v3fc66,"nonMovable")!="") return null;  if (v3fc66.IsInteractiveObject) return v3fc66; }  return null; },  m50c63:function(v67385) { if (v67385 &&(v67385.CreatedAtRuntime ||IS.moz)) { var vb0466 =v67385.DesktopManager.GetIFrameWindow(v67385.Name); if (vb0466) wd83010.m03c71(v67385.DesktopManager,vb0466); } },  me0777:function(v43b21,vf7895) { if (vf7895 &&vf7895.IsChildFrame &&IS.ie) { var vda921 =vf7895.FrameElement.document.parentWindow.frameElement; if (vda921) return ISPosLib.getTop(vda921); }  return 0; },  mccf55:function(vbe85,v1c435) { if (v1c435 &&v1c435.IsChildFrame &&IS.ie) { var v8195 =v1c435.FrameElement.document.parentWindow.frameElement; if (v8195) return ISPosLib.getLeft(v8195); }  return 0; }};var wd41714 ={ m10d99:function(v16417) { var v49462 =""; var vd840 =v16417.DesktopManager; var v6d60 =vd840.ImagesSettings.CaptionLeftInactive; var v62055 =vd840.ImagesSettings.CaptionCenterInactive; var va3679 =vd840.ImagesSettings.CaptionRightInactive; if (vd840.WindowSettings.BorderType =="ComplexImages") { v49462 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%' >"; v49462 +="<tr>"; v49462 +="<td>"; v49462 +="<img src='" +vd840.ResolveImagePath(v6d60)+"' />"; v49462 +="</td>"; v49462 +="<td width='100%' noWrap style='background-repeat: repeat-x; background-image:url(" +vd840.ResolveImagePath(v62055)+")'>"; v49462 +=wd41714.m73354(v16417); v49462 +="</td>"; v49462 +="<td>"; v49462 +="<img src='" +vd840.ResolveImagePath(va3679)+"' />"; v49462 +="</td>"; v49462 +="</tr>"; v49462 +="</table>"; } else { v49462 +=wd41714.m73354(v16417); }  return v49462; },  m73354:function(vd3b37) { var ve0e1 =""; var vb8b19 =vd3b37.DesktopManager; ve0e1 +="<table border=0 cellspacing=0 cellpadding=0 width='100%' height='100%' "; ve0e1 +="class=" +vb8b19.WindowSettings.CaptionStyle.Normal; ve0e1 +=">"; ve0e1 +="<tr>"; if (vb8b19.WindowSettings.WindowOptionsPosition =="Left") ve0e1 +=wd41714.m71124(vd3b37,"Left"); if (vb8b19.WindowSettings.ControlBoxPosition =="Left") { if (vd3b37.Get("ControlBox")=="Yes") { ve0e1 +="<td valign=absmiddle>"; ve0e1 +="<img src='" +vb8b19.ResolveImagePath(vd3b37.Get("ControlBoxImage"))+"' align=absmiddle vspace=2 />"; ve0e1 +="</td>"; } } ve0e1 +="<td width='100%' noWrap valign=absmiddle align=" +vd3b37.Get("TextAlignment").toLowerCase()+">"; if (vd3b37.Get("ControlBox")=="Yes" &&vb8b19.WindowSettings.ControlBoxPosition =="Center") { ve0e1 +="<img "; ve0e1 +="src='" +vb8b19.ResolveImagePath(vd3b37.Get("ControlBoxImage"))+"' "; ve0e1 +="align='" +(IS.ie ? "absmiddle" : "")+"' "; ve0e1 +="/>"; ve0e1 +="&nbsp;"; }  if (vd3b37.Get("CaptionDisplayMode")=="UseTemplate") {  } else { ve0e1 +=vd3b37.Text; }  ve0e1 +="</td>"; if (vb8b19.WindowSettings.WindowOptionsPosition =="Right") ve0e1 +=wd41714.m71124(vd3b37,"Right"); ve0e1 +="</tr>"; ve0e1 +="</table>";  return ve0e1; },  m71124:function(vb3256,v67898) { var va4073 ="<td noWrap valign=absmiddle "; if (IS.moz) { va4073 +="width=100 align=" +v67898; } va4073 +=">"; va4073 +=wd41714.mbc678(vb3256); va4073 +="</td>";  return va4073; },  mbc678:function(vaa948) { var v49956 =""; var vc8e98 =vaa948.DesktopManager; var v30119 =vc8e98.ImagesSettings.MinimizeInactive; var vee682 =vc8e98.ImagesSettings.MaximizeInactive; var v9a90 =vc8e98.ImagesSettings.RestoreInactive; var v8bc17 =vc8e98.ImagesSettings.CloseInactive;  if (IS.opera ||IS.safari ||IsGecko30()) { if (v30119 =="") v30119 ="webdings_0.gif";  if (vee682 =="") vee682="webdings_1.gif";  if (v8bc17 =="") v8bc17 ="webdings_r.gif"; } if (vc8e98.WindowSettings.WindowOptionsPosition =="Right") { if (vaa948.Get("AllowMinimize")=="Yes") { v49956 +=wd41714.m31977(vc8e98,v30119); v49956 +=wd41714.mec264(vc8e98); } if (vaa948.Get("AllowMaximize")=="Yes") { v49956 +=wd41714.m6809(vc8e98,vee682); v49956 +=wd41714.mec264(vc8e98); } if (vaa948.Get("AllowClose")=="Yes") { v49956 +=wd41714.m3c450(vc8e98,v8bc17); } } else { if (vaa948.Get("AllowClose")=="Yes") { v49956 +=wd41714.m3c450(vc8e98,v8bc17); v49956 +=wd41714.mec264(vc8e98); } if (vaa948.Get("AllowMinimize")=="Yes") { v49956 +=wd41714.m31977(vc8e98,v30119); v49956 +=wd41714.mec264(vc8e98); } if (vaa948.Get("AllowMaximize")=="Yes") { v49956 +=wd41714.m6809(vc8e98,vee682); } }  return v49956; },  m31977:function(v49367,ve8f56) { var v4fd31 ="<span type='Min' "; v4fd31 +="title='" +v49367.TextSettings.MinimizeText +"' "; v4fd31 +="class='" +v49367.WindowSettings.CaptionButtonStyle.Normal +"' "; v4fd31 +=">"; if (ve8f56 =="") { v4fd31 +="<font face='Webdings'>"; v4fd31 +="<span style='position:relative; top:-2px'>"; v4fd31 +="0"; v4fd31 +="</span>"; v4fd31 +="</font>"; } else { v4fd31 +="<img src='" +v49367.ResolveImagePath(ve8f56)+"' align=absmiddle />"; } v4fd31 +="</span>";  return v4fd31; },  mec264:function(v6f787) { var v30187 ="<span style='width:" +v6f787.WindowSettings.CaptionButtonSpacing +"px;";  if (IS.moz) v30187 +="display:-moz-inline-box"; else if (!IS.ie) v30187 +="display:inline-block";  v30187 +="'></span>";  return v30187; },  m6809:function(vd7187,v74f66) { var v4fe87 ="<span type='Max' "; v4fe87 +="title='" +vd7187.TextSettings.MaximizeText +"' "; v4fe87 +="class='" +vd7187.WindowSettings.CaptionButtonStyle.Normal +"' "; v4fe87 +=">"; if (v74f66 =="") { v4fe87 +="<font face='Webdings'>"; v4fe87 +="<span style='position:relative; top:-2px'>"; v4fe87 +="1"; v4fe87 +="</span>"; v4fe87 +="</font>"; } else { v4fe87 +="<img src='" +vd7187.ResolveImagePath(v74f66)+"' align=absmiddle />"; } v4fe87 +="</span>";  return v4fe87; },  m3c450:function(v35a23,v5cb35) { var v2d523 ="<span type='Close' "; v2d523 +="title='" +v35a23.TextSettings.CloseText +"' "; v2d523 +="class='" +v35a23.WindowSettings.CaptionButtonStyle.Normal +"' "; v2d523 +=">"; if (v5cb35 =="") { v2d523 +="<font face='Webdings'>"; v2d523 +="<span style='position:relative; top:-2px'>"; v2d523 +="r"; v2d523 +="</span>"; v2d523 +="</font>"; } else { v2d523 +="<img src='" +v35a23.ResolveImagePath(v5cb35)+"' align=absmiddle />"; } v2d523 +="</span>";  return v2d523; },  m29047:function(vbbd58) { var v6b358 =""; var vee04 =vbbd58.DesktopManager; v6b358 +="<div class=" +vee04.WindowSettings.ContainerStyle; v6b358 +=" style='position:relative;";   if (vbbd58.Get("ContentMode")=="UseIFrame") v6b358 +="overflow:hidden;";  if (vee04.WindowSettings.IgnoreIFramePadding &&vbbd58.Get("ContentMode")=="UseIFrame") v6b358 +="padding:0px;"; v6b358 +="'"; v6b358 +=">";  v6b358 +="<div style='width:100%; height:100%;"; v6b358 +="'>";  if (vbbd58.Get("ContentMode")=="UseIFrame" ||vbbd58.ContentURL !="") { v6b358 +="<iframe " +(vee04.WindowSettings.IFrameAllowTransparency ? "allowtransparency='true'" : "")+" frameborder=0 "; v6b358 +=" style='width:100%; height:100%; position:relative; "; if (vee04.WindowSettings.IFrameShowLoader &&!IS.moz) v6b358 +="display:none;"; v6b358 +="'"; v6b358 +=" name='" +vbbd58.Name +"'"; v6b358 +=">"; v6b358 +="</iframe>"; }  v6b358 +="</div>"; v6b358 +="</div>";  return v6b358; }};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 v92933 =document.createElement("div"); var v89f69 ="<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>";  v92933.style.display ="none"; v92933.style.direction ="ltr"; v92933.style.zIndex =1; v92933.innerHTML =v89f69; this.Element =v92933;  if (this.Container ==null) document.body.insertAdjacentElement("afterBegin",v92933); else this.Container.appendChild(v92933); };  this.AttachTo =function(ve7542) { if (this.Element ==null) this.Create();  this.ParentElement =ve7542; 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 v92933 =this.Element; var ve7542 =this.ParentElement;  var vc5947 =ISPosLib.getLeft(ve7542)-this.GetContainerLeft(); var vf2610 =ISPosLib.getTop(ve7542)-this.GetContainerTop(); var v7492 =ISPosLib.getWidth(ve7542); var v5ae82 =ISPosLib.getHeight(ve7542);  with (v92933.style) { position ="absolute"; left =vc5947 -this.Margin; top =vf2610 -this.Margin; width =v7492 +(this.Margin *2); height =v5ae82 +(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); };}