<!--DATED & TIMED POP-UP--> <!-- This goes 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 theDate = "9"; // Set the date the pop-up should open at left in the format shown var theMonth = "02"; // Set the month the pop-up should open at left in the format shown var theYear = "2005"; // Set the year the pop-up should open at left in the format shown var hourAlrm = "06"; // Set the hour the pop-up should open at left in the format shown var minAlrm = "02"; // 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) var month = new Array("01","02","03","04","05","06","07","08","09","10","11","12"); today = new Date(); date = today.getDate(); month = (month[today.getMonth()]); year = (today.getFullYear()); 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 (date == theDate && month == theMonth && year == theYear && 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()">