$(function(){
	var a = $("a",".slide");
	var ids = new Array();
	for(var c=0; c<a.length; c++) {
		ids[c] = a[c].hash;
		$(ids[c]+":visible").not(ids[0]).hide();
	}
	$(a[0]).addClass("active");
	$("a",".slide").click(function(){
		var id = this.hash;
		for(var b=0; b<a.length; b++) {
			ids[b] = a[b].hash;
			$(ids[b]).hide();
			$(a[b]).removeClass("active");
		}
		$(this).addClass("active");
		$(id).show();
		return false;
	});
});