var ret=dojo.lang.map([r,g,b],function(x){ x=new Number(x); var s=x.toString(16); while(s.length<2){ s="0"+s; } return s; }); ret.unshift("#"); return ret.join(""); }; 
dojo.gfx.color.rgb2hex = function(r, g, b) {  if(dojo.lang.isArray(r)) {    g = r[1] || 0;    b = r[2] || 0;    r = r[0] || 0;  }  var ret = dojo.lang.map([r, g, b], function(x) {    x = new Number(x);    var s = x.toString(16);    while(s.length < 2) { s = "0" + s; }    return s;  });  ret.unshift("#");  return ret.join("");}
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