The Event constructor takes the start time for the event,the number of times to execute the event, the delay between each execution, and the action to be performed for the event.
The start time and delay are specified in seconds, but are converted to milli-seconds for internal use. The action can be any valid JavaScript statement en-closed in quotes.