",{"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(".sign-up").html("LOGOUT").on('click',function(){location.href="https://signin."+document.domain+"/oauth/logout"});closeLogin();jQuery.ajax({url:"https://signin."+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 ibtGetCookie(t){return getCookie(t)||""};function ibt_log(){if(hb_debug){var a=[].slice.call(arguments);a.unshift('|IBT|');console.log.apply(console,a)}};function LPJ(u,e){var b=!1,d=document,l=d.createElement('link'),c=d.getElementsByTagName('link')[0];l.setAttribute('rel','preload');l.setAttribute('as','script');l.setAttribute('href',u);"undefined"!=typeof e&&(l.onload=l.onreadystatechange=function(){b||this.readyState&&"complete"!=this.readyState||(b=!0,e())});c.parentNode.insertBefore(l,c)}
var loadJS=function(arr,c){LJ(arr[0],function(){if(arr.length>1){arr.shift();loadJS(arr,c)}else c()})};var GCSS=function(u){var x=new XMLHttpRequest();x.open('GET',u);x.send(null);x.onreadystatechange=function(){if(x.readyState===4&&x.status===200){var o=document.createElement("style");o.innerHTML=x.responseText;document.getElementsByTagName('head')[0].appendChild(o)}}};window.addEventListener('message',function(event){if(event.origin.indexOf(location.host.replace(/www1?\./,''))>-1){if(event.data=='GetFQ')event.source.postMessage('NoPassFQ='+NoPassFQ,event.origin);}});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()}}})};function ibtGetCookie(t){return getCookie(t)||""};function ibt_log(){if(hb_debug){var a=[].slice.call(arguments);a.unshift('|IBT|');console.log.apply(console,a)}};function LPJ(u){var d=document,l=d.createElement('link'),c=d.getElementsByTagName('link')[0];l.setAttribute('rel','preload');l.setAttribute('as','script');l.setAttribute('href',u);c.parentNode.insertBefore(l,c)}
var loadJS=function(arr,c){LJ(arr[0],function(){if(arr.length>1){arr.shift();loadJS(arr,c)}else c()})};var GCSS=function(u){var x=new XMLHttpRequest();x.open('GET',u);x.send(null);x.onreadystatechange=function(){if(x.readyState===4&&x.status===200){var o=document.createElement("style");o.innerHTML=x.responseText;document.getElementsByTagName('head')[0].appendChild(o)}}};window.addEventListener('message',function(event){if(event.origin.indexOf(location.host.replace(/www1?\./,''))>-1){if(event.data=='GetFQ')event.source.postMessage('NoPassFQ='+NoPassFQ,event.origin);}});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()}}})}