$(document).ready(function() {

	$("#tabs a").unbind("click").bind("click", function() {
	
		$("#tab_current").removeAttr("id");
	
		$(this).parent().attr("id", "tab_current");
		
		$(".tabbox").hide();
		
		$("#" + $(this).attr("class")).show();
	
	});


});
