function getCommBox(ct, ctid) {
    $('#popoverl').removeClass('hide');
    $.post('actions.php', {
        'action':'getcommbox',
        'ct':ct,
        'ctid':ctid
    }, function(data) {
        $('#commwrap').removeClass('hide').html(data);
    }, 'text');
}

function closePopup() {
    $('#popoverl, #commwrap').addClass('hide');
}

