dojo.html.setStyleAttributes = function(/* HTMLElement */node, /* string */attributes) {   node = dojo.byId(node); var splittedAttribs=attributes.replace(/(;)?\s*$/, "").split(";"); for(var i=0; i<splittedAttribs.length; i++){ var nameValue=splittedAttribs[i].split(":"); var name=nameValue[0].replace(/\s*$/, "").replace(/^\s*/, "").toLowerCase(); var value=nameValue[1].replace(/\s*$/, "").replace(/^\s*/, ""); switch(name){ case "opacity": dojo.html.setOpacity(node, value); break; case "content-height": dojo.html.setContentBox(node, {height: value}); break; case "content-width": dojo.html.setContentBox(node, {width: value}); break; case "outer-height": dojo.html.setMarginBox(node, {height: value}); break; case "outer-width": dojo.html.setMarginBox(node, {width: value}); break; default: node.style[dojo.html.toCamelCase(name)]=value; } } 
dojo.html.setStyleAttributes=function(node,_239){ node=dojo.byId(node); var _23a=_239.replace(/(;)?\s*$/,"").split(";"); for(var i=0;i<_23a.length;i++){ var _23c=_23a[i].split(":"); var name=_23c[0].replace(/\s*$/,"").replace(/^\s*/,"").toLowerCase(); var _23e=_23c[1].replace(/\s*$/,"").replace(/^\s*/,""); switch(name){ case "opacity": dojo.html.setOpacity(node,_23e); break; case "content-height": dojo.html.setContentBox(node,{height:_23e}); break; case "content-width": dojo.html.setContentBox(node,{width:_23e}); break; case "outer-height": dojo.html.setMarginBox(node,{height:_23e}); break; case "outer-width": dojo.html.setMarginBox(node,{width:_23e}); break; default: node.style[dojo.html.toCamelCase(name)]=_23e; 
dojo.html.setStyleAttributes = function(/* HTMLElement */node, /* string */attributes) {   //  summary  //  allows a dev to pass a string similar to what you'd pass in style="", and apply it to a node.  node = dojo.byId(node);  var splittedAttribs=attributes.replace(/(;)?\s*$/, "").split(";");   for(var i=0; i<splittedAttribs.length; i++){     var nameValue=splittedAttribs[i].split(":");     var name=nameValue[0].replace(/\s*$/, "").replace(/^\s*/, "").toLowerCase();    var value=nameValue[1].replace(/\s*$/, "").replace(/^\s*/, "");    switch(name){      case "opacity":        dojo.html.setOpacity(node, value);         break;       case "content-height":        dojo.html.setContentBox(node, {height: value});         break;       case "content-width":        dojo.html.setContentBox(node, {width: value});         break;       case "outer-height":        dojo.html.setMarginBox(node, {height: value});         break;       case "outer-width":        dojo.html.setMarginBox(node, {width: value});         break;       default:        node.style[dojo.html.toCamelCase(name)]=value;     }  } }
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js