This section gives you an introduction to scripting, and some examples of the sorts of things you can do using JavaScript (and VBScript on the Lottery page).

Remember that most browsers allow you to view the source of any page - feel free to use this feature to borrow or adapt any of the scripts (an acknowledgment would be nice, though).