
$(document).ready(function()
{
 //hide the all of the element with class msg_body
  $(".message_body").hide();
    $(".head_table").hide();
  //toggle the componenet with class msg_body
  $(".message_head").click(function()
  {
  	$(this).toggleClass("minus");
     $(this).nextAll(".head_table").slideToggle(600);
	$(this).nextAll(".message_body").slideToggle(600);

    //$(this).css('backgroundImage','url(../wp-content/themes/synod/images/filecabinet/catbar_minus.jpg)');
  });
  
  
  
});



