dojo.html.sumAncestorProperties = function(/* HTMLElement */node, /* string */prop){   node = dojo.byId(node); if(!node){ return 0; }  var retVal = 0; while(node){ if(dojo.html.getComputedStyle(node, 'position') == 'fixed'){ return 0; } var val = node[prop]; if(val){ retVal += val - 0; if(node==dojo.body()){ break; } } node = node.parentNode; } return retVal; 
dojo.html.sumAncestorProperties=function(node,prop){ node=dojo.byId(node); if(!node){ return 0; 
dojo.html.sumAncestorProperties = function(/* HTMLElement */node, /* string */prop){  //  summary  //  Returns the sum of the passed property on all ancestors of node.  node = dojo.byId(node);  if(!node){ return 0; } // FIXME: throw an error?    var retVal = 0;  while(node){    if(dojo.html.getComputedStyle(node, 'position') == 'fixed'){      return 0;    }    var val = node[prop];    if(val){      retVal += val - 0;      if(node==dojo.body()){ break; }// opera and khtml #body & #html has the same values, we only need one value    }    node = node.parentNode;  }  return retVal;  //  integer}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js