var OxOd60f=["btn_editinwin","btnok","btncc","controlparent","display","style","none","onclick","nocancel","length","nodeName","SELECT","INPUT","TEXTAREA","isnotinput","1","skipAutoFireChanged","onpropertychange","","OnPropertyChange()","onchange","if(!syncingtoview)FireUIChanged()","onkeypress","onkeyup"];var btn_editinwin=Window_GetElement(window,OxOd60f[0],true);var btnok=Window_GetElement(window,OxOd60f[1],true);var btncc=Window_GetElement(window,OxOd60f[2],true);var controlparent=Window_GetElement(window,OxOd60f[3],true);btn_editinwin[OxOd60f[5]][OxOd60f[4]]=OxOd60f[6];btn_editinwin[OxOd60f[7]]=function btn_editinwin_onclick(){} ;if(Window_GetDialogTop(window)[OxOd60f[8]]){btncc[OxOd60f[5]][OxOd60f[4]]=OxOd60f[6];} ;btnok[OxOd60f[7]]=function btnok_onclick(){Window_SetDialogReturnValue(window,true);Window_CloseDialog(window);} ;btncc[OxOd60f[7]]=function btncc_onclick(){Window_SetDialogReturnValue(window,false);Window_CloseDialog(window);} ;function HookChangeEvents(){var Ox31=Element_GetAllElements(controlparent);for(var i=0;i<Ox31[OxOd60f[9]];i++){var Ox43=Ox31[i];if(Ox43[OxOd60f[10]]==OxOd60f[11]||Ox43[OxOd60f[10]]==OxOd60f[12]||Ox43[OxOd60f[10]]==OxOd60f[13]){if(Ox43.getAttribute(OxOd60f[14])==OxOd60f[15]||Ox43.getAttribute(OxOd60f[16])==OxOd60f[15]){continue ;} ;Event_Attach(Ox43,OxOd60f[17], new Function(OxOd60f[18],OxOd60f[19]));Event_Attach(Ox43,OxOd60f[20], new Function(OxOd60f[18],OxOd60f[21]));Event_Attach(Ox43,OxOd60f[22], new Function(OxOd60f[18],OxOd60f[21]));Event_Attach(Ox43,OxOd60f[23], new Function(OxOd60f[18],OxOd60f[21]));Event_Attach(Ox43,OxOd60f[7], new Function(OxOd60f[18],OxOd60f[21]));} ;} ;} ;HookChangeEvents();SyncToViewInternal();setInterval(UpdateState,300);