set timeout on load code example
Example 1: javascript run something after x seconds
setTimeout(function(){
location.reload();
}, 3000); //run this after 3 seconds
Example 2: windows.load with settimeout
window.onload = function(){
setInterval(function(){
alert("Hello");
}, 10000);
};