rem: menuNode = document.createElement("menu"); 
add: menuNode = document.createElementNS("http: 
context: function fillContextMenu(name,node){    if (!name)    return(false);    var popupNode = document.getElementById(name);    if (!popupNode)    return(false);    var url = GetFileURL(node);             // get the URL of the selected file    var ext = getFileExtension(url);        // get the extension (type) of file        // remove the menu node (which tosses all of its kids);    // do this in case any old command nodes are hanging around    var menuNode = popupNode.childNodes[0];    popupNode.removeChild(menuNode);    // create a new menu node    menuNode = document.createElement("menu");    popupNode.appendChild(menuNode);    switch(ext) {    case "gif":    case "jpg":    case "jpeg":    case "png":        isImageFile(menuNode,url);        break;    case "htm":    case "html":        isHTMLFile(menuNode,url);        break;    default:        break;    }        return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d990c6e92d1447f19d03966ea18d771c69c3ef9f/sb-file-contextMenu.js/clean/editor/ui/composer/content/sb-file-contextMenu.js