$(document).ready(function() {

  $("#imagefooter ul li a").hover(function() {
    $(this).children("img").animate({opacity: 0.95},300);
  }, function() {
    $(this).children("img").animate({opacity: 0.40},300);
  });
  
  $("#imagefooter ul li a img").animate({opacity: 0.40},300);


  $("#menu ul li a").hover(function() {
    $(this).animate({opacity: 0.95},500);
  }, function() {
    $(this).animate({opacity: 0.60},500);
  });

  $("#menu ul li a").animate({opacity: 0.60},300);

  $("#comment-write-link").click(function() {
    $(this).hide(100);
    $("#comment-write").show(500);
    return false;
  });
  
  $("#comment-write-cancel").click(function() {
    $("#comment-write-link").show(100);
    $("#comment-write").hide(500);
  });

});
