rem: ++count; } ++i; } while (count < map.length-1); 
add: } 
context:   function initPaintArea() {      jg = new jsGraphics("myCanvas");      jg.setColor("#FFFFFF");      getMyPicCoords();      /* Update map coords */      var i = 0; var count = 0;      do {	if(map[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;          }	  ++count;        }	++i;      } while (count < map.length-1);  }
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/5e2af61b048e32354630dae930de5061db1ff7f4/imagemap.js/buggy/gallery/js/imagemap.js