function likedit(identifier, scoreBoardId, buttonId) {
   jQuery(document).ready(function() {
      var button = jQuery("#"+buttonId);


      jQuery.post("/js-dyn/likedit.js", "v=" + encodeURIComponent(identifier), function(response) {
         var likedCount = parseInt(response, 10);

         if (!isNaN(likedCount) && likedCount > 0) {
            jQuery("#" + scoreBoardId).text(likedCount);

            if (button){
               button.attr("src", "/v2/img/buton_begendim_disabled.gif");
               button.css("cursor", "default");
               button.removeAttr("onclick");
            }
         }
      }, "text");
   });
}

