//Set the dates below
var goLiveDate = "20100530";
var expireDate = "20100601";

//Parse the dates
var expireYear = expireDate.substring(0,4)
var expireMonth = expireDate.slice(4,-2)
var expireDay = expireDate.slice(6)
var liveYear = goLiveDate.substring(0,4)
var liveMonth = goLiveDate.slice(4,-2)
var liveDay = goLiveDate.slice(6)
var nowDate = new Date();
var day = nowDate.getUTCDate();
var month = nowDate.getUTCMonth();
var month1 = month + 1;

//Zero pad month or day if less then 10
if (month1 < 10 ) { month1 = "0" + month1; }
if (day < 10 ) { day = "0" + day; }
var year = nowDate.getYear();

//Set GMT Date 
var GMTdate = year + "" + month1 + "" + day

//Do the compare
if ((GMTdate < expireDate) && (GMTdate >= goLiveDate))
	  {
document.writeln('              <hr><h1><em>Memorial Day<\/em><\/h1>\r\n<font size="4" face="Arial, Helvetica, sans-serif">May 30, 2010 - Fullerton, CA - <\/font><p align="justify">Our offices will be closed Monday, May 31, 2010 in observance of <br>Memorial Day.</p><p><br></p><p align="justify">We apologize for any inconvenience this may cause.<\/p><p align="justify"> \r\n  \r\n<br>Thank you.<\/p><\/font>');
}
