(function () { var revDiv = document.querySelector('script[id="rc_531"]').parentNode; var appendRcel = function(url) { var rcel = document.createElement("script"); rcel.id = 'rc_' + Math.floor(Math.random() * 1000); rcel.type = 'text/javascript'; url += '&criteo=true'; rcel.src = url; rcel.async = true; revDiv.appendChild(rcel); } var callRev_rc_531 = function(response) { var url = '//trends.revcontent.com/serve.js.php?w=114267&t=rc_531&c=1576161256956&width=1024&referer=https%3A%2F%2Fwww.history.com%2Fnews%2Fwomen-fought-armed-forces-war-service'; url += '&site_url=' + encodeURIComponent(window.location.href.substr(0,700)); try { if(Array.isArray(response)) { response = revMap(response); } else { response = ''; } var rcxhr = new XMLHttpRequest(); rcxhr.onreadystatechange = function() { if (rcxhr.readyState == 4) { var rcel = document.createElement("script"); rcel.type = 'text/javascript'; rcel.text = rcxhr.responseText; rcel.async = true; revDiv.appendChild(rcel); } } rcxhr.open("POST", url, true); rcxhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); rcxhr.withCredentials = true; rcxhr.send('criteo=' + response); rcxhr.onerror = function() { appendRcel(url); } } catch(e) { appendRcel(url); } }; (function () { var pxl = function(data) { var p = document.createElement('img'); p.src = data.src + '&rev_dt=1576161258'; p.style.display = 'none'; revDiv.appendChild(p); if (data.retry) { data.retry--; p.onload = function() { setTimeout(function() { pxl(data); }, 50); }; } }; pxl({ retry: false, src: "https://b1sync.zemanta.com/usersync/revcontent/?puid=ZjNjODc4NTdmNjU1NmY2ODJiNDVjYTk3MmZmOTc0NjU%3D&cb=https%3A%2F%2Fcm.revcontent.com%2Fpixel_sync%3Fexchange_uid%3DZjNjODc4NTdmNjU1NmY2ODJiNDVjYTk3MmZmOTc0NjU%253D%26bidder%3D3%26bidder_uid%3D__ZUID__" }); pxl({ retry: false, src: "https://rtb.mfadsrvr.com/sync?ssp=revcontent&ssp_user_id=ZjNjODc4NTdmNjU1NmY2ODJiNDVjYTk3MmZmOTc0NjU%3D" }); }()); callRev_rc_531(); })();