function showFullCommentForm(formId) {
  renderCaptcha(formId);
  
  $("body_" + formId).style.height = "100px";
  $("body_" + formId).onfocus = "";
  $("hide_" + formId).show();
}

function renderCaptcha(formId) {
  var captcha = document.getElementById('captchaimg' + formId);
  var randNum = Math.floor(Math.random()*1000000000);
  var id = jQuery("#comment_form_" + formId + " input[name=randomFormId]").val();
  captcha.innerHTML='<img src="/captcha?r='+randNum+'&i='+id+'" alt="" onclick="renderCaptcha(\'' + formId + '\')" style="cursor: pointer;" />';
}
