function confirmDelete(querystring)
{
    var confirmation = confirm('Ben je zeker dat dit verwijderd mag worden?');
    if (confirmation)
        document.location.href = '/backend/php/backend.actions.php?' + querystring.replace(/\|/g, '&');
}

function SafMicLoadFaq()
{
    var container = $('faqcontainer');
    var dd = container.getElementsByTagName('dd');
    for ( var x = 0 ; x < dd.length ; ++x )
        dd[x].style.display = 'none';
}

function SafMicToggleFaq(faqID)
{
    var dd = $('faq' + faqID);
    if ( dd  )
        Effect.toggle(dd);
}

/*
function detectIE()
{
    var showWarning = false;
    if ( /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent) )
        showWarning = true;
//    else if ()
//        showWarning = true;
    
    if ( showWarning )
    {
        var div = document.createElement('DIV');
        div.id = 'iewarning';
        div.innerHTML = 'Hi there! Thanks for visiting my site, but it appears you are using an old, or HTML5-incompatible browser. This site will probably not render correctly in your current browser. Please do consider upgrading your browser, or switching over to a standards-compliant browser, such as <a href="http://apple.com/safari" target="_blank">Safari</a> or <a href="http://getfirefox.com" target="_blank">Firefox</a>.';
        
        var tmp = document.getElementsByTagName('BODY');
        if ( tmp && tmp.length == 1 )
        {
            var body = tmp[0];
            body.insertBefore(div, body.firstChild);
        }
    }
}*/