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\/1154a35d8d7f2046b4c9407c03af331e\/", "configBaseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/1154a35d8d7f2046b4c9407c03af331e\/", "assetBaseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/1154a35d8d7f2046b4c9407c03af331e\/", "baseURL": "https:\/\/richmedia.cdnservices.net\/adtech\/assets\/1154a35d8d7f2046b4c9407c03af331e\/", "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": 120, "contentWidth": 1, "contentHeight": 120, "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": 120, "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": { "adunit": { "id": 1, "plid": "355517f20e7c14a4994259fb07c4f429", "dest": "http:\/\/www.adsolutions.com", "target": "_blank", "features": "" }, "leftskin": { "id": 2, "plid": "55180b1879ac1291cfeceef804a783bc", "dest": "http:\/\/www.adsolutions.com", "target": "_blank", "features": "" }, "rightskin": { "id": 3, "plid": "93acd3d45e6a338f04e5d8dc7e04077d", "dest": "http:\/\/www.adsolutions.com", "target": "_blank", "features": "" }, "topskin": { "id": 4, "plid": "7090c80c8e4fed48f0908c3fbbb013bc", "dest": "http:\/\/www.adsolutions.com", "target": "_blank", "features": "" } }, "contentVariables": { "Backup Alt Text": "asrm advertisement", "QRUrl": "" }, "contentProperties": { "canExpand": true, "disableMain": true, "leftSideSticky": true, "manageAd": false, "updatePosInfoOnScroll": true, "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": "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": "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=355517f20e7c14a4994259fb07c4f429", "secureUrl": "https:\/\/delivery.adnuntius.com\/u?rt={{{rt}}}&customType=355517f20e7c14a4994259fb07c4f429", "onEvent": "SPECIFIC_CLICK", "eventName": "adunit" }, { "id": 2, "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": 3, "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": 4, "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": 5, "type": "1_PIXEL", "url": "", "secureUrl": "", "onEvent": "SPECIFIC_EVENT", "eventName": "viewableImpression" } ], "contentHubConfig": { "mapping": [], "assets": [] }, "fallback": "1x1.gif", "defaultClick": "leftskin" }; /*debugger;*/ if(window.adtechAdConfig){ if(window.adtechAdConfig.clickthroughs && window.adtechAdConfig.clickthroughs["leftskin"] && window.adtechAdConfig.clickthroughs["leftskin"].dest && window.adtechAdConfig.clickthroughs["leftskin"].dest.length>0){ for(var i in window.adtechAdConfig.clickthroughs){ if(i == "leftskin"){ continue; } if(window.adtechAdConfig.clickthroughs[i].dest.length == ""){ window.adtechAdConfig.clickthroughs[i].dest = window.adtechAdConfig.clickthroughs["leftskin"].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.event('inViewPercentage'); 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 = '\ \