rem: var folder = null; var uri = node.getAttribute("id"); if(uri) folder = GetMsgFolderFromUri(uri); if(folder) { 
add: var folder = resource.QueryInterface(Components.interfaces.nsIMsgFolder); 
context: function UpdateNode(node, target){    var folder = null;    var uri = node.getAttribute("id");    if(uri)        folder = GetMsgFolderFromUri(uri);    if(folder) {        if(folder.isServer) {			            target.setAttribute('value', false); 					            return;        }        var oldFlag = folder.getFlag(MSG_FOLDER_FLAG_OFFLINE);        if(!oldFlag) {            folder.setFlag(MSG_FOLDER_FLAG_OFFLINE);        }        else {            folder.clearFlag(MSG_FOLDER_FLAG_OFFLINE);        }    } }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e0e99191d9d4f4f04fb4061b0ba91f347b8986f/msgSynchronize.js/clean/mailnews/base/resources/content/msgSynchronize.js