text: gx.evt.autoSkip=false;function b715_wp01_set_auth(){this.ServerClass="B715_WP01_SET_AUTH";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV17P_STUDY_ID=gx.fn.getIntegerValue("vP_STUDY_ID",",");this.AV18P_SUBJECT_ID=gx.fn.getIntegerValue("vP_SUBJECT_ID",",");this.AV16P_CRF_ID=gx.fn.getIntegerValue("vP_CRF_ID",",");this.AV19P_UPD_CNT=gx.fn.getIntegerValue("vP_UPD_CNT",",");this.AV25W_RTN_CD=gx.fn.getIntegerValue("vW_RTN_CD",",");this.AV26W_RTN_MSG=gx.fn.getControlValue("vW_RTN_MSG")
  };this.s142_client=function(){gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption","<script language=javascript>");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"var confirmFlg = false;");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"if (window.addEventListener) {");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"  window.addEventListener('load', function(){init();}, false);");
  gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"} else if (window.attachEvent) {");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"	window.attachEvent('onload',function(){init();});");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"}");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"function init() {");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"}");
  gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"function proc() {");if(!(""==this.AV21W_A821_JS)){gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"if (!confirmFlg) {");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+this.AV21W_A821_JS);gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"}");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"confirmFlg = true;")
  }else{gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"confirmFlg = false;")}gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"}");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"timerID = setTimeout('proc()', 10);");gx.fn.setCtrlProperty("TXT_JS_EVENT","Caption",gx.fn.getCtrlProperty("TXT_JS_EVENT","Caption")+"<\/script>")};this.e131l2_client=function(){this.executeServerEvent("'BTN_REG'",true)
  };this.e141l2_client=function(){this.executeServerEvent("'BTN_CAN'",true)};this.e161l2_client=function(){this.executeServerEvent("ENTER",true)};this.e171l2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,6,9,15,20,25,27,30,32,37,40,42,44,47,48,49,50];this.GXLastCtrlId=50;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[6]={fld:"TABLE2",grid:0};this.GXValidFnc[9]={fld:"TABLE3",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={fld:"TABLE4",grid:0};
  this.GXValidFnc[25]={fld:"TEXTBLOCK67",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vD_SUBJECT_ID",gxz:"ZV13D_SUBJECT_ID",gxold:"OV13D_SUBJECT_ID",gxvar:"AV13D_SUBJECT_ID",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13D_SUBJECT_ID=gx.num.intval(a)},v2z:function(a){gx.O.ZV13D_SUBJECT_ID=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vD_SUBJECT_ID",gx.O.AV13D_SUBJECT_ID,0)
  },c2v:function(){gx.O.AV13D_SUBJECT_ID=this.val()},val:function(){return gx.fn.getIntegerValue("vD_SUBJECT_ID",",")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK68",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"svchar",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vD_CRF_SNM",gxz:"ZV12D_CRF_SNM",gxold:"OV12D_CRF_SNM",gxvar:"AV12D_CRF_SNM",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12D_CRF_SNM=a},v2z:function(a){gx.O.ZV12D_CRF_SNM=a
  },v2c:function(){gx.fn.setControlValue("vD_CRF_SNM",gx.O.AV12D_CRF_SNM,0)},c2v:function(){gx.O.AV12D_CRF_SNM=this.val()},val:function(){return gx.fn.getControlValue("vD_CRF_SNM")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TBL_UPD_BTNSET",grid:0};this.GXValidFnc[40]={fld:"BTN_REG",format:0,grid:0};this.GXValidFnc[42]={fld:"BTN_CAN",format:0,grid:0};this.GXValidFnc[44]={fld:"TBL_HIDDEN",grid:0};this.GXValidFnc[47]={fld:"TXT_JS_EVENT",format:1,grid:0};this.GXValidFnc[48]={fld:"TXT_BTN_REG_EXEC",format:1,grid:0};
  this.GXValidFnc[49]={lvl:0,type:"svchar",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vH_INIT_FLG",gxz:"ZV14H_INIT_FLG",gxold:"OV14H_INIT_FLG",gxvar:"AV14H_INIT_FLG",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14H_INIT_FLG=a},v2z:function(a){gx.O.ZV14H_INIT_FLG=a},v2c:function(){gx.fn.setControlValue("vH_INIT_FLG",gx.O.AV14H_INIT_FLG,0)},c2v:function(){gx.O.AV14H_INIT_FLG=this.val()},val:function(){return gx.fn.getControlValue("vH_INIT_FLG")},nac:function(){return false
  }};this.GXValidFnc[50]={lvl:0,type:"svchar",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vH_KNGN_FLG",gxz:"ZV15H_KNGN_FLG",gxold:"OV15H_KNGN_FLG",gxvar:"AV15H_KNGN_FLG",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15H_KNGN_FLG=a},v2z:function(a){gx.O.ZV15H_KNGN_FLG=a},v2c:function(){gx.fn.setControlValue("vH_KNGN_FLG",gx.O.AV15H_KNGN_FLG,0)},c2v:function(){gx.O.AV15H_KNGN_FLG=this.val()},val:function(){return gx.fn.getControlValue("vH_KNGN_FLG")
  },nac:function(){return false}};this.AV13D_SUBJECT_ID=0;this.ZV13D_SUBJECT_ID=0;this.OV13D_SUBJECT_ID=0;this.AV12D_CRF_SNM="";this.ZV12D_CRF_SNM="";this.OV12D_CRF_SNM="";this.AV14H_INIT_FLG="";this.ZV14H_INIT_FLG="";this.OV14H_INIT_FLG="";this.AV15H_KNGN_FLG="";this.ZV15H_KNGN_FLG="";this.OV15H_KNGN_FLG="";this.AV17P_STUDY_ID=0;this.AV18P_SUBJECT_ID=0;this.AV16P_CRF_ID=0;this.AV19P_UPD_CNT=0;this.AV25W_RTN_CD=0;this.AV26W_RTN_MSG="";this.A514TBM01_SYS_VALUE="";this.A161TBM01_SYS_ID="";this.A17TAM04_AUTH_CD="";
  this.A601TAM04_AUTH_LVL=0;this.A189TBM21_DEL_FLG="";this.A186TBM21_STUDY_ID=0;this.A513TBM21_STATUS="";this.A223TBM31_DEL_FLG="";this.A218TBM31_CRF_ID=0;this.A217TBM31_STUDY_ID=0;this.A550TBM31_CRF_SNM="";this.A295TBT02_DEL_FLG="";this.A294TBT02_CRF_ID=0;this.A293TBT02_SUBJECT_ID=0;this.A292TBT02_STUDY_ID=0;this.A302TBT02_UPD_CNT=0;this.A564TBT02_DM_ARRIVAL_DATETIME=gx.date.nullDate();this.A565TBT02_APPROVAL_FLG="";this.A566TBT02_APPROVAL_DATETIME=gx.date.nullDate();this.A567TBT02_APPROVAL_USER_ID="";
  this.A568TBT02_APPROVAL_AUTH_CD="";this.A569TBT02_INPUT_END_FLG="";this.A570TBT02_INPUT_END_DATETIME=gx.date.nullDate();this.A571TBT02_INPUT_END_USER_ID="";this.A572TBT02_INPUT_END_AUTH_CD="";this.A328TBT12_DEL_FLG="";this.A317TBT12_CRF_ID=0;this.A316TBT12_SUBJECT_ID=0;this.A315TBT12_STUDY_ID=0;this.A318TBT12_CRF_ITEM_GRP_DIV="";this.A319TBT12_CRF_ITEM_GRP_CD="";this.A320TBT12_CRF_VALUE="";this.AV21W_A821_JS="";this.ServerEvents=["e131l2_client","e141l2_client","e161l2_client","e171l2_client"];this.VarControlMap.AV17P_STUDY_ID={id:"vP_STUDY_ID",grid:0,type:"int"};
  this.VarControlMap.AV18P_SUBJECT_ID={id:"vP_SUBJECT_ID",grid:0,type:"int"};this.VarControlMap.AV16P_CRF_ID={id:"vP_CRF_ID",grid:0,type:"int"};this.VarControlMap.AV19P_UPD_CNT={id:"vP_UPD_CNT",grid:0,type:"int"};this.VarControlMap.AV25W_RTN_CD={id:"vW_RTN_CD",grid:0,type:"int"};this.VarControlMap.AV26W_RTN_MSG={id:"vW_RTN_MSG",grid:0,type:"svchar"};this.SetStandaloneVars()}b715_wp01_set_auth.prototype=new gx.GxObject;gx.setParentObj(new b715_wp01_set_auth());