<!--TIMED POP-UP--> <!-- This part can go in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2005, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- var hourAlrm = "01"; // Set the hour the pop-up should open at left in the format shown var minAlrm = "05"; // Set the minute the pop-up should open at left in the format shown var suf = "pm"; // Set whether 'am' or 'pm' in the format shown (lowercase only) function sivamtime() { now=new Date(); hour=now.getHours(); min=now.getMinutes(); sec=now.getSeconds(); if (min<=9) { min="0"+min; } if (sec<=9) { sec="0"+sec; } if (hour>12) { hour=hour-12; add="pm"; } else { hour=hour; add="am"; } if (hour==12) { add="pm"; } if (hour==00) { hour="12"; } hour = (hour<=9) ? "0"+hour : hour; ST=setTimeout("sivamtime()", 1000); if (hour == hourAlrm && min == minAlrm && add == suf) { window.clearTimeout(ST); window.open('popwind.html','NewWin','toolbar=no,status=no,width=350,height=135'); } // Create a html document (in this example "popwind.html") that shall be the pop-up } //--> </script> <!-- Note the script in the BODY tag --> <body onLoad="sivamtime()">