var downloadMsg = 'Heb je de activatiecode gekopieerd of uitgeprint?\n\nDeze activatiecode heb je nodig bij de installatie.';

function confirmDownload(theLink, theSqlQuery)
{
    // Confirmation is not required in the configuration file
    if (downloadMsg == '') {
        return true;
    }

    var is_confirmed = confirm(downloadMsg + '\n' + theSqlQuery);
    if (is_confirmed) {
        theLink.href;
    }

    return is_confirmed;
} 
