var dontAskAgain = { value: false }; 
var out_dontAskAgain = { value: false }; 
function confirmInsecureLogin( uri ){    if (g_confirmedHttpLogins == null) {        g_confirmedHttpLogins = {};        var confirmedHttpLogins = getPref(            "calendar.wcap.confirmed_http_logins", "");        var tuples = confirmedHttpLogins.split(',');        for each ( var tuple in tuples ) {            var ar = tuple.split(':');            g_confirmedHttpLogins[ar[0]] = ar[1];        }    }        var bConfirmed = false;        var host = uri.hostPort;    var encodedHost = encodeURIComponent(host);    var confirmedEntry = g_confirmedHttpLogins[encodedHost];    if (confirmedEntry) {        bConfirmed = (confirmedEntry == "1" ? true : false);    }    else {        var prompt = getWindowWatcher().getNewPrompter(null);        var bundle = getWcapBundle();        var dontAskAgain = { value: false };        var bConfirmed = prompt.confirmCheck(            bundle.GetStringFromName("noHttpsConfirmation.label"),            bundle.formatStringFromName("noHttpsConfirmation.text", [host], 1),            bundle.GetStringFromName("noHttpsConfirmation.check.text"),            dontAskAgain );                if (dontAskAgain.value) {            // save decision for all running calendars and            // all future confirmations:            var confirmedHttpLogins = getPref(                "calendar.wcap.confirmed_http_logins", "");            if (confirmedHttpLogins.length > 0)                confirmedHttpLogins += ",";            confirmedEntry = (bConfirmed ? "1" : "0");            confirmedHttpLogins += (encodedHost + ":" + confirmedEntry);            setPref("calendar.wcap.confirmed_http_logins", confirmedHttpLogins);            g_confirmedHttpLogins[encodedHost] = confirmedEntry;        }    }        logMessage("confirmInsecureLogin(" + host + ")", "returned: " + bConfirmed);    return bConfirmed;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/a8adf4992620da379274cea3395ed3099b6769d6/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js