$(document).ready(function(){
    
    jQuery.easing.def = "easeOutCirc";
    $("#sidebar h2").toggle(function(){
        $(this).next().stop().hide(500);
    },function(){
        $(this).next().stop().show(500);
    });
    
     $("#comments").toggle(function(){   
        $("ul.commentlist").hide(900);
    },function(){
        $("ul.commentlist").show(900);
    });
     
     $("a.reply-link").click(function(){
        var author=$(this).prevAll("cite").html();
        $("textarea#comment").html("&lt;strong&gt;@" + author + "&lt;/strong&gt;");
    });
     
     $("a.quote-link").click(function(){
        var quote=$(this).prevAll("span.comment-text").text();
        $("textarea#comment").html("&lt;blockquote&gt;" + quote + "&lt;/blockquote&gt;");
    });
     
     
    $("#content .entry img").hover(function(){
        
        $(this).stop().animate({opacity : "1"},200);},
        function(){
        $(this).stop().animate({opacity : "0.85"},200);}
        
    );
});
