ext('>>')
      .addClass('month-switcher')
      .click(function() {
        ++g_month;
        if (g_month > 11) {
          g_month = 0;
          ++g_year;
        }
        reloadArtworksForCurrentMonth();
        renderCalendar();
      })
      .appendTo($headerRow);

  // weekdays row
  var $weekdayLabelsRow = $('<tr>').appendTo($table);
  for (var dow = 0; dow < 7; dow++) {
    $('<th>')
        .text(DAYS[dow])
        .addClass('weekday-label')
        .attr('width', '14%')
        .appendTo($wee