$(function(){
	//hide the all of the element with class msg_body
	$(".msg_body").hide();
	
	//slides the element with class "msg_body" when paragraph with class "msg_head" is clicked
	$("#firstpane p.msg_head").click(function()
	{
		$(this).next("div.msg_body").slideToggle("fast").siblings("div.msg_body").slideUp("fast");
	});
});
