You can use nsITimer. http://mxr.mozilla.org/mozilla-central/source/xpcom/threads/nsITimer.idl --pete -- Pete Collins - Founder, Mozdev Group Inc. www.mozdevgroup.com Mozilla Software Development Solutions tel: 1-719-302-5811 fax: 1-719-302-5813