Display a random ad:
This sample illustrates the basics of how to use the Ad Rotator control. The control is easy to use, and just like its .NET counterpart, it can be useful even if you're not actually serving advertisements.
The rotator schedule file this script is using is available here: ../../samples/adrotator.txt.