rem: var textNode = BX_xml.createTextNode("#"); 
add: var textNode = BX_xml.doc.createTextNode("#"); 
context: function BX_table_insert_col(){    if (!(BX_range))    {        alert("Nothing selected, please select a table cell");        return;    }    var cell = BX_range.startContainer.parentNode;    if (cell.nodeName.toLowerCase() != "entry")    {        alert("No table-cell selected, please choose one");        return ;    }    var row = cell.parentNode;    var tbody = row.parentNode;    var cellPos;    // find on which position we are    for (var i = 0; i < row.childNodes.length; i++)    {        if (row.childNodes[i] == cell)        {            cellPos = i;            break;        }    }    //for each row, add a entry    for (var i = 0; i < tbody.childNodes.length; i++)    {        if (tbody.childNodes[i].nodeName.toLowerCase() == "row")        {            var newCell = BX_xml.createElementNS("http://www.w3.org/1999/xhtml","entry");			BX_node_insertID(newCell);            var textNode = BX_xml.createTextNode("#");            newCell.appendChild(textNode);            var oldCell = tbody.childNodes[i].childNodes[cellPos];            tbody.childNodes[i].replaceChild(newCell,oldCell);            bla = tbody.childNodes[i].insertBefore(oldCell,newCell);        }    }    BX_range.setEnd(newCell.childNodes[0],0);    BX_range.setStart(newCell.childNodes[0],0);}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/23e4752e13536f63516c1ece4dd47e95e4cd7f52/bitfluxeditor_table.js/clean/src/webapp/lenya/resources/misc/bitflux/bxe/js/bitfluxeditor_table.js