rem: var document = parentNode.ownerDocument; 
add: var document = parentNode.ownerDocument; 
context: function mmgr_addmenu (parentNode, beforeNode, attribs){    var document = parentNode.ownerDocument;        var tbitem = document.createElement ("toolbarseparator");    tbitem.setAttribute ("isSeparator", true);    if (typeof attribs == "object")    {        for (var p in attribs)            tbitem.setAttribute (p, attribs[p]);    }    parentNode.appendChild (tbitem);    return tbitem;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/1c8d8bf9357639bb28c9901382136c486c9b6f60/menu-manager.js/clean/js/lib/menu-manager.js