var com = window.com || {}; if(!window.com){ window.com = com; }; try{ }catch(e){debugger;} var adtechAdConfig = { "canvasId": 425264, "liveStatsEnabled": false, "servicesUrl": "", "dynamic": false, "templateId": 252174, "productFamilyId": 0, "formatId": 15, "servicesHosts": { "http": "", "https": "", "post": "" }, "adServerVars": { "uid": "1588342062718", "id": "425264", "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\/cbb54fa09054f3eaa397549cff380c21\/", "configBaseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/cbb54fa09054f3eaa397549cff380c21\/", "assetBaseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/cbb54fa09054f3eaa397549cff380c21\/", "baseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/cbb54fa09054f3eaa397549cff380c21\/", "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": 250, "contentWidth": 1, "contentHeight": 250, "contentWidthUnit": "px", "contentHeightUnit": "px", "xRel": "pageLeft", "yRel": "pageTop", "x": -1, "y": -1, "renderEvent": "serve", "content": "top.html", "contentType": "html", "zIndex": 26001, "wmode": "transparent", "pluginVersion": 0, "contractedY": 0, "contractedX": 0, "contractedWidth": 1, "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, "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 }, "layer": { "type": "floatingDiv", "width": 100, "height": 100, "contentWidth": 100, "contentHeight": 100, "contentWidthUnit": "%", "contentHeightUnit": "%", "xRel": "pageLeft", "yRel": "pageTop", "x": -1, "y": -1, "renderEvent": "serve", "content": "sh_layer.html", "contentType": "html", "zIndex": 26001, "wmode": "transparent", "pluginVersion": 0, "contractedY": 0, "contractedX": 0, "contractedWidth": 100, "contractedHeight": 100, "isExpandable": false, "startContracted": true, "stickyX": true, "stickyY": true, "pushesContent": false, "expandAnimationDuration": 0, "contractAnimationDuration": 0, "closeTimeout": 0, "modal": false, "sequence": 1, "duration": 0, "nonInteractiveDuration": 0, "langVersion": 0 } }, "clickthroughs": { "default": { "id": 2019, "plid": "19820fb2c1c5cecacd4528a5bad3aa93", "dest": "https:\/\/www.adsolutions.com\/rich-media-gallery\/", "target": "_blank", "features": "" }, "backupImageClickthrough": { "id": 7492, "plid": "4d2c2cef5973417f3f03adc213a06d6d", "dest": "https:\/\/www.adsolutions.com\/rich-media-gallery\/", "target": "_blank", "features": "" }, "adunit": { "id": 134671, "plid": "355517f20e7c14a4994259fb07c4f429", "dest": "https:\/\/www.adsolutions.com\/rich-media-gallery\/", "target": "_blank", "features": "" }, "leftskin": { "id": 134669, "plid": "55180b1879ac1291cfeceef804a783bc", "dest": "https:\/\/www.adsolutions.com\/rich-media-gallery\/", "target": "_blank", "features": "" }, "topskin": { "id": 134672, "plid": "7090c80c8e4fed48f0908c3fbbb013bc", "dest": "https:\/\/www.adsolutions.com\/rich-media-gallery\/", "target": "_blank", "features": "" }, "rightskin": { "id": 134670, "plid": "93acd3d45e6a338f04e5d8dc7e04077d", "dest": "https:\/\/www.adsolutions.com\/rich-media-gallery\/", "target": "_blank", "features": "" }, "layer": { "id": 1, "plid": "dc4f5028bce84db8b4b05375baaed459", "dest": "https:\/\/www.adsolutions.com\/rich-media-gallery\/", "target": "_blank", "features": "" } }, "contentVariables": { "Backup Alt Text": "asrm advertisement", "QRUrl": "" }, "contentProperties": { "canExpand": true, "disableMain": true, "leftSideSticky": true, "manageAd": false, "updatePosInfoOnScroll": false, "fcEnabled": false, "ids": "212281,212470", "rightSideSticky": true, "muted": false, "limitSkinHeight": true, "updatePosInfoOnResize": true, "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": null, "name": "left.jpg", "url": "left.jpg" }, { "id": null, "name": "right.jpg", "url": "right.jpg" }, { "id": null, "name": "billboard.jpg", "url": "billboard.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": "sh_layer.html", "url": "sh_layer.html" }, { "id": null, "name": "layer.js", "url": "layer.js" }, { "id": null, "name": "layer.css", "url": "layer.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": 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 }, { "id": 1, "plid": "58432dd94e112234c8511bd29afbb69e", "name": "closeLayer", "cumulative": true, "interaction": false, "custom": true, "video": false, "isLoggable": true }, { "id": 2, "plid": "05b772270f04b79f0594dd18a4cb9f47", "name": "hideLayer", "cumulative": true, "interaction": false, "custom": true, "video": false, "isLoggable": true }, { "id": 1, "plid": "4412a8a7397abf492aa7c4e0a2d553a1", "name": "showLayer", "cumulative": true, "interaction": true, "custom": true, "video": false, "isLoggable": true }, { "id": 1, "plid": "777dba9f752258570c2d9f529d29d1cb", "name": "trailerPlayedByUser", "cumulative": true, "interaction": false, "custom": true, "video": false, "isLoggable": true }, { "id": 2, "plid": "3f40be01ddcc5faa1b2cd7a33083336f", "name": "trailerPausedByUser", "cumulative": true, "interaction": false, "custom": true, "video": false, "isLoggable": true }, { "id": 3, "plid": "d7cceb53c15b2ff7fc2de8788400ff0c", "name": "trailerCompletlyViewedByUser", "cumulative": true, "interaction": false, "custom": true, "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": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=dc4f5028bce84db8b4b05375baaed459", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=dc4f5028bce84db8b4b05375baaed459", "onEvent": "SPECIFIC_CLICK", "eventName": "layer" }, { "id": 8, "type": "1_PIXEL", "url": "", "secureUrl": "", "onEvent": "SPECIFIC_EVENT", "eventName": "viewableImpression" } ], "contentHubConfig": { "mapping": [], "assets": [] }, "fallback": "1x1.gif", "defaultClick": "topskin" }; /*debugger;*/ if(window.adtechAdConfig){ if(window.adtechAdConfig.clickthroughs && window.adtechAdConfig.clickthroughs["topskin"] && window.adtechAdConfig.clickthroughs["topskin"].dest && window.adtechAdConfig.clickthroughs["topskin"].dest.length>0){ for(var i in window.adtechAdConfig.clickthroughs){ if(i == "topskin"){ continue; } if(window.adtechAdConfig.clickthroughs[i].dest.length == ""){ window.adtechAdConfig.clickthroughs[i].dest = window.adtechAdConfig.clickthroughs["topskin"].dest; } } } }; /*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); } /* !function(){ if(false){ //ADTECH.getContent('content'/*,FACK json validtion in canvas [{"name":"ad","test":"ad.nl","click":"http://www.adsolutions.com","logo":{"url":"__logo__.png"}}] // ); } var realContent = if(realContent.length>0) adConfig.contentProperties.content = realContent[0]; 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 = '\ \