
Date.prototype.getDOY = function() {
var onejan = new Date(this.getFullYear(),0,1);
return Math.ceil((this - onejan) / 86400000);
}
var today = new Date();
var julian = today.getDOY();      

switch (true) {

  case ((319 < julian)&&(julian < 340)):
       {
       document.write('<fieldset id=fldCartNotice><legend>2009 Holiday Season Schedule</legend>');
       document.write('<b>Cleaner Today is closed for the Holidays</b>');
	   document.write('<br>2009 has been a long year for everyone in the United States and this time of year is typically slow.<br>So we have decided to close during the holiday season allowing our employees extended time together with their families.');
       document.write('<hr><B>Dec 6th</B> we will start accepting orders<br>Orders will be scheduled to ship on <strong>Wednesday, Dec 23rd</strong>'); 
       }
    break;

	case ((40 < julian)&&(julian < 50)):
       {
       document.write('<fieldset id=fldCartNotice><legend>Warehouse Upgrade Shipping Notice</legend><center>');
       document.write('<b>We are currently Upgrading our Warehouse to better serve you.</b>');
	   document.write('<br>Orders placed today will <strong>ship Monday, Feb 22nd</strong>');
	   document.write('<br>As a "thank you" for waiting, save <strong>10%</strong> by using coupon code <strong>"10FEB22"</strong>');
	   document.write('</center></fieldset>');
       }
    break;

case ((290 < julian)&&(julian < 286)):
       {
       document.write('<fieldset id=fldCartNotice><legend> Warehouse Upgrade Schedule </legend><center>');
       document.write('Cleaner Today is closed for Warehouse Upgrades.');
	   document.write('<br>Orders placed today will be <strong>shipped on Monday, Feb 22</strong>');
	   document.write('</center></fieldset>');
       }
    break;

  default:

}