rem: sep = document.createElementNS("http: 
add: sep = document.createElementNS(XUL_NS, "menuseparator"); 
context: function BuildJSEAttributeNameList(){  ClearMenulist(gDialog.AddJSEAttributeNameList);    // Get events specific to current element  var elementName = gElement.localName.toLowerCase();  if (elementName in gJSAttr)  {    var attNames = gJSAttr[elementName];    var i;    var popup;    var sep;    if (attNames && attNames.length)    {      // Since we don't allow user-editable JS events yet (but we will soon)      //  simply remove the JS tab to not allow adding JS events      if (attNames[0] == "noJSEvents")      {        var tab = document.getElementById("tabJSE");        if (tab)          tab.parentNode.removeChild(tab);        return;      }      for (i = 0; i < attNames.length; i++)        AppendStringToMenulist(gDialog.AddJSEAttributeNameList, attNames[i]);      popup = gDialog.AddJSEAttributeNameList.firstChild;      if (popup)      {        sep = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuseparator");        if (sep)          popup.appendChild(sep);      }            }  }  // Always add core JS events unless we aborted above  for (i = 0; i < gCoreJSEvents.length; i++)  {    if (gCoreJSEvents[i] == "-")    {      if (!popup)        popup = gDialog.AddJSEAttributeNameList.firstChild;      sep = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuseparator");      if (popup && sep)        popup.appendChild(sep);    }    else      AppendStringToMenulist(gDialog.AddJSEAttributeNameList, gCoreJSEvents[i]);  }    gDialog.AddJSEAttributeNameList.selectedIndex = 0;  // Use current name and value of first tree item if it exists  onSelectJSETreeItem();  gDialog.AddJSEAttributeNameList.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4d542172d7a025005947453f69c49fd2a43a200e/EdAEJSEAttributes.js/buggy/editor/ui/dialogs/content/EdAEJSEAttributes.js