// 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 19th, 2008 | EagleBank Bowl Goat Uncategorized | Posted by Phil Ewing
What with all the whirlwind changes in blogs and football what-not these days, many of our millions of online readers may’ve found themselves confused about the name change from “America’s Game” to “Bill’s Bowl Blog.” Wake Forest readers especially may not understand whence came this name “Bill,” and as such, permit us to elucidate: Bill the Goat is the long-beloved, occasionally kidnapped mascot of the Naval Academy midshipmen, who has a long tradition of representing Navy football. Back in what’s known as “the day,” sailing ships traveled with live animals, including goats and sheep, to provide fresh meat for the crew members. The young officers in training, known as midshipmen, took care of the animals as their jobs onboard. Thence, down the mists of the ages, Bill became the mascot of the academy and its football-playing men.
You must be logged in to post a comment.