<!--
/**
 * Wyswietla zapytanie czy usunac lub zmienic cos
 * Funkcja jest wzywana przy kliknieciu linka
 *
 * @param   object   link
 * @param   object   czynnosc do wykonania
 *
 * @return  boolean  wykonac czy nie
 */
function confirmLink(theLink, confirmMsg)
{
    // Confirmation is not required in the configuration file
    // or browser is Opera (crappy js implementation)
    if (confirmMsg == '' || typeof(window.opera) != 'undefined') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg);
//    if (is_confirmed) {
//        if ( typeof(theLink.href) != 'undefined' ) {
//            theLink.href += '&js_conf=1';
//        } else if ( typeof(theLink.form) != 'undefined' ) {
//            theLink.form.action += '?js_conf=1';
//        }
//    }

    return is_confirmed;
} // end of the 'confirmLink()' function
//-->
