function confirmLink(theLink, theSqlQuery)
{
    var confirmMsg  = 'Desea realmente  ';
    // Confirmation is not required in the configuration file
    if (confirmMsg == '') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg + ' :\n' + theSqlQuery);
    if (is_confirmed) {
//        theLink.href += '&is_js_confirmed=1';
        theLink.href;
    }

    return is_confirmed;
} // end of the 'confirmLink()' function

function explain(msg) {
newwin = window.open('','','top=150,left=150,width=600,height=500,scrollbars=yes,resizable=yes');
if (!newwin.opener) newwin.opener = self;
with (newwin.document)
{
open();
write('<html>');
write('<body bgcolor=#CCFFCC><font face="verdana"><form name=form>' + msg + '<br>');
write('<p><center><input type=button value="Cerrar" onClick=window.close()>');
write('</center></form></font></body></html>');
close();
   }
}

