function EExecP2(P,O1,O2,Att,Sg1,Sg2) { var XX={Re:undefined, Im: undefined}; var YY={Re:undefined, Im: undefined}; var X1={Re:undefined, Im: undefined}; var Y1={Re:undefined, Im: undefined}; var S=false; if ((O1.OB==undefined) || (O2.OB==undefined)) return false; if ((O1.OB=="O") && (O2.OB=="O")) { if (IsNull(O1) && IsNull(O2)) if (Att.Chk==1) { TOEmpty_Create(P,Att); return true; } if (IsNull(O1)) { U=CalcPF(O1.X1,O1.Y1,O2); X1=U.A; Y1=U.B; if ((Math.abs(O1.X1.Re-X1.Re)