",{"id":"SIGNIN"}).html('
×
').appendTo("body");jQuery("#SIGNIN").on('click',function(e){closeLogin()})},closeLogin=function(){jQuery("#SIGNIN").remove();jQuery("body").css("overflow","inherit")},adjustLoginHeight=function(h){jQuery("#Oframe").height(h)},login_success=function(sess){jQuery(".sign-up").html("LOGOUT").on('click',function(){location.href="https://signin."+DOMAIN+"/oauth/logout"});closeLogin()},LANG='en',commentHeight=function(data){jQuery("#block-ibt-comment iframe").height(data.height)};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()}}})}
Wednesday, December 4, 2024