function LibraryHoursBranch(){
var open_text = "The Branch Libraries are open today, ";
var closed_text = "The Branch Libraries are closed today.  They will reopen on ";
var Day_of_Month = new Array;

Day_of_Month[1] ="12:00pm to 9:00pm";
Day_of_Month[2] ="12:00pm to 9:00pm";
Day_of_Month[3] ="";
Day_of_Month[4] ="10:00am to 5:30pm";
Day_of_Month[5] ="";
Day_of_Month[6] ="";
Day_of_Month[7] ="12:00pm to 9:00pm";
Day_of_Month[8] ="12:00pm to 9:00pm";
Day_of_Month[9] ="12:00pm to 9:00pm";
Day_of_Month[10] ="";
Day_of_Month[11] ="10:00am to 5:30pm";
Day_of_Month[12] ="";
Day_of_Month[13] ="12:00pm to 9:00pm";
Day_of_Month[14] ="12:00pm to 9:00pm";
Day_of_Month[15] ="12:00pm to 9:00pm";
Day_of_Month[16] ="12:00pm to 9:00pm";
Day_of_Month[17] ="";
Day_of_Month[18] ="10:00am to 5:30pm";
Day_of_Month[19] =""; 
Day_of_Month[20] ="12:00pm to 9:00pm";
Day_of_Month[21] ="12:00pm to 9:00pm";
Day_of_Month[22] ="12:00pm to 9:00pm";
Day_of_Month[23] ="12:00pm to 9:00pm";
Day_of_Month[24] ="";
Day_of_Month[25] ="10:00am to 5:30pm";
Day_of_Month[26] =""; 
Day_of_Month[27] ="12:00pm to 9:00pm";
Day_of_Month[28] ="12:00pm to 9:00pm";
Day_of_Month[29] ="12:00pm to 9:00pm";
Day_of_Month[30] ="12:00pm to 9:00pm";
Day_of_Month[31] ="";



/*** 5/30/04 KAK string_to_return edited  ***/
/*** 1/31/04 KAK modified 'for' test when setting next open date to resolve end-of-month errors. 
             WAS: for (x=nextday; x < 31; x++)     IS: for (x=nextday; x <= 31; x++)        ***/
/*** 7/31/05 KAK modified 'if(nextday > 31)' block when setting month of next open date to resolve end-of-month errors. 
             WAS: nextday=1     IS: nextday=1; todaysMonth = months[todaysDate.getMonth()+1];       ***/
             
/***************************************************************************************************/
/***************************************************************************************************/
/***************	DO NOT EDIT ANYTHING BELOW THIS LINE	****************************************/
/*****************----------------------------------------******************************************/
/***************************************************************************************************/
	var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	var weekday = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var days = new Array()
	var todaysDate = new Date();
	var todaysMonth, todaysDay, DayofWeek, theYear;
	var string_to_return;
	
	theYear = todaysDate.getFullYear();
	todaysMonth = months[todaysDate.getMonth()];
	todaysDay = todaysDate.getDate();
	DayofWeek = weekday[todaysDate.getDay()];
	
	if (Day_of_Month[todaysDay] != ""){
		string_to_return = open_text + DayofWeek + ", " + todaysMonth + " " + todaysDay + ", " + Day_of_Month[todaysDay] ;
		return string_to_return;
	} else {
		var nextday = todaysDay+1;
		var nextopen = 0;
		
		
		if (nextday > 31){
			nextday=1;
			todaysMonth = months[todaysDate.getMonth()+1];			
		}
		for (x=nextday; x <= 31; x++){
			if (Day_of_Month[x] != ""){
				nextopen = x;
				var nextopendate = new Date(nextopen + " " + todaysMonth + " " + theYear);
				DayofWeek = weekday[nextopendate.getDay()];
				break;
			}
		}
		if (nextopen == 0){
			for (x=1; x < todaysDay; x++){
				if (Day_of_Month[x] != ""){
					nextopen = x;
					if (todaysDate.getMonth() == 12){
						todaysMonth = months[0];
						theYear++;
					} else {
						todaysMonth = months[todaysDate.getMonth() + 1];
					}
					var nextopendate = new Date(nextopen + " " + todaysMonth + " " + theYear);
					DayofWeek = weekday[nextopendate.getDay()];
					break;
				}
			}
		}
		
		
		string_to_return = closed_text + DayofWeek + ", " + todaysMonth + " " + nextopen + ", " + Day_of_Month[nextopen] ;
		return string_to_return;
	}
}