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: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/00b6cdf954399a8f3562bddaefd3164388596abb/menu-manager.js/clean/js/lib/menu-manager.js