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 == null) {
if ($debug) Debug.write("refObj ",this.parent.refObj);
this.parent.refObj.sendNoConfirmation();
} else {
this.parent.refObj[parent.refReturnMethod](false,t);
}
var t = parent.holddatainSO.getValue();
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);