  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; 
  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(/* 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/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js