function id_sso_detect(found) {
    if(found) {
        document.location.href = '/auth/sso?next=' + escape(document.location.href) + '&auto=1';
    }
}

$.getScript("https://ssl.e43.eu/detect");
