$(function() {
	var cnt = 1;
	$('.show-more').on('click', function() {
		var maxCnt = $('input[name="count"]').val();
		cnt++;

		$.ajax({
			dataType: 'html',
			data: {PAGEN_1: cnt},
			success: function(data) {
				if (cnt==maxCnt) {
					$('.show-more').remove();
				}
				var res = $(data);
				var blocks = res.find('.news-list').find('.item');
				$('.news-list').append(blocks);
				blocks.slideUp(0);
				blocks.slideDown(400);
			}
		});
	});
});
