<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var days = new Array();
var msgs = new Array();

days[0] = "October 28, 2007";
msgs[0] = "Our online tool is scheduled for regular maintenance from 8:00 a.m. to noon on the second and fourth Sunday of each month. <br>You may experience problems accessing the system during this time. If so, please try back later.<br>";

days[1] = "November 11, 2007";
msgs[1] = "Our online tool is scheduled for regular maintenance from 8:00 a.m. to noon on the second and fourth Sunday of each month. <br>You may experience problems accessing the system during this time. If so, please try back later.<br>";

days[2] = "November 25, 2007";
msgs[2] = "Our online tool is scheduled for regular maintenance from 8:00 a.m. to noon on the second and fourth Sunday of each month. <br>You may experience problems accessing the system during this time. If so, please try back later.<br>";

days[3] = "December 9, 2007";
msgs[3] = "Our online tool is scheduled for regular maintenance from 8:00 a.m. to noon on the second and fourth Sunday of each month. <br>You may experience problems accessing the system during this time. If so, please try back later.<br>";

days[4] = "December 23, 2007";
msgs[4] = "Our online tool is scheduled for regular maintenance from 8:00 a.m. to noon on the second and fourth Sunday of each month. <br>You may experience problems accessing the system during this time. If so, please try back later.<br>";

days[5] = "November 3, 2007";
msgs[5] = "Our online job search and application tool will be unavailable from 12:30 a.m. to 3:30 a.m. on Sunday while we switch from daylight savings time to standard time.<br> ";

days[6] = "November 4, 2007";
msgs[6] = "Our online job search and application tool will be unavailable from 12:30 a.m. to 3:30 a.m. on Sunday while we switch from daylight savings time to standard time.<br> ";

var months = new Array("", 
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
);

var today = new Date(); // today
var mon = months[today.getMonth() + 1]; // month
var day = today.getDate(); // day
var year = y2k(today.getYear()); // year

function dateMsg() {
for (i = 0; i < days.length; i++) {
tempdate = new Date(days[i]);
tempmonth = months[tempdate.getMonth() + 1];
tempday = tempdate.getDate();
tempyear = y2k(tempdate.getYear());
if (year == tempyear && mon == tempmonth && day == tempday)
return (msgs[i]) + "<font color='FF,CC,66'>" + days[i] + "</font>" +  ""; // returns day message
   }
return(""); // returns default
}

// Y2K Fix Function
function y2k(year) {
if (year < 2000)		
year = year + 1900;
return year;
}

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
//  End -->
