rem: if (event.clickCount == 2){ 
add: if (event.detail == 2){ 
context: function addPoint(event, pointX, pointY, start){  if (event){    dump('addPoint Called with event\n');    pointX = event.clientX;    pointY = event.clientY;    event.preventBubble();    if (event.clickCount == 2){      polyFinish();      return;    }  }  else    dump('addPoint Called\n');  newPoint = frameDoc.createElement("div");  newPoint.setAttribute("class", "point");  newPoint.setAttribute("id", "point"+pointCount++);  newPoint.style.left = pointX+"px";  newPoint.style.top = pointY+"px";  if (start){    newPoint.setAttribute("class", "pointStart");    newPoint.style.cursor = "pointer";    //newPoint.onclick = polyFinish;    newPoint.addEventListener("click", polyFinish, false);  }  currentPoly.appendChild(newPoint);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/a743e2b38be4c313d82799a5f7c1133ff734f2a9/EdImageMapShapes.js/buggy/editor/ui/dialogs/content/EdImageMapShapes.js