Weekly Review: Municipal Bond CEFs - Pressure For The Sector After The Treasury Yields Increase
(function(){
function readCookie(name){
var match = document.cookie.match(new RegExp('(?:^|;)\\s*' + name + '=([^;]*)(?:;|$)'));
return match && match[1];
}
function embargoRedirect(){
location.href = "/embargo/4306508" + location.search + location.hash;
}
function checkAuthor(userId){
return [30934865].includes(parseInt(userId));
}
function shouldRedirect(){
var userId = readCookie('userid');
if (!userId) return false;
var articleId = "4306508";
//user has permissions for this article
if (checkAuthor(userId)) {
return true;
}
var arSlugs = "arbitrage-trader";
if(arSlugs !== ""){
var arSubscriptions = readCookie('marketplaceauthorslugs');
arSlugs = arSlugs.split(',');
if (arSubscriptions) {
for (var i = 0; i < arSlugs.length; i++) {
if (arSubscriptions.indexOf(arSlugs[i]) > -1) {
return true;
}
}
}
}
if ("false" === "true" && !/\/symbol\//i.test(document.referrer)){
document.cookie = "unlockap=4306508; path=/embargo";
return true;
}
return false;
}
if (shouldRedirect()){
embargoRedirect();
}
})();(function(w) {
var getParam = function (name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^]*)"),
results = regex.exec(w.location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
},
rc = function(n) {
var c = document.cookie.match(new RegExp('(^|;)\\s*' + escape(n) + '=([^;\\s]*)'));
return (c ? unescape(c[2]) : null);
},
paginate... Read more