rem: for (var attName in attributes) { 
add: for (var attName in attributes) { 
context: function BX_add_tagWithAttributes(tag,content,attributes){    var element = BX_xml.createElementNS("http://www.w3.org/1999/xhtml",tag);    element.appendChild(BX_xml.createTextNode(content));    for (var attName in attributes)    {        element.setAttribute(attName,attributes[attName]);    }    element.setAttribute("id","BX_id_"+BX_id_counter);    element.setAttribute("internalid",'yes');    BX_id_counter++;    BX_insertContent(element);    BX_scrollToCursor(element);    BX_selection.selectAllChildren(element);    BX_update_buttons = true;}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/23e4752e13536f63516c1ece4dd47e95e4cd7f52/bitfluxeditor_core.js/clean/src/webapp/lenya/resources/misc/bitflux/bxe/js/bitfluxeditor_core.js