 
   $(eid).html ''
 
-  # experimental - resize to fit to height...
-  resize_ratio = (window.screen.height - 20) / $('body').height()
-  if resize_ratio > 1.0
-    resize_ratio = false
-
-  __resize_piece = (piece_eid) ->
-    if not resize_ratio
-      return
-
-    l = $(piece_eid).css 'left'
-    t = $(piece_eid).css 'top'
-
-    $(piece_eid).css 'left', (parseFloat(l) * resize_ratio) + 'px'
-    $(piece_eid).css 'top', (parseFloat(t) * resize_ratio) + 'px'
-
-    $(piece_eid).css 'max-width', ($(piece_eid).width() * resize_ratio)
-    $(piece_eid).css 'max-height', ($(piece_eid).height() * resize_ratio)
-
   __add_field = (f) ->
     attrs =
       id:		'settlers_board_field_' + f.id
       class:		'settlers-board-piece settlers-board-field settlers-board-field-' + f.id + ' settlers-board-field-' + bs + '-' + map_resource_to_str[f.resource + 2]
 
     $(eid).append window.settlers.render_board_piece attrs
-    __resize_piece '#settlers_board_field_' + f.id
 
     if f.thief == true
       attrs =

    classes = 'settlers-board-piece settlers-board-sea settlers-board-sea-' + (2 * p.id + 1) + ' settlers-board-port-' + map_resource_to_str[p.resource + 2] + '-' + p.clock + '-' + bs
    s = '<span id="settlers_board_port_' + p.id + '" class="' + classes + '"></span>'
    $(eid).append(s)
    __resize_piece '#settlers_board_port_' + p.id

  __add_sea = (i) ->
    classes = 'settlers-board-piece settlers-board-sea settlers-board-sea-' + (2 * i) + ' settlers-board-sea-' + bs
    s = '<span id="settlers_board_sea_' + i + '" class="' + classes + '"></span>'
    $(eid).append(s)
    __resize_piece '#settlers_board_sea_' + i

  __add_field f for f in G.board.fields
  __add_number f for f in G.board.fields


    s = '<span ' +  ((attr_name + '="' + attr_value + '"' for own attr_name, attr_value of attrs).join ' ') + '></span>'
    $(eid).append(s)

    if G.current_active_nodes_map[n.id] == true
      if G.state == 1
