var flashText=""; if(document.getElementById('aFlag_Widget') != null) { document.getElementById('aFlag_Widget').style.width="150px"; document.getElementById('aflag_link').style.textAlign="center"; var linkStr = ""; if(document.getElementById('aflag_link') != null) { linkStr = document.getElementById('aflag_link').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") || (linkStr == "american flag") || (linkStr == "american flag") ) document.getElementById('hf_alert').innerHTML = flashText; } }