 if(v && v.value){ return v.value; } 
 if(v && v.value){ return v.value; } 
dojo.html.getAttribute = function(/* HTMLElement */node, /* string */attr){	//	summary	//	Returns the value of attribute attr from node.	node = dojo.byId(node);	// FIXME: need to add support for attr-specific accessors	if((!node)||(!node.getAttribute)){		// if(attr !== 'nwType'){		//	alert("getAttr of '" + attr + "' with bad node"); 		// }		return null;	}	var ta = typeof attr == 'string' ? attr : new String(attr);	// first try the approach most likely to succeed	var v = node.getAttribute(ta.toUpperCase());	if((v)&&(typeof v == 'string')&&(v!="")){ 		return v;	//	string 	}	// try returning the attributes value, if we couldn't get it as a string	if(v && v.value){ 		return v.value;	//	string 	}	// this should work on Opera 7, but it's a little on the crashy side	if((node.getAttributeNode)&&(node.getAttributeNode(ta))){		return (node.getAttributeNode(ta)).value;	//	string	}else if(node.getAttribute(ta)){		return node.getAttribute(ta);	//	string	}else if(node.getAttribute(ta.toLowerCase())){		return node.getAttribute(ta.toLowerCase());	//	string	}	return null;	//	string}
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