rem: a.setAttribute ("class", className); 
add: if (className) a.setAttribute ("class", className); 
context: function newInlineText (data, className, tagName){    if (typeof tagName == "undefined")        tagName = "html:span";        var a = document.createElementNS ("http://www.w3.org/1999/xhtml",                                      tagName);    a.setAttribute ("class", className);    switch (typeof data)    {        case "string":            a.appendChild (document.createTextNode (data));            break;                    case "object":            for (var p in data)                if (p != "data")                    a.setAttribute (p, data[p]);                else                    a.appendChild (document.createTextNode (data[p]));            break;        case "undefined":            break;        default:            dd ("** INVALID TYPE ('" + typeof data + "') passed to " +                "newInlineText.");            break;                }    return a;    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/static.js/buggy/extensions/irc/xul/content/static.js