add: onLockPreference(); 
context: function initServerSettings(){	      var prefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPref);    var compactFolder = prefs.GetBoolPref("mail.prompt_purge_threshhold");	    var compactFolderMin = prefs.GetIntPref("mail.purge_threshhold");	    if (compactFolderMin == null || compactFolderMin == 0 )        compactFolderMin = 100;    document.getElementById("offline.notDownload").checked =  gIncomingServer.limitMessageSize;    document.getElementById("offline.compactFolder").checked = compactFolder;    document.getElementById("offline.compactFolderMin").setAttribute("value", compactFolderMin);    if(gIncomingServer.maxMessageSize > 0)        document.getElementById("offline.notDownloadMin").setAttribute("value", gIncomingServer.maxMessageSize);    else        document.getElementById("offline.notDownloadMin").setAttribute("value", "50");    if(gServerType == "imap") {        gImapIncomingServer = gIncomingServer.QueryInterface(Components.interfaces.nsIImapIncomingServer);        document.getElementById("offline.downloadBodiesOnGetNewMail").checked =  gImapIncomingServer.downloadBodiesOnGetNewMail;        document.getElementById("offline.newFolder").checked =  gImapIncomingServer.offlineDownload;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/14e38088a8190e1d4f088feb649b309a99f41f5e/am-offline.js/clean/mailnews/base/prefs/resources/content/am-offline.js