anchor.diff:        set_input_position()
       });
       $("#cancel").click(cancel_betting);
  -    $("#confirm").click(confirm)
  +    $("#confirm").click(rcp_confirm)
       $("#result>g#init").click(cancel_betting);
       $("#show_rank").click(popup_rank)
     }
  
positive.code:         var i = 1
          $.each(data,function(key, value){
            html += '<tr><td>'+i+'</td><td>'+key+'</td><td>'+value+'</td></tr>'
          })
          html +='</tbody></table><a href="javascript:" class="close_rank">닫기</a></div>'
          $('body').append(html)
  
negative.code:     $("input.betting").hide()
      $("#result").hide()
    }
    function rcp_confirm(){
      $.ajax({
        url: window.location.pathname+'/fight',
        type: 'get',
  