Is there a javascript that will restart a movie after there has been no interaction with it? Kind of like a session variable that times out and restarts the movie at the beginning.

Thanks in advance.