If the Massachusetts State Lottery is to continue to thrive and return hundreds of millions of dollars to cities and towns, it must have the ability to move online in some fashion, its executive director said, but it first needs permission from the Legislature to test the World Wide Web’s waters.Massachusetts, Technology, Online Ticket Sales, Government