jQuery(document).ready(function () {
jQuery('div.comments-count').each(function (i) {
	jQuery(this).find('input.hdn').eq(0).val(jQuery(this).parent().next('div.comments-body').height());
	jQuery('div.comments-body').css('height','0px');
	jQuery(this).click(function () {
		var cmts = jQuery(this).parent().next('div.comments-body');
		switch (jQuery(this).parent().next('div.comments-body').height()) {
			case 0:
				cmts.animate({height:jQuery(this).find('input.hdn').eq(0).val() + "px"},750);
				break;
			case "0px":
				cmts.animate({height:jQuery(this).find('input.hdn').eq(0).val() + "px"},750);
				break;
			default:
				cmts.animate({height:"0px"},1000);
				break;
		}
	});
});
	


});
