the delegate function: prototype timer(Sender, EventData)
timeout
the timeout interval
Description:
This function sets up a timer. After timeout milliseconds, delegate will be called. The delegate is called only once; if it's needed more than once, a new call to AddTimer is required.