 var v = node.getAttribute(ta.toUpperCase()); if((v)&&(typeof v == 'string')&&(v!="")){ return v; } 
 var v = node.getAttribute(ta.toUpperCase()); if((v)&&(typeof v == 'string')&&(v!="")){ return v; } 
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/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js