Is there a way to refresh (redirect to another page) after no activity(no clicks, etc...) on a page?

Maybe a "onClick...resetTimeout or something then have the page on a timeout refresh.

Any help would be greatly appreciated.

This, by the way, is for an interactive Kiosk touch screen tv. After a certain time, want it to go back to the main html page.