rem: parent.hPrefWindow.registerOKCallbackFunc( onOK ); 
context: function mailnewsOverlayStartup() {    mailnewsOverlayInit();parent.hPrefWindow.registerOKCallbackFunc( onOK );    if (!("mapiPref" in parent)) {        parent.mapiPref = new Object;        parent.mapiPref.isDefaultMailClient =                document.getElementById("mailnewsEnableMapi").checked;    }    else {         // when we switch between different panes        // set the checkbox based on the saved state        var mailnewsEnableMapi = document.getElementById("mailnewsEnableMapi");        if (parent.mapiPref.isDefaultMailClient)            mailnewsEnableMapi.setAttribute("checked", "true");        else            mailnewsEnableMapi.setAttribute("checked", "false");    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c7f65283c67aab08d02b31ccbfd99f968893ca6b/pref-mailnewsOverlay.js/buggy/mailnews/mapi/resources/content/pref-mailnewsOverlay.js