$(document).ready(function() {
	$('ul#filter a').click(function() {
		$(this).css('outline', 'none');
		$('ul#filter .current').removeClass('current');
		$(this).parent().addClass('current');
		var filterVal = $(this).text().toLowerCase().replace(' ','-');
		if(filterVal == 'all') {
			$('.item-container').fadeIn('slow');
		} else {
			$('.item-container').not('.'+filterVal).fadeOut('slow');
			$('.item-container.'+filterVal).fadeIn('slow');
		}
		return false;
	});
});
