function confirmLink(theLink)
{
    var is_confirmed = confirm("Are you sure you want to delete this element? you can't undo this operation");
    if (is_confirmed) {
        theLink.href += '&is_js_confirmed=1';
    }

    return is_confirmed;
} // end of the 'confirmLink()' function


