Hi Rumen -
Yes, your instinct is right, for this you should use setTimeout in javascript.
I'd get that working on my page (so that on my page, after 3 seconds, the alert pops up). I'd probably do that by putting that setTimeout line inside window.onload inside a <script> tag inside a {% scripts %} block in my template:
{% block scripts %}
<script>
window.onload = function(){
setTimeout(...);
}
</script>
{% endblock %}
Once I get that alert working, then I would set about changing the function to do what I want - so instead of calling alert() I'd have it change the next button's css to have visibility:visible again.
Then I would change the 3000ms timeout in the example to the 600,000 that is needed for 10 mins.
Good luck!
Thanks,
--Chris