// This JS function is called by the Video Cloud Player when
// it encounters Companion Ads in a VAST 2.0 response
function bcsyncroadblock(adXML){
var companionAds = getXMLDoc(adXML);
//Get the Companion snippet
var expandedBannerAd = companionAds.getElementsByTagName('Companion')[0];
var collapsedBannerAd = companionAds.getElementsByTagName('Companion')[1];
// Get the banner creative URL
var expandedBannerAdSnippet = expandedBannerAd.getElementsByTagName('StaticResource')[0].firstChild.nodeValue;
var collapsedBannerAdSnippet = collapsedBannerAd.getElementsByTagName('StaticResource')[0].firstChild.nodeValue;
// Get clickthrough information for the banners from the StaticResource node
var expandedBannerClickURL = expandedBannerAd.getElementsByTagName('CompanionClickThrough')[0].firstChild.nodeValue;
var collapsedBannerClickURL = collapsedBannerAd.getElementsByTagName('CompanionClickThrough')[0].firstChild.nodeValue;
// Display banners.
var companionAdDiv = document.getElementById("companionBanner");
// Add the expanded banner to the page
companionAdDiv.innerHTML = " ";
var collapsedAdDiv = document.getElementById("collapsedBanner");
// Add the collapsed banner to the page
collapsedAdDiv.innerHTML = "
";
}
// Loads adXML as XML.
function getXMLDoc(pXML){
var adXML;
if (window.ActiveXObject) {
//parses the XML for IE browsers
adXML = new ActiveXObject("Microsoft.XMLDOM");
adXML.async = false; adXML.loadXML(pXML);
} else //parses the XML for Mozilla browsers
if (window.XMLHttpRequest) {
adXML = (new DOMParser()).parseFromString(pXML, "text/xml"); }
return adXML;
}
November 12th, 2008 | Uncategorized | Posted by Mike Hoffman
An argument erupted between a Rear Admiral and Brigadier General after the Naval Academy won the fourth-ever Army-Navy football game in 1893 that nearly led to the two officers drawing down on each other in a duel. Yes, a duel. The rivalry was put on hold for the next five years after President Cleveland called an emergency Cabinet meeting over the incident where the Secretary of the Navy and the Secretary of War forbid the two teams from playing each other.
Now that’s history.
Forget Red Sox-Yankees, Auburn-Alabama, Harvard-Yale, or Redskins-Cowboys. Give me Army-Navy. Sorry Air Force, but this rivalry dates back to 1890, 57 years before your service was born.
No other sporting event has the history or competitive spirit that exists between these two military academies when they match up.
That’s why over the next three weeks this blog will try to get you ready for kickoff on Dec. 6 at Lincoln Financial Field in Philadelphia, Pa. Myself and the staff at Military Times will attempt to capture the traditions and pageantry that accompany the game while also breaking down how this year’s teams match up.
Please use the comments section or email me at mhoffman@atpco.com to provide any suggestions you have on traditions you cherish, or questions you would like me to have answered by this year’s teams coaches and players. Also, please send pictures.
You must be logged in to post a comment.