jQuery(function()
{
	jQuery('#banner').cycle();
	jsShow();
});

function jsShow()
{
	$('.js-pager a').click(function()
	{
		$(this).parents('ul').find('li').removeClass('active');	
		$(this).parent().addClass('active');
		var eq = parseInt($(this).text()) - 1;
		$(this).parents('div').find('.js-show li').removeClass('js-show-active').eq(eq).addClass('js-show-active');
	});
}