var days = new Array();
var msgs = new Array();

// Edit only the year and the msgs (messages) inside the quotes. 
// Make sure to keep the quotation marks (" ") and the semi-colon (;) at the end

days[0] = "January 1, 2010";
msgs[0] = "<center><b><h2>Manager's January Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[1] = "February 1, 2010";
msgs[1] = "<center><b><h2>Manager's February Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[2] = "March 1, 2010";
msgs[2] = "<center><b><h2>Manager's March Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[3] = "April 1, 2010";
msgs[3] = "<center><b><h2>Manager's April Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[4] = "May 1, 2010";
msgs[4] = "<center><b><h2>Manager's May Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[5] = "June, 2010";
msgs[5] = "<center><b><h2>Manager's June Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[6] = "July 1, 2010";
msgs[6] = "<center><b><h2>Manager's July Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[7] = "August 1, 2010";
msgs[7] = "<center><b><h2>Manager's August Special</h2></b>$89.95 A/C Service<br>Just print this page from the web!<br><small>(Limit 1 vehicle per customer household please.)</small></center>";

days[8] = "September 1, 2010";
msgs[8] = "<center><b><h2>Manager's September Special</h2></b>Free tire rotation with an oil change<br><small>(Limit 1 vehicle per customer household.)</small><br>Just mention you saw it on the web!</center>";

days[9] = "October 1, 2009";
msgs[9] = "<center><b><h2>Manager's October Special</h2>Oil Change $26.95</b><br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

days[10] = "November 1, 2009";
msgs[10] = "<a href="http://rcburroughs.com">click here</a>";

days[11] = "December 1, 2009";
msgs[11] = "<center><b><h2>Manager's December Special</h2></b>Oil Change $26.95<br><small>(Up to 5 Quarts)</small><br>Most Cars &amp; Trucks</center>";

// Do not edit below this line

var months = new Array("", 
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
);

var today = new Date(); // today
var mon = months[today.getMonth() + 1]; // month
var day = today.getDate(); // day
// var year = y2k(today.getYear()); // year

function dateMsg() {
for (i = 0; i < days.length; i++) {
tempdate = new Date(days[i]);
tempmonth = months[tempdate.getMonth() + 1];
// tempday = tempdate.getDate();
// tempyear = y2k(tempdate.getYear());
// if (year == tempyear && mon == tempmonth && day == tempday)
if (mon == tempmonth)
return(msgs[i]); // returns day message
   }
return("Here will be your seasonal and/or monthly specials message"); // returns default
}

// Y2K Fix Function
function y2k(year) {
if (year < 2000)		
year = year + 1900;
return year;
}
