function firstAlert()
{
firstMsgBegin = new Date("02/03/2012")
firstMsgEnd   = new Date("02/06/2012")

//firstMsg =  "Mobile Banking maintenance has been scheduled for:\n"
//firstMsg += "Friday, August 5, 11:00pm PT to Saturday, August 6, 6:00am PT.\n"
//firstMsg += "\n"
//firstMsg += "We apologize for any inconvenience this may cause.\n";

//firstMsg =  "Maintenance of our system is currently being conducted.\n"
//firstMsg += "CU.online, eStatements, View VISA and Check Images are not currently available.\n"
//firstMsg += "We apologize for any inconvenience this may cause.\n";

//firstMsg = "CU.online is currently available, but it is slow to respond.\n"
//firstMsg += "We are working to resolve this issue as quickly as possible.\n";
//firstMsg += "We apologize for any inconvenience this may cause.\n";


//firstMsg =  "Maintenance of our system has been scheduled for this weekend:\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 has been scheduled for:\n"
firstMsg += "\n"
firstMsg += "Saturday, February 4th, 9:00pm PST to Sunday, February 5th, 6: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";


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://www.firstent.org/mobile/"
showURL4 = "http://www.firstent.org/mobile/index.asp"
showURL5 = "http://firstent.org/"
showURL6 = "http://firstent.org/index.shtml"
showURL7 = "http://firstent.org/mobile/"
showURL8 = "http://firstent.org/mobile/index.asp"
showURL9 = "http://172.18.33.227/fecu/firstent_v6/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) || (curURL == showURL5) || (curURL == showURL6) || (curURL == showURL7) || (curURL == showURL8) || (curURL == showURL9)) 

if (todayN >= firstMsgBegin.valueOf() && todayN < firstMsgEnd.valueOf() && okToShow)
    alert(firstMsg)
}
