canvas.width) {
relativeWidth = canvas.width;
}
if (this.width + newx + 20 > relativeWidth) {
newx = relativeWidth-this.width-20;
}
if (this.height + newy + 20 > parent.height) {
newy = parent.height-this.height-20;
}
if ($debug) Debug.write("2",newx,newy);
this.setAttribute("x",newx);
this.setAttribute("y",newy);
]]>
var t = parent.holddatainSO.getValue();
this.parent.close();
if (!!parent.refReturnMethod) {
this.parent.refObj[parent.refReturnMethod](false, t);
} else {
this.parent.refObj.sendNoConfirmation(null);
}
var t = parent.holddatainSO.getValue();
//if ($debug) Debug.write("t ", t);
//if ($debug) Debug.write("parent ", this.parent);
//if ($debug) Debug.write("refObj ", this.parent.refObj);
this.parent.close();
if (parent.refReturnMethod == null) {
this.parent.refObj.sendConfirmation(true,t);
} else {
this.parent.refObj[parent.refReturnMethod](true,t);
}
var t = parent.holddatainSO.getValue();
this.parent.close();
this.parent.refObj.sendConfirmation(t, null);