HxG_5.prototype.JSFDialog=function () {
this.type=hX_5.CMP_dialog;
this.align=this.valign=null;
this.forId=this.relativeTo=null;
this.initiallyShow=false;
this.initialFocus=null;
this.movable=true;
this.enableMoveKey=true;
this.noKeybindings=false;
this.saveState=true;
this.subsidiaryDiv=null;
this.dlgType=hX_5.DLG_modal;
this.onshow=this.onhide=null;
this.allChildren=null;
this.firstOk=null, this.firstCancel=null;
this.titleBarDOMobj=this.closeButtonDOMobj=this.closeButtonImgDOMobj=this.contentDivDOMobj=this.iframeObj=this.saveEvt=null;
this.explictL=this.explicitR=this.explicitT=this.explicitB=this.hadFocus=this.mouseMoveID=this.mouseUpID=this.mouseCMID=null;
this.explicitTest=false;
this.testRect=new hX_5.HxRect();
this.attributeTable=[];
this.attributeTable ['align']=['align',	    	 	hX_5.ARG_TO_NAN,	false,	null,	null];
this.attributeTable ['valign']=['valign',    		hX_5.ARG_TO_NAN,	false,	null,	null];
this.attributeTable ['for-id']=['forId',	 			hX_5.ARG_TO_NAN,	false,	null,	null];
this.attributeTable ['relative-to']=['relativeTo',		hX_5.ARG_TO_NAN,	false,	null,	null];
this.attributeTable ['initially-show']=['initiallyShow',	 	hX_5.ARG_IS_TRUE,	false,	null,	null];
this.attributeTable ['initial-focus']=['initialFocus',	 	hX_5.ARG_TO_NAN,	false,	null,	null];
this.attributeTable ['movable']=['movable',	 		hX_5.ARG_IS_TRUE,	false,	null,	null];
this.attributeTable ['enable-movekey']=['enableMoveKey',		hX_5.ARG_IS_TRUE,	false,	null,	null];
this.attributeTable ['no-keybindings']=['noKeybindings',		hX_5.ARG_IS_TRUE,	false,	null,	null];
this.attributeTable ['save-state']=['saveState',	 		hX_5.ARG_IS_TRUE,	false,	null,	null];
this.attributeTable ['type']=['dlgType',			hX_5.ARG_TO_NAN,	false,	null,	null];
this.attributeTable ['onshow']=['onshow',			hX_5.ARG_TO_FCNS,	false,	null,	null];
this.attributeTable ['onhide']=['onhide',			hX_5.ARG_TO_FCNS,	false,	null,	null];
this.setAttribute(arguments);
}
HxG_5.prototype.JSFDialog.prototype.elem=function(obj) {
this.obj=obj;
this.value=null;
}
HxG_5.prototype.JSFDialog.prototype.onPageLoad=function (){
if(this.id && this.DOMobj)
{
var i, o, f, l, ln, actions, target;
this.titleBarDOMobj=hX_5.getElementById(this.id + hX_5.DLG_TitleBarSuffix);
this.closeButtonDOMobj=hX_5.getElementById(this.id + hX_5.DLG_CloseButtonSuffix);
this.closeButtonImgDOMobj=hX_5.getElementById(this.id + hX_5.DLG_CloseButtonImgSuffix);
this.contentDivDOMobj=hX_5.getElementById(this.id + hX_5.DLG_ContentAreaSuffix);
var baseClass=hX_5.getFirstClassName(this.DOMobj);
var offP, offsetP=null, svD=this.DOMobj.style.display;
this.DOMobj.style.display=hX_5._E;
offP=this.DOMobj.offsetParent;
while (offP!=null && offP.tagName && offP.tagName!=hX_5._HHTML && offP.tagName!=hX_5._BBODY && offP.tagName!=hX_5._DDOC && offP.tagName!=hX_5._FRM) {
if (offsetP==null) offsetP=[];
offsetP.push(offP);
offP=offP.offsetParent;
}
this.DOMobj.style.display=(svD.toLowerCase()==hX_5._AUT)?hX_5._NO:svD;
if (offsetP && offsetP.length > 0) {
offP=offsetP.pop();
o=hX_5.getParentOfType(offP, hX_5._FRM);
f=hX_5.getParentOfType(this.DOMobj, hX_5._FRM);
if (o==null && f!=null) {
f.appendChild(this.DOMobj);
} else {
offP.parentNode.insertBefore(this.DOMobj, offP.nextSibling);
}
}
if (offsetP) delete offsetP;
if(this.titleBarDOMobj)
{
this.titleBarDOMobj.className=baseClass + hX_5.CLASS_DLG[0];
hX_5.g.setP(this.titleBarDOMobj, hX_5._CRS, hX_5._DFT);
if(this.movable) hX_5.attachComponentEvent(this.id, hX_5._onMD);
}
this.contentDivDOMobj.className=baseClass + hX_5.CLASS_DLG[3];
actions="action:" + hX_5.ACT_MOVE;
targets="target:" + this.id;
if(hX_5.brw.isIE()){
this.iframeObj=hX_5.ifr.create(document, this.id + hX_5.DLG_IFrameSuffix, false, false);
this.DOMobj.parentNode.insertBefore(this.iframeObj, this.DOMobj);
actions=actions + ";" + hX_5.ACT_MOVE;
targets=targets + ";" + this.iframeObj.id;
}
if(this.forId)
hX_5.addBehavior(this.forId, hX_5._onMC, new hX_5.JSFBehaviorGeneric("action:"+hX_5.ACT_SHOW+";"+hX_5.ACT_STOP, "target:"+this.id));
if(this.enableMoveKey && this.movable){
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:37", "modifier:Ctrl+Shift", actions, targets));
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:38", "modifier:Ctrl+Shift", actions, targets));
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:39", "modifier:Ctrl+Shift", actions, targets));
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:40", "modifier:Ctrl+Shift", actions, targets));
}
if (this.saveState || !this.noKeybindings) {
this.allChildren=[];
if (hX_5.tabNav == null) hX_5.tabNav=new hX_5.tabNavigator();
f=hX_5.tabNav.getFirst(this.DOMobj, true);
l=hX_5.tabNav.getLast(this.DOMobj, true);
ln=hX_5.tabNav.getTabItems().length;
i=0;
while(f!=null && i<ln){
if(!this.noKeybindings){
if(this.firstOk==null && f.type!=undefined && (f.type==hX_5._SBM || f.type==hX_5._lIMG)) this.firstOk=f;
else if(this.firstCancel==null && f.type!=undefined && (f.type==hX_5._RES)) this.firstCancel=f;
}
if(this.saveState) {
if (hX_5.isValuable(f)) this.allChildren.push(new this.elem(f));
}
if(f==l) break;
f=hX_5.tabNav.getFocus(f, +1, null, this.DOMobj, true);
i++;
}
}
if(this.closeButtonDOMobj){
if(this.firstCancel!=null){
actions="action:" + hX_5.ACT_CLICK;
targets="target:" + this.firstCancel.id;
}
else {
actions="action:"+hX_5.ACT_HIDE+";"+hX_5.ACT_STOP;
targets="target:" + this.id;
}
hX_5.addBehavior(this.closeButtonDOMobj.id, hX_5._onMC, new hX_5.JSFBehaviorGeneric(actions, targets));
hX_5.addBehavior(this.closeButtonDOMobj.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:13", actions, targets));
hX_5.addBehavior(this.closeButtonDOMobj.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:32", actions, targets));
this.closeButtonDOMobj.className=baseClass + hX_5.CLASS_DLG[1];
if((this.closeButtonImgDOMobj.src==undefined || this.closeButtonImgDOMobj.src==null || this.closeButtonImgDOMobj.src==hX_5._E)){
this.closeButtonImgDOMobj.setAttribute(hX_5._SRC, this.r.getURL(hX_5.R_IMG_SPACER));
this.closeButtonImgDOMobj.className=baseClass + hX_5.CLASS_DLG[2];
}
}
if(!this.noKeybindings){
if(this.firstOk!=null)
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:13", "action:"+hX_5.ACT_CLICK, "target:"+this.firstOk.id));
else if(this.firstCancel!=null)
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:13", "action:"+hX_5.ACT_CLICK, "target:"+this.firstCancel.id));
else if(this.closeButtonDOMobj)
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:13", "action:"+hX_5.ACT_DLG_CANCEL+";"+hX_5.ACT_STOP, "target:"+this.id));
if(this.firstCancel!=null)
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:27", "action:"+hX_5.ACT_CLICK, "target:"+this.firstCancel.id));
else if(this.closeButtonDOMobj)
hX_5.addBehavior(this.id, hX_5._onKD, new hX_5.JSFBehaviorKeybind("keycode:27", "action:"+hX_5.ACT_DLG_CANCEL+";"+hX_5.ACT_STOP, "target:"+this.id));
}
this.visible=false;
if(this.initiallyShow){
if (document.createEventObject!=undefined) {
this.saveEvt=document.createEventObject();
this.saveEvt.type="onload";
} else {
this.saveEvt=document.createEvent("HTMLEvents");
this.saveEvt.initEvent("onload", true, true);
}
hX_5.i.startObjTimerTimed(this, null, 1);
}
}
return true;
}
HxG_5.prototype.JSFDialog.prototype.setAttribute=function(a) {
hX_5.parseArg (this.attributeTable, this, a);
if (this.dlgType) this.dlgType=this.dlgType.toLowerCase();
if (this.align) this.align=this.align.toLowerCase();
if (this.valign) this.valign=this.valign.toLowerCase();
if (this.HTMLrendered) this.redraw();
return true;
}
HxG_5.prototype.JSFDialog.prototype.getAttribute=function (attribute) {
return (hX_5.getArg(this.attributeTable, this, attribute));
}
HxG_5.prototype.JSFDialog.prototype.show=function (evt) {
return (hX_5.action.processAction (this.DOMobj, (evt)?evt:null, null, ["SHOW","STOP"], true, [this.DOMobj.id], null, false, false, false));
}
HxG_5.prototype.JSFDialog.prototype.hide=function (evt) {
return (hX_5.action.processAction (this.DOMobj, (evt)?evt:null, null, ["HIDE","STOP"], true, [this.DOMobj.id], null, false, false, false));
}
HxG_5.prototype.JSFDialog.prototype.dispatchTimer=function (param) {
hX_5.action.processAction (this.DOMobj, this.saveEvt, null, ["SHOW"], false, [this.DOMobj.id], null, null, null, null);
return true;
}
HxG_5.prototype.JSFDialog.prototype.onLoad=function (thisDOMobj, evt) {
var o, j;
if(this.visible) {
this.setDialogFocus();
return true;
}
if (this.onshow) {
if (!hX_5.action.processFunction(this.DOMobj, evt, this.onshow)) {
hX_5.g.setP(this.DOMobj, hX_5._DSP, hX_5._NO);
return false;
}
}
if(!this.DOMobj.style.width)
this.DOMobj.style.width=hX_5.g.getRendWidth(this.DOMobj)+hX_5._PX;
if(!this.positionDialog(evt)){
hX_5.g.setP(this.DOMobj, hX_5._DSP, hX_5._NO);
return false;
}
if(this.saveState && this.allChildren){
for (j=0; j<this.allChildren.length; j++)
this.allChildren[j].value=hX_5.getValuableValue(this.allChildren[j].obj);
}
var dlg_z_index=hX_5.i.pushOnDialogStack(this, (this.dlgType == hX_5.DLG_modal));
o=this.setDialogFocus();
if(this.iframeObj) {
var offset=hX_5.g.getRelPos(this.DOMobj), l=hX_5.g.getAbsPosLeft(this.DOMobj), t=hX_5.g.getAbsPosTop(this.DOMobj);
if (offset) {
l=l-hX_5.g.getAbsPosLeft(offset); t=t-hX_5.g.getAbsPosTop(offset);
}
hX_5.g.setP(this.iframeObj, hX_5._WD,  hX_5.g.getRendWidth(this.DOMobj) + hX_5._PX);
hX_5.g.setP(this.iframeObj, hX_5._HT,  hX_5.g.getRendHeight(this.DOMobj) + hX_5._PX);
hX_5.g.setP(this.iframeObj, hX_5._LFT, l+ hX_5._PX);
hX_5.g.setP(this.iframeObj, hX_5._TOP, t + hX_5._PX);
hX_5.g.setP(this.iframeObj, hX_5._ZND, (dlg_z_index-1)+hX_5._E);
hX_5.g.setP(this.iframeObj, hX_5._DSP, hX_5._E);
}
this.visible=true;
return true;
}
HxG_5.prototype.JSFDialog.prototype.unLoad=function (thisDOMobj, evt) {
if (evt!=null){
if(!this.visible) return true;
var j, sourceId=null, srcObj=hX_5.evtGetTarget(evt), moreModal=null;
if(this.saveState || this.onhide) {
if(this.closeButtonDOMobj && ((srcObj.id == this.closeButtonDOMobj.id) || ((srcObj.parentNode) && (srcObj.parentNode.id == this.closeButtonDOMobj.id)))) {
sourceId=hX_5.DLG_CANCEL;
} else if(srcObj.type == undefined) {
sourceId=hX_5._UND;
} else if(srcObj.type==hX_5._SBM || srcObj.type==hX_5._lIMG) {
sourceId=hX_5.DLG_OK;
} else if(srcObj.type==hX_5._RES) {
sourceId=hX_5.DLG_CANCEL;
} else if (evt.submitFlag!=undefined) {
sourceId=(evt.submitFlag==hX_5.ACT_DLG_OK)?hX_5.DLG_OK:hX_5.DLG_CANCEL;
} else {
sourceId=(srcObj.id != undefined) ? srcObj : hX_5._UND;
}
}
if (this.onhide) {
evt.dialogAction=sourceId;
if (!hX_5.action.processFunction(this.DOMobj, evt, this.onhide)) {
hX_5.g.setP(this.DOMobj, hX_5._DSP, hX_5._E);
this.setDialogFocus();
return false;
}
}
if(this.saveState && (hX_5.DLG_CANCEL==sourceId) && this.allChildren){
for (j=0; j<this.allChildren.length; j++)
hX_5.setValuableValue(this.allChildren[j].obj, this.allChildren[j].value);
}
moreModal=hX_5.i.removeFromDialogStack(this);
}
if(this.iframeObj) hX_5.g.setP(this.iframeObj, hX_5._DSP, hX_5._NO);
this.visible=false;
if (this.hadFocus!=null && hX_5.i.isFocusable(this.hadFocus))
hX_5.i.setFocus(this.hadFocus, false, true);
else if (moreModal!=null)
moreModal.setDialogFocus();
return false;
}
HxG_5.prototype.JSFDialog.prototype.setDialogFocus=function () {
var focusObj=null;
this.hadFocus=hX_5.i.guessFocus();
if (this.hadFocus==null && this.forId!=null) this.hadFocus=hX_5.getElementById(this.forId);
if(this.initialFocus)
focusObj=hX_5.getElementById(this.initialFocus);
if (focusObj == null && this.initialFocus!="none") {
if (hX_5.tabNav == null) hX_5.tabNav=new hX_5.tabNavigator();
focusObj=hX_5.tabNav.getFirst(this.DOMobj);
if (this.closeButtonDOMobj) focusObj=hX_5.tabNav.getFocus(focusObj, +1);
}
if(focusObj != null)
hX_5.i.setFocus(focusObj, false, true);
return focusObj;
}
HxG_5.prototype.JSFDialog.prototype.positionDialog=function (evt) {
var winW=hX_5.g.getWindowClientWidth(),  winH=hX_5.g.getWindowClientHeight(),
dlgW=hX_5.g.getRendWidth(this.DOMobj), dlgH=hX_5.g.getRendHeight(this.DOMobj),
pageW=hX_5.g.getPageWidth(), pageH=hX_5.g.getPageHeight();
if((dlgW > Math.max(winW,pageW)) || (dlgH > Math.max(winH,pageH)) || (0 == dlgW) || (0 == dlgH)) return false;
var offset=hX_5.g.getRelPos(this.DOMobj), l,r,t,b;
if (!this.explicitTest) {
l=this.DOMobj.style.left; r=this.DOMobj.style.right; t=this.DOMobj.style.top; b=this.DOMobj.style.bottom;
if ((l!=null && l!=hX_5._E && l!=hX_5._AUT) || (r!=null && r!=hX_5._E && r!=hX_5._AUT)) {
this.explicitL=l; this.explicitR=r;
}
if ((t!=null && t!=hX_5._E && t!=hX_5._AUT) || (b!=null && b!=hX_5._E && b!=hX_5._AUT)) {
this.explicitT=t; this.explicitB=b;
}
this.explicitTest=true;
}
if (this.explicitL==null  && this.explicitR==null) {
l=0;
if(this.align == hX_5._LFT){
l=hX_5.g.getWinScrollOffsetX();
}
else if(this.align == hX_5._RGT){
l=hX_5.g.getWinScrollOffsetX()+(winW-dlgW);
}
else if((this.align == hX_5._CTR) || ((this.align == null) && (this.relativeTo == null))){
l=hX_5.g.getWinScrollOffsetX()+((winW-dlgW)/2);
}
else if((this.align == hX_5._REL) ||((this.align == null) && (this.relativeTo != null))){
var anchorObj=null;
if(this.relativeTo) anchorObj=hX_5.getElementById(this.relativeTo);
if((null==anchorObj)&&(null != evt)&&(evt.type!="onload")) anchorObj=hX_5.evtGetTarget(evt);
if(null != anchorObj){
l=hX_5.g.getAbsPosLeft(anchorObj);
}
}
l=((l+dlgW)>(hX_5.g.getWinScrollOffsetX()+winW)) ? (hX_5.g.getWinScrollOffsetX()+winW-dlgW):l;
l=(l<0)?0:l;
if (offset)	l=l-hX_5.g.getAbsPosLeft(offset);
hX_5.g.setP(this.DOMobj, hX_5._LFT, l+hX_5._PX);
}
else {
hX_5.g.setP(this.DOMobj, hX_5._LFT, this.explicitL);
hX_5.g.setP(this.DOMobj, hX_5._RGT, this.explicitR);
}
if (this.explicitT==null  && this.explicitB==null) {
t=0;
if(this.valign == hX_5._TOP){
t=hX_5.g.getWinScrollOffsetY();
}
else if(this.valign == hX_5._BOT){
t=hX_5.g.getWinScrollOffsetY()+(winH-dlgH);
}
else if((this.valign == hX_5._MID) || ((this.valign == null) && (this.relativeTo == null))){
t=hX_5.g.getWinScrollOffsetY()+((winH-dlgH)/2);
}
else if((this.valign == hX_5._REL) ||((this.valign == null) && (this.relativeTo != null))){
var anchorObj=null;
if(this.relativeTo) anchorObj=hX_5.getElementById(this.relativeTo);
if((null==anchorObj)&&(null != evt)&&(evt.type!="onload")) anchorObj=hX_5.evtGetTarget(evt);
if(null != anchorObj){
t=hX_5.g.getAbsPosTop(anchorObj) + hX_5.g.getRendHeight(anchorObj);
}
}
t=((t+dlgH)>(hX_5.g.getWinScrollOffsetY()+winH)) ? (hX_5.g.getWinScrollOffsetY()+winH-dlgH):t;
t=(t<0)?0:t;
if (offset) t=t-hX_5.g.getAbsPosTop(offset);
hX_5.g.setP(this.DOMobj, hX_5._TOP, t+hX_5._PX);
}
else {
hX_5.g.setP(this.DOMobj, hX_5._TOP, this.explicitT);
hX_5.g.setP(this.DOMobj, hX_5._BOT, this.explicitB);
}
return true;
}
HxG_5.prototype.JSFDialog.prototype.dispatchComponent=function (item, evt, action, keycode) {
if (evt) {
var pt, src=(evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : (hX_5.brw.isIE() ? document.body : null));
if (src) {
src=(src.nodeType == hX_5.ELEMENT_NODE || src.nodeType == hX_5.DOCUMENT_NODE) ? src : src.parentNode;
if (src && hX_5.isDef(typeof(src.tagName)) && src.tagName == hX_5._DIV && (src.id == (this.id + hX_5.DLG_TitleBarSuffix)) && evt.type == hX_5._evMD) {
this.testRect.setRect(this.closeButtonDOMobj);
pt=hX_5.g.toPoint(evt);
if (!this.testRect.hitTest(pt.X, pt.Y)) return this.handleMouseDrag(this.DOMobj, evt, this.id);
}
}
}
return true;
}
HxG_5.prototype.JSFDialog.prototype.handleMouseDrag=function (mainDivDOMobj, evt, dialogId) {
var basePt=hX_5.g.toPoint(evt);
if((mainDivDOMobj != null) && (evt.type == hX_5._evMD))
{
basePt.X=basePt.X - hX_5.g.getAbsPosLeft(mainDivDOMobj);
basePt.Y=basePt.Y - hX_5.g.getAbsPosTop(mainDivDOMobj);
hX_5.uirelease();
if (hX_5.brw.isIE()) {
this.mouseMoveID=hX_5.attachEvent(document.body, hX_5._onMM, hX_5._lF, moveHandler, null, null, false);
this.mouseUpID=hX_5.attachEvent(document.body, hX_5._onMU, hX_5._lF, upHandler, null, null, false);
this.mouseCMID=hX_5.attachEvent(document.body, hX_5._onCM, hX_5._lF, upHandler, null, null, false);
document.body.setCapture();
} else {
document.addEventListener(hX_5._evMU, upHandler, true);
document.addEventListener(hX_5._evMM, moveHandler, true);
}
hX_5.i.cancelAction(evt, true);
return false;
}
function moveHandler(evt)
{
evt=(evt) ? evt : ((event) ? event: null);
var b=(evt.type==hX_5._evCM?2:((evt.button<=1)?0:2)), c=hX_5.g.getRelPos(mainDivDOMobj);
if (b==0) {
var pt=hX_5.g.toPoint(evt);
var self=hX_5.getComponentById(mainDivDOMobj.id);
var winW=hX_5.g.getWindowClientWidth(),      winH=hX_5.g.getWindowClientHeight(),
dlgW=hX_5.g.getRendWidth(mainDivDOMobj), dlgH=hX_5.g.getRendHeight(mainDivDOMobj),
sTop=Math.max(document.body.scrollTop,document.body.parentNode.scrollTop),
sLft=Math.max(document.body.scrollLeft,document.body.parentNode.scrollLeft);
var X=pt.X - basePt.X, Y=pt.Y - basePt.Y;
if (X > sLft+winW-dlgW) X=sLft+winW-dlgW;
if (Y > sTop+winH-dlgH) Y=sTop+winH-dlgH;
if (X < sLft) X=sLft;
if (Y < sTop) Y=sTop;
if (c) {
X -= hX_5.g.getAbsPosLeft(c);
Y -= hX_5.g.getAbsPosTop(c);
}
mainDivDOMobj.style.left=X + hX_5._PX;
mainDivDOMobj.style.top=Y + hX_5._PX;
if (self.iframeObj) {
self.iframeObj.style.left=hX_5.g.getP(mainDivDOMobj, hX_5._LFT);
self.iframeObj.style.top=hX_5.g.getP(mainDivDOMobj, hX_5._TOP);
}
hX_5.i.cancelAction(evt, true);
return false;
}
}
function upHandler(evt) {
evt=(evt) ? evt : ((event) ? event: null);
var self=hX_5.getComponentById(mainDivDOMobj.id);
var b=(evt.type==hX_5._evCM?0:((evt.button<=1)?0:2));
if (b==0) {
if (hX_5.brw.isIE()) {
document.body.releaseCapture();
hX_5.removeEvent(document.body, hX_5._onMM, self.mouseMoveID);
hX_5.removeEvent(document.body, hX_5._onMU, self.mouseUpID);
hX_5.removeEvent(document.body, hX_5._onCM, self.mouseCMID);
} else {
document.removeEventListener(hX_5._evMU, upHandler, true);
document.removeEventListener(hX_5._evMM, moveHandler, true);
}
hX_5.i.cancelAction(evt, true);
return false;
}
}
return true;
}
HxG_5.prototype.JSFDialog.prototype.redraw=function (resizeOnly) {
return true;
}
HxG_5.prototype.JSFDialog.prototype.uirelease=function (free) {
return true;
}
HxG_5.prototype.JSFDialog.prototype.destroy=function () {
var o;
if (this.iframeObj) {
this.iframeObj.parentNode.removeChild(this.iframeObj);
delete this.iframeObj;
}
if (this.allChildren!=null) {
while (this.allChildren.length > 0) {
o=this.allChildren.pop();
delete o;
}
delete this.allChildren;
}
if (this.testRect) delete this.testRect;
delete this.attributeTable;
return true;
}

