var widgetContent="US - 12/7/2019
United States Flag at Half-Staff on Saturday, December 7, 2019 in Honor of National Pearl Harbor Remembrance Day 2019.
US - 10/17/2019
Fly the United States Flag at Half-Staff Immediately Through Friday, October 18, 2019
US - 10/6/2019
US Flags at Half-Staff on Sunday, October 6, 2019 for National Fallen Firefighters Memorial Service
US - 9/11/2019
US flags to Half-Staff in Honor of PAtriot Day
US - 8/4/2019
US Flags at Hal-Staff HONORING THE VICTIMS OF THE TRAGEDIES IN EL PASO, TEXAS, AND DAYTON, OHIO
US - 7/23/2019
US Flags at Half-Staff Honoring John Paul Stevens
US - 6/1/2019
US Flags to Half-Staff Honoring the Victims of the Tragedy in Virginia Beach, Virginia
US - 5/27/2019
United States Flags at Half-Staff From Sunrise Until Noon on Monday, May 27, 2019 for Memorial Day
US - 5/15/2019
Fly the United States Flag at Half-Staff on Wednesday, May 15, 2019 in Honor of Peace Officers Memorial Day
US - 2/8/2019
US flags at Half Staff Honoring ohn David Dingell, Jr.
US - 12/7/2018
United States Flags at Half-Staff Friday, December 7, 2018 in Honor of National Pearl Harbor Remembrance Day
US - 11/30/2018
United States Flags at Half- Staff Until Sunset on December 30, 2018 in Honor of George H.W. Bush
US - 11/30/2018
US Flags to Half Staff Honoring George Herbert Walker Bush
US - 10/27/2018
US flags to Half Staff
US - 9/11/2018
Fly the United States Flag at Half-Staff on
US - 8/27/2018
US Flags to Half Staff Honoring Sentator McCain
US - 7/3/2018
US Flags at Half-Staff -Presidential Proclamation Honoring the Victims of the Tragedy in Annapolis, Maryland
US - 5/28/2018
United States Flags at Half-Staff From Sunrise Until Noon on Monday, May 28, 2018 for Memorial Day
US - 5/18/2018
United States Flag at Half-Staff Immediately until Sunset on Tuesday, May 22, 2018 Honoring the Victims of the Tragedy in Santa Fe, Texas
US - 4/17/2018
United States Flags at Half-Staff in Honor of Barbara Bush Immediately through Sunset Saturday, April 21, 2018
";
var linkContent = "Tennessee Flags ";
var stateName = "Tennessee
Half Staff Flags";
if(document.getElementById('aFlag_Widget_posts') != null)
{
document.getElementById('aFlag_Widget_posts').style.width="176px";
document.getElementById('aFlag_Widget_posts').style.height="335px";
document.getElementById('aFlag_Widget_posts').style.textAlign="left";
document.getElementById('aFlag_Widget_posts').style.padding="125px 20px 10px 12px";
document.getElementById('aFlag_Widget_posts').style.background="url(http://www.aflag.com/widget-posts/post-widget-bg.jpg) top left no-repeat";
document.getElementById('state_alert').style.width="176px";
document.getElementById('state_alert').style.height="50px";
document.getElementById('state_alert').style.overflow="auto";
document.getElementById('state_alert').style.width="155px";
document.getElementById('state_alert').style.fontFamily="Arial";
document.getElementById('state_alert').style.fontSize="16px";
document.getElementById('state_alert').style.textAlign="center";
document.getElementById('state_alert').style.color="white";
document.getElementById('state_alert').style.padding="0px 0px 15px 0px";
document.getElementById('posts_alert').style.height="195px";
document.getElementById('posts_alert').style.overflow="auto";
document.getElementById('posts_alert').style.width="155px";
document.getElementById('posts_alert').style.fontFamily="Arial";
document.getElementById('posts_alert').style.fontSize="10px";
document.getElementById('aflag_lk').style.textAlign="center";
document.getElementById('aflag_lk').style.padding="9px 25px 30px 10px";
var linkStr = "";
if(document.getElementById('aflag_lk') != null)
{
linkStr = document.getElementById('aflag_lk').innerHTML.toLowerCase();
linkStr = linkStr.replace("","");
linkStr = linkStr.replace("<\/strong>","");
linkStr = linkStr.replace(" "," ");
if((linkStr == "american flags") ||
(linkStr == "americanflags") ||
(linkStr == "american flag") ||
(linkStr == "flags") ||
(linkStr == "flag") ||
(linkStr == "us flags") ||
(linkStr == "us flag"))
document.getElementById('state_alert').innerHTML = stateName;
document.getElementById('posts_alert').innerHTML = widgetContent;
document.getElementById('aflag_lk').innerHTML = 'Get Widget Now
' + linkContent;
}
}