function confirmLink(link, text)
{
    if (confirmMsg == '' || typeof(window.opera) != 'undefined') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg + ':\n' + text);
    if (is_confirmed) {
        link.href += '';
    }

    return is_confirmed;
}
