function comm_PostComment(objRef)
{
    var commentText = g('comm_CommentTxt' + objRef).value;
    
    if(IsEmptyText(commentText))
        return;
        
    g('comm_CommentRecords').innerHTML = aj_comm('postComment=' + objRef + '&text=' + lescape(commentText));
    g('comm_CommentTxt' + objRef).value = '';
}


function comm_LeaveReply(mainObjRef , repyToObjRef)
{
    var text = g('comm_Reply' + repyToObjRef).value;
    if(IsEmptyText(text))
        return;
    g('comm_CommentRecords').innerHTML = aj_comm('postCommentReply=' + repyToObjRef + '&text=' + lescape(text));
    FlyInDivClose();
}

function comm_DeleteComment(objRef)
{
    g('comm_CommentRecords').innerHTML = aj_comm('deleteComment=' + objRef);
}