context: 	dojo.attr = function(/*DomNode|String*/node, /*String*/name, /*String?*/value){		// summary:		//		Gets or sets an attribute on an HTML element.		// description:		//		If 2 arguments are passed, acts as a getter.		//		If a third argument is passed, acts as a setter.		// node:		//		id or reference to the element to get or set the attribute on		// name:		//		the name of the attribute to get or set		// value:		//		the value for the attribute (optional)		// returns:		//		when used as a getter, the value of the requested attribute		//		or null if that attribute does not have a specified or		//		default value;		//		when user as a setter, undefined		node = dojo.byId(node);		name = _fixAttrName(name);		if(arguments.length == 3){			node.setAttribute(name, value);			return undefined;		}else{			// should we access this attribute via a property or			// via getAttribute()?			var prop = _attrProps[name.toLowerCase()];			if(prop){				return node[prop];			}else{				return _hasAttr(node, name) ? node.getAttribute(name) : null;			}		}	}
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/b7fcca9ff10536b91af62c26bc532e4e867488bc/html.js/buggy/_base/html.js