document.observe("dom:loaded", load);

function load() {
	$$(".tab_controls").invoke('observe', 'click', showControls)
}

//Show the controls for the menu in the left div
function showControls(){
	$$("#leftCol .x").invoke("removeClassName", "x");
	$(this.id+"_control").addClassName("x");
}
