Is there a way of setting a delayed action on a page ?

For example, i would llike to return to the Main Menu page from another page after a delay of xxx seconds.