rem: if (value <= 0) { 
add: if (value <= 0.001) { 
context: function percent_usage(value, parent){   var nb_elt=percent_usage_nb_slice;   var type;     if (!parent) {      parent = document.createElement('DIV');   }      if (typeof parent != "object") {      parent = document.getElementById(parent);   }    if (!parent) {       alert("E : display_percent(): Can't find parent " + parent);       return;   }   if (value <= 0) {      type = "Empty";      value = 0;         } else if (value <= 40) {      type = "Ok";   } else if (value <= 75) {      type = "Warn";   } else if (value <= 85) {      type = "Crit";   } else {      type = "Crit";   }   var nb = parseInt(value*nb_elt/100, 10);   parent.title = parseInt(value*100,10)/100 + "% used (approximate)";   for(var i=0; i<nb; i++) {      var img= percent_get_img(type);      parent.appendChild(img);   }   for(nb;nb < nb_elt;nb++) {      var img= percent_get_img("Empty");      parent.appendChild(img);          }    return parent;}
meta: 3947	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3947/76bd9935e7dd5ef48362661ebfa16fa051f57b34/bweb.js/buggy/gui/bweb/html/bweb.js