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.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/sb-file-contextMenu.js/buggy/editor/ui/composer/content/sb-file-contextMenu.js