function AddCommentForm(id, story_id)
{
if($('#new_reply_div_' + id).html() == '')
{
current_comment_id = id;
current_story_id = story_id;
if(prev_id)
{
CancelReply(prev_id);
}
$('#new_reply_div').clone().appendTo('#new_reply_div_' + id);
$('#new_reply_div_' + id + ' #comment_textarea').addClass('comment_textarea_' + id);
$('#new_reply_div_' + id + ' #comment_textarea').attr('id', 'comment_textarea_' + id);
$('#bb_bar_'+id).show();
MovePhotoBlock(id);
$('#reply_link_' + id).hide();
$('#cancel_link_' + id).show();
$('.comment_textarea_' + id).focus(function() {
tx_focus = true;
});
$('.comment_textarea_' + id).blur(function() {
tx_focus = false;
});
$('.comment_textarea_' + id).click();
$('.comment_textarea_' + id).focus();
$('.comment_textarea_0').hide();
$('#bb_bar_0').hide();
prev_id = id;
}
return 1;
}