anchor.diff:          </form>
       </div>
       <div id="dlg-buttons">
  -        <a href="javascript:void(0)" class="easyui-linkbutton c6" iconCls="icon-ok" onclick="saveUser()" style="width:90px">Save</a>
  +        <a href="javascript:void(0)" class="easyui-linkbutton c6" iconCls="icon-ok" onclick="userMng.saveUser()" style="width:90px">Save</a>
           <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#dlg').dialog('close')" style="width:90px">Cancel</a>
       </div>
   </body>
   </html>
  -
  -
  -<script type="text/javascript">
  -        var url;
  -        
  -        function newUser(){
  -            $('#dlg').dialog('open').dialog('setTitle','New User');
  -            $('#fm').form('clear');
  -            url = '';
  -        }
  -        
  -        function editUser(){
  -            var row = $('#dg').datagrid('getSelected');
  -            if (row){
  -                $('#dlg').dialog('open').dialog('setTitle','Edit User');
  -                $('#fm').form('load',row);
  -                
  -                url = '${pageContext.request.contextPath }/usermng/editUser.do';
  -            }else{
  -            	$.messager.alert('','수정할 row 를 선택하세요.','info');
  -            }
  -        }
  -        
  -        function saveUser(){
  -        	common.formSubmit('fm','${pageContext.request.contextPath }/usermng/insertUser.do',function(result){
  -            	if(result.duplication == "Y"){
  -                $.messager.show({
  -                	title: '아이디중복',
  -                    msg: '중복되는 아이디 입니다.'
  -                               });            		
  -               	}else{
  -	                $('#dlg').dialog('close');        // close the dialog
  -    	            $('#dg').datagrid('reload');    // reload the user data
  -               	}            	
  -            });
  -        }
  -        
  -        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');
  -            }
  -        }
  -        
  -    </script>
  
positive.code: 		</div>
  	</div>
      <div id="toolbar">
          <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="newUser()">New User</a>
          <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="editUser()">Edit User</a>
          <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="destroyUser()">Remove User</a>
      </div>
      
       <div id="dlg" class="easyui-dialog" style="width:400px;height:280px;padding:10px 20px" closed="true" buttons="#dlg-buttons">
       <input type="hidden" id="idchk_commit" />
          <div class="ftitle">User Information</div>
          <form id="fm" method="post" novalidate>
              <div class="fitem">
                  <label>사용자 아이디</label>
                  <input id="anbUserUserId" name="anbUserUserId" class="easyui-textbox" required="true" maxlength="20">
  
negative.code: <script type="text/javascript"	src="${pageContext.request.contextPath }/resources/jquery.min.js"></script>
  <script type="text/javascript"	src="${pageContext.request.contextPath }/resources/jquery.easyui.min.js"></script>
  <script type="text/javascript"	src="${pageContext.request.contextPath }/resources/common/common.js"></script>
  <script type="text/javascript"	src="${pageContext.request.contextPath }/js/usermng/userMng.js"></script>
  <head>
  	<title>직원관리</title>
  </head>
  