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(/* 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(/* 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/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js