  var _document = dojo.doc(); var parent = dojo.byId(node); type = type.toLowerCase(); while((parent)&&(parent.nodeName.toLowerCase()!=type)){ if(parent==(_document["body"]||_document["documentElement"])){ return null; } parent = parent.parentNode; } return parent; 
  var _document = dojo.doc(); var parent = dojo.byId(node); type = type.toLowerCase(); while((parent)&&(parent.nodeName.toLowerCase()!=type)){ if(parent==(_document["body"]||_document["documentElement"])){ return null; } parent = parent.parentNode; } return parent; 
dojo.html.getParentByType = function(/* HTMLElement */node, /* string */type) {  //  summary  //  Returns the first ancestor of node with tagName type.  var _document = dojo.doc();  var parent = dojo.byId(node);  type = type.toLowerCase();  while((parent)&&(parent.nodeName.toLowerCase()!=type)){    if(parent==(_document["body"]||_document["documentElement"])){      return null;    }    parent = parent.parentNode;  }  return parent;  //  HTMLElement}
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