add:  if(document.getElementById("folderCheckForNewMessages").checked) gMsgFolder.setFlag(MSG_FOLDER_FLAG_CHECK_NEW); else gMsgFolder.clearFlag(MSG_FOLDER_FLAG_CHECK_NEW); 
context: function folderPropsOKButtonCallback(){  if (gMsgFolder)  {    // set charset attributes    var folderCharsetList = document.getElementById("folderCharsetList");    gMsgFolder.charset = folderCharsetList.getAttribute("value");    gMsgFolder.charsetOverride = document.getElementById("folderCharsetOverride").checked;    if(document.getElementById("offline.selectForOfflineFolder").checked ||      document.getElementById("offline.selectForOfflineNewsgroup").checked)      gMsgFolder.setFlag(MSG_FOLDER_FLAG_OFFLINE);    else      gMsgFolder.clearFlag(MSG_FOLDER_FLAG_OFFLINE);  }  window.close();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/90d18f2365ecd9a21be4fe74007c425f4232ecd1/folderProps.js/buggy/mailnews/base/resources/content/folderProps.js