function confirmLink(theLink, confirmMsg)
{
    // Confirmation is not required in the configuration file
    if (confirmMsg == '') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg);
    if (is_confirmed) {
		if (theLink.href.indexOf('?') == -1)
			theLink.href += '?aktion=loeschen';
		else
			theLink.href += '&aktion=loeschen';
    }

    return is_confirmed;
} // end of the 'confirmLink()' function
