function showCommentReply(index,count)
{
  for(var i = 0; i < count; i++)
  {
    document.getElementById('first_'+index+'_'+i).style.display = '';
    document.getElementById('second_'+index+'_'+i).style.display = '';
  }
}

function showAddCommentForm(id,nazev)
{
  if(id == 'false')
  {
    document.getElementById('formAddComment').style.display = '';
    document.getElementById('formCommentButton').style.display = 'none';
  }
  else
  {
    document.getElementById('formAddComment').style.display = '';
    document.getElementById('formCommentButton').style.display = 'none';
    document.getElementById('threadId').value = id;
    document.getElementById('commentName').value = 'RE: '+nazev;
  }

}



