var $j = jQuery.noConflict();
$j(document).ready(function(){

	$j("#comments").hide();
	
	$j("#comment_holder").fadeTo(0,0.3);
	
	$j("#comment_holder").bind("mouseenter", comment_fade);
	
	comment_fade();
	
	function comment_fade() { 
	
	  $j("#comment_holder").bind("mouseenter", function(){
	  	$j(this).stop().fadeTo('normal', 1);
	  }).bind("mouseleave", function () {
	  	$j(this).stop().fadeTo('fast', 0.3);
	  });
	  	
	}
	

	$j(".comments_arrow, .show_comment_btn a").toggle(function () {
      $j("#comment_holder").fadeTo(500, 1);
      $j(".comments_arrow").addClass("comments_arrow_hover");
      $j("#comments").slideDown();
      $j("#comment_holder").unbind("mouseleave").unbind("mouseenter");
      return false;
    }, function () {
      $j("#comment_holder").fadeTo(500, 0.35);
      $j(".comments_arrow").removeClass("comments_arrow_hover");
      $j("#comments").slideUp();
      $j("#comment_holder").bind("mouseenter", comment_fade);
      return false;
    });

	
	
});
