var $hdate = new Date();
var $hday = $hdate.getDate();
var $hmonth = $hdate.getMonth() + 1;
var $hyear = $hdate.getFullYear();


// January
//////////////////////////////
if ($hmonth == "01") {

if ($hday == "01") {
$showMsg = "True";
$holiday = "New Years Day";
$msgDte = "Thursday 1st, Closed";
}

//else if (($hday > "07") && ($hday <= "17")) {
//$showMsg = "True";
//$holiday = "Winter/Ice Storm";
//$msgDte = "Monday 15th, Closed<BR>Tuesday 16th, Closed<BR>(due to icy roads)";
//}

else { 
$showMsg = "False"
}

}

// February
//////////////////////////////
if ($hmonth == "02") {

if (($hday > "09") && ($hday <= "15")) {
$showMsg = "True";
$holiday = "Washington B-Day";
$msgDte = "Monday 15th, Closed";
}
else { 
$showMsg = "False"
}

}

// March
//////////////////////////////
if ($hmonth == "03") {

$showMsg = "False";

}

// April
//////////////////////////////
if ($hmonth == "04") {

//if (($hday > "05") && ($hday <= "06")) {
//$showMsg = "True";
//$holiday = "Good Friday";
//$msgDte = "Friday 6th, Closing at 2pm";
//}
//else { 

$showMsg = "False"

//}

}

// May
//////////////////////////////
if ($hmonth == "05") {

if (($hday > "24") && ($hday <= "31")) {
$showMsg = "True";
$holiday = "Memorial Day";
$msgDte = "Monday 31st, Closed";
}
else { 
$showMsg = "False"
}

}

// June
//////////////////////////////
if ($hmonth == "06") {

//if ($hday > "29") {
//$showMsg = "True";
//$holiday = "Independence Day";
//$msgDte = "Friday 4th, Closed";
//}
//else { 

$showMsg = "False"

//}

}

// July
//////////////////////////////
if ($hmonth == "07") {

if (($hday > "01") && ($hday <= "05")) {
$showMsg = "True";
$holiday = "Independence Day";
$msgDte = "Monday 5th, Closed";
}
else { 

$showMsg = "False"

}

}

// August
//////////////////////////////
if ($hmonth == "08") {

if ($hday > "30") {
$showMsg = "True";
$holiday = "Labor Day";
$msgDte = "Monday 6th, Closed";
}

else { 
$showMsg = "False"
}

}

// September
//////////////////////////////
if ($hmonth == "09") {

if (($hday >= "01") && ($hday < "07")) {
$showMsg = "True";
$holiday = "Labor Day";
$msgDte = "Monday 6th, Closed";
}

//else if (($hday > "10") && ($hday <= "12")) {
//$showMsg = "True";
//$holiday = "Severe Weather";
//$msgDte = "Fri 12th, possibly<BR>closing early. Will<BR>notify everyone<BR>if so.";
//}

else { 
$showMsg = "False"
}

}

// October
//////////////////////////////
if ($hmonth == "10") {

//if (($hday > "01") && ($hday <= "08")) {
//$showMsg = "True";
//$holiday = "Columbus Day";
//$msgDte = "Monday 8th, Closed";
//}
//else { 

$showMsg = "False"

//}

}



// November
//////////////////////////////
if ($hmonth == "11") {

if (($hday > "04") && ($hday <= "11")) {
$showMsg = "True";
$holiday = "Veterans Day";
$msgDte = "Thursday 11th, Closed";
}

else if (($hday > "18") && ($hday <= "26")) {
$showMsg = "True";
$holiday = "Thanksgiving";
$msgDte = "Thursday 25th, Closed<BR>Friday 26th, Closed";
}

else { 
$showMsg = "False"
}

}

// December
//////////////////////////////
if ($hmonth == "12") {

if (($hday > "18") && ($hday <= "25")) {
$showMsg = "True";
$holiday = "Christmas";
$msgDte = "Friday 24th, Closed";
}

else if ($hday > "25") {
$showMsg = "True";
$holiday = "New Years Day";
$msgDte = "Closed";
}

else { 
$showMsg = "False"
}

}



if ($showMsg == "True") {
$holidayMsg = "<P>&nbsp;<BR><TABLE BGCOLOR=#FFFFFF><TD><FONT COLOR=red><B>Holiday Hours:</B><P><B>" + $holiday + "</B><BR>" + $msgDte + "</FONT></TD></TABLE>";
}

if (!($showMsg == "True")) {
$holidayMsg = "";
}
