anchor.diff:        }
       });
     }
  -  updateMap();
  +  updateMap();*/
  +}
  +
  +function selectSeat(i, j){
  +  for(k = 0; k < rows.length; k++){
  +    for(m = 0; m < rows[i].seats.length; m++){
  +      rows[k].seats[m].selected = false;
  +    }
  +  }
  +  rows[i].seats[j].selected = true;
   }
   
   function getSeatFromCoord(inX, inY){
  
positive.code:         ctx.fillStyle = 'red';
        }
        ctx.fill();
      }
    }
  }
  
negative.code: //PARTLY DEBUG
  function handleMouseClick(canvas, evt){
    var mousepos = getMousePos(canvas, evt);
    ij = getSeatFromCoord(mousepos.x, mousepos.y);
    if(ij.i != null && ij.j != null)
      selectSeat(ij.i, ij.j);
    renderSeatmap(canvas);
    /*
    if(ij != false){
      state = rows[ij.i].seats[ij.j].state;
      newState = state == "available" ? "disabled" : "available";
  