$(document).ready(function() {
   $("#product-browser li:first-child").addClass("shown");
   $("#product-thumbs li:first-child").addClass("active");
   $("#product-thumbs a").click( function() {
	//do some shit in here
	var myId = $(this).attr("id");
	var showId = "#P" + myId;
	$("#product-browser li").removeClass("shown");
	$(showId).addClass("shown");
	$("#product-thumbs li").removeClass("active");
	$(this).parent().addClass("active");
    });
});

