$(function() {
	$("div.kb_tabcontrol .hidden").hide();
	$("a.tab").click(function(e) {
		var tabControl = $(this).parents("div.kb_tabcontrol");

		/* deactivate all tabs and hide all tab content */
		tabControl.find("a.tab").removeClass("active");
		tabControl.find(".tab_content").hide();

		/* activate clicked tab and show corresponding tab content */
		$(this).addClass("active");
		$(this.hash).show();
	});
});
