Toggling not working properly in node--contenttype.tpl.php file
Try writing it when document get ready like this:

jQuery(document).ready(function ($) {
        $('#block1 a').click(function()
       {
        $("#block1_content").toggle("slow");

         });

  });