You could also use
YAHOO.lang.later
instead of window.setTimeout
.
YAHOO.lang.later
instead of window.setTimeout
.