I'm making an forum script with expandable comment boxes, and this works just fine ecxept 1 thing... When a comment div is expanded all other comment divs should close back... How do I do so?

Code JavaScript:
jQuery(document).ready(function() {
  jQuery("#content_full_<?=$newsid;?>").hide();
  jQuery("#content_small_<?=$newsid;?>").show();
  //toggle the componenet with class msg_body
  jQuery("#heading_<?=$newsid;?>").click(function()
  {
	jQuery("#content_full_<?=$newsid;?>").fadeIn();
	jQuery("#content_small_<?=$newsid;?>").hide();
  });
});

Thanks in advance ;-)