rem: for (var a in attrs) obj.setAttribute (a, attrs[a]); 
add: if (attrs) { for (var a in attrs) obj.setAttribute (a, attrs[a]); } 
context:     function setAttribs (obj, c, attrs)    {        for (var a in attrs)            obj.setAttribute (a, attrs[a]);        obj.setAttribute("class", c);        obj.setAttribute("msg-type", msgtype);    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cf0e8c1634df43791068997093c9d50a2c5ac560/venkman-static.js/clean/extensions/venkman/resources/content/venkman-static.js