",{"id":"SIGNIN"}).html('
×
').appendTo("body");jQuery("#SIGNIN").on('click',function(e){closeLogin()})};var closeLogin=function(){jQuery("#SIGNIN").remove();jQuery("body").css("overflow","inherit")};var adjustLoginHeight=function(h){jQuery("#Oframe").height(h)};var login_success=function(sess){jQuery(".pelcro-login-button").html("MY ACCOUNT");closeLogin();jQuery.ajax({url:"https://myaccount."+document.domain+"/oauth/account",dataType:'json',xhrFields:{withCredentials:!0},crossDomain:!0,success:function(json){if(json.html){jQuery("body").append(json.html);if(getCookie('nwsucrp')){document.body.className+=' pelcro-subscribed'}}else{location.reload()}}})};!function(c){"use strict";function e(e,t,n,o){var r,i,d=c.document,a=d.createElement("link");i=t||(r=(d.body||d.getElementsByTagName("head")[0]).childNodes)[r.length-1];var f=d.styleSheets;if(o)for(var l in o)o.hasOwnProperty(l)&&a.setAttribute(l,o[l]);a.rel="stylesheet",a.href=e,a.media="only x",function e(t){if(d.body)return t();setTimeout(function(){e(t)})}(function(){i.parentNode.insertBefore(a,t?i:i.nextSibling)});var s=function(e){for(var t=a.href,n=f.length;n--;)if(f[n].href===t)return e();setTimeout(function(){s(e)})};function u(){a.addEventListener&&a.removeEventListener("load",u),a.media=n||"all"}return a.addEventListener&&a.addEventListener("load",u),(a.onloadcssdefined=s)(u),a}"undefined"!=typeof exports?exports.loadCSS=e:c.loadCSS=e}("undefined"!=typeof global?global:this);var login_success=function(sess){jQuery(".pelcro-login-button").html("MY ACCOUNT");jQuery(".remaining-articles .pelcro-login-button").remove();if(typeof run_metering=='function'){run_metering()}
jQuery(".wall .already").add(jQuery("#wall-option1")).remove();closeLogin();jQuery.ajax({url:"https://myaccount."+document.domain+"/oauth/account",dataType:'json',xhrFields:{withCredentials:!0},crossDomain:!0,success:function(json){if(json.html){jQuery("body").append(json.html);if(json.isSubscriber){document.body.className+=' pelcro-subscribed'}}else{deleteCookie('nwsubl');deleteCookie('nwsucrp');location.reload()}}})}