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

Dobbs will start

dobbs-celebrates.jpg

After Navy sophomore quarterback Ricky Dobbs almost engineered a second improbable 20-point comeback against Notre Dame, Mid coach Ken Niumatalolo named him the starter.

Dobbs will make his first start against Northern Illinois (6-5) on Tuesday at 7 p.m. in Navy’s last game before facing Army.

Niumatalolo said he still has concerns over some of the plays Dobbs makes in practice as he continues to learn the triple-option offense, but he hopes Dobbs can spark an offense that was stagnant for long stretches during the Notre Dame game.

“We need a spark offensively. Hopefully, Ricky can provide that spark,” Niumatalolo said. “Ricky still does a lot of stuff wrong, but for whatever reason the ball moves and the team scores points when he is in there.”

Leave a Reply

You must be logged in to post a comment.