//driver facility Tuesday - Saturday schedule holidays 
function displayHoliday()
{
holiday="";
now = new Date();
day = now.getDate();
 
if (day<=31)//Put the date here untill which you want this message to appear This facility will be closed Saturday, July 2, 2011<br>in observance of the Independence Day Holiday.<br><br>
{
holiday="The facilities will be closed  Saturday, February 11, 2012<br>in observance of Lincoln's Birthday.<br><br>";
holiday=holiday +"The facilities will be closed  Saturday, February 18, 2012<br>in observance of Washington's Birthday.<br><br>";
holiday=holiday +"";
}
 
document.write(holiday);
}

//driver facility Monday - Friday schedule holidays
function displayHoliday2()
{
holiday2="";
now = new Date();
day = now.getDate();
 
if (day<=31)//Put the date here untill which you want this message to appear   <br><br>This facility will be closed Monday, May 25, 2009<br>in observance of the Memorial Day Holiday.
{
holiday2="The facilities will be closed  Monday, February 13, 2012<br>in observance of Lincoln's Birthday.<br><br>";
holiday2=holiday2 +"The facilities will be closed  Monday, February 20, 2012<br>in observance of Washington's Birthday.<br><br>";
holiday2=holiday2 +"";
}
 
document.write(holiday2);
}


//driver facility road test times downstate facility regions Northern Western Central Southern
function displayRoadtest()
{
roadtest="";
now = new Date();
day = now.getDate();
 
if (day<=31)
{
roadtest="Road tests are available until sunset<br>or 60 minutes prior to closing.";
}
 
document.write(roadtest);
}

//road test text
function displayTesttext()
{
testtext="";
now = new Date();
day = now.getDate();
 
if (day<=31)//Put the date here untill which you want this message to appear
{
testext="If you are taking a road test, you must <br>  ";
testext=testext +"show a vehicle insurance card. Road<br>";
testext=testext +"tests may be denied or discontinued<br>";
testext=testext +"due to unsafe road, weather or vehicle<br>";
testext=testext +"conditions.";
}
 
document.write(testext);
}




//road test text 2
function displayTesttext2()
{
testtext2="";
now = new Date();
day = now.getDate();
 
if (day<=31)//Put the date here untill which you want this message to appear
{
testext2="Road Test cut off times may vary due <br>to the number of customers requiring road tests.<br><br>Road Tests will not be started<br>after dark regardless of the time.";
testext2=testext2 +"";
testext2=testext2 +"";
}
 
document.write(testext2);
}

//link to state holiday calendar in personnel folder
function displaycalendar()
{
holiday="";
now = new Date();
day = now.getDate();
 
if (day<=31)//put the text here to dispaly
{
calendar="";
calendar=calendar +"View all <a href='http://www.cyberdriveillinois.com/departments/personnel/holidays.html'>State Holidays</a>";
calendar=calendar +"";
}
 
document.write(calendar);
}
