(function(){ var isIE = window.navigator.userAgent.indexOf("MSIE ") > 0; var ifr = "<"+"iframe id=\"cto_iframe_06346512f1\" frameBorder=\"0\" allowtransparency=\"true\" hspace=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" vspace=\"0\" width=\"560px\" height=\"260px\"\n"; if(isIE && document.domain !== window.location.hostname) { ifr += " src=\"javascript:''\""; } ifr += "><"+"/iframe>\n"; document.write(ifr); var ifc = "\n"; ifc += "<"+"!DOCTYPE html>\n"; ifc += "<"+"html>\n"; ifc += " <"+"head>\n"; ifc += " <"+"meta name=\"format-detection\" content=\"telephone=no\"><"+"meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n"; ifc += " <"+"/head>\n"; ifc += " <"+"body><"+"div id=\'cto_banner_content\'><"+"style>\n"; ifc += "/*comment\n"; ifc += "reset css\n"; ifc += "===================*/\n"; ifc += "body,\n"; ifc += "div,\n"; ifc += "dl,\n"; ifc += "dt,\n"; ifc += "dd,\n"; ifc += "ul,\n"; ifc += "ol,\n"; ifc += "li,\n"; ifc += "h1,\n"; ifc += "h2,\n"; ifc += "h3,\n"; ifc += "h4,\n"; ifc += "h5,\n"; ifc += "h6,\n"; ifc += "pre,\n"; ifc += "form,\n"; ifc += "fieldset,\n"; ifc += "input,\n"; ifc += "button,\n"; ifc += "p,\n"; ifc += "blockquote{\n"; ifc += "text-align:left;\n"; ifc += "margin:0;\n"; ifc += "padding:0;\n"; ifc += "}\n"; ifc += "fieldset,\n"; ifc += "img{\n"; ifc += "border:0;\n"; ifc += "}\n"; ifc += "table{\n"; ifc += "border-collapse:collapse;\n"; ifc += "border-spacing:0;\n"; ifc += "}\n"; ifc += "address,\n"; ifc += "caption,\n"; ifc += "cite,\n"; ifc += "code,\n"; ifc += "dfn,\n"; ifc += "em,\n"; ifc += "th,\n"; ifc += "var{\n"; ifc += "font-style:normal;\n"; ifc += "font-weight:normal;\n"; ifc += "}\n"; ifc += "ol,\n"; ifc += "ul{\n"; ifc += "list-style:none;\n"; ifc += "}\n"; ifc += ".separate,\n"; ifc += ".floatingw,\n"; ifc += "legend{\n"; ifc += "display:none;\n"; ifc += "}\n"; ifc += "button{\n"; ifc += "cursor:pointer;\n"; ifc += "}\n"; ifc += "/* float解除 */\n"; ifc += ".clearfix:after{\n"; ifc += " content:\" \"; \n"; ifc += " display:block; \n"; ifc += " height:0; \n"; ifc += " visibility:hidden; \n"; ifc += " clear:both; \n"; ifc += "}\n"; ifc += "* html.clearfix{\n"; ifc += " /*\\*/height:1%;/* for WinIE*/ \n"; ifc += " display:inline-table;/* for MacIE*/\n"; ifc += "}\n"; ifc += "/*comment\n"; ifc += " all set\n"; ifc += "===================*/\n"; ifc += "/*comment\n"; ifc += "font adjust\n"; ifc += "-------------------*/\n"; ifc += "body{\n"; ifc += "background-color:transparent;\n"; ifc += "font-family:\"メイリオ\",\n"; ifc += "\"Hiragino Kaku Gothic Pro\",\n"; ifc += "Meiryo,\n"; ifc += "\"ヒラギノ角ゴ Pro W3\",\n"; ifc += "\"MS PGothic\",\n"; ifc += "\"MS UI Gothic\",\n"; ifc += "Helvetica,\n"; ifc += "Arial,\n"; ifc += "sans-serif;\n"; ifc += "line-height:;\n"; ifc += "font-size:75%;\n"; ifc += "word-break:break-all;\n"; ifc += "word-wrap:break-word;\n"; ifc += "}\n"; ifc += "select,\n"; ifc += "input,\n"; ifc += "button,\n"; ifc += "textarea{\n"; ifc += "*font-family:\"MS UI Gothic\",\"MS PGothic\";\n"; ifc += "}\n"; ifc += "table{\n"; ifc += "font-size:inherit;\n"; ifc += "font:100%;\n"; ifc += "}\n"; ifc += "pre,\n"; ifc += "code,\n"; ifc += "kbd,\n"; ifc += "samp,\n"; ifc += "tt{\n"; ifc += "font-family:monospace;\n"; ifc += "}\n"; ifc += "\n"; ifc += "a{\n"; ifc += "color:#1d3994;\n"; ifc += "text-decoration:none;\n"; ifc += "}\n"; ifc += "a:hover{}\n"; ifc += "/*comment\n"; ifc += "used:\n"; ifc += "slctmpR12\n"; ifc += "-------------------------------------*/\n"; ifc += "html{\n"; ifc += "overflow: hidden;\n"; ifc += "}\n"; ifc += "#wakuBox{\n"; ifc += "position:relative;\n"; ifc += "width:560px;\n"; ifc += "height:260px;\n"; ifc += "background-color:#FFF;\n"; ifc += "}\n"; ifc += "#criteo .cto_productBox{\n"; ifc += "float:left;\n"; ifc += "width:560px;\n"; ifc += "height:79px;\n"; ifc += "border-bottom:1px dotted #CCC;\n"; ifc += "text-align:center;\n"; ifc += "}\n"; ifc += "#criteo .cto_product{\n"; ifc += "width:550px;\n"; ifc += "height:70px;\n"; ifc += "overflow: hidden;\n"; ifc += "padding:4px 5px 5px 5px;\n"; ifc += "margin:0 auto;\n"; ifc += "/*perl if($btv{\"_IE\"} == 1){ /*/\n"; ifc += "*zoom:1;\n"; ifc += "/*perl } /*/\n"; ifc += "}\n"; ifc += "#criteo a .cto_product{cursor:pointer;}\n"; ifc += "#criteo a:hover .cto_product{background-color:#FFFFEB;}\n"; ifc += "#criteo .crtoImg{\n"; ifc += "width:70px;\n"; ifc += "float:left;\n"; ifc += "display: table;\n"; ifc += "background: #fff;\n"; ifc += "}\n"; ifc += "#criteo .crtoImg p{\n"; ifc += "display: table-cell;\n"; ifc += "*display: block;\n"; ifc += "*layout-grid-line: 70px;\n"; ifc += "width: 70px;\n"; ifc += "height: 70px;\n"; ifc += "text-align: center;\n"; ifc += "vertical-align: middle;\n"; ifc += "padding:0px 4-x;\n"; ifc += "}\n"; ifc += "#criteo .crtoImg img{\n"; ifc += "vertical-align:middle;\n"; ifc += "max-height:70px;\n"; ifc += "max-width:70px;\n"; ifc += "border:0;\n"; ifc += "-ms-interpolation-mode:bicubic;\n"; ifc += "*height: expression(this.width <"+" this.height ? \"70px\" : \"auto\");\n"; ifc += "*width: expression(this.width >= this.height ? \"70px\" : \"auto\");\n"; ifc += "}\n"; ifc += "#criteo .crtoTxt{float:right;width:470px;}\n"; ifc += "#criteo .cto_product .ttl{\n"; ifc += "font-weight:bold;\n"; ifc += "overflow: hidden;\n"; ifc += "font-size:106%;\n"; ifc += "height:36px;\n"; ifc += "margin-top: 5px;\n"; ifc += "line-height: 1.5;\n"; ifc += "}\n"; ifc += "#criteo .cto_product .ttlspan{margin:0 0 0 5px;}\n"; ifc += "#criteo a .cto_product .crtoTxt .ttl{text-decoration:none;}\n"; ifc += "#criteo a:hover .cto_product .crtoTxt .ttl{text-decoration:underline;}\n"; ifc += "#criteo .cto_product .price{height:16px;margin-top: 10px;line-height: 1.5;}\n"; ifc += "#criteo .cto_product .price .origPrice{font-size:106%;color:#C30;margin:0px 5px 0px 0px;}\n"; ifc += "#criteo .cto_product .price .priceType{font-size:106%;font-weight:bold;}\n"; ifc += "#criteo a .cto_product .price{color:#2F2F2F;text-decoration:none;}\n"; ifc += "\n"; ifc += "#criteo #footBox{\n"; ifc += "position:absolute;\n"; ifc += "z-index:99;\n"; ifc += "bottom:0px;\n"; ifc += "left:0px;\n"; ifc += "width:560px;\n"; ifc += "height:20px;\n"; ifc += "}\n"; ifc += "#criteo #footBox #criteoAcct{float:left;margin:0;padding:0 0 0 5px;}\n"; ifc += "#criteo #footBox #criteoAcct a:hover{text-decoration:underline;}\n"; ifc += "#criteo #footBox #criteoInfo{float:right;margin:0;padding:0px 5px 0 0;}\n"; ifc += "#criteo #footBox #criteoInfo a{color:#AAA;margin:0px 0px 0px 5px;}\n"; ifc += "#criteo #footBox #criteoInfo a:hover{text-decoration:underline;}\n"; ifc += "#criteo #footBox #criteoInfo span{font-size:86%;}\n"; ifc += "<"+"/style>\n"; ifc += "\n"; ifc += "<"+"div id=\"wakuBox\">\n"; ifc += "<"+"div id=\"criteo\">\n"; ifc += " <"+"div id=\"cto_products\">\n"; ifc += " \n"; ifc += " <"+"div class=\"cto_productBox\">\n"; ifc += " <"+"a href=\"https://cat.jp.as.criteo.com/delivery/ck.php?cppv=1&cpp=zboIKXx1RlpzNDVlNWRaNk1qNXNNNjRvNG85aWEzdndTOXhmOEI5cG8wY01pRFZMRFFLL1c0aHJuSm1xZGViSU0xZlZSNm96QjZmTkQ3cW9WLzcyOWI3MXRvenErVVBTV2NLTllGZzJKcEllZmRSU3BpbC9iWjd1bmxKclhzUmVHRWZIWk5YQ0NNRW5BeE9nSm53VHVpZi8yc0hlN0NlS3lRRnB6YUpaZ1g2S0dyb29mNk0zWGg0VWJ1cDZVbG9KRjBuQXZwdVVjVlNMMTBDakdDTWd3OW1yMzNQZlVydFNMRGx1ZElsMkk4aXlQa3FEYnMyc0pYOURKdGZkWG9yZGIxWmRUU0lFcHplZ2x6Y3ZpZWJ4aW00dFJRWXBIOWROU2tES1NibitML3RpWXE1YklVVzJqejNUZFlDUitjc2l0TjRFSnw%3D&maxdest=https%3A%2F%2Ftechacademy.jp%2Fbriefing-lp-wordpress-s%3Futm_source%3Dcriteo%26utm_medium%3Ddisplay%26utm_campaign%3Dretargeting\" target=\"_blank\" >\n"; ifc += " <"+"div class=\"cto_product clearfix\">\n"; ifc += " <"+"div class=\"crtoImg\"><"+"p><"+"img src=\"https://pix.jp.as.criteo.net/img/img?c=1&h=400&i=30101-briefing_5&m=0&q=80&r=0&u=https%3A%2F%2Fassets.techacademy.jp%2Ftechacademy-bootcamp%2Fpictures%2F166%2Foriginal.jpg&w=400&s=JKVTeS8vC5YKqUgufn2ZIlEd\" /><"+"/p><"+"/div>\n"; ifc += " <"+"div class=\"crtoTxt\">\n"; ifc += " <"+"div class=\"ttl\">WordPressコース | <"+"span>カスタマイズしたオリジナルサイトを構築<"+"/span><"+"/div>\n"; ifc += " <"+"div class=\"price\"><"+"del class=\"origPrice\"><"+"/del><"+"span class=\"priceType\">無料説明会<"+"/span><"+"/div>\n"; ifc += " <"+"/div>\n"; ifc += " <"+"/div>\n"; ifc += " <"+"/a>\n"; ifc += " <"+"/div>\n"; ifc += " \n"; ifc += " <"+"div class=\"cto_productBox\">\n"; ifc += " <"+"a href=\"https://cat.jp.as.criteo.com/delivery/ck.php?cppv=1&cpp=C4dtfHx1RlpzNDVlNWRaNk1qNXNNNjRvNG85aWEzdndTOXhmOEI5cG8wY01pRFZMRFFLL1c0aHJuSm1xZGViSU0xZlZSNm96QjZmTkQ3cW9WLzcyOWI3MXRvenErVVBTV2NLTllGZzJKcEllZmRSU3BpbC9iWjd1bmxKclhzUmVHRWZIWk5YQ0NNRW5BeE9nSm53VHVpZi8yc0hlN0NlS3lRRnB6YUpaZ1g2S0dyb3B5RWJzaytCaCtiN1dwaHlrM3lIUStNMktaRkVNKzVTYXJ2LzI0MFBxUmJ0ZkhYUUJuRGZqUFgzclZYam0vRVJaditseVBuYTkyTU9ldGhpRkQycHRSVmthZ3RkNnVHMlRGZVk1a3M1TzZsVWFZbTZNZlU4dERUUWVLY1ZPaXVhTFhWMmZiTm04NjJEalcwVk9FYkJocHw%3D&maxdest=https%3A%2F%2Ftechacademy.jp%2Fbriefing-lp-iphone-s%3Futm_source%3Dcriteo%26utm_medium%3Ddisplay%26utm_campaign%3Dretargeting\" target=\"_blank\" >\n"; ifc += " <"+"div class=\"cto_product clearfix\">\n"; ifc += " <"+"div class=\"crtoImg\"><"+"p><"+"img src=\"https://pix.jp.as.criteo.net/img/img?c=1&h=400&i=30101-briefing_4&m=0&q=80&r=0&u=https%3A%2F%2Fassets.techacademy.jp%2Ftechacademy-bootcamp%2Fpictures%2F135%2Foriginal.jpg&w=400&s=1KPUNjj60q-VTbf8tq2yLX2y\" /><"+"/p><"+"/div>\n"; ifc += " <"+"div class=\"crtoTxt\">\n"; ifc += " <"+"div class=\"ttl\">iPhoneアプリコース | <"+"span>オリジナルアプリをAppStoreに公開<"+"/span><"+"/div>\n"; ifc += " <"+"div class=\"price\"><"+"del class=\"origPrice\"><"+"/del><"+"span class=\"priceType\">無料説明会<"+"/span><"+"/div>\n"; ifc += " <"+"/div>\n"; ifc += " <"+"/div>\n"; ifc += " <"+"/a>\n"; ifc += " <"+"/div>\n"; ifc += " \n"; ifc += " <"+"div class=\"cto_productBox\">\n"; ifc += " <"+"a href=\"https://cat.jp.as.criteo.com/delivery/ck.php?cppv=1&cpp=3b2kZ3x1RlpzNDVlNWRaNk1qNXNNNjRvNG85aWEzdndTOXhmOEI5cG8wY01pRFZMRFFLL1c0aHJuSm1xZGViSU0xZlZSNm96QjZmTkQ3cW9WLzcyOWI3MXRvenErVVBTV2NLTllGZzJKcEllZmRSU3BpbC9iWjd1bmxKclhzUmVHRWZIWk5YQ0NNRW5BeE9nSm53VHVpZi8yc0hlN0NlS3lRRnB6YUpaZ1g2S0dyb29jZVlWeVRmRzlqTHl5cVJsQ29obUNsYXFhNkQ1SzBxM2p6Zm02Snc0NHRjOXhDRnRGM2YrTEdFeHduZ3kzb2V6ZUliSEFEK3BmWE1ZaGdoK1Z5RHo2OUVYSENybis4TmlpQkYxY3laM2JJSkRqbEp3Sk9YYW9iQWFSY2tMMzhHcWczYmZhNGJDQ0drUEY0MWpoa2o1Wnw%3D&maxdest=https%3A%2F%2Ftechacademy.jp%2Fbriefing-lp-appdesign-s%3Futm_source%3Dcriteo%26utm_medium%3Ddisplay%26utm_campaign%3Dretargeting\" target=\"_blank\" >\n"; ifc += " <"+"div class=\"cto_product clearfix\">\n"; ifc += " <"+"div class=\"crtoImg\"><"+"p><"+"img src=\"https://pix.jp.as.criteo.net/img/img?c=1&h=400&i=30101-briefing_9&m=0&q=80&r=0&u=https%3A%2F%2Fassets.techacademy.jp%2Ftechacademy-bootcamp%2Fpictures%2F150%2Foriginal.jpg&w=400&s=MnMQaG_EIbiqYgk7Qyu5gQiT\" /><"+"/p><"+"/div>\n"; ifc += " <"+"div class=\"crtoTxt\">\n"; ifc += " <"+"div class=\"ttl\">UI/UXデザインコース | <"+"span>UI/UXデザイナーが毎日サポート<"+"/span><"+"/div>\n"; ifc += " <"+"div class=\"price\"><"+"del class=\"origPrice\"><"+"/del><"+"span class=\"priceType\">無料説明会<"+"/span><"+"/div>\n"; ifc += " <"+"/div>\n"; ifc += " <"+"/div>\n"; ifc += " <"+"/a>\n"; ifc += " <"+"/div>\n"; ifc += " \n"; ifc += " <"+"/div>\n"; ifc += "\n"; ifc += "<"+"div id=\"footBox\" class=\"clearfix\">\n"; ifc += "<"+"div id=\"criteoAcct\"><"+"a href=\"https://cat.jp.as.criteo.com/delivery/ck.php?cppv=1&cpp=2Fsr33x1RlpzNDVlNWRaNk1qNXNNNjRvNG85aWEzdndTOXhmOEI5cG8wY01pRFZMRFFLL1c0aHJuSm1xZGViSU0xZlZSNm96QjZmTkQ3cW9WLzcyOWI3MXRvenErVVBTV2NLTllGZzJKcEllZmRSU3BpbC9iWjd1bmxKclhzUmVHRWZIWk5YQ0NNRW5BeE9nSm53VHVpZi8yc0hlN0NlS3lRRnB6YUpaZ1g2S0dyb3BBUjZ3OHQ0WExySy8xMks3SjVtYWVLUTlzY0IyN1REelRyRlJqUFBHaFQ3WDFtOWkybVFrZ0hsNEhjclYrZmd1Wkd0R1NWaU41VFA5eVhmcmV6aFVHK2hQUVpxQVR0Mnc0aXhucnhKUE5HZHFKQlhoSDZuUGVVWTNVTTRPYTV4WGQyZHdyZ0J0U0M1REcwdTZWMFVMOHw%3D&maxdest=https%3A%2F%2Ftechacademy.jp%2F%3Futm_source%3Dcriteo%26utm_medium%3Ddisplay%26utm_campaign%3Dretargeting\" target=\"_blank\" class=\"adUrl\" >techacademy.jp<"+"/a><"+"/div>\n"; ifc += "<"+"div id=\"criteoInfo\"><"+"span><"+"/span><"+"a href=\"https://info.criteo.com/pac/privacy/informations?infonorm=3&partner=30101&campaignid=102616&zoneid=308508&bannerid=7672141&displayid=06346512f1\" target=\"_blank\">Ads by Criteo<"+"/a><"+"/div>\n"; ifc += "<"+"/div>\n"; ifc += "<"+"/div>\n"; ifc += "<"+"/div>\n"; ifc += "\n"; ifc += "<"+"script type=\'text/javascript\'>(function() { var viewabilityOneSec50PercentEnabled = true;\n"; ifc += " var viewabilityZeroSecZeroPercentEnabled = false;\n"; ifc += " var viewabilityZeroSec100PercentEnabled = false;\n"; ifc += " var enableViewabilityBrowserOptimOneSec50Percent = true;\n"; ifc += " var viewabilityEltFromPointOneSec50PercentEnabled = true;\n"; ifc += " var viewabilityUrl = \'https://csm.jp.as.criteo.net/vw?cppv=1&cpp=DsCXVnxzUjJRcCs2cUpQQ2ErMXVXMUliN01KdDg5ZHBIeTVxZXJld0ZERzJEQkw2d1NzY01nVmdRaTF0aCt4YW5xTEFIR3duaGl0YW1JMXRoelBMTUs2SnpXYlJac0lRdk12TmJhSFFxVVNpZVQ0dHAycFUyTStjWS9RPT18\';\n"; ifc += "var vwCommon = (function () {\n"; ifc += " var logImpressionToServer = function(method, eventType) {\n"; ifc += " var csmEndpoint = viewabilityUrl;\n"; ifc += " (new Image()).src = csmEndpoint + \'&method=\' + method + \'&event=\' + eventType;\n"; ifc += " };\n"; ifc += "\n"; ifc += " // Copy of the reference Enum in vault/glup: banner_view_proto.proto\n"; ifc += " var trackingMethod = {\n"; ifc += " UNDEFINED_TRACKING_METHOD: 0,\n"; ifc += " INTERSECTION_OBSERVER: 1,\n"; ifc += " GEOMETRIC: 2,\n"; ifc += " BROWSER_OPTIMISATION: 3,\n"; ifc += " ELEMENT_FROM_POINT: 4\n"; ifc += " };\n"; ifc += "\n"; ifc += " // Copy of the reference Enum in vault/glup: banner_view_proto.proto\n"; ifc += " var eventType = {\n"; ifc += " UNDEFINED_EVENT_TYPE: 0,\n"; ifc += " ONE_SECOND_50_PERCENT_VIEW: 1, // Time seen: >1sec / Part of the ad viewed: >50%\n"; ifc += " ZERO_SECOND_ZERO_PERCENT_VIEW: 2, // Time seen: >0sec / Part of the ad viewed: >0%\n"; ifc += " ONE_SECOND_ZERO_PERCENT_VIEW: 3, // Time seen: >1sec / Part of the ad viewed: >0%\n"; ifc += " ZERO_SECOND_100_PERCENT_VIEW: 4 // Time seen: >0sec / Part of the ad viewed: 100%\n"; ifc += " };\n"; ifc += "\n"; ifc += " return {\n"; ifc += " logImpressionToServer: logImpressionToServer,\n"; ifc += " trackingMethod: trackingMethod,\n"; ifc += " eventType: eventType\n"; ifc += " };\n"; ifc += "})();\n"; ifc += "\n"; ifc += "var time = (function() {\n"; ifc += " var vendors = [\'ms\', \'moz\', \'webkit\', \'o\'];\n"; ifc += " var rqFrame = buildOnFrame();\n"; ifc += "\n"; ifc += " function buildOnFrame() {\n"; ifc += " var rAnimationFrame, cAnimationFrame;\n"; ifc += " if (window.requestAnimationFrame && window.cancelAnimationFrame) {\n"; ifc += " rAnimationFrame = window.requestAnimationFrame;\n"; ifc += " cAnimationFrame = window.cancelAnimationFrame;\n"; ifc += " } else {\n"; ifc += " for (var x = 0; x <"+" vendors.length && !rAnimationFrame; ++x) {\n"; ifc += " rAnimationFrame = window[vendors[x] + \'RequestAnimationFrame\'];\n"; ifc += " cAnimationFrame = window[vendors[x] + \'CancelAnimationFrame\'] || window[vendors[x] + \'CancelRequestAnimationFrame\'];\n"; ifc += " }\n"; ifc += " }\n"; ifc += "\n"; ifc += " if (!rAnimationFrame || !cAnimationFrame) {\n"; ifc += " return function (cb) {\n"; ifc += " var targetTime = getTime() + 16;\n"; ifc += " var id;\n"; ifc += "\n"; ifc += " var tick = function() {\n"; ifc += " var currTime = getTime();\n"; ifc += " if (currTime >= targetTime) {\n"; ifc += " cb();\n"; ifc += " } else {\n"; ifc += " id = window.setTimeout(tick);\n"; ifc += " }\n"; ifc += " };\n"; ifc += "\n"; ifc += " tick();\n"; ifc += " return {\n"; ifc += " cancel: function () { window.clearTimeout(id); }\n"; ifc += " };\n"; ifc += " };\n"; ifc += " }\n"; ifc += "\n"; ifc += " return function (cb) {\n"; ifc += " var id = rAnimationFrame(cb);\n"; ifc += " return {\n"; ifc += " cancel: function() {\n"; ifc += " cAnimationFrame(id);\n"; ifc += " }\n"; ifc += " };\n"; ifc += " };\n"; ifc += " }\n"; ifc += "\n"; ifc += " var getTime = function () {\n"; ifc += " return new Date().getTime();\n"; ifc += " };\n"; ifc += "\n"; ifc += " var setHighPrecisionTimeout = function (cb, time, tickCallback) {\n"; ifc += " var startTime = getTime();\n"; ifc += " var lastTime = startTime;\n"; ifc += "\n"; ifc += " var tick = function () {\n"; ifc += " id.cancel();\n"; ifc += " var currentTime = getTime();\n"; ifc += "\n"; ifc += " // Firefox and Chrome behave differently\n"; ifc += " // - Firefox will run way less requestAnimationFrame callbacks\n"; ifc += " // - Chrome, however, will do the same until the end of a requestAnimationFrame loops being run at the time the tab loses visibility, and will not run any new loops until the tab becomes visible again\n"; ifc += " // As the natural behaviour of Firefox doesn\'t work for us, we keep whether the last requestAnimationFrame happened recently (ie tab visible) or not (ie tab hidden).\n"; ifc += " // In that last case we don\'t run any animation\n"; ifc += "\n"; ifc += " if (currentTime - lastTime <"+"= 1000) {\n"; ifc += " // We are in a case where the tab is visible\n"; ifc += " if (tickCallback) {\n"; ifc += " tickCallback((currentTime - startTime) / time);\n"; ifc += " }\n"; ifc += "\n"; ifc += " if (currentTime - startTime >= time) {\n"; ifc += " lastTime = currentTime;\n"; ifc += " cb();\n"; ifc += " return;\n"; ifc += " }\n"; ifc += " }\n"; ifc += " lastTime = currentTime;\n"; ifc += " id = rqFrame(tick);\n"; ifc += " };\n"; ifc += "\n"; ifc += " var id = rqFrame(tick);\n"; ifc += " return {\n"; ifc += " cancel: function () { id.cancel(); }\n"; ifc += " };\n"; ifc += " };\n"; ifc += "\n"; ifc += " var setLowPrecisionTimeout = function (cb, time) {\n"; ifc += " var id;\n"; ifc += " var timeLeft = time;\n"; ifc += "\n"; ifc += " var tick = function () {\n"; ifc += " // We never use timeouts over 1sec because IE9 (and probably IE10)\n"; ifc += " // do not respect long durations. setTimeout(30s) has been seen to trigger\n"; ifc += " // as early as 5sec, and as late as 1min\n"; ifc += " if (timeLeft > 1000) {\n"; ifc += " timeLeft -= 1000;\n"; ifc += " id = window.setTimeout(tick, 1000);\n"; ifc += " } else {\n"; ifc += " id = window.setTimeout(cb, timeLeft);\n"; ifc += " }\n"; ifc += " };\n"; ifc += "\n"; ifc += " tick();\n"; ifc += " return {\n"; ifc += " cancel: function () { window.clearTimeout(id); }\n"; ifc += " };\n"; ifc += " };\n"; ifc += "\n"; ifc += " var setTimeout = function (cb, time, highPrecision) {\n"; ifc += " var timeoutResolution = highPrecision ? setHighPrecisionTimeout : setLowPrecisionTimeout;\n"; ifc += " return timeoutResolution(cb, time);\n"; ifc += " };\n"; ifc += "\n"; ifc += " var setInterval = function (cb, time, highPrecision) {\n"; ifc += " var timeoutCb = function () {\n"; ifc += " interval.cancel = setTimeout(timeoutCb, time, highPrecision).cancel;\n"; ifc += " cb();\n"; ifc += " };\n"; ifc += "\n"; ifc += " var interval = setTimeout(timeoutCb, time, highPrecision);\n"; ifc += " return interval;\n"; ifc += " };\n"; ifc += "\n"; ifc += " return {\n"; ifc += " getTime : getTime,\n"; ifc += " setInterval: setInterval,\n"; ifc += " setTimeout: setTimeout,\n"; ifc += " setHighPrecisionTimeout: setHighPrecisionTimeout\n"; ifc += " };\n"; ifc += "})();\n"; ifc += "var viewability = (function (time, vwCommon) {\n"; ifc += " var viewability = {};\n"; ifc += "\n"; ifc += " var oneSec50PercentLogged = false,\n"; ifc += " zeroSecZeroPercentLogged = false,\n"; ifc += " zeroSec100PercentLogged = false;\n"; ifc += "\n"; ifc += " viewability.visibleTimerCallback = function (element) {\n"; ifc += " delete element.visibleTimeout;\n"; ifc += " if (element.isVisible) {\n"; ifc += " delete element.isVisible;\n"; ifc += " vwCommon.logImpressionToServer(vwCommon.trackingMethod.INTERSECTION_OBSERVER, vwCommon.eventType.ONE_SECOND_50_PERCENT_VIEW);\n"; ifc += " oneSec50PercentLogged = true;\n"; ifc += " }\n"; ifc += " };\n"; ifc += "\n"; ifc += " var visibleTimerCallbackWrapped = function (element) {\n"; ifc += " return function () { return viewability.visibleTimerCallback(element); };\n"; ifc += " };\n"; ifc += "\n"; ifc += " // Strongly inspired from https://github.com/WICG/IntersectionObserver/blob/gh-pages/explainer.md#element-visibility\n"; ifc += " viewability.processChanges = function (changes) {\n"; ifc += " for (var i = 0; i <"+" changes.length; i++) {\n"; ifc += " if ((!viewability.oneSec50PercentEnabled || oneSec50PercentLogged) &&\n"; ifc += " (!viewability.zeroSecZeroPercentEnabled || zeroSecZeroPercentLogged) &&\n"; ifc += " (!viewability.zeroSec100PercentEnabled || zeroSec100PercentLogged)) {\n"; ifc += " viewability.observer.unobserve(changes[i].target);\n"; ifc += " return;\n"; ifc += " }\n"; ifc += "\n"; ifc += " if (viewability.zeroSecZeroPercentEnabled && !zeroSecZeroPercentLogged && changes[i].intersectionRatio > 0) {\n"; ifc += " vwCommon.logImpressionToServer(vwCommon.trackingMethod.INTERSECTION_OBSERVER, vwCommon.eventType.ZERO_SECOND_ZERO_PERCENT_VIEW);\n"; ifc += " zeroSecZeroPercentLogged = true;\n"; ifc += " }\n"; ifc += "\n"; ifc += " if (viewability.zeroSec100PercentEnabled && !zeroSec100PercentLogged && changes[i].intersectionRatio >= 1) {\n"; ifc += " vwCommon.logImpressionToServer(vwCommon.trackingMethod.INTERSECTION_OBSERVER, vwCommon.eventType.ZERO_SECOND_100_PERCENT_VIEW);\n"; ifc += " zeroSec100PercentLogged = true;\n"; ifc += " }\n"; ifc += "\n"; ifc += " if (viewability.oneSec50PercentEnabled && !oneSec50PercentLogged) {\n"; ifc += " var element = changes[i].target;\n"; ifc += " element.isVisible = changes[i].intersectionRatio >= 0.5;\n"; ifc += " if (element.isVisible) {\n"; ifc += " // Transitioned from hidden to visible\n"; ifc += " element.visibleTimeout = time.setTimeout(visibleTimerCallbackWrapped(element), 1000);\n"; ifc += " } else {\n"; ifc += " // Transitioned from visible to hidden\n"; ifc += " if (\'visibleTimeout\' in element) {\n"; ifc += " element.visibleTimeout.cancel();\n"; ifc += " delete element.visibleTimeout;\n"; ifc += " }\n"; ifc += " }\n"; ifc += " }\n"; ifc += " }\n"; ifc += " };\n"; ifc += "\n"; ifc += " viewability.setup = function (viewabilityOneSec50PercentEnabled, viewabilityZeroSecZeroPercentEnabled, viewabilityZeroSec100PercentEnabled) {\n"; ifc += " // If feature is deactivated or if browser does not natively support IntersectionObserver, do nothing\n"; ifc += " viewability.oneSec50PercentEnabled = viewabilityOneSec50PercentEnabled;\n"; ifc += " viewability.zeroSecZeroPercentEnabled = viewabilityZeroSecZeroPercentEnabled;\n"; ifc += " viewability.zeroSec100PercentEnabled = viewabilityZeroSec100PercentEnabled;\n"; ifc += " if ((!viewability.oneSec50PercentEnabled && !viewability.zeroSecZeroPercentEnabled && !viewability.zeroSec100PercentEnabled) ||\n"; ifc += " !window.IntersectionObserver || !viewabilityUrl || !viewabilityUrl.length) {\n"; ifc += " return;\n"; ifc += " }\n"; ifc += "\n"; ifc += " viewability.observer = new IntersectionObserver(viewability.processChanges, { threshold: [0, 0.5, 1] });\n"; ifc += "\n"; ifc += " var bnrElement = document.querySelector(\'#cto_banner_content\');\n"; ifc += " if (bnrElement && viewability.observer) {\n"; ifc += " viewability.observer.observe(bnrElement);\n"; ifc += " }\n"; ifc += " };\n"; ifc += "\n"; ifc += " return viewability;\n"; ifc += "})(time, vwCommon);\n"; ifc += "\n"; ifc += "viewability.setup(viewabilityOneSec50PercentEnabled, viewabilityZeroSecZeroPercentEnabled, viewabilityZeroSec100PercentEnabled);\n"; ifc += "var viewabilityBrowserOptim = (function (vwCommon) {\n"; ifc += " var viewabilityBo = {};\n"; ifc += "\n"; ifc += " var framerateThreshold = 300;\n"; ifc += " var framerateThrottle = 100;\n"; ifc += " var timeRequiredMs = 1000;\n"; ifc += " var key;\n"; ifc += " var enableViewabilityBrowserOptimOneSec50Percent;\n"; ifc += " var frame;\n"; ifc += " var prevtime;\n"; ifc += " var firstTimeSeen;\n"; ifc += "\n"; ifc += " viewabilityBo.stopRaf = function() {\n"; ifc += " (frame.contentWindow || frame).postMessage(JSON.stringify({ k: key }), \'*\');\n"; ifc += " };\n"; ifc += "\n"; ifc += " viewabilityBo.checkFps = function(data) {\n"; ifc += " var elapsedTime = data.t - prevtime;\n"; ifc += "\n"; ifc += " if (elapsedTime >= framerateThreshold) {\n"; ifc += " firstTimeSeen = null;\n"; ifc += "\n"; ifc += " } else {\n"; ifc += " if (firstTimeSeen === null) {\n"; ifc += " firstTimeSeen = data.t;\n"; ifc += " } else if (data.t - firstTimeSeen >= timeRequiredMs) {\n"; ifc += " if (enableViewabilityBrowserOptimOneSec50Percent) {\n"; ifc += " enableViewabilityBrowserOptimOneSec50Percent = false;\n"; ifc += " vwCommon.logImpressionToServer(vwCommon.TrackingMethod.BROWSER_OPTIMISATION, vwCommon.EventType.ONE_SECOND_50_PERCENT_VIEW);\n"; ifc += " viewabilityBo.stopRaf();\n"; ifc += " }\n"; ifc += " }\n"; ifc += " }\n"; ifc += "\n"; ifc += " prevtime = data.t;\n"; ifc += " };\n"; ifc += "\n"; ifc += " viewabilityBo.createIframe = function() {\n"; ifc += " frame = document.createElement(\'iframe\');\n"; ifc += " frame.id = \'bo-iframe\';\n"; ifc += "\n"; ifc += " frame.style.pointerEvents = \'none\';\n"; ifc += " frame.style.position = \'absolute\';\n"; ifc += " frame.style.top = document.body.clientHeight / 2 - 2 + \'px\';\n"; ifc += " frame.style.left = document.body.clientWidth / 2 - 2 + \'px\';\n"; ifc += " frame.style.zIndex = 9999;\n"; ifc += " frame.style.width = frame.style.height = \'4px\';\n"; ifc += " frame.style.margin = frame.style.padding = 0;\n"; ifc += " frame.style.background = \'transparent\';\n"; ifc += " frame.style.border = \'none\';\n"; ifc += " frame.frameBorder = 0;\n"; ifc += " frame.scrolling = \'no\';\n"; ifc += " document.body.appendChild(frame);\n"; ifc += "\n"; ifc += " var root = document.createElement(\'html\');\n"; ifc += " var head = document.createElement(\'head\');\n"; ifc += " var script = document.createElement(\'script\');\n"; ifc += "\n"; ifc += " script.type = \'text/javascript\';\n"; ifc += "\n"; ifc += " var iframeClosure = function(key, framerateThrottle) {\n"; ifc += " window.addEventListener(\'load\', function() {\n"; ifc += " var stopRAF = false;\n"; ifc += " window.addEventListener(\'message\', function(msg) {\n"; ifc += " try {\n"; ifc += " var data = JSON.parse(msg.data);\n"; ifc += " if (data.k === key) {\n"; ifc += " stopRAF = true;\n"; ifc += " }\n"; ifc += " } catch(err) {}\n"; ifc += " }, false);\n"; ifc += " var f = function(n) {\n"; ifc += " if (stopRAF) {\n"; ifc += " return;\n"; ifc += " }\n"; ifc += "\n"; ifc += " window.parent.postMessage(JSON.stringify({ k: key, t: n }), \'*\');\n"; ifc += " window.setTimeout(function() { window.requestAnimationFrame(f); }, framerateThrottle);\n"; ifc += " };\n"; ifc += " window.requestAnimationFrame(f);\n"; ifc += " }, false);\n"; ifc += " };\n"; ifc += "\n"; ifc += " script.text = \'(\' + iframeClosure.toString() + \')(\"\' + key + \'\", \' + framerateThrottle + \')\';\n"; ifc += "\n"; ifc += " head.appendChild(script);\n"; ifc += " root.appendChild(head);\n"; ifc += " frame.sandbox = \'allow-scripts\';\n"; ifc += " frame.srcdoc = root.outerHTML;\n"; ifc += " };\n"; ifc += "\n"; ifc += " viewabilityBo.setup = function(browserOptimOneSec50Percent) {\n"; ifc += " enableViewabilityBrowserOptimOneSec50Percent = browserOptimOneSec50Percent;\n"; ifc += " if (!enableViewabilityBrowserOptimOneSec50Percent || !window.requestAnimationFrame || !window.viewabilityUrl || !window.viewabilityUrl.length) {\n"; ifc += " return;\n"; ifc += " }\n"; ifc += "\n"; ifc += " prevtime = 0;\n"; ifc += " firstTimeSeen = 0;\n"; ifc += "\n"; ifc += " key = Math.random().toString(36).substring(2);\n"; ifc += "\n"; ifc += " window.addEventListener(\'message\',\n"; ifc += " function(msg) {\n"; ifc += " try {\n"; ifc += " var data = JSON.parse(msg.data);\n"; ifc += " if (data.k === key) {\n"; ifc += " viewabilityBo.checkFps(data);\n"; ifc += " }\n"; ifc += " } catch(err) {}\n"; ifc += " },\n"; ifc += " false\n"; ifc += " );\n"; ifc += "\n"; ifc += " viewabilityBo.createIframe();\n"; ifc += " };\n"; ifc += "\n"; ifc += " return {\n"; ifc += " setup: viewabilityBo.setup\n"; ifc += " };\n"; ifc += "})(vwCommon)\n"; ifc += "\n"; ifc += "viewabilityBrowserOptim.setup(enableViewabilityBrowserOptimOneSec50Percent);\n"; ifc += "var viewabilityElementFromPoint = (function (time, vwCommon) {\n"; ifc += " var checkRateMs = 100; // Time between each check of the viewability of the Ad in ms\n"; ifc += " var timeRequiredMs = 1000;\n"; ifc += "\n"; ifc += " function isIe8to11() {\n"; ifc += " return !!document.documentMode;\n"; ifc += " }\n"; ifc += "\n"; ifc += " function isViewableEltFromPointMethod () {\n"; ifc += " var adsHeight = document.body.clientHeight || window.innerHeight;\n"; ifc += " var adsWidth = document.body.clientWidth || window.innerWidth;\n"; ifc += "\n"; ifc += " return !!document.elementFromPoint(Math.floor(adsWidth * 0.5), Math.floor(adsHeight * 0.5));\n"; ifc += " }\n"; ifc += "\n"; ifc += " function setup (viewabilityEltFromPointOneSec50PercentEnabled) {\n"; ifc += " // If feature is deactivated or if browser is not IE between 8 and 11, do nothing\n"; ifc += " if (!viewabilityEltFromPointOneSec50PercentEnabled || !isIe8to11() || !viewabilityUrl) {\n"; ifc += " return;\n"; ifc += " }\n"; ifc += "\n"; ifc += " var tick = 0;\n"; ifc += " var interval = time.setInterval(function() {\n"; ifc += " if (isViewableEltFromPointMethod()) {\n"; ifc += " tick++;\n"; ifc += " if (tick >= (timeRequiredMs / checkRateMs)) {\n"; ifc += " vwCommon.logImpressionToServer(vwCommon.trackingMethod.ELEMENT_FROM_POINT, vwCommon.eventType.ONE_SECOND_50_PERCENT_VIEW);\n"; ifc += " interval.cancel();\n"; ifc += " }\n"; ifc += " } else {\n"; ifc += " tick = 0;\n"; ifc += " }\n"; ifc += " }, checkRateMs, true);\n"; ifc += " }\n"; ifc += "\n"; ifc += " return {\n"; ifc += " setup: setup\n"; ifc += " };\n"; ifc += "})(time, vwCommon);\n"; ifc += "\n"; ifc += "viewabilityElementFromPoint.setup(viewabilityEltFromPointOneSec50PercentEnabled); })();<"+"/script>\n"; ifc += "<"+"script type=\"text/javascript\">\n"; ifc += "(function() {\n"; ifc += " var getElts = function(className, domElem){\n"; ifc += " var desc = [];\n"; ifc += " if (document.getElementsByClassName){\n"; ifc += " desc = domElem.getElementsByClassName(className);\n"; ifc += " }\n"; ifc += " else {\n"; ifc += " var elem = domElem.getElementsByTagName(\'*\');\n"; ifc += " for (var i = 0; i <"+" elem.length; i++) {\n"; ifc += " if((\' \' + elem[i].className + \' \').indexOf(\' \'+className+\' \') > -1) desc.push(elem[i]);\n"; ifc += " }\n"; ifc += " }\n"; ifc += " return desc;\n"; ifc += " };\n"; ifc += "\n"; ifc += " var truncate = function(div, maxCharacter) {\n"; ifc += " var t = div.textContent || div.innerText || \"\";\n"; ifc += " var trimmed = t.replace(\'\\\\n\', \'\').replace(/^ +| +$/g, \'\');\n"; ifc += " if(trimmed.length > maxCharacter) div.textContent = div.innerText = trimmed.substr(0, maxCharacter-3) + \'...\';\n"; ifc += "\n"; ifc += " };\n"; ifc += "\n"; ifc += " var products = getElts(\"cto_product\", document);\n"; ifc += " for(var i = 0; i <"+" products.length; ++i) {\n"; ifc += " truncate(getElts(\"ttl\", products[i])[0], 74);\n"; ifc += " }\n"; ifc += "\n"; ifc += " document.body.setAttribute(\"leftMargin\", \"0\");\n"; ifc += " document.body.setAttribute(\"topMargin\", \"0\");\n"; ifc += " document.body.style.backgroundColor = \"transparent\";\n"; ifc += "\n"; ifc += "})();\n"; ifc += "<"+"/script><"+"/div><"+"div style=\'position: absolute; left: 0px; top: 0px; visibility: hidden;\'>\n"; ifc += "<"+"iframe id=\'if06346512f1\' name=\'if06346512f1\' src=\'https://static.eu.criteo.net/empty.html\' width=\'1px\' height=\'1px\'><"+"/iframe>\n"; ifc += "<"+"/div>\n"; ifc += "<"+"div id=\'beacon_06346512f1\' style=\'position: absolute; left: 0px; top: 0px; visibility: hidden;\'>\n"; ifc += "<"+"img width=\"0\" height=\"0\" src=\"https://cat.jp.as.criteo.com/delivery/lg.php?cppv=1&cpp=0tMd33x1RlpzNDVlNWRaNk1qNXNNNjRvNG85aWEzdndTOXhmOEI5cG8wY01pRFZMRFFLL1c0aHJuSm1xZGViSU0xZlZSNm96QjZmTkQ3cW9WLzcyOWI3MXRvenErVVBTV2NLTllGZzJKcEllZmRSU3BpbC9iWjd1bmxKclhzUmVHRWZIWlg2bE5kQmNFQ3JWTlZLdGxRTDFaejI5L2JiRDRQU1FwNnNCbmsvMGxmdW1hbDdHYzFOL1oxZlAyaTdoUHhCNkFTSzFpY3VIYVQ5anNWUDN5bjV2aDBzbGJjeVAwL0pOOHdyUms3cUUrdWV2bXpFck5pSmxXWEh1OGREZlpEZGprS1Z1WFJCRHcrcStDUTM1em4zenU1VXBHUm5QOXl1eUVLeFE0UzFZVWRwNzFhbmVPam15YjQzT1VobFp1a0d5TEdBMXBSSU5mL3RnQ3pMa0c5US9xcUE9PXw%3D\"/>\n"; ifc += "<"+"/div>\n"; ifc += "<"+"/body>\n"; ifc += "<"+"/html>\n"; var fillIframe = function(ifrd) { var getDocument = function(iframe) { var result_document = iframe.contentWindow || iframe.contentDocument; if (result_document && result_document.document) result_document = result_document.document; return result_document; }; var c = getDocument(ifrd); if (c) { c.open(); c.write(ifc); c.close(); } }; var maxRetryAttempts = 100; var loaded = false; var pollIframe = function() { var ifrd = document.getElementById('cto_iframe_06346512f1'); if (ifrd && isIE) { ifrd.onload = function() { if(!loaded) { loaded = true; fillIframe(ifrd); } }; } else if (ifrd) { loaded = true; fillIframe(ifrd); } else if (maxRetryAttempts-- > 0) { setTimeout(pollIframe, 10); } };pollIframe(); })();