// JavaScript Document
// Function used to create the Last Updated text at the bottom of every page
function LastUpdated () {
		var dayArray = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
		var monthArray = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
		var lastUpdate = new Date(document.lastModified);
		var thisDay=dayArray[lastUpdate.getDay()];
		var thisDate=lastUpdate.getDate() < 10 ? '0'+lastUpdate.getDate() : lastUpdate.getDate();
		var thisMonth=monthArray[lastUpdate.getMonth()];
		var thisMonthNum=lastUpdate.getMonth()+1 < 10 ? '0'+ (lastUpdate.getMonth()+1) : lastUpdate.getMonth()+1;
		var thisFullYear=String(lastUpdate.getFullYear());
		var thisYear= thisFullYear.charAt(2) + thisFullYear.charAt(3);

		document.write(thisDay + ', ' + thisMonthNum + '/' + thisDate + '/' + thisFullYear+ '  '+ lastUpdate.getHours()+':'+lastUpdate.getMinutes()+':'+lastUpdate.getSeconds());
}
// Function that is called by the onClick command within a hyperlink
// Used for pop-up window when user is leaving the Army.mil domain
function LinkAlert ()
{
//The alert windon and the text that will appear is quoted \n makes a new line
alert ("You are leaving the Department of Defense Web Information Service.\n \n The appearance of hyperlinks does not constitute an endorsement by the Department of Defense or the U.S. Army of the web site or the information, products, or services contained therein.\n \n The Department of Defense or the U.S. Army exercises no editorial control over the information you may find at these locations. \n \n Links provided are consistent with the purpose of this DoD Web site.");
}
function LinkNotice ()
{
//The alert windon and the text that will appear is quoted \n makes a new line
alert ("WARNING: You are about to go to a new site (not within the AEIOO site structure). \n \n Links provided are consistent with the purpose of this DoD Web site.");
}
// Jump menu combo box
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}