It's sad that nobody has an answer, the topic is really interesting actually, there are a lot of really cool lottery websites out there, for example,
check this site out. It's really great and I'd really like to know how much it would cost to run something similar.