<!-- Multi-Date Greeting - I --> <!-- This whole script goes in the HEAD 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 month = new Array(); month[0]="January"; month[1]="February"; month[2]="March"; month[3]="April"; month[4]="May"; month[5]="June"; month[6]="July"; month[7]="August"; month[8]="September"; month[9]="October"; month[10]="November"; month[11]="December"; var theMonth = "October"; // change the month on the left var theDate = new Array("01", "14", "27"); // add all dates you wish to send the greeting on the left in the same format shown var theYear = "2007"; // change the year on the left today = new Date(); date = today.getDate(); month = (month[today.getMonth()]); year = today.getFullYear(); for (var i = 0; i <= theDate.length; i++) { if (month == theMonth && theDate[i] == date && theYear == year) { window.alert('This is an alert for ' + theDate[i] + ' ' + theMonth + ' ' + theYear + '!'); } } // --> </script>