<!-- CUSTOMIZABLE OUTAGE SETTINGS --------->
	// Set this flag to true to display an outage message
	var outage = true;
	
	// Set start time and end time for the outage message
	var starttime = "201101070010";
	var endtime   = "201101091030";
	
	// Set which custom message number you would like to display
	var customMsgNbr = 0;
	
	//------ CUSTOM MESSAGES DEFINED ---------//
	var customMessage  = new Array();
	customMessage[0]  = '<span class="notice">Notice!</span><br />Bills submitted from Shipping Instructions will remain in \x22Delivered\x22 status  Sunday, January 9th from 08:00 - 10:30 AM (CDT) due to planned system maintenance. Bills will be processed once system maintenance is performed.<br /> We apologize for the inconvenience.';

	customMessage[1]  = '<span class="notice">Notice!</span> BNSF web applications may be unavailable Sunday from 12:00 PM - 3:30 PM Central, including Customer Subscription Service, Coal Train Trace, Intermodal Storage, Display Lot Location (DLL), Unit Trace, and Customer Registration due to planned system maintenance.<br/><br/>We apologize for the inconvenience.';

	customMessage[2]  = '<span class="notice">Notice!</span> We are currently experiencing technical issues with the secure applications on bnsf.com. Response may be slow, and applications may not operate as expected. Thank you for your patience; we apologize for the inconvenience.';
	//----------------------------------------//
<!-- END OF CUSTOMIZABLE OUTAGE SETTINGS -->


<!-- NON-CUSTOMIZABLE SETTINGS - DO NOT EDIT BELOW-->
if(outage)
{
	var d = new Date();
	var year = d.getFullYear();
	
	var mon  = d.getMonth() + 1;
	if( mon < 10 ) {
	  mon = "0" + mon;
	}
	
	var day = d.getDate();
	if( day < 10 ) {
	  day = "0" + day;
	}
	
	var hour = d.getHours();
	if( hour < 10 ) {
	  hour = "0" + hour;
	}
	
	var min  = d.getMinutes();
	if( min < 10 ) {
	  min = "0" + min;
	}
	
	var curtime = "" + year + "" + mon + "" + day + "" + hour + "" + min;
	if( starttime < curtime && curtime < endtime ) {
		outage = true;
	} else {
		outage = false;
	}
}
<!-- END OF NON-CUSTOMIZABLE SETTINGS -------------->
