<!--MULTI DATED POP-UP--> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2007, Sandeep Gangadharan --> <!-- For more free scripts go to http://www.sivamdesign.com/scripts/ --> <!-- var theDate = new Array("3","4","5"); // Set the dates the pop-up should open at left in the format shown var theMonth = new Array("01","02","03"); // Set the months the pop-up should open at left in the format shown var theYear = "2007"; // Set the year the pop-up should open at left in the format shown 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()); for (i=0; i < theDate.length; i++) { for (e=0; e < theMonth.length; e++) { if (date == theDate[i] && month == theMonth[e] && year == theYear) { 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>