// 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
Right before halftime Notre Dame sophomore kicker Brandon Walker put the Irish ahead with a 28 yard field goal.
Three plays before the kick Notre Dame fans got a scare when quarterback Jimmy Clausen got clocked diving for extra yardage on a seven yard scramble down to the Navy 9. He dove headfirst before a Navy defender hit him on the side of the helmet and in the right shoulder. Clausen slowly walked off the field, but only sat out one play before trotting back out there.
Through the first half its been a defensive battle. Navy has already caused three turnovers including two interceptions of Clausen, but they have failed to take advantage scoring zero points off turnovers. Their last drive was promising and resulted in a 23 yard touchdown run after marching 52 yards on five plays.
Notre Dame is also running the ball effectively with running back James Aldridge gaining 50 yards in the first quarter. Surprisingly, he didn’t get a carry for the rest of the first half. Navy’s defensive line will have to continue to get leverage to slow down Aldridge in the second half.
Keys to the second half will be to see if Navy can continue to cause turnovers, but score after they do so. Navy’s offense also has to ensure they protect the football and protect their punter.
You must be logged in to post a comment.