if(!nexacro.Component){nexacro.__position9xObj=function(_a){if(_a){this._target=_a;}this.left=0;this.top=0;this.right=0;this.bottom=0;this.width=0;this.height=0;this.x=0;this.y=0;this._value="absolute 0 0 0 0";};__pPosition9xObj=nexacro._createPrototype(nexacro.Object,nexacro.__position9xObj);nexacro.__position9xObj.prototype=__pPosition9xObj;__pPosition9xObj.style="absolute";__pPosition9xObj.x=0;__pPosition9xObj.y=0;__pPosition9xObj._bsize=false;__pPosition9xObj._bmove=false;__pPosition9xObj.toString=function(){return this._value;};__pPosition9xObj._emptyObject=function(){this._value="absolute 0 0 0 0";this.style="absolute";this.left=0;this.right=0;this.top=0;this.bottom=0;this.x=0;this.y=0;this.width=0;this.height=0;};__pPosition9xObj._updateValue=function(){this.width=this.right-this.left;this.height=this.bottom-this.top;this.x=this.left;this.y=this.top;this._value="absolute "+this.left+' '+this.top+' '+this.right+' '+this.bottom;};__pPosition9xObj._update=function(){this.width=this.right-this.left;this.height=this.bottom-this.top;this.x=this.left;this.y=this.top;var _a="absolute "+this.left+' '+this.top+' '+this.right+' '+this.bottom;if(_a!=this._value){this._value=_a;if(this._target!=null){this._target._adjustPosition(this.left,this.top,null,null,this.width,this.height,this._target.parent._client_width,this._target.parent._client_height);this._target.on_update_position(this._bsize,this._bmove);this._bsize=false;this._bmove=false;}}};__pPosition9xObj._set=function(_a){var _b=(_a==null)?"":_a.toString().trim();if(_b!=this._value){if(_b==""){this._emptyObject();}else{var _c=_b.split(/\s+/);switch(_c.length){case 4:this.left=parseInt(_c[0])|0;this.top=parseInt(_c[1])|0;this.right=parseInt(_c[2])|0;this.bottom=parseInt(_c[3])|0;break;case 5:this.left=parseInt(_c[1])|0;this.top=parseInt(_c[2])|0;this.right=parseInt(_c[3])|0;this.bottom=parseInt(_c[4])|0;break;default:this._emptyObject();break;}this._update();}}};__pPosition9xObj.set_style=function(_a){if(_a!=this.style){if(_a=="absolute"){this.style="absolute";}}};__pPosition9xObj.set_left=function(_a){var _b=parseInt(_a)|0;if(_b>this.right){this.right=_b;}if(_b!=this.left){this.left=_b;this._bmove=true;this._bsize=true;this._update();}};__pPosition9xObj.set_top=function(_a){var _b=parseInt(_a)|0;if(_b>this.bottom){this.bottom=_b;}if(_b!=this.top){this.top=_b;this._bmove=true;this._bsize=true;this._update();}};__pPosition9xObj.set_right=function(_a){var _b=parseInt(_a)|0;if(this.left>_b){this.left=_b;}if(_b!=this.right){this.right=_b;this._bsize=true;this._update();}};__pPosition9xObj.set_bottom=function(_a){var _b=parseInt(_a)|0;if(this.top>_b){this.top=_b;}if(_b!=this.bottom){this.bottom=_b;this._bsize=true;this._update();}};__pPosition9xObj.set_x=function(_a){var _b=parseInt(_a)|0;if(_b!=this.left){this.left=_b;this.right=this.left+this.width;this._bsize=true;this._bmove=true;this._update();}};__pPosition9xObj.set_y=function(_a){var _b=parseInt(_a)|0;if(_b!=this.top){this.top=_b;this.bottom=this.top+this.height;this._bsize=true;this._bmove=true;this._update();}};__pPosition9xObj.set_width=function(_a){if(_a<0){_a=0;}var _b=this.left+(parseInt(_a)|0);if(_b!=this.right){this.right=_b;this._bsize=true;this._update();}};__pPosition9xObj.set_height=function(_a){if(_a<0){_a=0;}var _b=this.top+(parseInt(_a)|0);if(_b!=this.bottom){this.bottom=_b;this._bsize=true;this._update();}};delete __pPosition9xObj;nexacro.__position29xObj=function(_a){if(_a){this._target=_a;}this._value="absolute l:0 w:0 t:0 h:0";};__pPosition29xObj=nexacro._createPrototype(nexacro.Object,nexacro.__position29xObj);nexacro.__position29xObj.prototype=__pPosition29xObj;__pPosition29xObj.style="absolute";__pPosition29xObj.left=null;__pPosition29xObj.right=null;__pPosition29xObj.top=null;__pPosition29xObj.bottom=null;__pPosition29xObj.width=null;__pPosition29xObj.height=null;__pPosition29xObj._bsize=false;__pPosition29xObj._bmove=false;__pPosition29xObj.toString=function(){return this._value;};__pPosition29xObj._emptyObject=function(){this._value="absolute l:0 t:0 w:0 h:0";this.style="absolute";this.left=null;this.right=null;this.top=null;this.bottom=null;this.width=null;this.height=null;};__pPosition29xObj._updateValue=function(){var _a=this.left,_b=this.right,_c=this.top,_d=this.bottom,_e=this.width,_f=this.height;var _g=[];var _h=0;if(_a!=undefined){_g[_h++ ]="l:"+_a;}if(_b!=undefined){_g[_h++ ]="r:"+_b;}if(_e!=undefined){_g[_h++ ]="w:"+_e;}if(_c!=undefined){_g[_h++ ]="t:"+_c;}if(_d!=undefined){_g[_h++ ]="b:"+_d;}if(_f!=undefined){_g[_h++ ]="h:"+_f;}this._value="absolute "+_g[0]+' '+_g[1]+' '+_g[2]+' '+_g[3];};__pPosition29xObj.set_left=function(_a){if(this.left!=_a){this.left=_a;this._target.set_left(_a);}};__pPosition29xObj.set_top=function(_a){if(this.top!=_a){this.top=_a;this._target.set_top(_a);}};__pPosition29xObj.set_right=function(_a){if(this.right!=_a){this.right=_a;this._target.set_right(_a);}};__pPosition29xObj.set_bottom=function(_a){if(this.bottom!=_a){this.bottom=_a;this._target.set_bottom(_a);}};__pPosition29xObj.set_width=function(_a){if(this.width!=_a){this.width=_a;this._target.set_width(_a);}};__pPosition29xObj.set_height=function(_a){if(this.height!=_a){this.height=_a;this._target.set_height(_a);}};delete __pPosition29xObj;nexacro.Component=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){this.id=this.name=_a||null;if(_i){this.parent=_i;this._refform=this._findForm(_i);}else{this.parent=null;this._refform=null;}this.position=_b?_b:"absolute";var _j=_i?this.parent._adjust_width:null;var _k=_i?this.parent._adjust_height:null;this._adjustPosition(_c,_d,_g,_h,_e,_f,_j,_k);this.style=this.on_create_custom_style();this.currentstyle=this.on_create_custom_currentStyle();this._styles={};this._enable_redraw_history={};};var _pComponent=nexacro._createPrototype(nexacro.EventSinkObject,nexacro.Component);nexacro.Component.prototype=_pComponent;_pComponent._type_name="Component";_pComponent.expr="";_pComponent.cssclass="";_pComponent.visible=true;_pComponent.enable=true;_pComponent.taborder="";_pComponent.tabstop=true;_pComponent.hotkey="";_pComponent.transparenthittest=false;_pComponent.enableredraw=true;_pComponent.enableevent=true;_pComponent.tooltiptype="default";_pComponent.tooltiptext="";_pComponent.scrollbars="none";_pComponent.hotkey=null;_pComponent.rtldirection=null;_pComponent.positionstep=0;_pComponent._css_finder=null;_pComponent._ref_css_finder=null;_pComponent._refcssobj=null;_pComponent._refcssid="";_pComponent._client_left=0;_pComponent._client_top=0;_pComponent._client_width=0;_pComponent._client_height=0;_pComponent._adjust_left= -1;_pComponent._adjust_top= -1;_pComponent._adjust_width= -1;_pComponent._adjust_height= -1;_pComponent._client_left_ltr=0;_pComponent._adjust_left_ltr= -1;_pComponent._is_loading=false;_pComponent._is_created=false;_pComponent._is_alive=true;_pComponent._status="enable";_pComponent._selected=false;_pComponent._pushed=false;_pComponent._readonly=false;_pComponent._is_created_contents=false;_pComponent._has_dirty_pos=false;_pComponent._has_dirty_rect=false;_pComponent._pseudo="normal";_pComponent._control_pseudo="";_pComponent._contents_pseudo="";_pComponent._apply_pushed_pseudo=false;_pComponent._apply_client_padding=true;_pComponent._apply_client_border=false;_pComponent._is_component=true;_pComponent._is_subcontrol=false;_pComponent._is_reference_control=true;_pComponent._is_form=false;_pComponent._is_frame=false;_pComponent._is_window=false;_pComponent._is_nc_control=false;_pComponent._is_simple_control=false;_pComponent._is_scrollable=false;_pComponent._is_popup_control=false;_pComponent._is_band_control=false;_pComponent._is_band_vert_paging=false;_pComponent._is_area_scroll=false;_pComponent._is_focus_accept=true;_pComponent._is_comp_focus=false;_pComponent._control_element=null;_pComponent._zindex=null;_pComponent._bind_event=null;_pComponent._taborder= -1;_pComponent._display_text="";_pComponent._real_enable=null;_pComponent._real_visible=false;_pComponent._vml_visible=true;_pComponent._last_focused=null;_pComponent._hotkey=null;_pComponent._track_capture=true;_pComponent._focus_direction= -1;_pComponent._rtldirection=undefined;_pComponent._re_focus=false;_pComponent._scrollbars=0;_pComponent._scroll_showtype= -1;_pComponent._scroll_top=0;_pComponent._scroll_left=0;_pComponent._scroll_height=0;_pComponent.hscrollbar=null;_pComponent.vscrollbar=null;_pComponent._event_list={"onclick":1,"ondblclick":1,"onkillfocus":1,"onsetfocus":1,"onkeypress":1,"onkeydown":1,"onkeyup":1,"onlbuttondown":1,"onlbuttonup":1,"onrbuttondown":1,"onrbuttonup":1,"onmouseenter":1,"onmouseleave":1,"onmousemove":1,"onmousewheel":1,"ondrag":1,"ondragenter":1,"ondragleave":1,"ondragmove":1,"ondrop":1,"onmove":1,"onsize":1,"ontouchstart":1,"ontouchmove":1,"ontouchend":1,"ontap":1,"ondbltap":1,"onpinchstart":1,"onpinch":1,"onpinchend":1,"onflingstart":1,"onfling":1,"onflingend":1,"onlongpress":1,"onslidestart":1,"onslide":1,"onslideend":1};_pComponent.initProperties=function(){};_pComponent.initEvents=function(){};_pComponent._resizePopupInbound=nexacro._emptyFn;nexacro.Component._default_color=nexacro._getCachedStyleObj("color","red");nexacro.Component._default_margin=nexacro._getCachedStyleObj("margin","0 0 0 0");nexacro.Component._default_padding=nexacro._getCachedStyleObj("padding","0 0 0 0");nexacro.Component._default_font=nexacro._getCachedStyleObj("font","Dotum,9");nexacro.Component._default_center_align=nexacro._getCachedStyleObj("align","center middle");nexacro.Component._default_left_align=nexacro._getCachedStyleObj("align","left middle");nexacro.Component._default_right_align=nexacro._getCachedStyleObj("align","right middle");nexacro.Component._default_step_align=nexacro._getCachedStyleObj("align","center bottom");nexacro.Component._default_textarea_align=nexacro._getCachedStyleObj("align","left top");nexacro.Component._default_align=nexacro.Component._default_center_align;nexacro.Component._default_buttonimg_align=nexacro._getCachedStyleObj("align","lefttext middle");nexacro.Component._default_opacity=nexacro._getCachedStyleObj("opacity","100");nexacro.Component._default_cursor=nexacro._getCachedStyleObj("cursor","auto");nexacro.Component._wait_cursor=nexacro._getCachedStyleObj("cursor","wait");nexacro.Component._default_accessibility=nexacro._getCachedStyleObj("accessibility","");nexacro.Component._default_shadow=nexacro._getCachedStyleObj("shadow","");nexacro.Component._default_rtlimagemirroring=nexacro._getCachedStyleObj("rtlimagemirroring","false");nexacro.Component.SCROLLBAR_DEFAULT_SIZE=17;nexacro.Component._status_table={"enable_normal":"normal","enable_disabled":"normal","enable_focused":"focused","enable_mouseover":"mouseover","enable_selected":"selected","enable_pushed":"pushed","enable_readonly":"readonly","enable_deactivate":"deactivate","disable_normal":"disabled","disable_disabled":"disabled","disable_focused":"disabled","disable_mouseover":"disabled","disable_selected":"disabled","disable_pushed":"disabled","disable_readonly":"disabled","focus_normal":"focused","focus_disabled":"disabled","focus_focused":"focused","focus_mouseover":"mouseover","focus_selected":"selected","focus_pushed":"pushed","focus_readonly":"focused","readonly_normal":"readonly","readonly_disabled":"disabled","readonly_focused":"focused","readonly_mouseover":"mouseover","readonly_selected":"selected","readonly_pushed":"pushed","readonly_readonly":"readonly"};_pComponent._width=null;_pComponent._height=null;_pComponent._left=null;_pComponent._top=null;_pComponent._right=null;_pComponent._bottom=null;_pComponent.left=null;_pComponent.top=null;_pComponent.right=null;_pComponent.bottom=null;_pComponent.width=null;_pComponent.height=null;_pComponent._overedobj=null;_pComponent.__setPosition9x=function(_a){if(_a.indexOf(":")>=0){var _b=_a.split(/\s+/);var _c=0;var _d="",_e="";var _f=0;var _g={left:null,top:null,right:null,bottom:null,width:null,height:null};var _h=this._adjust_left;var _i=this._adjust_top;var _j=this._adjust_width;var _k=this._adjust_height;var _l=false,_m=false;this.position="absolute";if(_b.length==5){this.position=_b[0];_c=1;}for(_c;_c<_b.length;_c++ ){_d=_b[_c].toString();_f=_d.indexOf(":");_e=_d.substring(0,_f);_d=_d.substring(_f+1);switch(_e){case "l":_g.left=_d;break;case "t":_g.top=_d;break;case "r":_g.right=_d;break;case "b":_g.bottom=_d;break;case "w":_g.width=_d;break;case "h":_g.height=_d;break;}}this._adjustPosition(_g.left,_g.top,_g.right,_g.bottom,_g.width,_g.height,this.parent._client_width,this.parent._client_height);}else{var _b=_a.split(/\s+/);var _g={left:0,top:0,right:0,bottom:0};var _h=this._adjust_left;var _i=this._adjust_top;var _j=this._adjust_width;var _k=this._adjust_height;var _l=false,_m=false;switch(_b.length){case 4:this.position="absolute";_g.left=(parseInt(_b[0])|0);_g.top=(parseInt(_b[1])|0);_g.right=(parseInt(_b[2])|0);_g.bottom=(parseInt(_b[3])|0);break;case 5:this.position=(parseInt(_b[0])||"absolute");_g.left=(parseInt(_b[1])|0);_g.top=(parseInt(_b[2])|0);_g.right=(parseInt(_b[3])|0);_g.bottom=(parseInt(_b[4])|0);break;default:this.position="absolute";_g.left=0;_g.top=0;_g.right=0;_g.bottom=0;break;}var _n=_g.right-_g.left;var _o=_g.bottom-_g.top;this._adjustPosition(_g.left,_g.top,null,null,_n,_o,this.parent._client_width,this.parent._client_height);}if(this._adjust_width!=_j||this._adjust_height!=_k){_l=true;}if(this._adjust_left!=_h||this._adjust_top!=_i){_m=true;}this.on_update_position(_l,_m);};_pComponent.__getPosition9x=function(_a){var _b=new nexacro.__position9xObj(_a);_b.left=this._adjust_left;_b.top=this._adjust_top;_b.right=this._adjust_left+this._adjust_width;_b.bottom=this._adjust_top+this._adjust_height;_b._updateValue();return _b;};_pComponent.__getPosition29x=function(_a){var _b=new nexacro.__position29xObj(_a);_b.left=this.left;_b.top=this.top;_b.right=this.right;_b.bottom=this.bottom;_b.width=this.width;_b.height=this.height;_b._updateValue();return _b;};_pComponent.set_position=function(_a){if(this.position!=_a){this.position=_a;this.on_apply_position(_a);}};_pComponent.on_apply_position=function(_a){var _b=this.getElement();if(_b){_b.setElementPositionBasis(_a);}};_pComponent._adjustPosition=function(_a,_b,_c,_d,_e,_f,_g,_h){var _i=null;var _j=_a;var _k=_c;var _l=this._isRtl(this.parent);if(_l){var _m=_j;_j=_k;_k=_m;}if(this.parent&&this.parent._is_form&&this.parent.parent&&this.parent.parent._is_frame){var _n=this.parent;var _o=_n.getZoom();if(_o!=100){_g=(_g*100)/_o;_h=(_h*100)/_o;}}for(var _p=0;_p<6;_p++ ){switch(_p){case 0:_i=_j;if(_i!=null){if(_p%2==0){_i=this._convToPixel(_i,_g);}else{_i=this._convToPixel(_i,_h);}}if(isNumber(_i)||_i==null){this.left=_a;this._left=_i;}break;case 1:_i=_b;if(_i!=null){if(_p%2==0){_i=this._convToPixel(_i,_g);}else{_i=this._convToPixel(_i,_h);}}if(isNumber(_i)||_i==null){this.top=_b;this._top=_i;}break;case 2:_i=_k;if(_i!=null){if(_p%2==0){_i=this._convToPixel(_i,_g);}else{_i=this._convToPixel(_i,_h);}}if(isNumber(_i)||_i==null){this.right=_c;this._right=_i;}break;case 3:_i=_d;if(_i!=null){if(_p%2==0){_i=this._convToPixel(_i,_g);}else{_i=this._convToPixel(_i,_h);}}if(isNumber(_i)||_i==null){this.bottom=_d;this._bottom=_i;}break;case 4:_i=_e;if(_i!=null){if(_p%2==0){_i=this._convToPixel(_i,_g);}else{_i=this._convToPixel(_i,_h);}}if(isNumber(_i)||_i==null){this.width=_e;this._width=_i;}break;case 5:_i=_f;if(_i!=null){if(_p%2==0){_i=this._convToPixel(_i,_g);}else{_i=this._convToPixel(_i,_h);}}if(isNumber(_i)||_i==null){this.height=_f;this._height=_i;}break;}}if(this._width!=null||(this._right!=null&&this._left!=null)){this._adjust_width=this._width!=null?this._width:_g-this._left-this._right;}if(this._height!=null||this._bottom!=null){this._adjust_height=this._height!=null?this._height:_h-this._top-this._bottom;}if(this._left!=null||this._right!=null){this._adjust_left_ltr=this._adjust_left=this._left!=null?this._left:_g-this._right-this._adjust_width;if(_l){this._adjust_left_ltr=this._right!=null?this._right:_g-this._left-this._adjust_width;}}if(this.top!=null||this._bottom!=null){this._adjust_top=this._top!=null?this._top:_h-this._bottom-this._adjust_height;}if(this.left&&this.width&&this.right){this._right=0;this.right=null;}if(this.top&&this.height&&this.bottom){this._bottom=0;this.bottom=null;}};_pComponent._convToPixel=function(_a,_b){if(typeof (_a)=="string"&&_a.indexOf("%")>=0){return parseInt(_b*(parseFloat(_a)/100));}return (parseInt(_a)|0);};_pComponent._setAllZeroPixel=function(){var _a=false,_b=false;if(this._adjust_left!=0||this._adjust_top!=0){this.left=0;this.top=0;_a=true;}if(this._adjust_width!=0||this._adjust_height!=0){this.width=0;this.height=0;_b=true;}this._update_position(_b,_a);};_pComponent.set_left=function(_a){if(_a!==null&&_a!==undefined&&isNaN(parseInt(_a))){return;}if(this.left!=_a){this.left=_a;if(_a===null||_a===undefined){this._left=null;if(this._right&&!this._width){this.set_width(this._adjust_width);}else if(!this._right&&this._width){var _b=this._adjust_left+this._adjust_width;this.set_right(this.parent._client_width-_b);}return;}if(this.right&&this.width){this.width=null;this._width=null;}this._update_position(false,true);}};_pComponent.set_top=function(_a){if(_a!==null&&_a!==undefined&&isNaN(parseInt(_a))){return;}if(this.top!=_a){this.top=_a;if(_a===null||_a===undefined){this._top=null;if(this._bottom&&!this._height){this.set_height(this._adjust_height);}else if(!this._bottom&&this._height){var _b=this._adjust_top+this._adjust_height;this.set_bottom(this.parent._client_height-_b);}return;}if(this.bottom&&this.height){this.height=null;this._height=null;}this._update_position(false,true);}};_pComponent.set_right=function(_a){if(_a!==null&&_a!==undefined&&isNaN(parseInt(_a))){return;}if(this.right!=_a){this.right=_a;if(_a===null||_a===undefined){this._right=null;if(this._left&&!this._width){this.set_width(this._adjust_width);}else if(!this._left&&this._width){this.set_left(this._adjust_left);}return;}if(!nexacro._isNull(this.left)&&!nexacro._isNull(this.width)){this.width=null;this._width=null;}this._update_position(true,true);}};_pComponent.set_bottom=function(_a){if(_a!==null&&_a!==undefined&&isNaN(parseInt(_a))){return;}if(this.bottom!=_a){this.bottom=_a;if(_a===null||_a===undefined){this._bottom=null;if(this._top&&!this._height){this.set_height(this._adjust_height);}else if(!this._top&&this._height){this.set_top(this._adjust_top);}return;}if(!nexacro._isNull(this.top)&&!nexacro._isNull(this.height)){this.height=null;this._height=null;}this._update_position(true,true);}};_pComponent.set_width=function(_a){if(_a!==null&&_a!==undefined&&isNaN(parseInt(_a))){return;}if(this.width!=_a){this.width=_a;if(_a===null||_a===undefined){this._width=null;if(this._left> -1&&!this._right){var _b=this._adjust_left+this._adjust_width;this.set_right(this.parent._client_width-_b);}else if(!this._left&&this._right> -1){this.set_left(this._adjust_left);}return;}if(!nexacro._isNull(this.left)&&!nexacro._isNull(this.right)){this.right=null;this._right=null;}this._update_position(true,false);}};_pComponent.set_height=function(_a){if(_a!==null&&_a!==undefined&&isNaN(parseInt(_a))){return;}if(this.height!=_a){this.height=_a;if(_a===null||_a===undefined){this._height=null;if(this._top&&!this._bottom){var _b=this._adjust_top+this._adjust_height;this.set_bottom(this.parent._client_height-_b);}else if(!this._top&&this._bottom){this.set_top(this._adjust_top);}return;}if(!nexacro._isNull(this.top)&&!nexacro._isNull(this.bottom)){this.bottom=null;this._bottom=null;}this._update_position(true,false);}};_pComponent.getPixelLeft=function(){return this._left;};_pComponent.getPixelTop=function(){return this._top;};_pComponent.getPixelRight=function(){return this._right;};_pComponent.getPixelBottom=function(){return this._bottom;};_pComponent.getPixelWidth=function(){return this._width;};_pComponent.getPixelHeight=function(){return this._height;};_pComponent.getOffsetLeft=function(){return this._adjust_left;};_pComponent.getOffsetTop=function(){return this._adjust_top;};_pComponent.getOffsetRight=function(){return this._adjust_left+this._adjust_width;};_pComponent.getOffsetBottom=function(){return this._adjust_top+this._adjust_height;};_pComponent.getOffsetWidth=function(){return this._adjust_width;};_pComponent.getOffsetHeight=function(){return this._adjust_height;};_pComponent.setOffsetLeft=function(_a){return this.set_left(_a);};_pComponent.setOffsetTop=function(_a){this.set_top(_a);};_pComponent.setOffsetRight=function(_a){this.set_width((_a|0)-this._adjust_left);};_pComponent.setOffsetBottom=function(_a){this.set_height((_a|0)-this._adjust_top);};_pComponent.setOffsetWidth=function(_a){this.set_width(_a);};_pComponent.setOffsetHeight=function(_a){this.set_height(_a);};_pComponent._getAccessibilityRole=function(_a){return _a.role?_a.role:this._accessibility_role;};_pComponent._getAccessibilityLabel=function(_a){var _b="";return (_b=this._getLinkedLabel(_a.label))?_b:this.on_get_style_accessibility_label();};_pComponent._on_getAccessibilityAdditionalLabel=function(){return "";};_pComponent._on_getAccessibilityAdditionalRole=function(){if(this._getAccessibilityRole(this.on_find_CurrentStyle_accessibility(this._pseudo))=="heading"){return " heading";}return "";};_pComponent._getAccessibilityDescLevel=function(_a){if(_a=="none"||_a=="child"){return _a;}var _b=this.parent;if(_b&&_b._getDescLevel){return _b._getDescLevel();}else{return _a;}};_pComponent._getAccessibilityDescription=function(_a){var _b="";return (_b=this._getLinkedDescription(_a.description))?_b:this.on_get_style_accessibility_description();};_pComponent._getAccessibilityAction=function(_a){var _b=this._getLinkedAction(_a.action);return _b?_b:(_b=this.on_get_style_accessibility_action())?_b:"";};_pComponent._getAccessibilityReadLabel=function(){var _a=this.getElement();if(_a&&_a.accessibility_readlabel){return _a.accessibility_readlabel;}return "";};_pComponent.on_get_style_accessibility_label=function(){var _a="";_a=this.text?this.text:this.value;return _a;};_pComponent.on_get_style_accessibility_description=function(){return this.tooltiptext;};_pComponent.on_get_style_accessibility_action=function(){return "";};_pComponent._getLinkedLabel=function(_a){if(_a){if(_a.match("@")){var _b=_a.substr(_a.search("@")+1,_a.length);var _c=this._getFormChildById(_b);if(_c){var _d=_c.on_find_CurrentStyle_accessibility(_c._pseudo);return _c._getAccessibilityLabel(_d);}else{return;}}}return _a;};_pComponent._getLinkedDescription=function(_a){if(_a){if(_a.match("@")){var _b=_a.substr(_a.search("@")+1,_a.length);var _c=this._getFormChildById(_b);if(_c){var _d=_c.on_find_CurrentStyle_accessibility(_c._pseudo);return _c._getAccessibilityDescription(_d);}else{return;}}}return _a;};_pComponent._getDescLevel=function(){if(this!=application){var _a=this.on_find_CurrentStyle_accessibility(this._pseudo);if(_a){var _b=_a.desclevel;var _c=this.parent;if(_b=="none"||_b=="self"){return "none";}else if(_c&&_c._getDescLevel){return _c._getDescLevel();}}}return "all";};_pComponent._getLinkedAction=function(_a){if(_a){if(_a.match("@")){var _b=_a.substr(_a.search("@")+1,_a.length);var _c=this._getFormChildById(_b);if(_c){var _d=_c.on_find_CurrentStyle_accessibility(_c._pseudo);return _c._getAccessibilityAction(_d);}else{return;}}}return _a;};_pComponent._getFormChildById=function(_a){return this.parent[_a];};_pComponent._getAccessibilityParentValue=function(_a){var _b="";var _c=nexacro._accessibilitydescreadtype;if((_c&0x01)==0x01){var _d=this._getAccessibilityLabel(_a);if(_d){_b=_d;}}if((_c&0x02)==0x02&&this.accessibility_action){var _e=" "+this._getAccessibilityAction(_a);if(_e){_b+=_e;}}if((_c&0x04)==0x04&&this.accessibility_description){var _f=" "+this._getAccessibilityDescription(_a);if(_f){_b+=_f;}}return _b;};_pComponent._make_accessibility_value=function(_a){var _b=this._getAccessibilityDescLevel(_a.desclevel);var _c="none";var _d=" ";var _e="";var _f="";if(_a.enable&&(_b!="none"&&_b!="child")){_c=this._getAccessibilityRole(_a);_d=this._getAccessibilityLabel(_a);_e=this._getAccessibilityDescription(_a);_f=this._getAccessibilityAction(_a);}var _g=_a.enable?"enable":"disable";if(!_c){_c="none";}if(!_d){_d=" ";}var _h=_c+" "+_g+" "+_b+" '"+_d+"' '"+_e+"' '"+_f+"'";var _i=nexacro._roleList[_c];var _j=nexacro._getCachedStyleObj("accessibility",_h);if(!_j._role||_j.desclevel!=_a.desclevel||_j._role!=_i||_j._label!=_d||_j._description!=_e||_j._action!=_f){_j._role=nexacro._roleList[_c];_j._label=_d;_j._description=_e;_j._action=_f;_j._desclevel=_b;return _j;}else{return _j;}return _a;};_pComponent._refreshAccessibilityValue=function(){if(nexacro._enableaccessibility&&(nexacro._accessibilitytype==4||nexacro._accessibilitytype==5)){var _a=this.getElement();var _b=this.on_find_CurrentStyle_accessibility(this._pseudo);if(_b&&_a){_b=this._make_accessibility_value(_b);_a.setAccessibility(_b);}}};_pComponent._setAccessibilityRole=nexacro._emptyFn;_pComponent._setAccessibilityLabel=nexacro._emptyFn;_pComponent._setAccessibilityEnable=nexacro._emptyFn;_pComponent._setAccessibilityDescription=nexacro._emptyFn;_pComponent._setAccessibilityDescLevel=nexacro._emptyFn;_pComponent._setAccessibilityStatDisabled=nexacro._emptyFn;_pComponent._setAccessibilityStatHidden=nexacro._emptyFn;_pComponent._setAccessibilityStatChecked=nexacro._emptyFn;_pComponent._setAccessibilityStatPressed=nexacro._emptyFn;_pComponent._setAccessibilityStatSelected=nexacro._emptyFn;_pComponent._setAccessibilityStatExpanded=nexacro._emptyFn;_pComponent._setAccessibilityFlagHasPopup=nexacro._emptyFn;_pComponent._setAccessibilityFlagFocusable=nexacro._emptyFn;_pComponent._setAccessibilityFlagReadOnly=nexacro._emptyFn;_pComponent._setAccessibilityFlagPassword=nexacro._emptyFn;_pComponent._setAccessibilityFlagMultiSelectable=nexacro._emptyFn;_pComponent._setAccessibilityFlagSelectable=nexacro._emptyFn;_pComponent._setAccessibilityFlagDefaultButton=nexacro._emptyFn;_pComponent._setAccessibilityFlagMultiLine=nexacro._emptyFn;_pComponent._setAccessibilityInfoCount=nexacro._emptyFn;_pComponent._setAccessibilityInfoIndex=nexacro._emptyFn;_pComponent._setAccessibilityInfoValueMax=nexacro._emptyFn;_pComponent._setAccessibilityInfoValueMin=nexacro._emptyFn;_pComponent._setAccessibilityInfoValueCur=nexacro._emptyFn;_pComponent._setAccessibilityInfoLevel=nexacro._emptyFn;_pComponent._setAccessibilityHotKey=nexacro._emptyFn;_pComponent._setAccessibilityActiveDescendant=nexacro._emptyFn;_pComponent._notifyAccessibility=nexacro._emptyFn;_pComponent._setAccessibilityStatFlag=nexacro._emptyFn;_pComponent._isAccessibilityEnable=nexacro._echoFn;_pComponent._isItemAccessibilityEnable=nexacro._echoFn;_pComponent._setAccessibilityValue=nexacro._emptyFn;_pComponent._setAccessibilityStatFocus=nexacro._emptyFn;_pComponent._getNextAccessibilityOrderIndex=nexacro._emptyFn;_pComponent._get_css_typename=function(){return this._type_name;};_pComponent._get_css_assumedtypename=function(){return this._type_name;};_pComponent._make_css_finder=function(){var _a;if(this._is_popup_frame){_a=this;}else{_a=this._refform;}if(!_a){return null;}else{if(_a._is_frame){if(_a._is_popup_frame){_a=this;}else{_a=application;}}else{while(_a&&!_a._is_form){if(_a._is_application){break;}_a=_a.parent;if(!_a){return null;}}}}var _b=this._ref_css_finder;if(!_b){this._makeCssRefInfo();}var _c=this._css_finder;if(!_c){var _d=[];var _e=_a._find_csslist;if(!_e){_e=_a._make_find_csslist();}var _f=_e.length;var _g="";var _h=this._get_css_typename();var _i=this._get_css_assumedtypename();var _j="";if(_h!=_i){_j=_i;}var _k=false,_l=false;var _m=false,_n=false;var _o;var _p;var _q;var _r;var _s;var _t=this._refcssid;if(this._refcssid){for(var _u=0;_u<_f;_u++ ){_o=_e[_u];_p=_o[_t];if(_p){_d.push(_p);_l=true;}}}_g=this.cssclass;if(_g){_g="."+_g;if(_j){var _v=_j+_g;for(var _u=0;_u<_f;_u++ ){_o=_e[_u];_s=_o[_v];if(_s){_d.push(_s);_n=true;_k=true;}}}if(_h){var _w=_h+_g;for(var _u=0;_u<_f;_u++ ){_o=_e[_u];_s=_o[_w];if(_s){_d.push(_s);_m=true;_k=true;}}}for(var _u=0;_u<_f;_u++ ){_o=_e[_u];_r=_o[_g];if(_r){_d.push(_r);_k=true;}}}if(_j){for(var _u=0;_u<_f;_u++ ){_o=_e[_u];_q=_o[_j];if(_q){_d.push(_q);_n=true;}}}if(_h){for(var _u=0;_u<_f;_u++ ){_o=_e[_u];_q=_o[_h];if(_q){_d.push(_q);_m=true;}}}var _x="";if(_k||_l||_m||_n){if(_j){_x+=_j;}else{_x+=_h;}if(_l){_x+="_"+_t;this._cssfind_useid=true;}if(_k){_x+="_"+this.cssclass;}}if(!_x){_c={};_c._finder_name=_h;}else{_c=_a._cssfinder_cache[_x];if(!_c){_c={};var _y,_z;var _aa=_d.length;for(var _u=_aa-1;_u>=0;_u-- ){var _ab=_d[_u];for(var _ac in _ab){if(!_ab.hasOwnProperty(_ac)){continue;}var _ad=_ab[_ac];if(_ad._is_selector){continue;}for(_y in _ad){if(!_ad.hasOwnProperty(_y)){continue;}_z=_ad[_y];if(!_c[_y]){_c[_y]={};}_c[_y][_ac]=_z;}}}_c._finder_name=_x;_c._find_selectors=_d;_a._cssfinder_cache[_x]=_c;}}this._css_finder=_c;}if(!_b){var _ae=this._refcssobj;var _af=this._refcssid;if(_ae&&_ae._is_component&&_af){if(!this._is_frame||(this._is_frame&&!this._is_popup_frame)){this._ref_css_finder=_ae._make_refcss_finder(_af,4);}}}return _c;};_pComponent._make_refcss_finder=function(_a,_b){var _c;if(this._is_popup_frame){_c=this;}else{_c=this._refform;}if(!_c){return null;}this._makeCssRefInfo();var _d=this._refcssid;var _e=_a;var _f=_d?(_d+_a):_a;var _g=null;var _h=this._refcssobj;if(_b-- >0&&_h&&_h._is_component&&_d){if(!this._is_frame||(this._is_frame&&!this._is_popup_frame)){_g=_h._make_refcss_finder(_f,_b);}}var _i=this._css_finder;var _j;if(!_g){if(!_i){_i=this._make_css_finder();}if(this._cssfind_useid){_j=_i._finder_name+"_"+_f;}else{_j=_i._finder_name+"_"+_e;}}else{if(this._cssfind_useid){_j=_g._finder_name+"_"+_f;}else{_j=_g._finder_name+"_"+_e;}}var _k=_c._cssfinder_cache[_j];if(!_k){var _l=[];if(_g){var _m=_g._find_selectors;if(_m){var _n;var _o=_m.length;for(var _p=0;_p<_o;_p++ ){_n=_m[_p];_l.push(_n);}}}if(_d){var _q=_c._find_csslist;if(!_q){_q=_c._make_find_csslist();}var _n;var _r;var _o=_q.length;for(var _p=0;_p<_o;_p++ ){_n=_q[_p];if(_r=_n[_f]){_l.push(_r);}}}var _s=_i._find_selectors;if(_s){var _n,_t;var _o=_s.length;for(var _p=0;_p<_o;_p++ ){_n=_s[_p];if(_t=_n[_a]){_l.push(_t);}}}var _u,_v;var _w=_l.length;if(_w>0){_k={};for(var _p=_w-1;_p>=0;_p-- ){var _x=_l[_p];for(var _y in _x){if(_y.charAt(0)=='$'){continue;}var _z=_x[_y];if(_z._is_selector){continue;}for(_u in _z){if(!_z.hasOwnProperty(_u)){continue;}_v=_z[_u];if(!_k[_u]){_k[_u]={};}_k[_u][_y]=_v;}}}if(this._cssfind_useid&&this._is_component&&this._is_subcontrol){_j=_i._finder_name+"_"+"#"+this.parent.id+_f;}_k._finder_name=_j;_k._find_selectors=_l;_c._cssfinder_cache[_j]=_k;}}return _k;};_pComponent._find_comp_pseudo_obj=function(_a,_b,_c){var _d;var _e=this._css_finder;do{if(_b!="normal"){var _f=this._styles[_b];if(_f&&(_d=_f[_a])&&(!_d._is_empty)){break;}var _g=(this._readonly&&_b!="readonly");if(_g){var _h=this._styles["readonly"];if(_h&&(_d=_h[_a])&&(!_d._is_empty)){break;}}var _i=this.style;if((_d=_i[_a])&&(!_d._is_empty)){break;}if(!_e){_e=this._make_css_finder();}var _j=this._ref_css_finder;var _k=(_j?_j[_b]:null);if(_k&&(_d=_k[_a])&&(!_d._is_empty)){break;}var _l=(_e?_e[_b]:null);if(_l&&(_d=_l[_a])&&(!_d._is_empty)){break;}if(_g){_k=(_j?_j["readonly"]:null);if(_k&&(_d=_k[_a])&&(!_d._is_empty)){break;}_l=(_e?_e["readonly"]:null);if(_l&&(_d=_l[_a])&&(!_d._is_empty)){break;}}_k=(_j?_j["normal"]:null);if(_k&&(_d=_k[_a])&&(!_d._is_empty)){break;}_l=(_e?_e["normal"]:null);if(_l&&(_d=_l[_a])&&(!_d._is_empty)){break;}}else{if(this._readonly){var _h=this._styles["readonly"];if(_h&&(_d=_h[_a])&&(!_d._is_empty)){break;}}var _i=this.style;if((_d=_i[_a])&&(!_d._is_empty)){break;}if(!_e){_e=this._make_css_finder();}var _j=this._ref_css_finder;var _k,_l;if(this._readonly){_k=(_j?_j["readonly"]:null);if(_k&&(_d=_k[_a])&&(!_d._is_empty)){break;}_l=(_e?_e["readonly"]:null);if(_l&&(_d=_l[_a])&&(!_d._is_empty)){break;}}_k=(_j?_j["normal"]:null);if(_k&&(_d=_k[_a])&&(!_d._is_empty)){break;}_l=(_e?_e["normal"]:null);if(_l&&(_d=_l[_a])&&(!_d._is_empty)){break;}}}while(false)if(_d&&!_d._is_empty){var _m=_d._type_name.toLowerCase();if(_c&&_m!=_c){_d=nexacro._getCachedStyleObj(_c,_d._value);}return _d;}return null;};_pComponent._find_comp_pseudo_obj_from_finder=function(_a,_b,_c){var _d;var _e=this._css_finder;do{if(_b!="normal"){if(!_e){_e=this._make_css_finder();}var _f=this._ref_css_finder;var _g=(_f?_f[_b]:null);if(_g&&(_d=_g[_a])&&(!_d._is_empty)){break;}var _h=(_e?_e[_b]:null);if(_h&&(_d=_h[_a])&&(!_d._is_empty)){break;}if(this._readonly&&_b!="readonly"){_g=(_f?_f["readonly"]:null);if(_g&&(_d=_g[_a])&&(!_d._is_empty)){break;}_h=(_e?_e["readonly"]:null);if(_h&&(_d=_h[_a])&&(!_d._is_empty)){break;}}_g=(_f?_f["normal"]:null);if(_g&&(_d=_g[_a])&&(!_d._is_empty)){break;}_h=(_e?_e["normal"]:null);if(_h&&(_d=_h[_a])&&(!_d._is_empty)){break;}}else{if(!_e){_e=this._make_css_finder();}var _f=this._ref_css_finder;var _g,_h;if(this._readonly){_g=(_f?_f["readonly"]:null);if(_g&&(_d=_g[_a])&&(!_d._is_empty)){break;}_h=(_e?_e["readonly"]:null);if(_h&&(_d=_h[_a])&&(!_d._is_empty)){break;}}_g=(_f?_f["normal"]:null);if(_g&&(_d=_g[_a])&&(!_d._is_empty)){break;}_h=(_e?_e["normal"]:null);if(_h&&(_d=_h[_a])&&(!_d._is_empty)){break;}}}while(false)if(_d&&!_d._is_empty){var _i=_d._type_name.toLowerCase();if(_c&&_i!=_c){_d=nexacro._getCachedStyleObj(_c,_d._value);}return _d;}return null;};_pComponent._makeCssRefInfo=function(){if(!this._refcssobj){var _a=this.parent;if(_a&&_a._is_component){this._refcssobj=_a;}}if(!this._refcssid&&this.id){this._refcssid="#"+this.id;}return this._refcssobj;};_pComponent._find_ctrl_pseudo_obj=_pComponent._find_comp_pseudo_obj;_pComponent._find_typedctrl_pseudo_obj=_pComponent._find_comp_pseudo_obj;_pComponent._contains=function(_a){while(_a){if(_a==this){return true;}_a=_a.parent;}return false;};_pComponent._getRootComponent=function(_a){var _b=_a;while(_b&&(_b._is_subcontrol||!_b._is_component)){if(_b==_b.parent){return null;}_b=_b.parent;}return _b;};_pComponent._getPopupRootComponent=function(_a){var _b=_a;while(_b&&(_b._is_subcontrol||!_b._is_component)&&!_b.popupwindow){if(_b==_b.parent){return null;}_b=_b.parent;}return _b;};_pComponent._getElementRootControl=function(_a){var _b=_a;while(_b&&!_b.linkedcontrol){_b=_b.parent;}var _c=_b.linkedcontrol;while(_c&&!_c._is_subcontrol){if(_c==_c.parent){break;}_c=_c.parent;}return _c;};_pComponent._getMainForm=function(){var _a=this;while(_a){if(_a._is_frame){return _a.form;}if(!_a._is_form&&_a._refform){_a=_a._refform;}else if(_a.parent){_a=_a.parent;}else{if(_a._is_form){return _a;}return null;}}return null;};_pComponent._getRootWindowComponent=function(_a){var _b=_a?_a:this;while(_b){if(_b._is_window){return _b;}if(_b._isPopupVisible()){return _b;}if(_b==_b.parent){break;}_b=_b.parent;}return null;};_pComponent._isPopupVisible=function(){return false;};_pComponent._closePopup=function(){var _a=this.popupwindow;if(_a){_a._closePopup();}};_pComponent._getReferenceComponent=function(_a){var _b=_a;while(_b&&!_b._is_reference_control){if(_b==_b.parent){return null;}_b=_b.parent;}return _b;};_pComponent._getReferenceContext=function(){return this._refform;};_pComponent._centerPopup=function(_a,_b,_c){var _d=this._getOwnerFrame();if(!_d){return;}var _e=_d._getWindow();_d=_e?_e.frame:null;if(!_d){return;}var _f=nexacro._getElementPositionInFrame(_d.getElement());var _g=((_d.width/2)-(_b/2));var _h=((_d.height/2)-(_c/2));_h=_h<0?0:_h;_c=_c>_d.height?_d.height:_c;_a._popup((_g+_f.x),(_h+_f.y),_b,_c);};_pComponent._getPopupType=function(){var _a=this.on_find_CurrentStyle_popuptype(this._pseudo);if(!_a){return application.popuptype;}return _a._value;};_pComponent._getDlgCode=function(_a,_b,_c,_d){return {want_tab:false,want_return:false,want_escape:false,want_chars:false,want_arrows:false,want_touchstart:false,want_touchmove:false};};_pComponent.set_scrollbars=function(_a){if(_a!=this.scrollbars||!this._is_created){switch(_a){case "none":this._scrollbars=0;break;case "autovert":this._scrollbars=1;break;case "autohorz":this._scrollbars=2;break;case "autoboth":this._scrollbars=3;break;case "fixedvert":this._scrollbars=4;break;case "fixedhorz":this._scrollbars=8;break;case "fixedboth":this._scrollbars=12;break;case "alwaysvert":this._scrollbars=16;break;case "alwayshorz":this._scrollbars=32;break;default:this._scrollbars=3;_a="autoboth";}this.scrollbars=_a;if(this._control_element&&this._is_created){this._onResetScrollBar();}}return _a;};_pComponent.on_vscroll=function(_a,_b){if(this.onvscroll&&this.onvscroll._has_handlers){_b.fromobject=this;this.onvscroll._fireEvent(this,_b);}return true;};_pComponent.on_hscroll=function(_a,_b){if(this.onhscroll&&this.onhscroll._has_handlers){_b.fromobject=this;this.onhscroll._fireEvent(this,_b);}return true;};_pComponent._onRecalcScrollSize=nexacro._emptyFn;_pComponent._onResetScrollBar=function(){if(!this._is_scrollable){return;}var _a=this._control_element;if(_a){var _b=false;var _c=false;var _d=nexacro.Component.SCROLLBAR_DEFAULT_SIZE;var _e=_d;var _f=_d;var _g=0;var _h=false;var _i=false;switch(this._scrollbars){case 0:break;case 1:_h=true;_g=1;break;case 2:_i=true;_g=1;break;case 3:_h=true;_i=true;_g=1;break;case 4:_h=true;_g=2;break;case 8:_i=true;_g=2;break;case 12:_h=true;_i=true;_g=2;break;case 16:_h=true;_i=true;_g=31;break;case 32:_h=true;_i=true;_g=32;break;}if(_i&&!this.hscrollbar){this.hscrollbar=this._createHScrollBar(_d);if(this.hscrollbar.scrollbarsize>0){_e=this.hscrollbar.scrollbarsize;this.hscrollbar.resize(this._client_width,_e);}_b=true;}else if(_i&&this.hscrollbar){if(this.hscrollbar.scrollbarsize>0){_e=this.hscrollbar.scrollbarsize;this.hscrollbar.resize(this._client_width,_e);_a._hscroll_height=_e;}}else if(!_i&&this.hscrollbar){this.hscrollbar.destroy();this.hscrollbar=null;}if(_h&&!this.vscrollbar){this.vscrollbar=this._createVScrollBar(_d);if(this.vscrollbar.scrollbarsize>0){_f=this.vscrollbar.scrollbarsize;this.vscrollbar.resize(_f,this._client_height);}_c=true;}else if(_h&&this.vscrollbar){if(this.vscrollbar.scrollbarsize>0){_f=this.vscrollbar.scrollbarsize;this.vscrollbar.resize(_f,this._client_height);_a._vscroll_width=_f;}}else if(!_h&&this.vscrollbar){this.vscrollbar.destroy();this.vscrollbar=null;}_a.setScrollControls(this.hscrollbar,this.vscrollbar,_e,_f,_g);if(_b){this.hscrollbar.createComponent();}if(_c){this.vscrollbar.createComponent();}if(_a._handle){if(this.hscrollbar&&!this.hscrollbar._is_created){this.hscrollbar.on_created();}if(this.vscrollbar&&!this.vscrollbar._is_created){this.vscrollbar.on_created();}}this._updateClientSize(_a);}};_pComponent._cancelEvent=function(_a){};_pComponent._createVScrollBar=function(_a){var _b=new nexacro.ScrollBarCtrl("vscrollbar","absolute",0,0,_a,this._client_width,null,null,this);_b._setDirection("vert");_b._setEventHandler("onscroll",this.on_vscroll,this);_b.on_update_style_scrollbarsize();return _b;};_pComponent._createHScrollBar=function(_a){var _b=new nexacro.ScrollBarCtrl("hscrollbar","absolute",0,0,this._client_width,_a,null,null,this);_b._setDirection("horz");_b._setEventHandler("onscroll",this.on_hscroll,this);_b.on_update_style_scrollbarsize();return _b;};_pComponent._isWheelScrollable=function(_a){var _b=this._control_element;if(!_b){return false;}var _c=_b.scroll_top;var _d=_b.container_maxheight;var _e=this._client_height;if((_c+_e>=_d&&_a<0)||(_c==0&&_a>0)){return false;}return true;};_pComponent._getResultPseudo=function(_a,_b){if(_b==""){_b="normal";}return nexacro.Component._status_table[_a+"_"+_b];};_pComponent.getCurrentPseudo=function(){return this._pseudo;};_pComponent.setCurrentPseudo=function(_a){var _b=this._getResultPseudo(this._status,_a);if(_b){this._stat_change(this.status,_a);}return _b;};_pComponent._stat_change=function(_a,_b){this.on_change_status(_a,_b);};_pComponent.on_change_status=function(_a,_b){var _c;switch(_a){case "enable":if(this._status!="focus"){if(this._readonly){this._status="readonly";}else{this._status="enable";}}break;case "disable":this._status="disable";break;case "focus":if(this._status!="disable"){this._status="focus";}break;case "notfocus":if(this._status!="disable"){if(this._readonly){this._status="readonly";}else{this._status="enable";}}break;case "select":this._selected=true;break;case "notselect":this._selected=false;break;case "push":this._pushed=true;break;case "notpush":this._pushed=false;if(this._selected&&_b=="normal"){_b="selected";}break;case "readonly":if(!this._readonly){this._readonly=true;this._control_pseudo="";this._contents_pseudo="";}if(this._status=="enable"){this._status="readonly";}break;case "writable":if(this._readonly){this._readonly=false;this._control_pseudo="";this._contents_pseudo="";}if(this._status=="readonly"){this._status="enable";}break;}this.on_apply_pseudo(_b);this._setAccessibilityStatFlag(this._status,_b);};_pComponent.on_apply_custom_pseudo=function(_a){};_pComponent.on_apply_pseudo=function(_a,_b){var _c=this.parent;var _d=(nexacro._is_enable_setting)?this.enable:this.enable&&this._real_enable;if(_c&&!_c._is_application&&this._getWindow()==_c._getWindow()){while(_c!=null){if(!_c._is_frame||(_c._is_frame&&!_c._is_popup_frame)){if(_c._is_subcontrol==false){if(_c._real_enable==false||_c.enable==false){_d=false;break;}}if(_c.parent&&!_c.parent._is_application&&_c._getWindow()!=_c.parent._getWindow()){break;}_c=_c.parent;}else{break;}}}if(this._setEnable(_d)){return;}this._pseudo=_a=this._getResultPseudo(this._status,_a);var _e=this._control_element;if(this.visible&&_e){if(!_b){this._updateControl(_e,_a);}this._updateContents(_e,_a);}};_pComponent._find_pseudo_obj=_pComponent._find_comp_pseudo_obj;_pComponent.on_create_custom_style=function(){return new nexacro.Style(this);};_pComponent.on_create_custom_currentStyle=function(){return new nexacro.CurrentStyle(this);};_pComponent._updateCurrentStyle=function(_a){var _b=this._find_pseudo_obj(_a,this._pseudo);if(_b){if(_b!=this.currentstyle[_a]){this.currentstyle[_a]=_b;return true;}}return false;};_pComponent.on_find_CurrentStyle_background=function(_a){return this._find_pseudo_obj("background",_a,"background");};_pComponent.on_find_CurrentStyle_border=function(_a){return this._find_pseudo_obj("border",_a,"border");};_pComponent.on_find_CurrentStyle_bordertype=function(_a){return this._find_pseudo_obj("bordertype",_a,"bordertype");};_pComponent.on_find_CurrentStyle_gradation=function(_a){return this._find_pseudo_obj("gradation",_a,"gradation");};_pComponent.on_find_CurrentStyle_opacity=function(_a){var _b=this._find_pseudo_obj("opacity",_a,"opacity");return (_b)?_b:nexacro.Component._default_opacity;};_pComponent.on_find_CurrentStyle_shadow=function(_a){return this._find_pseudo_obj("shadow",_a,"shadow");};_pComponent.on_find_CurrentStyle_cursor=function(_a){var _b="";if(!this._isEnable()&&this.parent&&!this.parent._is_application){if(!this._is_subcontrol){_b=this.parent._find_pseudo_obj("cursor",_a,"cursor");}else{var _c=this.parent;while(_c&&_c._is_form){_c=_c.parent;}if(_c){_b=_c._find_pseudo_obj("cursor",_a,"cursor");}else{_b=null;}}}else{_b=this._find_pseudo_obj("cursor",_a,"cursor");}return (_b)?_b:nexacro.Component._default_cursor;};_pComponent.on_find_CurrentStyle_margin=function(_a){var _b=this._find_pseudo_obj("margin",_a,"margin");return (_b)?_b:nexacro.Component._default_margin;};_pComponent.on_find_CurrentStyle_padding=function(_a){var _b=this._find_pseudo_obj("padding",_a,"padding");return (_b)?_b:nexacro.Component._default_padding;};_pComponent.on_find_CurrentStyle_align=function(_a){var _b=this._find_pseudo_obj("align",_a,"align");return (_b)?_b:nexacro.Component._default_align;};_pComponent.on_find_CurrentStyle_font=function(_a){var _b=this._find_pseudo_obj("font",_a,"font");if(!_b){_b=this._find_inherit_pseudo_obj("font",_a,"font");}return (_b)?_b:nexacro.Component._default_font;};_pComponent.on_find_CurrentStyle_color=function(_a){var _b=this._find_pseudo_obj("color",_a,"color");if(!_b){_b=this._find_inherit_pseudo_obj("color",_a,"color");}return (_b)?_b:nexacro.Component._default_color;};_pComponent.on_find_CurrentStyle_accessibility=function(_a){var _b=this._find_pseudo_obj("accessibility",_a,"accessibility");return _b?_b:nexacro.Component._default_accessibility;};_pComponent.on_find_CurrentStyle_rtlimagemirroring=function(_a){var _b=this._find_pseudo_obj("rtlimagemirroring",_a,"rtlimagemirroring");return _b?_b:nexacro.Component._default_rtlimagemirroring;};_pComponent._find_inherit_pseudo_obj=function(_a,_b,_c){var _d=this._find_pseudo_obj(_a,_b,_c);if(!_d){var _e=this._refcssobj;if(!_e){_e=this._makeCssRefInfo();}if(_e&&_e._is_component){_d=_e._find_inherit_pseudo_obj(_a,_b,_c);}}if(_d&&!_d._is_empty){var _f=_d._type_name.toLowerCase();if(_c&&_f!=_c){_d=nexacro._getCachedStyleObj(_c,_d._value);}}return _d;};_pComponent.on_find_CurrentStyle_glow=function(){};_pComponent.on_find_CurrentStyle_blur=function(){};_pComponent.on_update_style_margin=function(){this.on_apply_style_margin(this.currentstyle.margin=this.on_find_CurrentStyle_margin(this._pseudo));};_pComponent.on_update_style_border=function(){this.on_apply_style_border(this.currentstyle.border=this.on_find_CurrentStyle_border(this._pseudo));};_pComponent.on_update_style_bordertype=function(){this.on_apply_style_bordertype(this.currentstyle.bordertype=this.on_find_CurrentStyle_bordertype(this._pseudo));};_pComponent.on_update_style_background=function(){this.on_apply_style_background(this.currentstyle.background=this.on_find_CurrentStyle_background(this._pseudo));};_pComponent.on_update_style_gradation=function(){this.on_apply_style_gradation(this.currentstyle.gradation=this.on_find_CurrentStyle_gradation(this._pseudo));};_pComponent.on_update_style_opacity=function(){this.on_apply_style_opacity(this.currentstyle.opacity=this.on_find_CurrentStyle_opacity(this._pseudo));};_pComponent.on_update_style_shadow=function(){this.on_apply_style_shadow(this.currentstyle.shadow=this.on_find_CurrentStyle_shadow(this._pseudo));};_pComponent.on_update_style_cursor=function(){this.on_apply_style_cursor(this.currentstyle.cursor=this.on_find_CurrentStyle_cursor(this._pseudo));};_pComponent.on_update_style_padding=function(){var _a=this.currentstyle.padding=this.on_find_CurrentStyle_padding(this._pseudo);if(this._apply_client_padding){var _b=this._control_element;_b.setElementPadding(_a);this._updateClientSize(_b);}else{this.on_apply_style_padding(_a);}};_pComponent.on_update_style_align=function(){this.on_apply_style_align(this.currentstyle.align=this.on_find_CurrentStyle_align(this._pseudo));};_pComponent.on_update_style_font=function(){this.on_apply_style_font(this.currentstyle.font=this.on_find_CurrentStyle_font(this._pseudo));};_pComponent.on_update_style_color=function(){this.on_apply_style_color(this.currentstyle.color=this.on_find_CurrentStyle_color(this._pseudo));};_pComponent.on_update_style_accessibility=function(){var _a=this.on_find_CurrentStyle_accessibility(this._pseudo);this.on_apply_style_accessibility(this.currentstyle.accessibility=this._make_accessibility_value(_a));};_pComponent.on_update_style_rtlimagemirroring=function(){var _a=this.on_find_CurrentStyle_rtlimagemirroring(this._pseudo);this.on_apply_style_rtlimagemirroring(this.currentstyle.rtlimagemirroring=_a);};_pComponent.on_update_style_glow=function(){};_pComponent.on_update_style_blur=function(){};_pComponent.on_apply_style_margin=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b&&this._margin!=_a){this._margin=_a;this._adjustPosition(this.left,this.top,this.right,this.bottom,this.width,this.height,this.parent._client_width,this.parent._client_height);_b.setElementVisible(this.visible);_b.setElementPosition(this._adjust_left,this._adjust_top);_b.setElementSize(this._adjust_width,this._adjust_height);}};_pComponent.on_apply_style_border=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b){var _c=this.currentstyle;_b.setElementBorder(_a,_c.bordertype);_b.setElementBackground(_c.background,_c.gradation);this._updateClientSize(_b);}};_pComponent.on_apply_style_bordertype=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b){var _c=this.currentstyle;_b.setElementBorder(_c.border,_a);_b.setElementBackground(_c.background,_c.gradation);this._updateClientSize(_b);}};_pComponent.on_apply_style_background=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b){_b.setElementBackground(_a,this.currentstyle.gradation);}};_pComponent.on_apply_style_gradation=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b){_b.setElementBackground(this.currentstyle.background,_a);}};_pComponent.on_apply_style_opacity=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b){_b.setElementOpacity(_a);}};_pComponent.on_apply_style_shadow=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b){_a=(_a==undefined)?nexacro.Component._default_shadow:_a;_b.setElementShadow(_a);}};_pComponent.on_apply_style_cursor=function(_a){var _b=this._control_element;if(_b){_b.setElementCursor(_a);}};_pComponent.on_apply_style_control_padding=function(_a){if(!this._isEnableRedraw()){return;}var _b=this._control_element;if(_b&&_a){_b.setElementPadding(_a);}};_pComponent.on_apply_style_accessibility=function(_a){var _b=this._control_element;if(_b&&_a){_b.setAccessibility(_a);}};_pComponent.on_apply_style_rtlimagemirroring=function(_a){var _b=this._control_element;var _c=this._img_elem;if(_b&&_a){_b.setElementImageMirror(_a);if(_c){_c.setElementImageMirror(_a);}}};_pComponent.on_apply_style_padding=function(_a){};_pComponent.on_apply_style_align=function(_a){};_pComponent.on_apply_style_font=function(_a){};_pComponent.on_apply_style_color=function(_a){};_pComponent.on_apply_style_glow=function(_a){};_pComponent.on_apply_style_blur=function(_a){};_pComponent.on_apply_custom_class=function(){};_pComponent.on_apply_text=function(){};_pComponent.on_apply_expr=function(){};_pComponent.on_apply_prop_enable=function(_a){if(this._is_scrollable==true){if(this.vscrollbar){this.vscrollbar._setEnable(_a);}if(this.hscrollbar){this.hscrollbar._setEnable(_a);}}};_pComponent.on_apply_prop_class=function(){this.currentstyle._empty();this._css_finder=null;this._ref_css_finder=null;this._control_pseudo="";this._contents_pseudo="";this._cssfinder_cache={};var _a=(!this._pseudo)?"normal":this._pseudo;if(this.vscrollbar){this.vscrollbar.on_apply_prop_class();}if(this.hscrollbar){this.hscrollbar.on_apply_prop_class();}this._onResetScrollBar();this.on_apply_pseudo(_a);this.on_apply_custom_class(_a);};_pComponent.on_apply_prop_taborder=function(){if(this.tabstop){this._setAccessibilityFlagFocusable(this._taborder>=0?true:false);}};_pComponent.on_apply_custom_setfocus=function(_a){var _b=this._control_element;if(_b){var _c=((_a=="lbutton")?false:nexacro._enableaccessibility);_b.setElementFocus(_c);}};_pComponent.on_apply_prop_tooltip=function(){var _a=this._control_element;if(_a&&!this._is_subcontrol){_a.setElementToolTip(this.tooltiptext,this.tooltiptype);}};_pComponent.on_apply_prop_rtldirection=function(){var _a=this._control_element;var _b=this._rtldirection;if(_a){_a.setElementRtlDirection(_b);}};_pComponent.on_apply_locale=nexacro._emptyFn;_pComponent.on_create_contents=function(){};_pComponent.on_created_contents=function(){};_pComponent.on_destroy_contents=function(){};_pComponent.on_created=function(_a){if(!this._is_loading){var _b=null;if(!this._is_window){_b=this.parent?this.parent._control_element:null;if(!_b){return false;}}if(!_a){_a=this._getWindow();}var _c=this._control_element;var _d=this._isEnable();if((this._real_enable==null&&_d==false)||(this._real_enable&&this._real_enable!=_d)){this._real_enable=_d;this._stat_change(_d?"enable":"disable",this._pseudo);this.on_apply_prop_enable(_d);}else{this._real_enable=_d;}if(_c){_c.create(_a);if(!_c._handle){return;}}if(!this._is_subcontrol){this._registerHotkey();}if(this._is_created!=true){this.on_created_contents();}this._is_created=true;if(this._is_subcontrol){nexacro._addSubComponent(this);}}};_pComponent.on_change_containerPos=function(_a,_b){};_pComponent.on_change_containerRect=function(_a,_b){};_pComponent.on_create_normal_control_element=function(_a){var _b=new nexacro.ControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_scrollable_control_element=function(_a){var _b=new nexacro.ScrollableControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_frame_control_element=function(_a){var _b=new nexacro.FrameControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_tablecell_control_element=function(_a){var _b=new nexacro.CellControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_simple_control_element=function(_a){var _b=new nexacro.SimpleControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_popup_control_element=function(_a){var _b=new nexacro.PopupControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_popupscrollable_control_element=function(_a){var _b=new nexacro.PopupScrollableControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_band_control_element=function(_a){var _b=new nexacro.BandControlElement(_a,this._is_band_vert_paging);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_area_scroll_control_element=function(_a){var _b=new nexacro.ScrollableAreaControlElement(_a);_b.setLinkedControl(this);this._control_element=_b;return _b;};_pComponent.on_create_control_element=function(_a){var _b=null;if(this._is_simple_control){_b=this.on_create_simple_control_element(_a);}else if(this._is_tablecell){_b=this.on_create_tablecell_control_element(_a);}else if(this._is_frame){_b=this.on_create_frame_control_element(_a);}else if(this._is_scrollable){_b=this.on_create_scrollable_control_element(_a);}else if(this._is_band_control){_b=this.on_create_band_control_element(_a);}else if(this._is_area_scroll){this._is_scrollable=true;_b=this.on_create_area_scroll_control_element(_a);}else if(this._is_popup_control){_b=this.on_create_popup_control_element(_a);}else{_b=this.on_create_normal_control_element(_a);}return _b;};_pComponent.createComponent=function(_a){var _b=null;if(!this._is_window){_b=this.parent?this.parent._control_element:null;if(!_b){return false;}}var _c=this._control_element;if(!_c){_c=this.on_create_control_element(_b);if(this._is_nc_control){_c._is_nc_element=true;}var _d=this._getResultPseudo(this._status,this._pseudo);this._initControl(_c,_d);this._initContents(_c,_d);if(this.text||this.expr){this.on_apply_text();}if(this._taborder>=0){this.on_apply_prop_taborder();}if(this.tooltiptext){this.on_apply_prop_tooltip();}this.on_apply_positionstep(this.positionstep);if(!_a&&_b&&_b._handle){var _e=this._getWindow();this.on_created(_e);}}return true;};_pComponent.destroyComponent=function(){if(!this._is_alive){return;}this._is_alive=false;if(!this._is_subcontrol){this._unregisterHotkey();}if(nexacro._enableaccessibility){if(application._accessibilityHistoryList){application._remove_accessibility_history(this);}}this._clearEventListeners();if(this.parent&&this.parent._overedobj&&this.parent._overedobj==this){this.parent._overedobj=null;}if(this.parent&&this.parent.removeChild){this.parent.removeChild(this.id);}else{var _a=this._getWindow();if(_a){_a._removeFromCurrentFocusPath(this);}}if(this._control_element){this._control_element.destroy();this._control_element=null;}if(this.vscrollbar){this.vscrollbar.destroy();this.vscrollbar=null;}if(this.hscrollbar){this.hscrollbar.destroy();this.hscrollbar=null;}this.on_destroy_contents();if(this._subctrlitems){nexacro._deleteAllSubComponent(this);}if(this._is_subcontrol&&this.parent&&this.parent._subctrlitems){nexacro._deleteSubComponent(this,this.parent);}this._is_created=false;if(this._refform){this._refform=null;}if(this.parent){this.parent=null;}if(this._refobj){this._refobj=null;}if(this.hotkey){this.hotkey=null;}if(this.rtldirection){this.rtldirection=null;}if(this._refcssobj){this._refcssobj=null;}if(this._overedobj){this._overedobj=null;}if(this._event_list){this._event_list=null;}if(this._last_focused){this._last_focused=null;}this._delete_style();if(this.currentstyle){this.currentstyle._empty();this.currentstyle=null;}this._css_finder=null;this._ref_css_finder=null;this._enable_redraw_history=null;return true;};_pComponent._delete_style=function(){if(this.style){this.style.destroy();this.style=null;}if(this._styles){var _a=this._styles;for(var _b in _a){var _c=_a[_b];if(_c.destroy){_c.destroy();_c=null;}}this._styles=null;}};_pComponent._initControl=function(_a,_b){var _c=this.visible;if(!this.visible){_a.setElementVisible(false);}else{_a.setElementVisible(true);}var _d=this.on_find_CurrentStyle_margin(_b);var _e=this.currentstyle;if(_d&&_d!=_e.margin){_e.margin=_d;this._margin=_d;}if(this.parent){this._adjustPosition(this.left,this.top,this.right,this.bottom,this.width,this.height,this.parent._client_width||this.parent._init_width,this.parent._client_height||this.parent._init_height);}else{this._adjustPosition(this.left,this.top,this.right,this.bottom,this.width,this.height,0,0);}_a.setElementPosition(this._adjust_left,this._adjust_top);_a.setElementSize(this._adjust_width,this._adjust_height);this._updateControl(_a,_b);};_pComponent._isEnableRedraw=function(){var _a=this._getFromComponent(this);if(!_a.enableredraw){if(!_a._enable_redraw_history["common_updatestyle"]){_a._enable_redraw_history["common_updatestyle"]=[];}this._is_applyenableredraw=false;_a._enable_redraw_history["common_updatestyle"].push(this);}return _a.enableredraw;};_pComponent._updateCursor=function(_a){if(nexacro._cur_track_info||nexacro._cur_extra_track_info){return;}var _b=this.currentstyle;if(!_a){_a=this.on_find_CurrentStyle_cursor(this._pseudo);}_b.cursor=_a;this._control_element.setElementCursor(_a);_a=null;};_pComponent._updateControl=function(_a,_b){if(!this._isEnableRedraw()){return;}if(nexacro._cur_track_info&&_b=="mouseover"){return;}var _c=false;if(this._adjust_width!=0&&this._adjust_height!=0){_c=true;}if(_a&&this._control_pseudo!=_b){this._control_pseudo=_b;var _d=this.currentstyle;var _e=this.on_find_CurrentStyle_border(_b);var _f=this.on_find_CurrentStyle_bordertype(_b);var _g=this.on_find_CurrentStyle_background(_b);var _h=this.on_find_CurrentStyle_gradation(_b);var _i=(_g!=_d.background);var _j=(_f!=_d.bordertype);var _k=(_e!=_d.border);var _l=(_h!=_d.gradation);if(_k||_j||_i||_l){this._apply_client_border=_k;_d.bordertype=_f;_d.border=_e;_d.background=_g;_d.gradation=_h;if(_c){_a.setElementBorder(_e,_f);_a.setElementBackground(_g,_h);}}_e=_f=_g=_h=null;_i=_j=_k=_l=null;var _m=this.on_find_CurrentStyle_opacity(_b);if(_m&&_m!=_d.opacity){_d.opacity=_m;if(_c){_a.setElementOpacity(_m);}}_m=null;var _n=this.on_find_CurrentStyle_shadow(_b);if(_n&&_n!=_d.shadow){_d.shadow=_n;if(_c){_a.setElementShadow(_n);}}_n=null;if(!nexacro._cur_track_info&&!nexacro._cur_extra_track_info){var _o=this.on_find_CurrentStyle_cursor(_b);if(_o&&_o!=_d.cursor){_d.cursor=_o;if(_c){_a.setElementCursor(_o);}}_o=null;}if(nexacro._enableaccessibility){var _p=this.on_find_CurrentStyle_accessibility(_b);if(_p&&_p!=_d.accessibility){_d.accessibility=this._make_accessibility_value(_p);if(_c){_a.setAccessibility(_d.accessibility);}}_p=null;}if(this._apply_client_padding){var _q=this.on_find_CurrentStyle_padding(_b);if(_q&&_q!=_d.padding){_d.padding=_q;if(_c){_a.setElementPadding(_q);}}_q=null;}if(_c){this._updateClientSize(_a);}_d=null;return true;}return false;};_pComponent._initContents=function(_a,_b){if(this._contents_pseudo!=_b){this._contents_pseudo=_b;var _c=this.currentstyle;this.on_apply_custom_pseudo(_b);this.on_create_contents();this._is_created_contents=true;if(this._has_dirty_pos){this.on_change_containerPos(this._adjust_left,this._adjust_top);this._has_dirty_pos=false;}if(this._has_dirty_rect){this.on_change_containerRect(this._client_width,this._client_height);this._has_dirty_rect=false;}}this._is_loading=false;};_pComponent._updateContents=function(_a,_b){if(!this._isEnableRedraw()){return;}if(nexacro._cur_track_info&&_b=="mouseover"){return;}if(this._contents_pseudo!=_b&&this._adjust_width!=0&&this._adjust_height!=0){this._contents_pseudo=_b;var _c=this.currentstyle;this.on_apply_custom_pseudo(_b);}};_pComponent._updateClientSize=function(_a){var _b=_a.client_left;var _c=_a.client_top;var _d=_a.client_width;var _e=_a.client_height;if(this._client_left!=_b||this._client_top!=_c){this._client_left=_b;this._client_top=_c;if(this._is_created_contents){this.on_change_containerPos(_b,_c);}else{this._has_dirty_pos=true;}}if(this._client_width!=_d||this._client_height!=_e){this._client_width=_d;this._client_height=_e;if(this._is_created_contents){this.on_change_containerRect(_d,_e);nexacro._redrawVMLBorder(this);}else{this._has_dirty_rect=true;}}};_pComponent._applyZoomPopup=nexacro._emptyFn;_pComponent.on_update_position=function(_a,_b){var _c=this._control_element;if(_c){_c.setElementPosition(this._adjust_left,this._adjust_top);_c.setElementSize(this._adjust_width,this._adjust_height);this._updateClientSize(_c);if(_b){this.on_fire_onmove(this._adjust_left,this._adjust_top);}if(_a){this.on_fire_onsize(this._adjust_width,this._adjust_height);}}};_pComponent._applysetPosition=function(_a,_b,_c,_d){var _e=this._adjust_left;var _f=this._adjust_top;var _g=this._adjust_width;var _h=this._adjust_height;this._adjustPosition(_a,_b,null,null,_c,_d,this.parent._client_width,this.parent._client_height);var _i=this._control_element;if(_i){_i.setElementPosition(this._adjust_left,this._adjust_top);_i.setElementSize(this._adjust_width,this._adjust_height);this._updateClientSize(_i);if(_e!=this._adjust_left||_f!=this._adjust_top){this.on_fire_onmove(this._adjust_left,this._adjust_top);}if(_g!=this._adjust_width||_h!=this._adjust_height){this.on_fire_onsize(this._adjust_width,this._adjust_height);}}};_pComponent.set_positionstep=function(_a){if(_a===""||_a===null||_a===undefined){_a=0;}else{_a=parseInt(_a)|0;}if(this.positionstep!==_a){this._beforepositionstep=this.positionstep;this.positionstep=_a;this.on_apply_positionstep(_a);}};_pComponent.on_apply_positionstep=function(_a){var _b=this.getElement();if(_b){if(_a==null){_a=0;}_b.setElementPositionStep(_a);}};_pComponent.set_style=function(_a){_a=nexacro._decodeXml(_a);var _b=_a.split("}");var _c=_b[0].trim();var _d=this._styles={};_b.pop();var _e,_f=_b.length;var _g,_h,_i;_g=_c.split("{");_i=_g[0].substring(0,_g[0].lastIndexOf(";")+1).trim();if(_i.length==0){_i=_g[0].substring(0,_g[0].length).trim();}var _j=(this.style._value!=_i);if(_j){this.style._setValue(_i);}if(_f>0){for(_e=0;_e<_f;_e++ ){_g=_b[_e].split("{");_h=_g[0].substring(_g[0].lastIndexOf(":")+1).trim();var _k=this.on_create_custom_style();_k._setValue(_g[1]);_d[_h]=_k;}}if(_j){this.currentstyle._empty();this._control_pseudo="";this._contents_pseudo="";this.on_apply_pseudo(this._pseudo);}return this.style._value;};_pComponent.set_name=function(_a){this.name=_a;};_pComponent.set_text=function(_a){var _b=nexacro._toString(_a);if(_b!=this.text){this.text=_b;this._display_text=_b;this.on_apply_text();}};_pComponent.set_expr=function(_a){var _b=nexacro._toString(_a);if(_b!=this.expr){this.expr=_b;this.on_apply_expr();}};_pComponent.set_cssclass=function(_a){if(_a!=this.cssclass){this.cssclass=_a;if(this.parent){if(this._is_created){this.on_apply_prop_class();}}}};_pComponent.set_visible=function(_a){if(_a===undefined||_a===null){return;}var _b=this._control_element;_a=nexacro._toBoolean(_a);if(this.visible!=_a){var _c=this._getWindow();var _d;if(!_a&&this._is_created&&this.parent){if(_c&&_c._indexOfCurrentFocusPaths(this)> -1){var _e=this._getForm();var _f=this.tabstop;this.tabstop=false;_d=_e._searchNextTabFocus();this.tabstop=_f;}}this.visible=_a;if(_b){_b.setElementVisible(_a);this._setAccessibilityStatHidden(!_a);if(this.visible){nexacro._resetVML(this);var _g=this.parent;if(!this._is_subcontrol&&this._is_created&&_g&&_g._is_created){if(_c&&_c._focus_list&&_c._indexOfCurrentFocusPaths(_g)==_c._getCurrentFocusPathsLength()-1){this._on_focus(true);}}this.on_apply_pseudo(this._pseudo);}else{var _g=this.parent;if(!this._is_subcontrol&&_g){if(_c&&_c._indexOfCurrentFocusPaths(this)> -1){_c._removeFromCurrentFocusPath(this,false);if(_d&&_d[0]){_d[0]._on_focus(true);}}}}}}};nexacro._is_enable_setting=false;_pComponent.set_enable=function(_a){_a=nexacro._toBoolean(_a);if(this.enable!=_a){var _b=this._getWindow();var _c;if(!this._is_subcontrol&&!_a&&this._is_created&&this.parent){if(_b&&_b._indexOfCurrentFocusPaths(this)> -1){var _d=this._getForm();var _e=this.tabstop;this.tabstop=false;_c=_d._searchNextTabFocus();this.tabstop=_e;}}var _f=this._control_element;this.enable=_a;if(this._is_created){var _g=_a;if(this.parent&&this.parent._real_enable){_g=this.parent._real_enable&&_a;}if(this._real_enable!=_g){nexacro._is_enable_setting=true;this._setEnable(_g);nexacro._is_enable_setting=false;var _h=this.parent;if(!this._is_subcontrol&&this._is_created&&_h&&_h._is_created){if(_g){if(_b&&_b._indexOfCurrentFocusPaths(_h)==_b._getCurrentFocusPathsLength()-1&&!_h._last_focused){this._on_focus(true);}}else{if(_b&&_b._indexOfCurrentFocusPaths(this)> -1){_b._removeFromCurrentFocusPath(this,false);if(_c&&_c[0]){_c[0]._on_focus(true);}}}}}}}};_pComponent._is_enable_changing=false;_pComponent._setEnable=function(_a){if(this._is_enable_changing){return false;}var _b=(_a&&this.enable);if(this._real_enable!=_b){var _c=this._control_element;this._real_enable=_b;if(_b){this._status="enable";this._pseudo="normal";}else{this._status="disable";this._pseudo="disabled";}this._is_enable_changing=true;this._stat_change(this._status,this._pseudo);this._is_enable_changing=false;this.on_apply_prop_enable(this._real_enable);return true;}return false;};_pComponent.set_taborder=function(_a){if(_a>=0&&_a!=this.taborder){this.taborder=_a;this._taborder=(( +_a)!=( +_a))? -1:parseInt(_a);this.on_apply_prop_taborder();}return _a;};_pComponent.set_tabstop=function(_a){_a=nexacro._toBoolean(_a);if(this.tabstop){if(!_a){this.tabstop=_a;this.on_apply_prop_taborder();}}else{if(_a){this.tabstop=_a;this.on_apply_prop_taborder();}}return _a;};_pComponent.on_get_prop_tabstop=function(){return this.tabstop;};_pComponent._isFocusAcceptable=function(){return this._is_focus_accept;};_pComponent.set_tooltiptext=function(_a){if(_a!=this.tooltiptext){this.tooltiptext=_a;this.on_apply_prop_tooltip();}return _a;};_pComponent.set_tooltiptype=function(_a){if(_a!=this.tooltiptype){this.tooltiptype=_a;this.on_apply_prop_tooltip();}return _a;};_pComponent.set_enableevent=function(_a){this.enableevent=nexacro._toBoolean(_a);return _a;};_pComponent.set_enableredraw=function(_a){this.enableredraw=nexacro._toBoolean(_a);if(this.enableredraw){this.on_apply_enableredraw();}return _a;};_pComponent.on_apply_enableredraw=function(){if(this._enable_redraw_history["common_updatestyle"]){var _a=this._enable_redraw_history["common_updatestyle"];var _b=_a.length;for(var _c=0;_c<_b;_c++ ){var _d=_a[_c];if(_d._is_applyenableredraw){continue;}_d._control_pseudo="";_d._contents_pseudo="";_d.on_apply_pseudo(_d._pseudo);_d._is_applyenableredraw=true;}this._enable_redraw_history["common_updatestyle"]=[];}this._enable_redraw_history={};};_pComponent.set_transparenthittest=function(_a){};_pComponent._on_last_lbuttonup=nexacro._emptyFn;_pComponent._on_last_keyup=nexacro._emptyFn;_pComponent.set_hotkey=function(_a){var _b=this._hotkey;if(_b){this._unregisterHotkey();}var _c=new nexacro.HotKey(_a);if(_c._isEmpty()){this.hotkey=null;this._hotkey=null;delete _c;}else{this.hotkey=_c._toString();this._hotkey=_c;if(this._is_created){this._registerHotkey();}}};_pComponent.set_rtldirection=function(_a){var _b=this.rtldirection;if(_b!=_a){this.rtldirection=_a;this._setRtlDirection(_a);}return _a;};_pComponent.set_locale=nexacro._emptyFn;_pComponent._registerHotkey=function(){var _a=this._hotkey;if(!_a||_a._is_registered){return;}this._setAccessibilityHotKey(this.hotkey);var _b=this._getMainForm();if(this._is_frame||this==_b){var _c=this.getOwnerFrame();if(_c){nexacro._registerHotkeyComp(_c,this,_a);}}else{if(_b){nexacro._registerHotkeyComp(_b,this,_a);}}};_pComponent._unregisterHotkey=function(){var _a=this._hotkey;if(!_a||!_a._is_registered){return;}var _b=this._getMainForm();if(this._is_frame||this==_b){var _c=this.getOwnerFrame();if(_c){nexacro._unregisterHotkeyComp(_c,this,_a);}}else{if(_b){nexacro._unregisterHotkeyComp(_b,this,_a);}else{delete this._hotkey;this._hotkey=null;}}};_pComponent._processHotkey=function(_a,_b,_c,_d){var _e=this._getMainForm();if(!this._is_frame&&this!=_e){if(_e){return _e._processHotkey(_a,_b,_c,_d,this);}}};_pComponent._on_hotkey=function(_a,_b,_c,_d){this.setFocus();};_pComponent._saveScrollPos=function(){};_pComponent._applyScrollPos=function(){};_pComponent.bringToFront=function(){if(this.parent){var _a=this.parent;var _b=_a._child_list;var _c=this._child_list;var _d=_b.length;var _e=_d-1;var _f=nexacro._indexOf(_b,this);if(_f>=0&&_f<_e){_b.splice(_f,1);_b.splice(_e,0,this);var _g=_a.getElement();var _h=this._control_element;if(_c!=null||_c!=undefined){for(var _i=0;_i<_c.length;_i++ ){var _j=_c[_i];_j._saveScrollPos();}}_g.bringToFrontElement(_h);if(_c!=null||_c!=undefined){for(var _i=0;_i<_c.length;_i++ ){var _j=_c[_i];_j._applyScrollPos();}}}}};_pComponent.bringToPrev=function(){if(this.parent){var _a=this.parent;var _b=_a._child_list;var _c=this._child_list;var _d=_b.length;var _e=_d-1;var _f=nexacro._indexOf(_b,this);if(_f>=0&&_f<_e){if(_c!=null||_c!=undefined){for(var _g=0;_g<_c.length;_g++ ){var _h=_c[_g];_h._saveScrollPos();}}this.moveToPrev(_b[_f+1]);if(_c!=null||_c!=undefined){for(var _g=0;_g<_c.length;_g++ ){var _h=_c[_g];_h._applyScrollPos();}}}}};_pComponent.moveToNext=function(_a){if(this.parent){var _b=this.parent;var _c=(nexacro._isString(_a))?_b[_a]:_a;if(_c==null){return;}var _d=_b._child_list;var _e=nexacro._indexOf(_d,this);var _f=nexacro._indexOf(_d,_c);if(_e<0||_f<0){return;}if(_e> -1&&_f> -1&&_e!=_f-1){_d.splice(_e,1);var _g=nexacro._indexOf(_d,_c);_d.splice(_g,0,this);var _h=_b.getElement();_h.moveToNextElement(this._control_element,_c.getElement());}}};_pComponent.moveToPrev=function(_a){if(this.parent){var _b=this.parent;var _c=(nexacro._isString(_a))?_b[_a]:_a;if(_c==null){return;}var _d=_b._child_list;var _e=nexacro._indexOf(_d,this);var _f=nexacro._indexOf(_d,_c);if(_e<0||_f<0){return;}if(_e> -1&&_f> -1&&_e!=_f+1){_d.splice(_e,1);var _g=nexacro._indexOf(_d,_c);_d.splice(_g+1,0,this);var _h=_b.getElement();_h.moveToPrevElement(this._control_element,_c.getElement());}}};_pComponent.sendToBack=function(){if(this.parent){var _a=this.parent;var _b=_a._child_list;var _c=nexacro._indexOf(_b,this);if(_c>0){_b.splice(_c,1);_b.splice(0,0,this);var _d=_a.getElement();_d.sendToBackElement(this._control_element);}}};_pComponent.sendToNext=function(){if(this.parent){var _a=this.parent;var _b=_a._child_list;var _c=nexacro._indexOf(_b,this);if(_c>0){this.moveToNext(_b[_c-1]);}}};_pComponent.create=function(){this.initProperties();this.initEvents();};_pComponent._destroy=function(){return this.destroy();};_pComponent.destroy=function(){if(!this._is_alive){return;}return this.destroyComponent();};_pComponent.init=function(_a,_b,_c,_d,_e,_f,_g,_h){if(_a){this.id=this.name=_a;}this.position=_b?_b:"absolute";var _i=this._adjust_left;var _j=this._adjust_top;var _k=this._adjust_width;var _l=this._adjust_height;var _m=false,_n=false;if(arguments.length>=6){this._adjustPosition(_c,_d,_g,_h,_e,_f,this.parent?this.parent._client_width:0,this.parent?this.parent._client_height:0);if(this._adjust_width!=_k||this._adjust_height!=_l){_m=true;}if(this._adjust_left!=_i||this._adjust_top!=_j){_n=true;}this.on_update_position(_m,_n);}};_pComponent._getPosRight=function(){return this._adjust_left+this._adjust_width;};_pComponent._getPosBottom=function(){return this._adjust_top+this._adjust_height;};_pComponent.move=function(_a,_b,_c,_d,_e,_f){var _g=this._adjust_left;var _h=this._adjust_top;var _i=this._adjust_width;var _j=this._adjust_height;var _k=false,_l=false;var _m=false;this._adjustPosition(_a,_b,_e,_f,_c,_d,this.parent._client_width,this.parent._client_height);if(this._adjust_width!=_i||this._adjust_height!=_j){_k=true;if(_i==0||_j==0){_m=true;}}if(this._adjust_left!=_g||this._adjust_top!=_h){_l=true;}if(this._isPopupVisible&&this._isPopupVisible()){_k=true;}this.on_update_position(_k,_l);if(this._control_element){if(_m){this.currentstyle._empty();this._control_pseudo="";this._contents_pseudo="";}var _n=this._getResultPseudo(this._status,this._pseudo);this._updateControl(this._control_element,_n);this._updateContents(this._control_element,_n);}};_pComponent.move_default=null;_pComponent._setFocus=function(_a,_b,_c){if(_b> -1||_b<4){this._focus_direction=_b;}else{this._focus_direction= -1;}if(_c==true){this._block_inner_focus=true;this.setFocus(_a);this._block_inner_focus=false;}else{return this.setFocus(_a);}};_pComponent.setFocus=function(_a,_b){var _c=this._getRootWindow();if(!this.getElement()){return;}var _d=_c._isActiveLayerComponent(this);if(!_d){return;}if(!this._isVisible()||!this._isEnable()||!this.enableevent||!this._isFocusAcceptable()){return;}if(_a===undefined){_a=true;}var _e;if(_b===undefined){_e=nexacro._enableaccessibility;}else{_e=!_b;}var _f,_g=false;if(_e){if(this instanceof nexacro.Form){if(this._block_inner_focus){_f=true;}this._block_inner_focus=true;if(this._last_focused){if(_c._indexOfCurrentFocusPaths(this._last_focused)>=0){_g=true;_c._removeFromCurrentFocusPath(this._last_focused);}else{this._last_focused=null;}}}}var _h=this._focus_direction;if(_a){var _l=this,_m,_n=this;if(!this._block_inner_focus){while(_l){_m=_l._getLastFocused();if(!_m){_m=_l._getTabOrderFirst();}if(_m){_n=_m;}_l=_m;}_n._resetScrollPos(_n,_n._adjust_left,_n._adjust_top,_n._adjust_left+_n._adjust_width,_n._adjust_top+_n._adjust_height,_h);}else{nexacro.Component.prototype._resetScrollPos.call(this,this,this._adjust_left,this._adjust_top,this._adjust_left+this._adjust_width,this._adjust_top+this._adjust_height,_h);}}var _i=this._find_lastFocused(this);var _j="focus";if(_h==0){_j="tabkey";}else if(_h==1){_j="shifttabkey";}else if(_h==2){_j="downkey";}else if(_h==3){_j="upkey";}this._focus_direction= -1;var _k=this._getRootForm();_k._is_comp_focus=true;this._on_focus(true,_j);_k._is_comp_focus=false;if(_g){this.on_apply_custom_setfocus();}if(this._block_inner_focus&&!_f){this._block_inner_focus=false;}return _i;};_pComponent.redraw=function(){};_pComponent.resize=function(_a,_b){if(_a<0||_b<0){return;}if(_a==this._adjust_width&&_b==this._adjust_height){var _f=this.getElement();if(_f&&_f._handle&&_f._vml_elem){_f._refreshVMLContainerElement(_f,_f._vml_elem);}return;}var _c=this._adjust_width;var _d=this._adjust_height;var _e=false;if(_c!=this._adjust_left+_a||_d!=this._adjust_top+_b){this.width=_a;this.height=_b;_e=true;}this._update_position(_e,false);};_pComponent._update_position=function(_a,_b){var _c=this._adjust_left;var _d=this._adjust_top;var _e=this._adjust_width;var _f=this._adjust_height;var _g=false;if(this.parent){this._adjustPosition(this.left,this.top,this.right,this.bottom,this.width,this.height,this.parent._client_width,this.parent._client_height);}else{this._adjustPosition(this.left,this.top,this.right,this.bottom,this.width,this.height,0,0);}if(this._adjust_width!=_e||this._adjust_height!=_f){_a=true;if(_e==0||_f==0){_g=true;}}if(this._adjust_left!=_c||this._adjust_top!=_d){_b=true;}this.on_update_position(_a,_b);if(_g){this.currentstyle._empty();this.on_apply_pseudo();}};_pComponent._on_afterHideWaitComp=function(_a){if(this._pseudo!=_a){this._stat_change(this._status,_a);}};_pComponent.saveToImage=function(_a,_b,_c){if(this._control_element){return this._control_element.saveToImageFile(_a,_b,_c);}};_pComponent.saveToImageFile=function(_a,_b,_c){if(this._control_element){return this._control_element.saveToImageFile(_a,_b,_c);}};_pComponent.saveToImageObject=function(){if(this._control_element){return this._control_element.saveToImageObject();}};_pComponent.applyto_bindSource=function(_a,_b){if(!this._bind_event){return true;}var _c={propid:_a,val:_b};var _d=this._bind_event._fireEvent(this,_c);return _d;};_pComponent.on_getBindableProperties=function(){};_pComponent.show=function(){var _a=this.parent;if(_a){var _b=this._control_element;if(!_b){if(this.createComponent(true)){this.on_created();}}else{}}};_pComponent._resizeBorder=function(){var _a=this._adust_width;var _b=this._adjust_height;var _c=this.on_find_CurrentStyle_border(this._pseudo);if(_c){var _d=nexacro._cloneStyleObject(_c);var _e=false;if(_a<(_d.left_width+_d.right_width)){_d.left_width=_a;_d.right_width=0;_e=true;}if(_b<(_d.top_width+_d.bottom_width)){_d.top_width=_b;_d.bottom_width=0;_e=true;}if(_e){this._control_element.setElementBorder(_d,this.currentstyle.bordertype);}}};_pComponent._isVisible=function(){var _a=this;while(_a!=null){if(_a.visible==false){return false;}_a=_a.parent;}return true;};_pComponent._isEnable=function(){var _a=this;while(_a!=null){if(_a._is_frame&&_a._is_popup_frame){break;}if(_a._real_enable==false||_a.enable==false){return false;}_a=_a.parent;}return true;};_pComponent._isPropEnable=function(){var _a=this;while(_a!=null){if(_a._is_frame&&_a._is_popup_frame){break;}if(_a.enable==false){return false;}_a=_a.parent;}return true;};_pComponent._isAccessibilityRoleHeading=function(){if(this._getAccessibilityRole(this.on_find_CurrentStyle_accessibility(this._pseudo))=="heading"){return true;}else{return false;}};_pComponent._isEditableComponent=function(_a){if(this.readonly!==undefined){if(_a&&_a.match(this._type_name)){if(this._type_name=="Edit"){var _b=_a.split(",");for(var _c=0;_c<_b.length;_c++ ){if(_b[_c].trim()==this._type_name){return true;}}}else{return true;}}else if(_a=="All"||_a==""){return true;}else{return false;}}return false;};_pComponent._getForm=function(){return this._refform;};_pComponent._getRootForm=function(){var _a=this._refform;while((_a&&_a._is_form==false)||(_a&&_a._is_form&&(_a instanceof nexacro.Div||_a instanceof nexacro.Tabpage||_a instanceof nexacro.Tab))){_a=_a.parent;}return _a;};_pComponent._findDataset=function(_a){if(_a&&_a.length>0){var _b=this[_a];if(_b&&(_b._type_name=="Dataset")){return _b;}if(this._refform){var _b=this._refform.lookup(_a);if(_b&&(_b._type_name=="Dataset")){return _b;}}}return undefined;};_pComponent._findForm=function(_a){var _b=_a;while(_b&&_b._is_form==false){_b=_b.parent;}return _b;};_pComponent._getOwnerFrame=function(){var _a=this;while(_a&&!_a._is_frame){_a=_a.parent;}return _a;};_pComponent._getWindow=function(){var _a=this.parent;if(_a){return _a._getWindow();}var _b=this._refform;if(_b&&_b!=this){return _b._getWindow();}return nexacro._findWindow(nexacro._getMainWindowHandle());};_pComponent._getRootWindow=function(){var _a=this._getWindow();while(_a){if(_a.frame){return _a;}_a=_a.parent;}return this._getWindow();};_pComponent._getWindowHandle=function(){var _a=this._getWindow();if(_a){return _a._handle;}return null;};_pComponent._getLastFocused=function(){return this._last_focused;};_pComponent._find_lastFocused=function(){var _a=this._getMainForm();if(!_a){return null;}var _b=_a._last_focused;while(_b&&_b._is_form){var _c=_b._getLastFocused();if(!_c){break;}_b=_c;}return _b;};_pComponent._getDragData=function(){if(this.text){return this.text;}return null;};_pComponent.getElement=function(){return this._control_element;};_pComponent.getMainframe=function(){if(application._is_attach_childframe){return this._getWindow().frame;}return application.mainframe;};_pComponent._getScrollable=function(_a,_b,_c,_d){if(!this._is_scrollable){return false;}var _e,_f,_g=this.vscrollbar;if(_b&&_g&&_g.enable){_f=_g.pos+_d;if(_f<_g._max&&_f>=_g._min){_e={y:true};}}var _h=this.hscrollbar;if(_a&&_h&&_h.enable){_f=_h.pos+_c;if(_f<_h._max&&_f>_h._min){if(_e){_e.x=true;}else{_e={x:true};}}}return _e;};_pComponent._getRefFormBaseUrl=function(){if(this._refform){return this._refform._getFormBaseUrl();}};_pComponent._getScreenPosition=function(){var _a=this._control_element;if(_a){var _b=this.on_find_CurrentStyle_border(this._pseudo);var _c=nexacro._getElementScreenPosition(_a);var _d=_c.x;var _e=_c.y;return {x:_d,y:_e};}return {x:0,y:0};};_pComponent._getWindowPosition=function(){var _a=this._control_element;if(_a){var _b=this.on_find_CurrentStyle_border(this._pseudo);var _c=nexacro._getElementXYInWindow(_a._handle);var _d=_c[0]-(_b?_b._getBorderLeftWidth():0);var _e=_c[1]-(_b?_b._getBorderTopWidth():0);return {x:_d,y:_e};}return {x:0,y:0};};_pComponent._isRtl=function(_a){if(!_a){_a=this;}return _a._rtldirection=="rtl";};_pComponent._setRtlDirection=function(_a){var _b=this.rtldirection;var _c=this._rtldirection;if(_a=="inherit"){var _d=this.parent._rtldirection;if(_c!=_d){_c=_d;}}else if(_c!=_a){if(_b==_a){_c=_a;}else if(!_b||_b=="inherit"){_c=_a;}}if(_c!=this._rtldirection){this._rtldirection=_c;this.on_apply_prop_rtldirection();}};_pComponent._convertLeftForRtlLayout=function(_a,_b){var _c=this._control_element;if(this._isRtl()){_a=_c.client_width-_b-_a;}return _a;};_pComponent._setLocale=function(_a){if(!this.locale){this._locale=_a;this.on_apply_locale();}};_pComponent._getLocale=function(){if(this._locale===undefined){return undefined;}var _a=nexacro.System.locale;var _b=this;while(_b){if(_b._locale){_a=_b._locale;break;}_b=_b.parent;}return _a;};_pComponent._getCumulativeZoomFactor=function(){var _a=this;var _b=100;while(_a&&!(_a instanceof nexacro.Frame)){if(_a.getZoom){var _c=_a.getZoom();if(_c!=100){_b*=(_c/100.0);}}_a=_a.parent;}return _b;};_pComponent._getFixedOffsetValue=function(){var _a=0,_b=0;if(this.right!=null){_a=0;}else if(this.width!=null){var _c=this.width;if(typeof (_c)=="string"&&_c.indexOf("%")>=0){if(parseFloat(_c)<=100){_a=0;}else{_a=this.getOffsetRight();}}else{_a=this.getOffsetRight();}}if(this.bottom!=null){_b=0;}else if(this.height!=null){var _c=this.height;if(typeof (_c)=="string"&&_c.indexOf("%")>=0){if(parseFloat(_c)<=100){_b=0;}else{_b=this.getOffsetBottom();}}else{_b=this.getOffsetBottom();}}return {right:_a,bottom:_b};};_pComponent._setAccessibilityNotifyEvent=function(_a){var _b=this.getElement();if(_b&&_b.accessibility_enable){if(_a!==undefined){this._resetScrollPos(this,this._adjust_left,this._adjust_top,this._adjust_left+this._adjust_width,this._adjust_top+this._adjust_height,(_a>0)?0:1);}_b.setElementAccessibilityNotifyEvent();var _c=this._getForm();if(_c){var _d=_c._getWindow();_d._accessibility_last_focused_comp=this._getRootComponent(this);}return true;}return false;};_pComponent._setAccessibilityInfoByHover=function(){return this._setAccessibilityNotifyEvent();};_pComponent._clearAccessibilityInfoByHover=nexacro._emptyFn;delete _pComponent;}if(!nexacro.PopupComponent){nexacro.PopupComponent=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){nexacro.Component.call(this,_a,_b,_c,_d,_e,_f,_g,_h,_i);this.visible=false;this._is_window=true;this._attached_comp=null;this._is_subcontrol=true;this._call_comp=null;};var _pPopupComponent=nexacro.PopupComponent.prototype=nexacro._createPrototype(nexacro.Component,nexacro.PopupComponent);_pPopupComponent._type_name="PopupComponent";_pPopupComponent._is_popup_control=true;_pPopupComponent._is_selfclose=true;_pPopupComponent._default_zindex=nexacro._zindex_popup;_pPopupComponent._track_capture=true;_pPopupComponent.on_create_control_element=function(_a){var _b=this.on_create_popup_control_element(_a);if(_b&&this._default_zindex>0){_b.setElementZIndex(this._default_zindex);}return _b;};_pPopupComponent.on_created=function(_a){if(!this._is_created){nexacro.Component.prototype.on_created.call(this,_a);}var _b=this._control_element;if(!this.visible&&_b){_b.setElementPosition(0,0);_b.setElementSize(1,1);}};_pPopupComponent.destroyComponent=function(){this._is_alive=false;if(this.visible){application._removePopupComponent(this);this.visible=false;}if(nexacro._enableaccessibility){if(application._accessibilityHistoryList&&!this._is_subcontrol){application._remove_accessibility_history(this);}}var _a=this._getWindow();if(_a&&this._track_capture){_a._releaseCaptureLock(this);_a._releaseCaptureLock(this._attached_comp);this._track_capture=false;}if(this._subctrlitems){nexacro._deleteAllSubComponent(this);}if(this._is_subcontrol&&this.parent&&this.parent._subctrlitems){nexacro._deleteSubComponent(this,this.parent);}if(this.parent&&this.parent.removeChild){this.parent.removeChild(this.id);}if(this._control_element){this._control_element.destroy();this._control_element=null;}this._clearEventListeners();this.on_destroy_contents();this._is_created=false;return true;};_pPopupComponent.on_change_containerRect=function(_a,_b){var _c=this._attached_comp;if(_c){var _d=_c._adjust_left;var _e=_c._adjust_top;var _f=_c._adjust_width;var _g=_c._adjust_height;var _h=false,_i=false;var _j=false;_c._adjustPosition(0,0,null,null,_a,_b,this._client_width,this._client_height);if(_c._adjust_width!=_f||_c._adjust_height!=_g){_h=true;if(_f==0||_g==0){_j=true;}}if(_c._adjust_left!=_d||_c._adjust_top!=_e){_i=true;}if(_c._isPopupVisible&&_c._isPopupVisible()){_h=true;}_c.on_update_position(_h,_i);if(_c._control_element){if(_j){_c.currentstyle._empty();_c._control_pseudo="";_c._contents_pseudo="";}var _k=_c._getResultPseudo(_c._status,_c._pseudo);_c._updateControl(_c._control_element,_k);_c._updateContents(_c._control_element,_k);}}};_pPopupComponent._contains=function(_a){while(_a){if(_a==this._attached_comp){return true;}_a=_a.parent;}return false;};_pPopupComponent.set_visible=function(_a){if(this.visible!=_a){this.visible=_a;var _b=this._control_element;if(_b){_b.setElementVisible(_a);if(this.visible){if(!this._is_subcontrol){if(this.parent._last_focused){this._call_comp=this.parent._last_focused;}else{this._call_comp=this.parent;}}var _c=this._getResultPseudo(this._status,this._pseudo);this._updateControl(_b,_c);this._updateContents(_b,_c);}else{if(this instanceof nexacro.WaitComponent){var _c=this._getResultPseudo(this._status,this._pseudo);this._updateControl(_b,_c);}_b.setElementPosition(0,0);_b.setElementSize(1,1);}if(nexacro._enableaccessibility&&this._attached_comp){this._attached_comp._setAccessibilityStatExpanded(_a);this._attached_comp._setAccessibilityStatHidden(_a);}if(this.visible){nexacro._resetVML(this);}if(this._is_selfclose){if(!_a){var _d=this._attached_comp;if(_d&&_d.on_fire_oncloseup){_d.on_fire_oncloseup(_d);}application._removePopupComponent(this);var _e=this._getWindow();_e._removeFromCurrentFocusPath(this,false);if(!this._is_subcontrol){this._call_comp._on_focus(true);}}else{application._appendPopupComponent(this);}}}}};_pPopupComponent._attach=function(_a){this._attached_comp=_a;nexacro._addSubComponent(this,_a);var _b=this._control_element;if(_a&&_a!=this&&_a._control_element&&_b){var _c=_a._control_element;if(_c){var _d=_c._parent_elem;if(_a._is_created&&_d!=_b){_c._removeFromContainer();}_c._parent_elem=_b;}if(_a._is_created){_c._appendToContainer(_b);}}};_pPopupComponent._detach=function(_a){if(this._attached_comp==_a&&_a!=this){this._attached_comp=null;var _b=this._control_element;var _c=_a._control_element;if(_c&&_b){if(_a._is_created){_c._removeFromContainer();}_c._parent_elem=null;}}};_pPopupComponent._is_popup=function(_a){return this.visible;};_pPopupComponent._popup=function(_a,_b,_c,_d){if(!this._attached_comp){return;}var _e=this._getWindow();if(_e&&this._track_capture){_e._setCaptureLock(this._attached_comp,true,false);}var _f=this._control_element;if(_f){_f.setElementPosition(_a,_b);_f.setElementSize(_c,_d);this._updateClientSize(_f);}this.set_visible(true);};_pPopupComponent._popupBy=function(_a,_b,_c,_d,_e){if(!this._attached_comp||!_a){return;}var _f,_g;var _h=nexacro._getElementPositionInFrame(_a.getElement());var _i=_a.on_find_CurrentStyle_border(_a._pseudo);var _j={x:_h.x,y:_h.y};var _k=this._getWindow();_f=_j.x+_b-(_k?_k._custom_node_left:0);_g=_j.y+_c-(_k?_k._custom_node_top:0);if(_k&&this._track_capture){_k._setCaptureLock(this._attached_comp,true,false);}var _l=this._control_element;if(_l){_l.setElementPosition(_f,_g);_l.setElementSize(_d,_e);this._updateClientSize(_l);}this.set_visible(true);};_pPopupComponent._closePopup=function(){var _a=this._getWindow();if(_a&&this._track_capture){_a._releaseCaptureLock(this._attached_comp);}this.set_visible(false);};_pPopupComponent._findOwnerElementHandle=function(){var _a={};_a.owner_handle=null;_a.is_append=true;_a.ref_handle=null;var _b=this._getWindow();if(_b){var _c;if(this instanceof nexacro.WaitComponent){_c={};_c.popup_zindex=nexacro._zindex_waitcursor;}else{_c=_b._getComponentLayerInfo(this);}if(_c.is_modal){var _d=_c.frame;var _e=_d._modal_overlay_elem;_a.owner_handle=_e._handle;_a.is_append=true;}else{if(_c.ref_first_modal_frame){var _d=_c.ref_first_modal_frame;_a.owner_handle=_b._dest_handle;_a.is_append=false;_a.ref_handle=_d._modal_overlay_elem._handle;}else{_a.owner_handle=_b._dest_handle;_a._is_append=true;}}}return _a;};delete _pPopupComponent;}if(!nexacro.WaitComponent){nexacro.WaitComponent=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){nexacro.PopupComponent.call(this,_a,_b,_c,_d,_e,_f,_g,_h,_i);this.visible=false;this._img_elem=null;this._image_width=0;this._image_height=0;this._context_list=[];this._is_subcontrol=false;this._is_focus_accept=false;};var _pWaitComponent=nexacro.WaitComponent.prototype=nexacro._createPrototype(nexacro.PopupComponent,nexacro.WaitComponent);_pWaitComponent._type_name="WaitComponent";_pWaitComponent._is_popup_control=true;_pWaitComponent._is_selfclose=false;_pWaitComponent._default_zindex=nexacro._zindex_waitcursor;_pWaitComponent.on_create_contents=function(){var _a=this.getElement();if(_a){this._img_elem=new nexacro.ImageElement(_a);}};_pWaitComponent.on_created_contents=function(){var _a=this.getElement();if(_a){var _b=this._img_elem;if(_b){_b.setElementVisible(true);_b.create();}}if(nexacro._enableaccessibility){var _c=this.currentstyle;var _d=nexacro.Component._default_accessibility;if(_d&&_d!=_c.accessibility){_c.accessibility=this._make_accessibility_value(_d);_a.setAccessibility(_c.accessibility);}}};_pWaitComponent.on_change_containerRect=function(_a,_b){var _c=this._img_elem;if(_c){var _d=Math.round((_a-this._image_width)/2);var _e=Math.round((_b-this._image_height)/2);_c.setElementPosition(_d,_e);_c.setElementSize(this._image_width,this._image_height);}};_pWaitComponent._getAccessibilityLabel=function(_a){return "Wait Cursor";};_pWaitComponent._on_loadimage=function(_a,_b,_c){if(!this._is_alive){return;}var _d=this._img_elem;if(_d&&_b>0&&_c>0){this._image_width=_b;this._image_height=_c;var _e=this._adjust_width;var _f=this._adjust_height;var _g=Math.round((_e-_b)/2);var _h=Math.round((_f-_c)/2);_d.setElementPosition(_g,_h);_d.setElementSize(_b,_c);_d.setElementImageUrl(_a);}};_pWaitComponent.setImage=function(_a){var _b=this._img_elem;if(_b){var _c=nexacro._getImageSize(_a,this._on_loadimage,this);if(_c){this._image_width=_c.width;this._image_height=_c.height;var _d=this._adjust_width;var _e=this._adjust_height;var _f=Math.round((_d-_c.width)/2);var _g=Math.round((_e-_c.height)/2);_b.setElementPosition(_f,_g);_b.setElementSize(_c.width,_c.height);_b.setElementImageUrl(_a);}}};_pWaitComponent._updateControl=function(_a,_b){if(_a){this._control_pseudo=_b;if(this._control_pseudo!=_b){if(nexacro.Browser=="Runtime"){var _c=nexacro._getCachedStyleObj("background","#ffffff01");_a.setElementBackground(_c,null);}}return true;}return false;};_pWaitComponent.on_destroy_contents=function(){if(this._img_elem){this._img_elem.destroy();this._img_elem=null;}};_pWaitComponent.show=function(){if(!this._is_created||!this.parent){return;}var _a=this._getWindow();if(_a){var _b,_c,_d,_e;_b=_a.getLeft();_c=_a.getTop();if(_a.frame){var _f=_a.frame;_d=_f.getOffsetWidth();_e=_f.getOffsetHeight();}else{_d=_a.getClientWidth();_e=_a.getClientHeight();}_a._setCaptureLock(this,true,true);this._adjustPosition(0,0,null,null,_d,_e,_d,_e);this.on_update_position(true,true);var _g=this._control_element;if(_g){_g.setElementPosition(0,0);_g.setElementSize(_d,_e);this._updateClientSize(_g);var _h=nexacro.Component._wait_cursor;var _i=this.currentstyle;if(_h&&_i.cursor!=_h){_i.cursor=_h;_g.setElementCursor(_h);}}this.set_visible(true);}};_pWaitComponent.hide=function(){var _a=this._getWindow();if(_a){_a._releaseCaptureLock(this);var _b=this._control_element;if(_b){_b.setElementSize(1,1);this._updateClientSize(_b);}}if(this._is_created&&this._is_alive){var _c=this.parent;while(_c){if(_c._is_form){break;}_c=_c._last_focused;}this.set_visible(false);var _d=nexacro._getHoverElement(_a);var _e=_a.findComponent(_d,0,0)[0];if(_c){var _f=_c._last_focused;if(_f){var _g;if(_c._obj_mousemove&&(_c._obj_mousemove!=_f)){_f._on_afterHideWaitComp("normal");if(_c._obj_mousemove instanceof nexacro.WaitComponent){_g=nexacro._getCachedStyleObj("cursor","arrow");}else{_g=_c._obj_mousemove.currentstyle.cursor;}}else{var _h=false;var _i=_e;while(_i){if(_i==_f){_h=true;break;}_i=_i.parent;}if(_h){_f._on_afterHideWaitComp(_f._pseudo);_g=_f.currentstyle?_f.currentstyle.cursor:null;}else{_f._on_afterHideWaitComp("normal");if(_e){_e._on_afterHideWaitComp("mouseover");_g=_e.currentstyle?_e.currentstyle.cursor:null;}}}var _j=this.currentstyle;if(_g!=_j.cursor){_j.cursor=_g;this._control_element.setElementCursor(_g);}}else{var _g=_e.currentstyle?_e.currentstyle.cursor:null;var _j=this.currentstyle;if(_g!=_j.cursor){_j.cursor=_g;this._control_element.setElementCursor(_g);}}}}};_pWaitComponent._addContext=function(_a){if(_a){this._context_list.push(_a);}};_pWaitComponent._removeContext=function(_a){if(!_a){return;}var _b=nexacro._indexOf(this._context_list,_a);if(_b>=0){this._context_list[_b]=null;delete this._context_list[_b];this._context_list.shift();}};_pWaitComponent.on_fire_onlbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){return true;};_pWaitComponent._on_keydown=function(_a,_b,_c,_d,_e){if(_b==nexacro.Event.KEY_TAB){_a._event_stop=true;}else if(_b==nexacro.Event.KEY_ESC){var _f=this._context_list;var _g=_f.length;for(var _h=0;_h<_g;_h++ ){var _i=_f[_h];if(_i instanceof nexacro.Form){_i._stopTransaction();}}}return true;};delete _pWaitComponent;}if(!nexacro.CanvasComponent){nexacro.CanvasComponent=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){nexacro.Component.call(this,_a,_b,_c,_d,_e,_f,_g,_h,_i);this.id=this.name=_a||null;this.enableevent=false;this._apply_client_padding=false;this._canvas=null;this._drawn=false;this._control_element=null;this._inner_elem=null;};var _pCanvasComponent=nexacro._createPrototype(nexacro.Component,nexacro.CanvasComponent);nexacro.CanvasComponent.prototype=_pCanvasComponent;_pCanvasComponent._type_name="CanvasComp";_pCanvasComponent.on_create_contents=function(){var _a=this.getElement();var _b=new nexacro.CanvasElement(_a);if(_b){_b.setElementPosition(0,0);_b.setElementSize(this._client_width,this._client_height);}this._canvas=_b;};if(nexacro.Browser=="IE"&&nexacro.BrowserVersion<9){_pCanvasComponent.on_created_contents=function(){var _a=this._canvas;if(_a){_a.create();}this.ondraw(_a);};}else{_pCanvasComponent.on_created_contents=function(){var _a=this._canvas;if(_a){_a.create();}this.ondraw(_a);};}_pCanvasComponent._initInner=function(){this.on_apply_pseudo();this.on_apply_custom_pseudo();};_pCanvasComponent.on_destroy_contents=function(){if(this._canvas){this._canvas.destroy();this._canvas=null;}};_pCanvasComponent.on_change_containerRect=function(_a,_b){if(this._canvas){this._canvas._moveCanvas(0,0,_a,_b);this._drawn=false;this.ondraw(this._canvas);}};_pCanvasComponent.ondraw=function(_a){};_pCanvasComponent.redraw=function(){this.ondraw(this._canvas);};delete _pCanvasComponent;nexacro.CanvasCtrl=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){nexacro.CanvasComponent.call(this,_a,_b,_c,_d,_e,_f,_g,_h,_i);this._is_subcontrol=true;};var _pCanvasCtrl=nexacro.CanvasCtrl.prototype=nexacro._createPrototype(nexacro.CanvasComponent,nexacro.CanvasCtrl);nexacro._setForControlStyleFinder(_pCanvasCtrl);delete _pCanvasCtrl;}