rem:  } else {  document.getElementById("allowWindowOpen").checked = data["allowWindowOpen"].checked; document.getElementById("allowTargetNew").checked = data["allowTargetNew"].checked; document.getElementById("allowWindowMoveResize").checked = data["allowWindowMoveResize"].checked; document.getElementById("allowWindowFlip").checked = data["allowWindowFlip"].checked; document.getElementById("allowWindowStatusChange").checked = data["allowWindowStatusChange"].checked; document.getElementById("allowImageSrcChange").checked = data["allowImageSrcChange"].checked; document.getElementById("allowDocumentCookieSet").checked = data["allowDocumentCookieSet"].checked; document.getElementById("allowDocumentCookieGet").checked = data["allowDocumentCookieGet"].checked; document.getElementById("javascriptAllowNavigator").checked = data["javascriptAllowNavigator"].checked;  if (document.getElementById("javascriptAllowMailnews")) { document.getElementById("javascriptAllowMailNews").checked = data["javascriptAllowMailNews"].checked; } 
context: function Startup(){  data = parent.hPrefWindow.wsm.dataManager.pageData["chrome://communicator/content/pref/pref-scripts.xul"];  //If scriptData does not exist, then it is the first time the panel was shown and we default to false   if (!("scriptData" in data)){    var changedList = ["allowWindowOpenChanged", "allowTargetNewChanged",                       "allowWindowMoveResizeChanged", "allowWindowStatusChangeChanged",                       "allowWindowFlipChanged", "allowDocumentCookieSetChanged",                       "allowDocumentCookieGetChanged", "allowImageSrcChangeChanged"];    data.scriptData = [];    for(var run = 0; run < changedList.length; run++ ){      data.scriptData[ changedList[run] ] = [];      data.scriptData[ changedList[run] ].value = false;    }    document.getElementById("allowWindowOpen").checked = getPrefValueForCheckbox("dom.disable_open_during_load");    document.getElementById("allowTargetNew").checked = getPrefValueForCheckbox("browser.block.target_new_window");    document.getElementById("allowWindowMoveResize").checked =  getPrefValueForCheckbox("dom.disable_window_move_resize");    document.getElementById("allowWindowFlip").checked = getPrefValueForCheckbox("dom.disable_window_flip");    document.getElementById("allowWindowStatusChange").checked = getPrefValueForCheckbox("dom.disable_window_status_change");    document.getElementById("allowImageSrcChange").checked = getPrefValueForCheckbox("dom.disable_image_src_set");    document.getElementById("allowDocumentCookieGet").checked = getPrefValueForCheckbox("dom.disable_cookie_get");    document.getElementById("allowDocumentCookieSet").checked = getPrefValueForCheckbox("dom.disable_cookie_set");    //If we don't have a checkbox under groupbox pluginPreferences, we should hide it    var pluginGroup = document.getElementById("pluginPreferences")    var children = pluginGroup.childNodes;    if (!children || children.length <= 1)    // 1 for the caption      pluginGroup.setAttribute("hidden", "true");  } else { //not first time it was loaded, get default values from data     document.getElementById("allowWindowOpen").checked = data["allowWindowOpen"].checked;    document.getElementById("allowTargetNew").checked = data["allowTargetNew"].checked;    document.getElementById("allowWindowMoveResize").checked = data["allowWindowMoveResize"].checked;    document.getElementById("allowWindowFlip").checked = data["allowWindowFlip"].checked;    document.getElementById("allowWindowStatusChange").checked = data["allowWindowStatusChange"].checked;    document.getElementById("allowImageSrcChange").checked = data["allowImageSrcChange"].checked;    document.getElementById("allowDocumentCookieSet").checked = data["allowDocumentCookieSet"].checked;    document.getElementById("allowDocumentCookieGet").checked = data["allowDocumentCookieGet"].checked;    document.getElementById("javascriptAllowNavigator").checked = data["javascriptAllowNavigator"].checked;    if (document.getElementById("javascriptAllowMailnews")) {      document.getElementById("javascriptAllowMailNews").checked = data["javascriptAllowMailNews"].checked;    }  }  javascriptEnabledChange();  document.getElementById("AllowList").addEventListener("CheckboxStateChange", onCheckboxCheck, false);  parent.hPrefWindow.registerOKCallbackFunc(doOnOk);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7ffff2007b58e5cfd1dcb946dff6e9c3d631febb/pref-scripts.js/clean/suite/common/pref/pref-scripts.js