$(document).ready(function () {
	$("#updates a").click(function () {
		var anchors = $("#updates a");
		var blocks = $("#update-blocks dl")
		var selected = this;
		
		blocks.hide();
		
		jQuery.each(anchors, function(index, value) {
			this.className = "";
			if (selected.innerHTML == value.innerHTML) {
				$(blocks[index]).show();
			}
		});
		
		this.className = "active";
	});
});