function togglecomments (postid) {

   var whichpost = document.getElementById(postid);

   if (whichpost.className=="commentshown") {
      whichpost.className="commenthidden";
   }
   else {
      whichpost.className="commentshown";
   }
}

function commenter(CommentCount){
if (CommentCount == 0){document.write('Leave a comment');}
if (CommentCount > 0){document.write('Read what others have said (' + CommentCount + ')');}
}

