// 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;
}
December 11th, 2010 | Army-Navy game Ricky Dobbs Trent Steelman | Posted by rahoff
Navy quarterback Ricky Dobbs refuses to allow Army to fall out of this game. With Navy driving in Army territory to put the final stake in the Black Knights’ heart, Dobbs committed his fourth turnover of the game by throwing an interception to Army safety Richard King in the endzone.
Army started off the second half strong, marching down the field before the drive stalled and settling for a 42-yard field goal. Army should consider having the kicker to double duty because their punter has been abysmal all game.
Army quarterback Trent Steelman didn’t look injured in the third quarter after hobbling off the field at the end of the first half.
If Army wants to complete a comeback its defense is going to have to pitch a shutout the rest of the way and Army is going to have to open up the offense a bit. For Navy, they just need to protect the ball. Dobbs’ affinity for turning the ball over needs to end if Navy wants to finish off the Black Knights for ninth straight game.
You must be logged in to post a comment.