anchor.diff:          
           function newUser(){
               $('#dlg').dialog('open').dialog('setTitle','New User');
  +            $('#anbUserUserId').textbox('readonly',false);
               $('#fm').form('clear');
  +            $('#mode').val("0");
               url = '';
           }
           
  
positive.code:             });
          }
          
          function destroyUser(){
              var row = $('#dg').datagrid('getSelected');
              if (row){
                  $.messager.confirm('Confirm','Are you sure you want to destroy this user?',function(r){
                      if (r){
                          $.post('destroy_user.php',{id:row.empId},function(result){
                              if (result.success){
                                  $('#dg').datagrid('reload');    // reload the user data
                              } else {
                                  $.messager.show({    // show error message
                                      title: 'Error',
                                      msg: result.errorMsg
                                  });
                              }
                          },'json');
                      }
                  });
              }else{
              	$.messager.alert('','삭제할 row 를 선택하세요.','info');
              }
          }
          
  
negative.code:             	if(result.duplication == "Y"){
                  $.messager.show({
                  	title: '아이디중복',
                      msg:   '중복되는 아이디 입니다.'
                                 });            		
                 	}else{
  	                $('#dlg').dialog('close');        // close the dialog
  