function inCell(cell, newcolor) {
	if (!cell.contains(event.fromElement)) {
	cell.bgColor = newcolor;
	}
}

function outCell(cell, newcolor) {
	if (!cell.contains(event.toElement)) {
	cell.bgColor = newcolor;
	}
}
