$(document).ready(function()
			{				
				$("#btnFilter").click(function()
				{
					var selection = $("#catSelect").val();

					if (selection == "all")
					{
						//show all items
						$(".item").show();
						
						//re-hide duplicates
						var seen = {};
						$('tr').each(function() {
							var txt = $(this).text();
							if (seen[txt])
								$(this).hide();
							else
								seen[txt] = true;
						});
						//end hide duplicates
					}
					else
					{					
						$(".item").hide();
						$("."+selection).show();
					}
					
				});
				
			});
