var Msg;                                      //  *** Whole message.
var Msg1;                                     //  *** Part I of Message.                                      
var Msg2;                                     //  *** Part II of Message.
var Msg3;                                     //  *** Part III of Message.
var Msg4;                                     //  *** Part IV of Message.

var TagOpen;                                  //  *** HTML code for open paragraph tag.
var TagClose;                                 //  *** HTML code for close paragraph tags.

var OutDate;                                  //  *** Date of outage, eg. Friday, May 4, 2007. 
var EndTime;                                  //  *** End time of outage, eg. 5:00 am/pm.
var StrtTime;                                 
                                              //  *** Start time of outage, eg. 6:00 am/pm.

//  ** Only change OutDate, StrtTime, and EndTime.  Specifying a null string, "",
//  ** on one of these three variables will turn off the message.

OutDate = "";
StrtTime = "";
EndTime = "";

//OutDate = "Thursday, July 23, 2009";
//StrtTime = "5:00 am";
//EndTime = "5:30 am";

//Msg1 = "Notice: The Missouri Department of Labor and Industrial Relations web site and automated services will be temporarily unavailable on ";
Msg1 = "Notice: The Missouri Department of Labor and Industrial Relations web site will be temporarily unavailable on ";
//Msg1 = "Notice: Portions of the Missouri Department of Labor and Industrial Relations web site will be unavailable on ";
Msg2 = " from approximately ";
Msg3 = " to ";
Msg4 = ", due to routine maintenance.";

Msg = Msg1 + OutDate + Msg2 + StrtTime + Msg3 + EndTime + Msg4;

TagOpen = "<p style=\"color: red; font-family: verdana,arial,sans-serif; font-size: 10pt; font-weight: bold; text-align: center;\">";
TagClose = "</p>";

if (OutDate != "" && StrtTime != "" && EndTime != "") 
   {
   document.write (TagOpen + Msg + TagClose);
   }
