rem: } 
add: }; 
context:     function setAttribs (obj, c, attrs)    {        if (attrs)        {            for (var a in attrs)                obj.setAttribute (a, attrs[a]);        }        obj.setAttribute ("class", c);        obj.setAttribute ("msg-type", msgtype);        obj.setAttribute ("msg-dest", toAttr);        obj.setAttribute ("dest-type", toType);        obj.setAttribute ("view-type", viewType);         if (fromAttr)        {            if (fromUser)                obj.setAttribute ("msg-user", fromAttr);            else                obj.setAttribute ("msg-source", fromAttr);        }   }
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/d256ea351acacb0547763e16ea753d6bfa905c1f/static.js/clean/xul/content/static.js