   form_monopoly = new window.hlib.Form
     fid:		'monopoly'
     handlers:
-      s200:		(response, form) ->
+      h200:		(response, form) ->
         form.info.success 'Stolen'
         window.settlers.refresh_game_state response
         window.settlers.show_board()

  new window.hlib.Form
    fid:		'new_card'
    handlers:
      s200:		(response, form) ->
        form.info.success 'Bought'
        window.settlers.refresh_game_state response
        show_cards()

    f = new window.hlib.Form
      fid:		'exchange_' + ratio
      handlers:
        h200:		(response, form) ->
          form.info.success 'Exchanged'
          window.settlers.refresh_game_state response
        after: (response, form) ->
          if form.opts.saved_h200_handler
            form.opts.handlers.h200 = form.opts.saved_h200_handler
            form.opts.saved_h200_handler = null

    $('#exchange_' + ratio + '_submit_board').click () ->
      f.opts.saved_h200_handler = f.opts.handlers.h200
      f.opts.handlers.h200 = (response, form) ->
        f.opts.saved_h200_handler response, form
        window.settlers.show_board()

      f.submit()
      return false

  exchange_form '4'
