// JavaScript Document

//function guardFacts() {
	// Array for Guard facts
	var facts = new Array();	
	facts[0] = "The 34th Infantry Division were the first American troops in the European theater. Jan. 26, 1942."; 
	facts[1] = "Fifty percent of the Army's ground combat units in Iraq in 2005 were from the National Guard.";
	facts[2] = "The National Guard's birthday is December 13, 1636.  That's the day that the General Court of the Massachusetts Bay Colony formed existing militia companies from the towns surrounding Boston into the first Guard regiments. ";
	facts[3] = "The National Guard is the oldest military organization in the United States.  It is 139 years older than the U.S. Army. ";
	facts[4] = "During World War I, the National Guard provided 18 divisions to the American Expeditionary Forces &#8211; about 40% of the total force. ";
	facts[5] = "During World War II, the National Guard provided 18 divisions to the war effort, split evenly between the Pacific and European theaters.  A nineteenth division, the Americal, was organized in the Pacific theater out of 'spare' National Guard regiments.";
	facts[6] = "The Army National Guard is authorized a strength of 350,000; the Air National Guard is authorized a strength of 106,800. ";
	facts[7] = "The term 'National Guard' was first adopted by a New York militia unit in 1825 to honor the Marquis de Lafayette, hero of the American Revolution and former commander of the Guarde Nationale de Paris during the French Revolution."; 
	facts[8] = "Before serving in the Continental Army, George Washington was a colonel in the Virginia Militia."; 
	facts[9] = "Twenty presidents have served in the militia or the National Guard. ";
	facts[10] = "During the Korean War, 138,600 Army and 45,594 Air National Guardsmen were mobilized for active duty. ";
	facts[11] = "Since Sept. 11, 2001 more than 90% of the Combat Air Patrols flown over America are by Air National Guard fighter aircraft."; 
	facts[12] = "More than 158,000 Guardsmen served on the Mexican Border in 1916-1917 to protect against raids by the Mexican bandit Pancho Villa."; 
	facts[13] = "At the peak of the recovery effort following Hurricane Katrina, more than 51,000 Army and Air Guard members were involved."; 
	facts[14] = "Every member of the National Guard swears an oath to uphold two constitutions &#8211; that of his or her state or territory, and the Constitution of the United States."; 
	facts[15] = "12,234  Army and 10,511 Air National Guard members were mobilized for the Vietnam War in 1968 following the Tet Offensive.";
	facts[16] = "62,411 Army and 10,456 Air National Guard members were mobilized in 1990-1991 for Operations Desert Shield and Desert Storm.";
	facts[17] = "The first woman to join the Guard was Captain Norma Parsons of the New York Air National Guard in 1956."; 
	facts[18] = "Sergeant Leigh Anne Hester, a Guardswoman with the 617th Military Police Company, Kentucky National Guard, became the first woman in the U.S. military since World War II to earn a Silver Star Medal."; 
	facts[19] = "Since 1898, 121 recipients of the Medal of Honor have had National Guard service at some point in their career."; 
	facts[20] = "President Theodore Roosevelt, the only president of the United States to be awarded the Medal of Honor, was a former New York Guardsman."; 
	facts[21] = "President George W. Bush is the only former Air National Guardsman to be president of the United States; the other 19 had Army Guard service."; 
	facts[22] = "Tom Selleck, Norman Mailer, and Charles Lindbergh are among the many famous people to serve in the National Guard.";  

// set the number in the paranths to total array items - 1
	random_num = (Math.round((Math.random()*22)));
	
	document.write("<div id='GuardFactsHeader' style='font-size:1.1em;'></div><div id='GuardFactsBox'><strong>Did you know? </strong>");	
	document.write(facts[random_num]);
	//document.write("<div style='margin-top:6px;'>&raquo; <a href='http://www.minnesotanationalguard.org/aboutus/'>Learn more about the Minnesota National Guard</a></div>");
	document.write("</div>");


// TODAY IN HISTORY 
	//document.write("<div id='historyBoxHeader' style='margin-top:14px;'>TODAY IN GUARD HISTORY</div>");
	//document.write("<div id='historyBox'>");

//SET DATE INFORMATION
//var strDate= new Date();
//var theyear=strDate.getFullYear();
//var themonth=strDate.getMonth()+1;
//var thetoday=strDate.getDate();

//var fullDate=themonth+"/"+thetoday+"/"+theyear;
//var histDate=themonth+"/"+thetoday;
//var dayNum = strDate.getDay();

	//document.write ("<strong style='font-size:1.1em;'>" + histDate + "</strong><br />");
	//document.write ("<img src=" + TGH_image[dayNum] + "-90.jpg style='margin:4px 0;' alt='history picture' /><br/>");
	//document.write (TGH_description[dayNum]);
  	//document.write("</div>");
