<!--


var m, d;

var Schedule = new Array(m,d); 

for(var i = 0; i < 12; i++)
{
	Schedule[i] = new Array();

        for(var j = 0; j < 31; j++)
        {
	  Schedule[j] = new Array();
        }
}




// Set the days you want. January is the 0th month. December is the 11th.

Schedule[0][31] = ["Save 40% off your regular cleaning!"];
// runs until January 31

Schedule[1][14] = ["<b>For Valentine’s Day...</b><br><br>Surprise your significant one with a sparkling cleaning & take 10% off."];
// runs until February 14

Schedule[3][30] = ["Spring is a wonderful season of the year to start fresh and clean.<br><br>Take $10 off your initial cleaning & additional 20% on your 6th cleaning.<br><br>Are you moving In/Out?<br>You have enough worries! Take 10% and let us to clean the dirt for you."];
// runs until April 30

Schedule[4][14] = ["<b>Mother’s Day is coming!</b><br><br>Mom deserves the best from us. Put a smile in her face. Take 15% off for cleaning up to $250.00."];
// runs until May 14

Schedule[4][31] = ["<b>Enjoy the beautiful view you have.</b><br><br>Let the pro’s make your windows sparkle clean. Contact us today and receive 20% off."];
// runs until May 31

Schedule[7][31] = ["<b>Summer is here.<br>We clean you enjoy!</b><br><br>Take 10% , 15% or 20% off any other service when you schedule weekly or biweekly cleaning."];
// runs until August 31

Schedule[9][31] = ["<b>Fall is here!</b><br><br>It’s time to protect your front and back yard.<br>Receive 10% off Lawn maintenance."];
// runs until October 31

Schedule[10][14] = ["<b>The Holidays are coming!</b><br><br>Why to way until the last minute? Call us to schedule your big cleaning before your family comes over.<br>We offer great discounts when you schedule in advance.<br><br>Don’t want to clean before or after the party?<br>Contact us!"];
// runs until November 14

Schedule[10][22] = ["Throwing a party and the house is a mess?<br><br>Take 15% off your big cleaning and Let’s party!"];
// runs until November 22

Schedule[11][1] = ["Receive 15% or 20% off during your holiday season.<br>Happy Holidays!"];
// changeover for December

Schedule[11][31] = ["Receive 15% or 20% off during your holiday season.<br>Happy Holidays!"];
// runs until December 31

function dateWriter() 
{
    var today, then, start;
    
    today = new Date();

    if ( Schedule[today.getMonth()][today.getDate()] ) 
	{
		// only true if you explicitly set it
       		return (Schedule[today.getMonth()][today.getDate()][0]);
        }
    else 
	{
        for (var m = today.getMonth(); m < 12; m++) 
		{
            	  start = ( m == today.getMonth() ) ? today.getDate() : 1;
            	
		   for (var d = start; d <= 31; d++) 
			{
                		if (Schedule[m][d]) 
				{
                    			then = new Date(today.getFullYear(), m, d);
                    			return (Schedule[m][d][0]);
                    		}
                	}
            	}
        }
}


//-->
   