Lawmakers weigh allowing online gambling