  var s = dojo.html.getComputedStyle(node, cssSelector); if((!s)||((s == 'auto')&&(autoIsZero))){ return { value: 0, units: 'px' }; }  var match = s.match(/(\-?[\d.]+)([a-z%]*)/i); if (!match){return dojo.html.getUnitValue.bad;} return { value: Number(match[1]), units: match[2].toLowerCase() }; 
  var s = dojo.html.getComputedStyle(node, cssSelector); if((!s)||((s == 'auto')&&(autoIsZero))){ return { value: 0, units: 'px' }; }  var match = s.match(/(\-?[\d.]+)([a-z%]*)/i); if (!match){return dojo.html.getUnitValue.bad;} return { value: Number(match[1]), units: match[2].toLowerCase() }; 
dojo.html.getUnitValue = function(/* HTMLElement */node, /* string */cssSelector, /* boolean? */autoIsZero){	//	summary	//	Get the value of passed selector, with the specific units used	var s = dojo.html.getComputedStyle(node, cssSelector);	if((!s)||((s == 'auto')&&(autoIsZero))){ 		return { value: 0, units: 'px' };	//	object 	}	// FIXME: is regex inefficient vs. parseInt or some manual test? 	var match = s.match(/(\-?[\d.]+)([a-z%]*)/i);	if (!match){return dojo.html.getUnitValue.bad;}	return { value: Number(match[1]), units: match[2].toLowerCase() };	//	object}
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