function inCell(cell, newcolor) 
{
	if (!cell.contains(event.fromElement)) 
	{
		cell.style.background = newcolor;
	}
}

function outCell(cell, newcolor) 
{
	if (!cell.contains(event.toElement)) 
	{
		cell.style.background = newcolor;
	}
}
