document.write('var zumAdJS = zumAdJS || {};'); document.writeln('zumAdJS.vars = zumAdJS.vars || {};'); document.writeln(''); document.writeln('zumAdJS.loadScript = zumAdJS.loadScript ||'); document.writeln(' function(scriptSrc, d) {'); document.writeln(' var s = d.createElement(\'script\');'); document.writeln(' s.type = \'text/javascript\';'); document.writeln(' s.aync = true;'); document.writeln(' s.src = scriptSrc;'); document.writeln(' d.getElementsByTagName(\'head\')[0].appendChild(s);'); document.writeln(' };'); document.writeln(''); document.writeln('zumAdJS.makeDiv= zumAdJS.makeDiv ||'); document.writeln(' function(did, areaStyle, d) {'); document.writeln(' var div = d.getElementById(did);'); document.writeln(' if (div === null) {'); document.writeln(' var divAppend = d.createElement(\'div\');'); document.writeln(' divAppend .setAttribute("style", areaStyle);'); document.writeln(''); document.writeln(' if (location.hostname !== "displaybiz.zum.com") {'); document.writeln(' d.getElementById(\'__PARAM3__\').appendChild(divAppend);'); document.writeln(' }else{'); document.writeln(' d.body.appendChild(divAppend);'); document.writeln(' }'); document.writeln(' divAppend.id = did;'); document.writeln(''); document.writeln(' div = d.getElementById(did);'); document.writeln(' }'); document.writeln(''); document.writeln(' div.setAttribute("style", areaStyle);'); document.writeln(' return div;'); document.writeln(' };'); document.writeln(''); document.writeln('zumAdJS.bindGDN = zumAdJS.bindGDN ||'); document.writeln(' function(agArea, v) {'); document.writeln(' if (agArea) {'); document.writeln(' googletag.cmd.push(function() {'); document.writeln(' googletag.display(v.adid); '); document.writeln(' });'); document.writeln(' }'); document.writeln(' };'); document.writeln(''); document.writeln(''); document.writeln('zumAdJS.runGDN = zumAdJS.runGDN ||'); document.writeln(' function(v, d) {'); document.writeln(' agArea = this.makeDiv(v.adid, v.area_style, d)'); document.writeln(''); document.writeln(' this.loadScript(v.adscript, d);'); document.writeln(' window.googletag = window.googletag || {cmd: []};'); document.writeln(' googletag.cmd.push(function() {'); document.writeln(' googletag.defineSlot("/10435414/br_widget_355", [350,200], v.adid).addService(googletag.pubads());'); document.writeln(' googletag.pubads().enableSingleRequest();'); document.writeln(' googletag.enableServices();'); document.writeln(' });'); document.writeln(''); document.writeln(' this.bindGDN(agArea , v);'); document.writeln(' };'); document.writeln(''); document.writeln(''); document.writeln('(function() {'); document.writeln(' zumAdJS.vars[\'__PARAM2__\'] = {'); document.writeln(' adid: "div-gpt-ad-1618547398030-0",'); document.writeln(' gdn_style: "display:inline-block;width:350px;height:200px",'); document.writeln(' area_style: "width:350px;height:200px;border:1px solid #e4e4e580",'); document.writeln(' adscript: "//securepubads.g.doubleclick.net/tag/js/gpt.js",'); document.writeln(' width:350,'); document.writeln(' height:200'); document.writeln(' };'); document.writeln(' zumAdJS.runGDN(zumAdJS.vars[\'__PARAM2__\'], document);'); document.writeln('})();'); document.writeln(''); document.writeln('') |
|