var com = window.com || {}; if(!window.com){ window.com = com; }; try{ }catch(e){debugger;} var adtechAdConfig = { "canvasId": 424719, "liveStatsEnabled": false, "servicesUrl": "", "dynamic": false, "templateId": 252174, "productFamilyId": 0, "formatId": 15, "servicesHosts": { "http": "", "https": "", "post": "" }, "adServerVars": { "uid": "1585928613611", "id": "424719", "bannerId": "_ADBNID_", "bannerUid": "_ADBNUID_", "networkId": "_ADNETID_", "subNetworkId": "_ADSUBNETID_", "creativeId": "0", "pageId": "_ADFC_PAGEID_", "placementId": "_ADCUID_", "adSize": "_ADFC_ADSIZE_", "servingProto": "https", "servingHost": "localhost", "sequenceId32": "_ADREFSEQUENCEID32_", "sequenceId64": "_ADREFSEQUENCEID64_", "secureAssetHost": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/573723e5ca375e87c4b62e6be8f9d455\/", "configBaseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/573723e5ca375e87c4b62e6be8f9d455\/", "assetBaseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/573723e5ca375e87c4b62e6be8f9d455\/", "baseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/573723e5ca375e87c4b62e6be8f9d455\/", "viewCounter": "", "campaignId": "_ADMCID_", "publisherId": "_ADWEBSITEID_", "externalId": "" }, "geoData": { "area": "_ADAREATEXT_", "city": "Amsterdam", "country": "_ADCOUNTRYTEXT_", "state": "Noord-Holland", "zip": "_ADZIPTEXT_" }, "tagVars": [], "preview": true, "pubVars": { "clickPixel": "", "iframeBusterPath": "", "clickRedirect": "", "overflowFixLevel": "0", "viewCountUrl": "", "overrideX": "", "overrideY": "", "closeTimeout": "0" }, "regs": { "gdpr": { "applies": "_ADGDPR_", "consent": "_ADCONSENT_" }, "ccpa": { "privacy": "_ADUSPRIVACY_" } }, "DeliveryServerTag": { "source": "_ADDCP(tag.srvsrc)_", "lineId": "_ADDCP(tag.srvlid)_", "creativeId": "_ADDCP(tag.srvcid)_", "variables": "_ADDCP(tag.vars:{})_" }, "clickRedirect": "", "assetContainers": { "main": { "type": "inlineDiv", "width": 970, "height": 250, "contentWidth": 970, "contentHeight": 250, "contentWidthUnit": "px", "contentHeightUnit": "px", "xRel": "adSlotLeft", "yRel": "adSlotTop", "x": 0, "y": 0, "renderEvent": "serve", "content": "ad.html", "contentType": "html", "zIndex": 1, "wmode": "opaque", "pluginVersion": 0, "contractedY": 0, "contractedX": 0, "contractedWidth": 970, "contractedHeight": 250, "isExpandable": false, "startContracted": true, "stickyX": false, "stickyY": false, "pushesContent": false, "expandAnimationDuration": 0, "contractAnimationDuration": 0, "closeTimeout": 0, "modal": false, "sequence": 1, "duration": 0, "nonInteractiveDuration": 0, "iframeBuster": "", "langVersion": 0 }, "floatOne": { "type": "floatingDiv", "width": 1, "height": 1, "contentWidth": 1, "contentHeight": 1, "contentWidthUnit": "px", "contentHeightUnit": "px", "xRel": "pageRight", "yRel": "pageTop", "x": -1, "y": -1, "renderEvent": "serve", "content": "left.html", "contentType": "html", "zIndex": 26001, "wmode": "transparent", "pluginVersion": 0, "contractedY": 0, "contractedX": 0, "contractedWidth": 1, "contractedHeight": 1, "isExpandable": false, "startContracted": true, "stickyX": false, "stickyY": false, "pushesContent": false, "expandAnimationDuration": 0, "contractAnimationDuration": 0, "closeTimeout": 0, "modal": false, "sequence": 1, "duration": 0, "nonInteractiveDuration": 0, "langVersion": 0 }, "floatTwo": { "type": "floatingDiv", "width": 1, "height": 0, "contentWidth": 1, "contentHeight": 0, "contentWidthUnit": "px", "contentHeightUnit": "px", "xRel": "pageLeft", "yRel": "pageTop", "x": -1, "y": -1, "renderEvent": "serve", "content": "top.html", "contentType": "html", "zIndex": 1, "wmode": "transparent", "pluginVersion": 0, "contractedY": 0, "contractedX": 0, "contractedWidth": 1, "contractedHeight": 0, "isExpandable": false, "startContracted": true, "stickyX": false, "stickyY": false, "pushesContent": false, "expandAnimationDuration": 0, "contractAnimationDuration": 0, "closeTimeout": 0, "modal": false, "sequence": 1, "duration": 0, "nonInteractiveDuration": 0, "langVersion": 0 }, "floatThree": { "type": "floatingDiv", "width": 1, "height": 1, "contentWidth": 1, "contentHeight": 1, "contentWidthUnit": "px", "contentHeightUnit": "px", "xRel": "pageLeft", "yRel": "pageTop", "x": -1, "y": -1, "renderEvent": "serve", "content": "right.html", "contentType": "html", "zIndex": 26001, "wmode": "transparent", "pluginVersion": 0, "contractedY": 0, "contractedX": 0, "contractedWidth": 1, "contractedHeight": 1, "isExpandable": false, "startContracted": true, "stickyX": false, "stickyY": false, "pushesContent": false, "expandAnimationDuration": 0, "contractAnimationDuration": 0, "closeTimeout": 0, "modal": false, "sequence": 1, "duration": 0, "nonInteractiveDuration": 0, "langVersion": 0 } }, "clickthroughs": { "default": { "id": 2579, "plid": "19820fb2c1c5cecacd4528a5bad3aa93", "dest": "https:\/\/www.seatsandsofas.nl\/aanbiedingen\/?utm_source=DPGmedia&utm_medium=display&utm_campaign=Opening_Zaandam&utm_content=take-over_970x250_prospecting", "target": "_blank", "features": "" }, "backupImageClickthrough": { "id": 7703, "plid": "4d2c2cef5973417f3f03adc213a06d6d", "dest": "https:\/\/www.seatsandsofas.nl\/aanbiedingen\/?utm_source=DPGmedia&utm_medium=display&utm_campaign=Opening_Zaandam&utm_content=take-over_970x250_prospecting", "target": "_blank", "features": "" }, "adunit": { "id": 112682, "plid": "355517f20e7c14a4994259fb07c4f429", "dest": "https:\/\/www.seatsandsofas.nl\/aanbiedingen\/?utm_source=DPGmedia&utm_medium=display&utm_campaign=Opening_Zaandam&utm_content=take-over_970x250_prospecting", "target": "_blank", "features": "" }, "leftskin": { "id": 80749, "plid": "55180b1879ac1291cfeceef804a783bc", "dest": "https:\/\/www.seatsandsofas.nl\/aanbiedingen\/?utm_source=DPGmedia&utm_medium=display&utm_campaign=Opening_Zaandam&utm_content=take-over_links_300x600_prospecting", "target": "_blank", "features": "" }, "topskin": { "id": 112683, "plid": "7090c80c8e4fed48f0908c3fbbb013bc", "dest": "https:\/\/www.seatsandsofas.nl\/aanbiedingen\/?utm_source=DPGmedia&utm_medium=display&utm_campaign=Opening_Zaandam&utm_content=take-over_970x250_prospecting", "target": "_blank", "features": "" }, "rightskin": { "id": 83227, "plid": "93acd3d45e6a338f04e5d8dc7e04077d", "dest": "https:\/\/www.seatsandsofas.nl\/aanbiedingen\/?utm_source=DPGmedia&utm_medium=display&utm_campaign=Opening_Zaandam&utm_content=take-over_rechts_300x600_prospecting", "target": "_blank", "features": "" } }, "contentVariables": { "Backup Alt Text": "Eni advertisement", "QRUrl": "https:\/\/aol.it\/2X7McZl" }, "contentProperties": { "manageAd": false, "ids": "212281,212470", "limitSkinHeight": true, "rightSideSticky": true, "canExpand": true, "manageAS24Leader": true, "updatePosInfoOnScroll": true, "updatePosInfoOnResize": true, "disableMain": false, "leftSideSticky": true, "muted": false, "fcEnabled": false, "uuTimeSlots": [ "11", "16" ], "Backup image file": "1x1.gif", "Backup image clickthrough": "" }, "adrConfig": { "eventEndpoint": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}" }, "dataFeeds": [], "screenGrabs": [], "polls": [], "assets": [ { "id": "Backup image", "name": "1x1.gif", "url": "1x1.gif" }, { "id": "main", "name": "ad.html", "url": "ad.html" }, { "id": null, "name": "customAd.js", "url": "customAd.js" }, { "id": null, "name": "main.css", "url": "main.css" }, { "id": null, "name": "closeButton_100x100.png", "url": "closeButton_100x100.png" }, { "id": null, "name": "ad.css", "url": "ad.css" }, { "id": null, "name": "ad.js", "url": "ad.js" }, { "id": null, "name": "background.jpg", "url": "background.jpg" }, { "id": "main", "name": "left.html", "url": "left.html" }, { "id": null, "name": "left.css", "url": "left.css" }, { "id": null, "name": "left.js", "url": "left.js" }, { "id": "main", "name": "top.html", "url": "top.html" }, { "id": null, "name": "top.js", "url": "top.js" }, { "id": null, "name": "top.css", "url": "top.css" }, { "id": "main", "name": "right.html", "url": "right.html" }, { "id": null, "name": "right.js", "url": "right.js" }, { "id": null, "name": "right.css", "url": "right.css" } ], "events": [ { "id": 0, "plid": "850415b95f929ae311dc1d1d3f7f2bec", "name": "engagement", "cumulative": false, "interaction": true, "custom": false, "video": false, "isLoggable": true }, { "id": 0, "plid": "c35dcf63748b2faf210d23745a8726b4", "name": "interactiveImpression", "cumulative": false, "interaction": false, "custom": false, "video": false, "isLoggable": true }, { "id": 0, "plid": "c9f6fe2c78d93485fb24a1ef9bf6c7ef", "name": "viewableImpression", "cumulative": false, "interaction": false, "custom": false, "video": false, "isLoggable": true }, { "id": 0, "plid": "49fcf58513758b38fec25dcf95efa15d", "name": "indeterminableViewability", "cumulative": false, "interaction": false, "custom": false, "video": false, "isLoggable": true }, { "id": 0, "plid": "c10258071c4eeb2cfe7888cdddf2c3e7", "name": "close", "cumulative": true, "interaction": false, "custom": true, "video": false, "isLoggable": true }, { "id": 0, "plid": "8d950c792a94bcfbb7bc6d9005b32410", "name": "show", "cumulative": true, "interaction": true, "custom": true, "video": false, "isLoggable": true }, { "id": 0, "plid": "0f29323080961ce49eed7c51eb377464", "name": "hide", "cumulative": true, "interaction": false, "custom": true, "video": false, "isLoggable": true }, { "id": 0, "plid": "86085c297e6923af029c92bd378e157f", "name": "reload", "cumulative": true, "interaction": true, "custom": true, "video": false, "isLoggable": true }, { "id": 0, "plid": "a0ec400fd7bfbb0234529c78e0d88f13", "name": "backupView", "cumulative": false, "interaction": false, "custom": false, "video": false, "isLoggable": true }, { "id": 0, "plid": "8afd9cf75017beeb04259947c2f58b45", "name": "backupViewableImpression", "cumulative": false, "interaction": false, "custom": false, "video": false, "isLoggable": true } ], "timers": [ { "id": 0, "plid": "9e2cc5168834ac4024fd04d15301dd7d", "name": "displayTimer" }, { "id": 0, "plid": "a292c5fb89ef5b03a9fcdb861d430814", "name": "viewTimer" }, { "id": 0, "plid": "4156b82ad1b06efe75b026c5b9c8c361", "name": "engagementTimer" }, { "id": 0, "plid": "ac893edcdd42b26a64ce4d4ef9967b16", "name": "interactionTimer" } ], "eventHandlers": [ { "name": "close", "target": "floatThree", "source": "*", "action": "close" }, { "name": "show", "target": "floatOne", "source": "*", "action": "show" }, { "name": "show", "target": "floatTwo", "source": "*", "action": "show" }, { "name": "show", "target": "floatThree", "source": "*", "action": "show" }, { "name": "hide", "target": "floatThree", "source": "*", "action": "hide" }, { "name": "reload", "target": "floatOne", "source": "*", "action": "reload" }, { "name": "reload", "target": "floatTwo", "source": "*", "action": "reload" }, { "name": "reload", "target": "floatThree", "source": "*", "action": "reload" } ], "thirdPartyTracking": [ { "id": 1, "type": "1_PIXEL", "url": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=19820fb2c1c5cecacd4528a5bad3aa93", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=19820fb2c1c5cecacd4528a5bad3aa93", "onEvent": "SPECIFIC_CLICK", "eventName": "default" }, { "id": 2, "type": "1_PIXEL", "url": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=4d2c2cef5973417f3f03adc213a06d6d", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=4d2c2cef5973417f3f03adc213a06d6d", "onEvent": "SPECIFIC_CLICK", "eventName": "backupImageClickthrough" }, { "id": 3, "type": "1_PIXEL", "url": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=355517f20e7c14a4994259fb07c4f429", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=355517f20e7c14a4994259fb07c4f429", "onEvent": "SPECIFIC_CLICK", "eventName": "adunit" }, { "id": 4, "type": "1_PIXEL", "url": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=55180b1879ac1291cfeceef804a783bc", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=55180b1879ac1291cfeceef804a783bc", "onEvent": "SPECIFIC_CLICK", "eventName": "leftskin" }, { "id": 5, "type": "1_PIXEL", "url": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=7090c80c8e4fed48f0908c3fbbb013bc", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=7090c80c8e4fed48f0908c3fbbb013bc", "onEvent": "SPECIFIC_CLICK", "eventName": "topskin" }, { "id": 6, "type": "1_PIXEL", "url": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=93acd3d45e6a338f04e5d8dc7e04077d", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=93acd3d45e6a338f04e5d8dc7e04077d", "onEvent": "SPECIFIC_CLICK", "eventName": "rightskin" }, { "id": 7, "type": "1_PIXEL", "url": "", "secureUrl": "", "onEvent": "SPECIFIC_EVENT", "eventName": "viewableImpression" } ], "contentHubConfig": { "mapping": [], "assets": [] }, "fallback": "1x1.gif" }; /*debugger; !(function(){ debugger; xxx = window.postMessage; window.postMessage = function(){//console.log('MESSAGHE', arguments[0]);xxx.apply(this, arguments);} window.addEventListener('message', function(e){ //console.log('MESSAGHE RECEIVED', e); }) })();*/ /*adtechAdConfig.assetContainers.main.contractedWidth = ; adtechAdConfig.assetContainers.main.contractedHeight = ; adtechAdConfig.assetContainers.main.contentWidth = ; adtechAdConfig.assetContainers.main.contentHeight = ; adtechAdConfig.assetContainers.main.width = ; adtechAdConfig.assetContainers.main.height = ; adtechAdConfig.assetContainers.main.isExpandable = true; adtechAdConfig.assetContainers.main.startContracted = true; adtechAdConfig.assetContainers.main.pushesContent = true; adtechAdConfig.assetContainers.main.contractedWidth = 300; adtechAdConfig.assetContainers.main.contractedHeight = 250; adtechAdConfig.assetContainers.main.contentWidth = 300; adtechAdConfig.assetContainers.main.contentHeight = 250; adtechAdConfig.assetContainers.main.width = 300; adtechAdConfig.assetContainers.main.height = 250;*/ adtechAdConfig.adServerVars.campFCInfo = "0_0"; //adtechAdConfig.adServerVars.campFCInfo = "1_10"; adtechAdConfig.initOverride = false; (function(){ var spl = adtechAdConfig.adServerVars.campFCInfo.split('_'); adtechAdConfig.adServerVars.campFC = spl[0]*1; if(spl.length>1){ adtechAdConfig.adServerVars.uuFC = spl[1]*1; } })(); //adtechAdConfig.adServerVars.campFC = 2; var com = com || {}; com.adsolutions = com.adsolutions || {}; com.adsolutions.utils = com.adsolutions.utils || {}; com.adsolutions.rm = com.adsolutions.rm || {}; com.adsolutions.rm.utils = com.adsolutions.rm.utils || {}; com.adsolutions.rm.banners = com.adsolutions.rm.banners || {}; (function(adConfig){ if(false){ ADTECH.getContent('leftSideSticky',false); ADTECH.getContent('rightSideSticky',false); ADTECH.getContent('manageAd',true); ADTECH.getContent('limitSkinHeight',true); ADTECH.getContent('fcEnabled',false); ADTECH.getContent('updatePosInfoOnScroll',true); ADTECH.getContent('updatePosInfoOnResize',true); ADTECH.getContent('disableMain',false); ADTECH.getContent('uuTimeSlots',[11,16]); ADTECH.getContent('ids','212281,212470') ADTECH.getContent('muted',false); ADTECH.getContent('canExpand',true); } if(typeof(glut) == 'undefined' || glut == null/* || typeof(com.adsolutions.utils) == 'undefined' || com.adsolutions.utils == null*/){ //if(true){ var pt = com.adsolutions.utils; pt.isS = function(v){ if(arguments.length == 2){ if(!isS(v)) return false; var f = null; if(typeof(com) != 'undefined') f = com.adsolutions.utils.getObjectPath; if(!f && glut)//for now!! f = glut.getObjectPath; var r = f(v,arguments[1]); if(r === false) return r; return true; }else if(typeof(v) != 'undefined' && v != null) return true; return false; } pt.isFilled = function(v){ if(isS(v) && v != '') return true; return false; } //var isE = pt.isEmpty; pt.isNumber = function(v){ if(isS(v) && !isNaN(parseFloat(v))) return true; return false; } pt.supe = function(obj, c, func, args){ /*if(obj.__proto__[func] != c){ obj.__proto__[func].apply(obj,args); }else if(obj.__proto__[func] == c && isS(obj.__proto__.__proto__[func])) obj.__proto__.__proto__[func].apply(obj,args);*/ if(func == "ctor") func = "constructor"; c.supa[func].apply(obj,args); } pt.extend = function(subc, supc){ /*subc.prototype = new supc(); var pt = subc.prototype; pt.__proto__ = supc.prototype; pt.__proto__.ctor = supc; pt.constructor = subc; return pt;*/ var b = function() {}; b.prototype = supc.prototype; subc.prototype = new b(); subc.prototype.constructor = subc; subc.supa = supc.prototype; if (supc.prototype.constructor == Object.prototype.constructor) { supc.prototype.constructor = supc } return subc.prototype; } pt.singleTon = function(subc, ins){ if(!isS(subc.prototype._singleTonIns)){ subc.prototype._singleTonIns = ins; } return subc.prototype._singleTonIns; } var siTon = pt.singleTon; pt.singleTonG = function(grp,subc, ins){ if(!isS(subc.prototype._singleTonInsG)){ subc.prototype._singleTonInsG = []; } subc.__selfRef = subc;//TODO: find better solution! var ar = subc.prototype._singleTonInsG; for(var i=0;i=2 && endIndx=0){ return parseInt(str.replace('px',''),10); } } pt.addEvent = function(win, name, handler, obj, args, usecapture){ var h = null; if(isS(obj)){ //h = function(){ handler.apply(obj,isS(args)?args:[]);}; h = function(){ handler.apply(obj,isS(args)?args:arguments);};//TODO: beter handling of arguments } if(win.addEventListener){ if(arguments.length <= 4 || !glut.isBoolean(usecapture)) win.addEventListener(name, h, false); else win.addEventListener(name, h, usecapture); }else if(win.attachEvent){ win.attachEvent('on'+name, h); }/*else{ function overwrite?! TODO }*/ } var addEvt = pt.addEvent; pt.getContainingFrame = function(win){ var par = win.parent; if(isS(par)){ var pdoc = par.document; var iframes = pdoc.getElementsByTagName("iframe"); for(var i=0;i'); break; case 'byelm': if(typeof(file) != 'undefined' && file != null && typeof(file) == 'object'){ var elm = getRootElm(); elm = elm.appendChild(file); } break; case 'byelmcode': if(typeof(file) != 'undefined' && file != null && typeof(file) == 'string'){ var script = getScriptElm(); script.text = file; arguments.callee(script,'byelm'); } break; /*case 'byiframe': var ifrm = doc.createElement('iframe'); ifrm.style.display = 'none'; var content = '\ \