rem: for(i=0; i< map.length; ++i) { 
add: var i = 0; var count = 0; do { if(map[i]) { 
context:   function initPaintArea() {      jg = new jsGraphics("myCanvas");      jg.setColor("#FFFFFF");      getMyPicCoords();      /* Update map coords */      for(i=0; i< map.length; ++i) {          for (j=0; j< map[i]['x_coords'].length; ++j) {              map[i]['x_coords'][j] = map[i]['x_coords'][j] + minX;              map[i]['y_coords'][j] = map[i]['y_coords'][j] + minY;          }      }  }
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/9c3f1295e63da8aec8b609e96ee9287d1d43ddb9/imagemap.js/buggy/gallery/js/imagemap.js