This script will choose your lottery numbers for you, but please note I cannot be held responsible for any losses incurred. If you happen to win, though, I won't say no to a slice of the action! Note that this script is aimed at the UK National Lottery, which requires you to choose six numbers from 49. I understand that a fair number of other lotteries use the same parameters, however. Most of the script itself is on the page that loads in the borderless frame when you click below, which is named lottery.htm. Note that the background to the numbers changes randomly each time you click.
Click here to generate your numbers (Click again for another set).
To recreate this script on your site you will need a set of images of balls numbered between 1 and 49, named 1.gif to 49.gif and 50 px by 50px in size. They should have transparent backgrounds and be uploaded top a subdirectory on your server named 'balls'. If your graphics skills are even worse than mine, here is a link to a zipped file containing my graphics. Remember to unzip them into a subdirectory named 'balls'. Finally, here's the code: