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:   rows = new Array();
    updateSeatVariables();
    canvas = document.getElementById('smCanvas');
  
    canvas.addEventListener('mousemove', function(evt) {
      renderSeatmap(canvas);
  
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();
        }
      }
    }
  }
  