function hideallothers(current) {
	/* Number of id's to loop through */
	var num_elements = 3;
	/* Loop through all of the IDs and hide all but the currently clicked */
	for (i=1; i <= num_elements; i++) {
		if (current != i) {
			document.getElementById("chart_block_" + i).style.display = "none";
			document.getElementById("chart_block_" + i).style.zIndex = 0;
		}
		else {
			document.getElementById("chart_block_" + i).style.display = "block";
		}
	}
} 