function splitIndexSlots(){for(var e=new Array,t=new Array,n=0;n<index_slots.length;n++){var i=index_slots[n].split("_"),d=i.shift(),s=d,a=i.join("_");"O"==s?e.push(a):"P"==s&&t.push(a)}return[e,t]}function clearTargeting(e){for(var t=[],n=[],i=[],d=splitIndexSlots(),s=d[0],a=d[1],o=0;o<s.length;o++)s[o]!=e&&(t.push(s[o]),i.push("O_"+s[o]));for(var o=0;o<a.length;o++)a[o]!=e&&(n.push(a[o]),i.push("P_"+a[o]));index_slots=i,googletag&&googletag.pubads&&googletag.pubads().setTargeting&&(s.length>0?googletag.pubads().setTargeting("IOM",s):googletag.pubads().setTargeting("IOM",[]),a.length>0?googletag.pubads().setTargeting("IPM",a):googletag.pubads().setTargeting("IPM",[]))}function cygnus_index_judge(e){for(var t={},n=/^[OM]_(?:T([0-9])_)?(.*)_.*$/,i=[],d=0;d<e.length;d++)if("P"!==e[d].split("_")[0]){var s=n.exec(e[d]);if("undefined"!=typeof s&&null!==s){var a,o;if(a=s[1],o=s[2],("undefined"==typeof a||null===a)&&(a=0),t[o]=t[o]||{},"undefined"==typeof t[o].tier||t[o].tier<a){t[o].tier=a;var r=e[d];if(a>0){var _=e[d].split("_"),u=_.shift(),g=_.join("_");_.shift();var l=_.join("_");r=u+"_"+l,_IndexRequestData.targetIDToBid[l]=_IndexRequestData.targetIDToBid[g]}t[o].target=r}}}else i.push(e[d]);var p=[];for(var f in t)t.hasOwnProperty(f)!==!1&&p.push(t[f].target);return p.concat(i)}function cygnus_index_parse_res(e){try{if(e){if("object"!=typeof _IndexRequestData||"object"!=typeof _IndexRequestData.impIDToSlotID||"undefined"==typeof _IndexRequestData.impIDToSlotID[e.id])return;var t,n=0;"object"==typeof _IndexRequestData.reqOptions&&"object"==typeof _IndexRequestData.reqOptions[e.id]&&("function"==typeof _IndexRequestData.reqOptions[e.id].callback&&(t=_IndexRequestData.reqOptions[e.id].callback),"number"==typeof _IndexRequestData.reqOptions[e.id].targetMode&&(n=_IndexRequestData.reqOptions[e.id].targetMode)),_IndexRequestData.lastRequestID=e.id;for(var i=[],d="undefined"==typeof e.seatbid?0:e.seatbid.length,s=0;d>s;s++)for(var a=0;a<e.seatbid[s].bid.length;a++){var o=e.seatbid[s].bid[a];if("object"==typeof o.ext&&"string"==typeof o.ext.pricelevel&&"undefined"!=typeof _IndexRequestData.impIDToSlotID[e.id][o.impid]){var r=_IndexRequestData.impIDToSlotID[e.id][o.impid];"undefined"==typeof index_slots&&(index_slots=[]),"undefined"==typeof _IndexRequestData.targetIDToBid&&(_IndexRequestData.targetIDToBid={});var _,u;"string"==typeof o.ext.dealid?(_=1===n?r+o.ext.pricelevel:r+"_"+o.ext.dealid,u="P_"):(_=r+o.ext.pricelevel,u="O_"),index_slots.push(u+_),void 0===_IndexRequestData.targetIDToBid[_]?_IndexRequestData.targetIDToBid[_]=[o.adm]:_IndexRequestData.targetIDToBid[_].push(o.adm);var g={};g.impressionID=o.impid,"undefined"!=typeof o.ext.dealid&&(g.dealID=o.ext.dealid),g.bid=o.price,g.slotID=r,g.priceLevel=o.ext.pricelevel,g.target=u+_,i.push(g)}}"function"==typeof t&&(0===i.length?t(e.id):t(e.id,i)),index_slots=cygnus_index_judge(index_slots),cygnus_report("rb","RB="+index_slots.join())}}catch(l){}"undefined"==typeof index_slots&&(index_slots=[]),cygnus_index_set_targets()}function cygnus_index_set_targets(){"function"==typeof window.cygnus_index_ready_state&&window.cygnus_index_ready_state(),window.index_slots_last=index_slots,index_slots=[]}function cygnus_log(){}function index_render(e,t){"undefined"==typeof index_demand&&(index_demand={});for(var n=t.split("_"),i=n[0],d=0;d<index_slots_render.length;d++)if("string"==typeof index_slots_render[d]["O_"+t]){cygnus_log("unpack tier"+t),t=index_slots_render[d]["O_"+t];var s=t.split("_");t=s[1]+"_"+s[2]+"_"+s[3],i=s[1]+"_"+s[2]}cygnus_log("index_render: "+t);try{var a=_IndexRequestData.targetIDToBid[t].pop();null!=a?(e.write(a),cygnus_report("ri","RI="+t),cygnus_log("Logged demand for slot "+i),index_demand[i]=1,delete index_no_demand[i]):cygnus_report("rinull","RINULL="+t)}catch(o){}}function cygnus_report(e,t){}function cygnus_copy(e){var t=new Object;for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function getSlotInfo(e){for(var t=0;t<cygnus_index_args.slots.length;t++){var n=cygnus_index_args.slots[t];if(n.id==e)return n}}index_slot_to_size={},index_slots_render=[],index_slots_add=[];var cygnus_tid=4;cygnus_index_stats={sampling:{defaults:1,rd:.01,rb:.01,rdp:.01,ri:.1,rinull:1,gstatus:0}};
;cygnus_index_parse_res({"seatbid":[{"bid":[{"crid":"11178433","adomain":["infusium.com"],"adid":"11178433","impid":"1","cid":"2483805","id":"1","ext":{"dspid":129,"pricelevel":"_1","advbrandid":132354,"advbrand":"Helen of Troy Limited"},"adm":"<iframe src=\"https://a026.casalemedia.com/ifnotify?c=AA91C1&r=61DDD012&t=58A4897C&u=XzhjZjdjOTBhLTJ0bzdPbDVxRlZ5SWNy&m=6373156db201cb22e7c2e0891a8be6f7&wp=2&aid=37BB8F000D25C638&tid=CEB6&s=2906A&cp=0.02&n=www.nytimes.com&pr=xx&sid=23e8-26f7-2847-2947-2ee1&epr=654218409\" width=\"0\" height=\"0\" frameborder=\"0\" scrolling=\"no\" style=\"display:none;\" marginheight=\"0\" marginwidth=\"0\"></iframe><!doctype html public \"-//W3C//DTD HTML 4.0 Transitional//EN\"><html><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><title>Advert</title></head><body marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" leftmargin=\"0\"><div id=\"SM__afe__lid516105\" style=\"z-index:10; position:relative; width:728px\"><div id=\"SM__adt__51610544479251487178108612923037\"><script language=\"JavaScript\" type=\"text/javascript\" src=\"https://fw.adsafeprotected.com/rjss/bs.serving-sys.com/74896/13511592/BurstingPipe/adServer.bs?cn=rsb&c=28&pli=20188828&PluID=0&w=728&h=90&ord=1487178108&ucm=true&ncu=$$http://rtb-ids-e.vindicosuite.com/click/?v=5;m=3;l=516105;c=1004549;b=4447925;ts=1487178108;ui=A_2pk2zQFRx0ZSG40J8jUL7M_SQ9yqsttAjF3o80QJPL8js0YiXfYmAqL2TH5_UmUI8jGtIDUMAnW9AJ-N5j4Q;ad=CInAHxD-_AwY_TIgECgEMO6SATjLvQFAlq8TSLqXFlCFqD1Ytb2PAmAAaLuHJXABeAGIAQqQAQCYAQCiARMzNzk3MTYzMTcwOTQ2MDI3MjcwsgEIQ1JFQVRJVkW4AQDAAQPIARrQAQDYAQDoAaae5JWkKw;z=CIWoPRC1vY8CIhAzN0JCOEYwMDBEMjVDNjM4QLapPU01eI48VQrXozxdj8L1PGVQtNU8bTV4jjx1ULTVPH1QtNU80AEA2AEA4AEA6AED8AEa_QFQtNU8igILbnl0aW1lcy5jb22QAgCYAgCiAgYxODM3NjC1AlC01Ty9AjV4jjzQAgA;xid=3797163170946027270;wep=viant-index-east.ntoggle.com/w?aid=37BB8F000D25C638;ep=1;dct=$$\"></script><script language=\"JavaScript\" type=\"text/javascript\" src=\"https://sdk.vindicosuite.com/verify_selector.js?event=1&iid=SM__adt__51610544479251487178108612923037&pid=0&lid=0&clid=3&aid=0&cid=0&crid=0&pt=3&ppid=1&pioid=&pbkid=317334&pcid=1004549&plid=516105&dur=0&adw=728&adh=90&uebu=https%3A%2F%2Frtb-ids-e.vindicosuite.com%2Fevent%2F%3Fe%3D%24SUGR_CUSTOM_EVENT_ID%24%3Bl%3D516105%3Bb%3D4447925%3Bc%3D1004549%3Bsmuid%3D%3Bmsd%3D%3Bta%3D1487178108%3Btk%3D70042%3Bcr%3D3921813908%3Bad%3DCInAHxD-_AwY_TIgECgEMO6SATjLvQFAlq8TSLqXFlCFqD1Ytb2PAmAAaLuHJXABeAGIAQqQAQCYAQCiARMzNzk3MTYzMTcwOTQ2MDI3MjcwsgEIQ1JFQVRJVkW4AQDAAQPIARrQAQDYAQDoAaae5JWkKw%3Bz%3DCIWoPRC1vY8CIhAzN0JCOEYwMDBEMjVDNjM4QLapPU01eI48VQrXozxdj8L1PGVQtNU8bTV4jjx1ULTVPH1QtNU80AEA2AEA4AEA6AED8AEa_QFQtNU8igILbnl0aW1lcy5jb22QAgCYAgCiAgYxODM3NjC1AlC01Ty9AjV4jjzQAgA%3Bxid%3D3797163170946027270%3Bwep%3Dviant-index-east.ntoggle.com%2Fw%3Faid%3D37BB8F000D25C638%3Bdcr%3D1%3Beav%3D%24SUGR_EVENT_ARGUMENT%24%3B%24SUGR_EVENT_PARAM%24%3Beov%3D%24SUGR_EVENT_OBJ%24%3Bmpws%3D%24SUGR_AD_WIDTH%24%3Bmphs%3D%24SUGR_AD_HEIGHT%24%3Bdsd%3D%24SUGR_DETERMINED_DOMAIN%24%3Bsnvs%3D%24SNAP_IN_VIEW%24%3Bsls%3D%24APP_SUGR_LOCATION%24%3Bsvn%3D%24APP_SUGR_VERSION%24%3Bals%3D%24APP_ADT_LOCATION%24%3Bavn%3D%24APP_ADT_VERSION%24%3Bspr%3D%24SUGR_QUERY_PARAMETERS%24&rn=1487178108\"></script></div></div><script language='javascript' type='text/javascript'>(function adchoices(w,n,d) {\r\n\t\t\t\r\n\tvar options = o = {\r\n\t\tid:'SM__afe__lid516105', //id of the ad container; adchoices will be appended to the corner of this element\r\n\t\tcorner:'tr', //corner of the container to place adchoices; options are: tr, tl, br, bl\r\n\t\tlanguage:null, //changing this setting will override the language regardless of browser / os settings\r\n\t\turl:'http://corp.specificmedia.com/sites/privacy/?cid=1004549&bid=4447925&lid=516105',\r\n\t\tnetworkId: 4\r\n\t};\r\n\t\t\r\n\t//language settings\r\n\tvar lang = (n.language !== undefined) ? n.language : (n.userLanguage !== null) ? n.userLanguage : false;\r\n\tif (!lang) {\r\n\t\tvar language = 'en';\r\n\t} else {\r\n\t\tvar locale\t\t\t= lang.match(/(\\w{2})-(\\w{2})/);\r\n        if (!locale) {\r\n            locale = [lang + '-' + lang, lang, lang];\r\n        }\r\n        var\tculture\t\t\t= locale[2].toLowerCase(),\r\n\t\t\tlanguage\t\t= (o.language != null) ? o.language : (locale[1] !== undefined) ? locale[1] : 'en',\r\n\t\t\tlocalization\t= culture + '-' + language,\r\n\t\t\tlandingURI\t\t= null;\r\n\r\n\t\tif (localization.match(/^be-fr$|^be-nl$|^ch-de$|^ch-fr$|^ch-it$/) !== null) {//map to localization\r\n\t\t\tlandingURI = language = localization;\r\n\t\t} else if (localization.match(/^at-de$|^ie-en$/) !== null) {//map to culture\r\n\t\t\tlandingURI = culture, language = localization;\r\n\t\t} else if(language.match(/fr|de|it|nl|bg|hr|fi|hu|is|lt|lv|pl|pt|ro|sk|sl|es/) !== null)  {//pass through to lang\r\n\t\t\tlandingURI = language;\r\n\t\t\tif (language.match(/hr|is|lt|lv|pt|sl/) !== null) {//no translated icons\r\n\t\t\t\tlanguage = 'en';\r\n\t\t\t}\r\n\t\t} else if(language.match(/da|el|no|sv|cs|et|mt/) !== null) {//map to new code\r\n\t\t\tlandingURI = \r\n\t\t\t\t(language == 'da') ? 'den' : \r\n\t\t\t\t\t(language == 'el') ? 'gr' : \r\n\t\t\t\t\t\t(language == 'no') ? 'nor' : \r\n\t\t\t\t\t\t\t(language == 'sv') ? 'se' : \r\n\t\t\t\t\t\t\t\t(language == 'cs') ? 'cz' : \r\n\t\t\t\t\t\t\t\t\t(language == 'et') ? 'ee' : \r\n\t\t\t\t\t\t\t\t\t\t(language == 'mt') ? 'ma' : 'uk';\r\n\t\t} else {//default to uk / en\r\n\t\t\tlandingURI = 'uk', language = 'en';\r\n\t\t}\r\n\t}\r\n\t\t\t\t\r\n\t//landing page\r\n\tvar landing;\r\n\tif (o.networkId !== 4) {\r\n\t\tlanding = 'http://youronlinechoices.com/' + landingURI;\r\n\t} else {\r\n\t\tlanding = (o.url !== '') ? o.url : 'http://specificmedia.com/sites/privacy';\r\n\t}\r\n\t\t\t\t\r\n\t//icon placement\r\n\tvar positions = {\r\n\t\t'tl': {\t'position': { 'top':'0px', 'left':'0px' }, 'bgposition':'bottom right' }, \r\n\t\t'tr': {\t'position': { 'top':'0px', 'right':'0px'}, 'bgposition':'bottom left' },\r\n\t\t'bl': {\t'position': { 'bottom':'0px', 'left':'0px' }, 'bgposition':'top right' },\t\t\t\t\r\n\t\t'br': {\t'position': { 'bottom':'0px', 'right':'0px'\t}, 'bgposition':'top left' }\r\n\t};\r\n\t\t\t\t\r\n\tvar p = (o.corner == 'tr') ? \r\n\t\t\tpositions.tr : (o.corner == 'tl') ? \r\n\t\t\t\tpositions.tl : (o.corner == 'br') ? \r\n\t\t\t\t\tpositions.br : (o.corner == 'bl') ? \r\n\t\t\t\t\t\tpositions.bl : positions.tr;\r\n\t\t\t\t\r\n\t//ad choices & bg\r\n\tvar container = d.getElementById(o.id), ac = d.createElement('div'), acbg = d.createElement('div');\r\n\r\n\t//icon\r\n\tac.style.background = 'url(//cache.specificmedia.com/otherassets/adchoices/adchoices.' + language + '.png) no-repeat scroll right transparent';\r\n\tac.style.height = '15px';\r\n\tac.style.marginTop = '1px';\r\n\t\t\t\t\r\n    //bg\r\n\tacbg.style.cursor = 'pointer';\r\n\tacbg.style.zIndex = 2147483647;\r\n    acbg.style.position = 'absolute';\t    \r\n    acbg.style.width = '18px';\r\n    acbg.style.height = '17px';\r\n\tacbg.style.background = 'url(//cache.specificmedia.com/otherassets/adchoices/bg.png) no-repeat scroll ' + p.bgposition + ' transparent';\r\n\r\n\tif (p.position.top != null) { acbg.style.top = p.position.top; }\r\n\tif (p.position.right != null) { acbg.style.right = p.position.right; }\r\n    if (p.position.bottom != null) { acbg.style.bottom = p.position.bottom; }\r\n    if (p.position.left != null) { acbg.style.left = p.position.left; }\r\n\t\t\t\t\r\n    //bg binds\r\n    acbg.onmouseover = function(e) {\r\n    \tacbg.style.width = (language.match(/^uk-en$|^ie-en$|^ch-it$|fi|sk|hu|en|sv|pl|it|ro|nl|et|mt/) !== null) ? '73px' : \r\n    \t\t\t\t\t\t\t(language.match(/^ch-de$|^at-de$|^ch-fr$|^be-fr$|de|bg|fr|cs|no|da/) !== null) ? '93px' : '105px'\r\n    };\r\n    acbg.onmouseout = function(e) {\r\n    \tacbg.style.width = '18px';\r\n    }\r\n    acbg.onclick = function(e) {\r\n    \tw.open(landing);    \t\r\n        if (!e) { \r\n        \tvar e = window.event; \r\n        }\r\n\t        \r\n        e.cancelBubble = true;\r\n        if (e.stopPropagation) {\r\n        \te.stopPropagation();\r\n        }\r\n\t        \r\n        return false;\r\n    }\r\n\t\t\t\t\t    \r\n    //appending\r\n    acbg.appendChild(ac);\r\n    container.appendChild(acbg);\r\n})(window, window.navigator, document);\r\n</script><script language=\"JavaScript\" type=\"text/javascript\" src=\"https://pixel.adsafeprotected.com/bapi?anId=923702&advId=18798&campId=1004549&pubId=072ECAE14FC3604CC144BEBD21E8FD18&chanId=dada3b3a5e6a155c8872bf1b998a7418&placementId=516105&impID=3797163170946027270\"></script><script language=\"JavaScript\" type=\"text/javascript\" src=\"https://rtb-ids-e.vindicosuite.com/event/e=52;l=516105;b=4447925;c=1004549;xid=3797163170946027270;smuid=;ts=1487178108\"></script><script language=\"JavaScript\" type=\"text/javascript\" src=\"https://viant-index-east.ntoggle.com/w?aid=37BB8F000D25C638\"></script><iframe style=\"position: absolute; display:none\" src=\"https://rtb-ids-e.vindicosuite.com/dserve/t=d;l=516105;c=1004549;b=4447925;ta=5326141;cr=3537122931;rp=0.02;ad=CInAHxD-_AwY_TIgECgEMO6SATjLvQFAlq8TSLqXFlCFqD1Ytb2PAmAAaLuHJXABeAGIAQqQAQCYAQCiARMzNzk3MTYzMTcwOTQ2MDI3MjcwsgEIQ1JFQVRJVkW4AQDAAQPIARrQAQDYAQDoAaae5JWkKw;z=CIWoPRC1vY8CIhAzN0JCOEYwMDBEMjVDNjM4QLapPU01eI48VQrXozxdj8L1PGVQtNU8bTV4jjx1ULTVPH1QtNU80AEA2AEA4AEA6AED8AEa_QFQtNU8igILbnl0aW1lcy5jb22QAgCYAgCiAgYxODM3NjC1AlC01Ty9AjV4jjzQAgA;xid=3797163170946027270;wep=viant-index-east.ntoggle.com/w?aid=37BB8F000D25C638;ts=1487178108\" width=\"1\" height=\"1\" marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" leftmargin=\"0\" frameborder=\"0\" scrolling=\"no\" bordercolor=\"#000000\"></iframe></body></html>"}],"seat":"1"}],"cur":"USD","id":654218409});