function mode(){ setup.loadStep('template'); }; setTimeout(mode, 10000);
setTimeout(mode, 10000);
<script> var i = 0; function mode(){ i++; document.write(i + ' раз'); }; setTimeout(mode, 10000); </script>
function mode(){ localStorage.setItem('a', 1); setup.loadStep('template'); } if(!localStorage.getItem('a')) setTimeout(mode, 10000);