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:     background-color: rgba(0, 0, 0, 0);
      text-align: center;
    }
    h1{font-size: 4vh;}
    .rank{font-size: 3vh;margin:0;height: 3.5vh;line-height: 3.5vh;overflow: hidden;}
    .popup{overflow: scroll;text-align: center;position: absolute;width: 100%;max-width: 500px;height: 500px;left: 50%;top: 10%;margin-left: -250px;background: white;border: 1px solid gray;border-radius: 25px;}
    .popup table{width:80%;margin:20px auto}
  
negative.code:     $("input.betting").hide()
      $("#result").hide()
    }
    function rcp_confirm(){
      $.ajax({
        url: window.location.pathname+'/fight',
        type: 'get',
  