function isOpen() {
	theDate = new Date();
	theDay = theDate.getDay();
	theHours = theDate.getHours();
	theMinutes = theDate.getMinutes();
	if(theDay == 0) {
		// if Sunday, we are closed.
		document.location="https://livehelp.summitcreditunion.com/closed.htm";
	} else if(theDay == 6) {
		// if Saturday, different hours - 8:30 - 1:00
		if((theHours <= 8 && theMinutes <= 30) || (theHours >= 13 && theMinutes > 00)) {
			document.location="https://livehelp.summitcreditunion.com/closed.htm";
		} else {
			document.location="https://livehelp.summitcreditunion.com/default.htm";
		}
	} else if(theDay == 5) {
		// if Friday, different hours - 9:00 - 6:30
		if((theHours <= 9 && theMinutes <= 00) || (theHours >= 18 && theMinutes > 30)) {
			document.location="https://livehelp.summitcreditunion.com/closed.htm";
		} else {
			document.location="https://livehelp.summitcreditunion.com/default.htm";
		}
	} else {
		// rest of week (mon-thurs) - 9:00 - 6:00
		if((theHours <= 9 && theMinutes <= 00) || (theHours >= 18 && theMinutes > 00)) {
			document.location="https://livehelp.summitcreditunion.com/closed.htm";
		} else {
			document.location="https://livehelp.summitcreditunion.com/default.htm";
		}
	}
}