rem: */ 
context: function BX_popup_node(id){    var node = BX_getElementByIdClean(id,document);    if (BX_elements[node.nodeName])    {        BX_popup_start("Element " +BX_elements[node.nodeName]["name"],0,0);    }    else    {        BX_popup_start("Element " +node.nodeName,0,0);    }    if (node.previousSibling)    {        BX_popup_addLine("Move up","javascript:BX_node_move_up('"+id+"')");    }    if (node.nextSibling)    {        BX_popup_addLine("Move down","javascript:BX_node_move_down('"+id+"')");    }    BX_popup_addLine("Cut/Delete","javascript:BX_copy_extractID('"+id+"');BX_popup_hide()");    //	BX_popup_addLine("Copy","javascript:BX_copy_copyID('"+id+"');BX_popup_hide()");    /*	if (BX_clipboard)    	{    		BX_popup_addLine("Paste","javascript:BX_copy_paste();BX_popup_hide()");    		BX_popup_addLine("Paste after","javascript:BX_copy_pasteID('"+id+"');BX_popup_hide()");    	}    */    BX_popup_addLine("Edit Source","javascript:BX_source_edit('"+id+"');");    if (node.attributes.length > 4) {        BX_popup_addLine("Edit Attributes","javascript:BX_infobar_printAttributes(BX_getElementByIdClean('"+id+"',document));BX_up();BX_popup_hide();");    }	var parent_nodeName = BX_getCurrentNodeName(node.parentNode);    if (BX_elements[parent_nodeName] && BX_elements[parent_nodeName]["allowedElements"].indexOf("#PCDATA") > -1) 	{	    BX_popup_addLine("Make Plain","javascript:BX_popup_makePlain(BX_getElementByIdClean('"+id+"',document))");		if (node.childNodes.length > 1 || (node.childNodes.length == 1 &&  node.childNodes[0].nodeType == 1 )) {			BX_popup_addLine("Make all Plain","javascript:BX_popup_makePlain(BX_getElementByIdClean('"+id+"',document),true)");		}	}    	        if (BX_elements[parent_nodeName] && BX_elements[parent_nodeName]["allowedElements"]) {        var elements= BX_elements[parent_nodeName]["allowedElements"].split(" | ");        for (var i = 0 ; i < elements.length; i++)        {            if (elements[i] != node.nodeName)            {                if (BX_elements[elements[i]])                {                    BX_popup_addLine("Change to " + BX_elements[elements[i]]["name"],"javascript:BX_node_changeID('"+id+"','"+elements[i]+"');BX_popup_hide();");                }            }        }    }    BX_popup_show();}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/ffb59be12713348724e09814524fa70b5200d06e/bitfluxeditor_popup.js/buggy/src/webapp/lenya/resources/misc/bitflux/bxe/js/bitfluxeditor_popup.js