$(document).ready(function() {
	$('li[id^=a_]').css('cursor', 'pointer');
	$('li[id^=a_]').click(function() {
		var the_id = $(this).attr('id');
		var name = the_id.split('_')[1];
		close_all();
		show_the(name);
		return false;
	});

	function close_all()
	{
		$('div[id^=content_]').hide();
		$('li[id^=a_]').removeClass('orange');
	}

	function show_the(name)
	{
		$('li#a_'+name).addClass('orange');
		$('div#content_'+name).show();
	}
});
