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

How about ‘Fearsome Friars?’

Just as it may be inexplicable to outsiders that a barnyard animal would be on the sidelines at a Navy football game, so too have I been mystified by Wake Forest’s team name ever since I first heard it earlier today. Accordingly, a mission to Wikipedia was in order, where I learned that Wake Forest’s players originally were the “Fighting Baptists” — which is a pretty terrifying nickname for any committed drinker of booze. After a big win over the Duke Blue Devils in 1923, however, a newspaper reporter wrote that Wake Forest’s players had “fought like demons,” which gave rise to the team’s current name, the Demon Deacons. I also learn from the Inter-Tubes that the mascot, a man wearing a giant foam head, rides onto the athletic field atop a motorcycle, which, I would imagine, yields several rounds’ worth of hearty huzzahs from the students.

Leave a Reply

You must be logged in to post a comment.