//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 Wednesday, November 11, 2009<br>in observance of the Veterans Day Holiday.<br><br>
{
holiday="This facility will be closed Thursday, November 26, 2009<br> and Friday November 27, 2009 in observance of the<br>Thanksgiving Day Holiday.";
holiday=holiday +"";
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="This facility will be closed Thursday, November 26, 2009<br> and Friday November 27, 2009 in observance of the<br>Thanksgiving Day Holiday.";
holiday2=holiday2 +"";
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);
}