// JavaScript Document <!--
/*
This reference calendar is used in conjunction with the timestamp complexdate javascript that provides info based on day 
of the week and time of day. This one provides an opportunity to highlight certain days of the year that require special 
messages - Spring break, holidays, etc. It needs to be updated each December.

*/

d = new Date();
var Time;
Hours = d.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}
if (Hours > 12) {
Hours -= 12;
}
if (Hours == 0) {
Hours = 12;
}
Mins = d.getMinutes();
if (Mins < 10) {
Mins = "0" + Mins;
}	
//document.write('<font size=2 face=Arial><br>' + Hours + ":" + Mins + Time + '</font>');

d = new Date();
 day = d.getDay();
 month = d.getMonth();
 date = d.getDate();
 year = d.getYear();
 if (year < 1000)
 year+=1900
 cent = parseInt(year/100);
 g = year % 19;
 k = parseInt((cent - 17)/25);
 i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;
 i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));
 j = (year + parseInt(year/4) + i + 2 - cent + parseInt(cent/4)) % 7;
 l = i - j;
 emonth = 3 + parseInt((l + 40)/44);
 edate = l + 28 - 31*parseInt((emonth/4));
 emonth--;
 dayValue = d.getDay();
monthValue = d.getMonth();
month+=" "
if (monthValue == 0)
    month += "January";
if (monthValue == 1)
    month += "February";
if (monthValue == 2)
    month += "March";
if (monthValue == 3)
    month += "April";
if (monthValue == 4)
    month += "May";
if (monthValue == 5)
    month += "June";
if (monthValue == 6)
    month += "July";
if (monthValue == 7)
    month += "August";
if (monthValue == 8)
    month += "September";
if (monthValue == 9)
    month += "October";
if (monthValue == 10)
    month += "November";
if (monthValue == 11)
    month += "December";
 
 //document.write("<font face=verdana,arial size=2>");
 //document.write(month+=" " + " ");
 // if (date< 10) document.write("0" + date + ", ");
   //   else document.write(date + ", ");
//document.write( year + "  " + "</font> <br><font color=FF0000>");
   
 // Easter
 if ((monthValue == emonth) && (date == edate)) document.write("Easter Sunday (Western)   ");
 
 // January
 
 //exceptions/holidays
 if ((monthValue == 0) && (date == 1)) document.write("<h3>New Year's Day</h3><h3> All libraries closed.</h3>");
 if ((monthValue == 0) && (date < 5)) document.write("<h3>Holiday Break</h3> All libraries closed <br>(Questions received during this period will be answered after 1/5/08.)");
 
 if ((monthValue == 0) && (date > 4 ) && (date < 10 )) document.write("The Mugar Research Center is open 9am - 5pm M-F, Jan. 5-9; call 617 353 2700 <br><br/>");
  if ((monthValue == 0) && (date > 11 ) && (date < 14 )) document.write("The Mugar Research Center is open 9am - 5pm today; call 617 353 2700 <br><br/>");
   if ((monthValue == 0) && (date == 19 )) document.write("The Mugar Research Center is open 11am - 9pm today; call 617 353 2700 <br><br/>");
 //standard messages (w/chat emphasized)
  if ((monthValue == 0) && (day > 0) && (day < 5) && (date > 12 ) && (date != 19 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");

if ((monthValue == 0) && (day == 5) && (date > 12 )) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 0) && (day == 6)&& (date > 12 )) document.write("The Mugar Research Center is open 11am-6pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 0) && (day == 0) && (date > 12 )) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");	  
if ((monthValue == 0) && (day == 2) && (date > 12 )) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 0) && (day == 4)&& (date > 12 )) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");

// February
 if ((monthValue == 1) && (date == 5)) document.write("<h3>Today is Primary Day in Massachusetts;</h3><i><a href=http://www.wheredoivotema.com/>Do you know where you can vote?</a></i> See <a href=http://www.smartvoter.org/>Smart Voter</a> for more information.");
 
  //exceptions/holidays
  
if ((monthValue == 1)&& (date == 16)) document.write("<h3>Presidents Day</h3> Please note change in hours: The Mugar Research Center is open 11 am - 9 pm  - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");
  
 //standard messages (w/chat emphasized)
  if ((monthValue == 1) && (day > 0) && (day < 5) && (date != 16 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732<br>");

if ((monthValue == 1) && (day == 5)) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 1) && (day == 6)) document.write("The Mugar Research Center is open 11am-6pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 1) && (day == 0)) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");	  
if ((monthValue == 1) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 1) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
 
 // March note:  day 0=Sun
   //exceptions/holidays 
  
 if ((monthValue == 2) && (date == 7)) document.write("Spring Break; the The Mugar Research Center Desk is closed.");
  if ((monthValue == 2) && (date == 8)) document.write("Spring Recess; the The Mugar Research Center Desk is closed.");
  if ((monthValue == 2) && (date > 8 )  && (date < 13 )) document.write("Spring Recess - The Mugar Research Center open 9 am - 5 pm; call 617 353 2700"); 
  
//standard messages (w/chat emphasized)
  if ((monthValue == 2) && (day > 0) && (day < 5) && (date < 7 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732<br>");
if ((monthValue == 2) && (day > 0) && (day < 5) && (date > 15 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732<br>");

if ((monthValue == 2) && (day == 5)) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 2) && (day == 6)  && (date != 7 )) document.write("The Mugar Research Center is open 11am-6pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 2) && (day == 0)  && (date != 8 )) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");	  
if ((monthValue == 2) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 2) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");

// April
 //Tax Day


//Patriot's Day : 4/20/09 : 4/19/10 : 4/18/11 : 4/16/12 : 4/15/13
if ((monthValue == 3) && (date == 20)) document.write("The Mugar Research Center is open 11-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732<br>");
//
//standard messages (w/chat emphasized)
  if ((monthValue == 3) && (day > 0) && (day < 5) && (date != 20 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732<br>");

if ((monthValue == 3) && (day == 5)) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 3) && (day == 6) ) document.write("The Mugar Research Center is open 11am-6pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 3) && (day == 0)) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");	  
if ((monthValue == 3) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 3) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");


// May
//Memorial Day : 4/20/09 : 4/19/10 : 4/18/11 : 4/16/12 : 4/15/13


//standard messages (w/chat emphasized)
 if ((monthValue == 4) && (day > 0) && (day < 5)  && (date < 11 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");

//24 hrs : holiday feed will display - do NOT make note here - no change in ref hours


//Commencement : 4/20/09 : 4/19/10 : 4/18/11 : 4/16/12 : 4/15/13

 if ((monthValue == 4) && (date == 11 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 ");
 
 if ((monthValue == 4) && (day > 0) && (day < 5)  && (date > 11 ) && (date < 19 )) document.write("The Mugar Research Center is open 9-5 today - call 617 353 2700 ");

if ((monthValue == 4) && (day == 5) && (date == 15 )) document.write("The Mugar Research Center is open 9-4 today (Friday) - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-4pm; call 617 353 3732");

if ((monthValue == 4) && (day == 6)&& (date == 16 )) document.write("The Mugar Research Center is open 10am-4pm this Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-4pm; call 617 353 3732");

if ((monthValue == 4) && (day == 0)&& (date == 17 )) document.write("The Mugar Research Center is open noon-5pm this Sunday - call 617 353 2700 <br><br> The Circulation Desk is open 9am-5pm; call 617 353 3732");
 
 //summer hrs
  if ((monthValue == 4) && (day > 0) && (day < 5)  && (date > 19 )) document.write("The Mugar Research Center is open 9-8 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 4) && (day == 5) && (date != 9 ) && (date != 15 )) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 4) && (day == 6)&& (date != 3 )&& (date != 10 ) && (date != 17 )) document.write("The Mugar Research Center is open 10am-5pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 4) && (day == 0) && (date != 4 )&& (date != 11 ) && (date != 18 )) document.write("The Mugar Research Center is open 12-6 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 10am-11pm; call 617 353 3732");	  
if ((monthValue == 4) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC><img src=http://www.bu.edu/library/ask/images/ask24.gif width=133 height=25 border=0 align=absmiddle /></a>***</font>");
if ((monthValue == 4) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517><a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC><img src=http://www.bu.edu/library/ask/images/ask24.gif width=133 height=25 border=0 align=absmiddle /></a>***</font>");

// June


if ((monthValue == 5) && (day > 0) && (day < 5)) document.write("The Mugar Research Center is open 9-8 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 5) && (day == 5)) document.write("The Mugar Research Center is open 9am-5pm on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 5) && (day == 6)) document.write("The Mugar Research Center is open 10am-5pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 5) && (day == 0)) document.write("The Mugar Research Center is open 12noon-6pm on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 10am-11pm; call 617 353 3732");	  
if ((monthValue == 5) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 5) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
 
 
 // July note July 3rd & 4th hours changes for Ref
  if ((monthValue == 6) && (day > 0) && (day < 5)) document.write("The Mugar Research Center is open 9-8 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 6) && (day == 5) && (date != 3)) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 6) && (day == 6) && (date != 4)) document.write("The Mugar Research Center is open 10am-5pm on Saturday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 6) && (day == 0)) document.write("The Mugar Research Center is open 12noon-6pm on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 10am-11pm; call 617 353 3732");	  
if ((monthValue == 6) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 6) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
 
// August  mon=1
//Ref desk closed weekends Aug 8,9 ; 15, 16; 22,23; 29,30
// Ref Desk 9-5 M-F Aug 10-28, 31
//
 if ((monthValue == 7) && (day > 0) && (day < 5) && (date < 10)) document.write("The Mugar Research Center is open 9-8 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 7) && (day == 5)) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 7) && (day == 6) && (date < 8)) document.write("The Mugar Research Center is open 10am-5pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-5pm; call 617 353 3732");
if ((monthValue == 7) && (day == 6) && (date > 8)) document.write("The Mugar Research Center is closed today  <br><br> The Circulation Desk is open 8am-5pm; call 617 353 3732");																 
if ((monthValue == 7) && (day == 0) && (date > 8)) document.write("The Mugar Research Center is closed today  <br><br>The Circulation Desk is open 10am-11pm; call 617 353 3732");
if ((monthValue == 7) && (day == 0) && (date < 8)) document.write("The Mugar Research Center is open 12-6 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 10am-11pm; call 617 353 3732");


 if ((monthValue == 7) && (day > 0) && (day < 5) && (date > 9))document.write("The Mugar Research Center is open 9-5 today - call 617 353 2700 ");
 
 //24-7
if ((monthValue == 7) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 7) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-4 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
 
 
 // September 
 //ref open 9-5 9/1/09 Tues; fall hours begin Wed 9-9 M-Th
  if ((monthValue == 8) && (day > 0) && (day < 5)&& (date != 1) && (date != 7)) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> ");
if ((monthValue == 8) && (day == 5)) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>");
if ((monthValue == 8) && (day == 6) && (date !=5)) document.write("The Mugar Research Center is open 10am-6pm on Saturday - call 617 353 2700 <br><br> ");
if ((monthValue == 8) && (day == 0) && (date !=6)) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> ");	  
if ((monthValue == 8) && (date < 2)) document.write("<font color=#800517>The Mugar Research Center is open 9-5 today <br><br>  ");
if ((monthValue == 8) && (date==5)) document.write("<font color=#800517>The Mugar Research Center is open 10-5 today <br><br> ");
if ((monthValue == 8) && (date==6)) document.write("<font color=#800517>The Mugar Research Center is open noon-5 today <br><br> ");

if ((monthValue == 8) && (date==7)) document.write("<font color=#800517>The Mugar Research Center is open 9-5 today <br><br> ");
if ((monthValue == 8) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 8) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-5 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
 
 // October
 //Columbus Day 10/12/09; 10/11/10; 10/10/11; 10/8/12

if ((monthValue == 9) && (day == 1) && (date > 7) && (date< 14)) document.write("<h3>Columbus Day</h3>");
 
if ((monthValue == 9) && (day > 0) && (day < 5)) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> ");
if ((monthValue == 9) && (day == 5)) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>");
if ((monthValue == 9) && (day == 6)) document.write("The Mugar Research Center is open 10am-6pm on Saturday - call 617 353 2700 <br><br> ");
if ((monthValue == 9) && (day == 0)) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> ");	  
if ((monthValue == 9) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 9) && (day == 4)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-4 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>"); 
if ((monthValue == 9) && (day == 6)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>2-3 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>"); 

  
 // November
 //Veteran's Day observed 
 //Thanksgiving 

if ((monthValue == 10) && (date == 11)) document.write("<br>Veteran's Day observed<br />Please note change in hours: The Mugar Research Center is open 11 am - 9 pm  - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");

if ((monthValue == 10) && (date == 25)) document.write("<h3>Day before Thanksgiving </h3><br />Please note change in hours: The Mugar Research Center is open 9 am - 5 pm  - call 617 353 2700 <br><br> The Circulation Desk is open 8 am-9 pm; call 617 353 3732");

if ((monthValue == 10) && (date == 26)) document.write("<h3>Thanksgiving </h3> All libraries closed");

if ((monthValue == 10) && (date == 27)) document.write("<h3>Day after Thanksgiving </h3> Please note change in hours: The Mugar Research Center is open 9 am - 5 pm  - call 617 353 2700 <br><br> The Circulation Desk is open 9 am - 5 pm; call 617 353 3732");

//need these to avoid duplication:
if ((monthValue == 10) && (day > 0) && (day < 5) && (date < 11 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");

if ((monthValue == 10) && (day > 0) && (day < 5) && (date > 11 )&& (date < 25 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");

if ((monthValue == 10) && (day > 0) && (day < 5) && (date > 27 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");

if ((monthValue == 10) && (day == 5) && (date != 27 )) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-11pm; call 617 353 3732");

//standard messages
if ((monthValue == 10) && (day == 6)) document.write("The Mugar Research Center is open 10am-6pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");

if ((monthValue == 10) && (day == 0)) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");	

if ((monthValue == 10) && (day == 2)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");

if ((monthValue == 10) && (day == 4) && (date != 26)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-4 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");

if ((monthValue == 10) && (day == 6)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>2-3 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>"); 

 
 // December
 //exceptions/holidays
 if ((monthValue == 11) && (date > 24) && (date < 29)) document.write("<h3>Holiday Break</h3> All libraries closed <br>(Questions received during this period will be answered after 12/29.)");
 if ((monthValue == 11) && (date > 28 ) && (date < 32 )) document.write("The Mugar Research Center is open 9am-5pm Mon., Tues. and Wed.. - call 617 353 2700 <br><br> The Circulation Desk is open 9am-5pm; call 617 353 3732.<br/><br>(Questions received after 12/31 will be answered after 1/5/08.)");

 if ((monthValue == 11) && (date > 11) && (date < 19)) document.write("<strong><font color=#993300>Mugar Library 24 Hour Study Period</font></strong><br />Basement, 1st and 2nd floors open for quiet study for BU affiliates only - BU ID required after-hours<br><br>");
  if ((monthValue == 11) && (day > 0) && (day < 5) && (date < 24 )) document.write("The Mugar Research Center is open 9-5 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");
  if ((monthValue == 11) && (date == 24 )) document.write("The Mugar Research Center is open 9am-1pm today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-1pm; call 617 353 3732");
 //standard messages (w/chat emphasized)
  if ((monthValue == 11) && (day > 0) && (day < 5) && (date < 21 )) document.write("The Mugar Research Center is open 9-9 today - call 617 353 2700 <br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");
if ((monthValue == 11) && (day == 0) && (date == 21 )) document.write("The Mugar Research Center is closed today <br> ");
if ((monthValue == 11) && (day == 5) && (date < 21 )) document.write("The Mugar Research Center is open 9-5 on Friday - call 617 353 2700<br>  <br>The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 11) && (day == 6)&& (date < 21 )) document.write("The Mugar Research Center is open 11am-6pm on Saturday - call 617 353 2700 <br><br> The Circulation Desk is open 8am-11pm; call 617 353 3732");
if ((monthValue == 11) && (day == 0) && (date < 20 )) document.write("The Mugar Research Center is open 12-8 on Sunday - call 617 353 2700<br><br> The Circulation Desk is open 8am-midnight; call 617 353 3732");	  
 
if ((monthValue == 11) && (day == 2) && (date < 21 )) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517>2-5 pm today</font> through</font> <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");
if ((monthValue == 11) && (day == 4)&& (date < 21 )) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>3-4 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>");

if ((monthValue == 11) && (day == 6)) document.write("<br><br><font color=#4C4646>***BU librarians available <font color=#800517><b>2-3 pm today</font> through</font>  <font color=#800517> <a href=http://blc.247ref.org/wcscgi/CDM.exe?VIRTCATEGORY=BOSTONU&SS_COMMAND=CUST_SUP&Category=BLC>Chat</a></font><font color=#4C4646>***</font>"); 

