anchor.diff:    rows = new Array();
     updateSeatVariables();
     canvas = document.getElementById('smCanvas');
  +  renderSeatmap(canvas);
   
     canvas.addEventListener('mousemove', function(evt) {
       renderSeatmap(canvas);
  
positive.code: //PARTLY DEBUG
  function handleMouseClick(canvas, evt){
    var mousepos = getMousePos(canvas, evt);
    console.log("mouse clicked at: " + mousepos.x + ":" ,mousepos.y);
    ij = getSeatFromCoord(mousepos.x, mousepos.y);
    if(ij != false){
      state = rows[ij.i].seats[ij.j].state;
      newState = state == "available" ? "disabled" : "available";
  
negative.code:         ctx.fillStyle = 'red';
        }
        ctx.fill();
        if(rows[i].seats[j].selected == true){
          ctx.rect(coords.x, coords.y, SEAT_SIZE, SEAT_SIZE);
          ctx.stroke();
        }
      }
    }
  }
  