         $('#nonce').val(data.nonce)
         $('#useed').val(data.useed)
         $('#sshash').val(data.sshash)
-
-        bet.minbet = data.min_bet
-        bet.maxbet = data.max_bet
 
         # Recent history
         table = $('#history tbody')

    event.preventDefault()
    if valid_bet()?
        bet.currbet /= 2
        if bet.currbet < bet.minbet or !amount_re.test(bet.currbet)
            bet.currbet = bet.minbet
        $('#bet').val(bet.currbet)

max_bet = (event) ->

        for item in ['#myprofit', '#nbet', '#nwin', '#npattern', '#wagered']
            $(item).text('Error')
        return
    show_ranking(data.ranking)
    $('#myprofit').text(numcomma(data.profit))
    $('#wagered').text(numcomma(data.wagered))
