} else if( $(this).attr('class').indexOf('next') == -1 ) {
            if(month == 1) {
              month = 12;
              --year;
            }