// 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; }

Early Bird: Army/Navy Edition

Each morning I’ll scour the web to find what other papers and websites are writing about the Army and Navy football teams and link to them. Look at it as Early Bird’s college football edition.

This morning the focus for Navy in the headlines just like on the practice field is Notre Dame and seeing if they can upset the Fighting Irish two years in a row. The Black Knights and their defense will be getting ready for Rutgers’ quarterback Mike Teel.

Navy

  • Who can forget Navy’s Ram Vela flying over Notre Dame’s line to sack quarterback Evan Sharpley in the fourth quarter of last year’s game? Don Markus of the Baltimore Sun wonders what he can do for an encore this Saturday.
  • Navy sophomore quarterback Ricky Dobbs hasn’t stolen Allen Iverson’s “Practice? We’re talking about practice?” But as The Annaplos Capitol’s Bill Wagner writes, his coach sure has.

Army

Leave a Reply

You must be logged in to post a comment.