SetTimeout, often used time interval triggering, settimeout ("LoadPop ()", 60000); function loadpop () {for (int i = 0; i <5; i ) {WINDOW.Open (i ".html");}} Also, you can also call on the server.