aw();
	
	fixed.addEventListener('click', function(e){
		var canvas_rect = fixed.getBoundingClientRect();
		var x = e.clientX - canvas_rect.left;
		var y = e.clientY - canvas_rect.top;
		for(var i = 0; i < fixed_cell_xs.length; ++i) {
			if (x > fixed_cell_xs[i] && x < fixed_cell_xs[i] + cell_width && y > cell_y && y < cell_y + cell_height)
				fixed_cell_bits[i] = 1 - fixed_cell_bits[i];
		}
		fixed_draw();
	}, false);
}

function fixed_draw() {
	var fixed = document.getElementById("fixed");
	var fixed_cont