I am trying to show a pop-up window for every 30 sec. If the pop-window is minimized once then it's not coming to the top if the user is in another application. Please help me on this.

My current program.

<meta http-equiv="refresh" content ="30">
function test()
var t= window.open('lightAlert.html','Rajesh','height=500,width=350');
<body onload = test()>