function firstAlert()
{
firstMsgBegin = new Date("03/03/2010")
firstMsgEnd   = new Date("03/04/2010")	

//firstMsg = "Attention Members,\n"
//firstMsg += "\n"
//firstMsg += "Our Santa Monica location has closed for the day\n"
//firstMsg += "due to leaks caused by the current storm.\n"
//firstMsg += "\n"
//firstMsg += "We expect this branch to be open for business as\n"
//firstMsg += "usual on Monday, January 25th.\n";

firstMsg = "System maintenance will be conducted today from 6:00pm PST to 12:00am PST.\n"
firstMsg += "Intermittent downtime for all systems including CU.online and 1st Call may occur.\n"
firstMsg += "We apologize for any inconvenience this may cause.\n";

//firstMsg = "Maintenance of our system is currently being conducted.\n"
//firstMsg += "CU.online and 1st Call are not currently available.\n"
//firstMsg += "We apologize for any inconvenience this may cause.\n";

//firstMsg = "Maintenance of our system is currently being conducted.\n"
//firstMsg += "eStatements, View VISA and Check Images are not currently available.\n"
//firstMsg += "We apologize for any inconvenience this may cause.\n";

//firstMsg = "\n"
//firstMsg += "System maintenance has been scheduled for:\n"
//firstMsg += "Sunday, January 17th, 10:00pm PST to Monday, January 18th, 5:00am PST.\n"
//firstMsg += "\n"
//firstMsg += "Intermittent downtime for all systems including CU.online and 1st Call may occur.\n"
//firstMsg += "\n"
//firstMsg += "Please arrange to submit transactions before or after the maintenance window.\n"
//firstMsg += "\n"
//firstMsg += "We apologize for any inconvenience this may cause.\n";


//firstMsg = "\n"
//firstMsg += "System maintenance has been scheduled for:\n"
//firstMsg += "Friday, September 25th, 5:00am PST to Sunday, July 19th, 8:00am PST.\n"
//firstMsg += "\n"
//firstMsg += "Intermittent downtime for all systems including CU.online and 1st Call may occur.\n"
//firstMsg += "\n"
//firstMsg += "Please arrange to submit transactions before or after the maintenance window.\n"
//firstMsg += "\n"
//firstMsg += "We apologize for any inconvenience this may cause.\n";


//firstMsg = "System maintenance will be conducted today from 8:00pm PST to 12:00am PST.\n"
//firstMsg += "Intermittent downtime for all systems including CU.online and 1st Call may occur.\n"
//firstMsg += "We apologize for any inconvenience this may cause.\n";

//firstMsg += "Maintenance of our system is currently being conducted.\n"


todayD = new Date(); todayN = todayD.valueOf()
docLoc = "x" + document.location; curURL = docLoc.substr(1)
// pages that you want to show first alert
showURL1 = "http://www.firstent.org/"
showURL2 = "http://www.firstent.org/index.shtml"
showURL3 = "http://firstent.org/"
showURL4 = "http://firstent.org/index.shtml"


// okToShow = true, if the current URL is the same as one of the page
okToShow = ((curURL == showURL1) || (curURL == showURL2) || (curURL == showURL3) || (curURL == showURL4)) 

if (todayN >= firstMsgBegin.valueOf() && todayN < firstMsgEnd.valueOf() && okToShow)
    alert(firstMsg)
}
