Auto navegate tab menus after a period

Hi guys,

I'm planning to show info of my app in the displays installed in the office. So I thought in a javascript code that will automatically navegate to the next menu button after 5 minutes, for example, and so on without stop (and it gets to the last button, it will come back to the first and never stop).

Can any code genius help me out providing the code for this behavor?

Tks a lot!