// 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 20th, 2008 | Uncategorized | Posted by Mike Hoffman
Good morning Navy fans. It’s early. Someone make some coffee. This 11 a.m. start time is going to play a bigger role in this game than many might think and it might work in Navy’s favor. Most players probably haven’t played a game this early since high school JV.
It’s brisk this morning at 39 degrees, but atleast the rain has stopped as it has come down for the past two days. The weather might not compare to Navy’s last bowl game in San Diego, but it’s the best that can be expected for December in Washington D.C.
Tailgaters have already reached the parking lots with a decent showing by Navy’s fans. More to come once the blog team gets into the stadium.
I smell a Navy victory. Wake Forest is giving points. A friend of mine in snowy Las Vegas referred to this as “Easy Money.” Look for Ricky Dobbs to make a statement for next year. Opponents beware – Ricky Dobbs is gonna lead Navy to a New Years Bowl next year including an upset win in Columbus, OH.
You must be logged in to post a comment.