rem: gContextMenuNode.parentNode.insertBefore(textbox, gContextMenuNode); 
add: gContextMenuNode.parentNode.replaceChild(textbox, gContextMenuNode); 
context: function StructChangeTag(){  var textbox = document.createElementNS(XUL_NS, "textbox");  textbox.setAttribute("value", gContextMenuNode.getAttribute("value"));  textbox.setAttribute("size",  5);  gContextMenuNode.parentNode.insertBefore(textbox, gContextMenuNode);  textbox.addEventListener("keypress", OnKeyPress, false);  textbox.setAttribute("style", "font-size: smaller");  gContextMenuNode.parentNode.removeChild(gContextMenuNode);  textbox.select();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f7659825e8803331c696aa11688ab5cdcdf39526/StructBarContextMenu.js/clean/editor/ui/composer/content/StructBarContextMenu.js