/*$(document).ready(function()
{
 
  $(".box").hide();

  $(".all_news").click(function()
  {
    $(this).next(".box").slideToggle(300);
    return false;
  });
   $(".all_rubrik").click(function()
  {
    $(this).next(".box").slideToggle(300);
    return false;
  });
});*/


	$(document).ready(function() {
		$(".box").hide();
		$("li.hidden_comment").hide();
	    $(".all_rubrik").toggle(function () {
	        $(this).text("Приховати")
	        $("ul.sub_menu .box").slideDown("fast");
	        }, function() {
	        $(this).text("Усі рубрики")
	        $("ul.sub_menu .box").slideUp("fast");
	        return false;
	    });
	    /*$(".all_comments").toggle(function () {
	        $(this).text("Приховати")
	        $("ul.comments .box").slideDown("fast");
	        }, function() {
	        $(this).text("Усі коментарі")
	        $("ul.comments .box").slideUp("fast");
	        return false;
	    });*/
	    $(".all_comments").toggle(function () {
	        $(this).text("Приховати")
	        $("ul.comments li.hidden_comment").slideDown("fast");
	        }, function() {
	        $(this).text("Усі коментарі")
	        $("ul.comments .hidden_comment").slideUp("fast");
	        return false;
	    });
	     $(".poll_results").toggle(function () {
	        $(this).text("Приховати")
	        $(".poll .box").show();
	         $(".poll_btn").hide();
	        }, function() {
	        $(this).text("Результати")
	        $(".poll .box").hide();
	       $(".poll_btn").show();
	        return false;
	    });
	});