// 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 15th, 2008 | Uncategorized | Posted by Mike Hoffman
Navy did all they could but a fourth down pass from Ricky Dobbs sailed over his receivers head giving the ball back to Notre Dame. The Fighting Irish took a knee and killed the clock to end the game 27-21.
Notre Dame nation just let out a collective sigh of relief. It looks like only about 5,000 fans were left in the stands to see that incredible comeback.
Navy came oh so close to repeating history, but fell short. What an amazing effort by the Mids who stared down a 20 point deficit in the driving rain with four minutes to go. Dobbs just needed a few more minutes on the clock. Makes you wonder what would have happened if he was inserted into the lineup earlier in the game.
You must be logged in to post a comment.