var date = new Date();

if  (date.getDay() == 3 && ((date.getHours() >= 17) && (date.getHours() <= 19))) {
	document.write("<div style='font-size:medium;'><center><p><span style='color:red;'><strong>The Graduate School Weekly Maintenance Window is in effect.</strong></span></p><p> Be advised that you may encounter brief service interruption during this time.  For more information, visit our <a href='http://www.gradsch.psu.edu/help/maintwin.html'><font color='black'>outage information</font></a> page.</p><br></center></div>");
}

/*Un-comment the above section to activate the maintenance window. 
The value after date.getDay sets the day of the week, starting with Monday as Day 1. 
The hours are a range in a 24 hour time cycle, ie, 17 is 5pm est. 
The ending hour includes to the last minute, so if you want your window to end at 10am, you must set your second getHours time for 9.
// CODE FOR REGULAR MAINTENANCE WINDOW TEXT
<div style='font-size:medium;'><center><p><span style='color:red;'><strong>The Graduate School Weekly Maintenance Window has been scheduled for today, from 5-7 P.M. EST.</strong></span></p><p> Be advised that you may encounter brief service interruption during this time.  For more information, visit our <a href='http://www.gradsch.psu.edu/help/maintwin.html'><font color='black'>outage information</font></a> page.</p><br></center></div>*/
