`;
$('a.globalNavBannerLink').html(msgElem2);
$("a.globalNavBanner").on("click", function(){
set_cookie("globalNavBanner__na_text");
});
$(this).removeClass('hidden');
} else {
$( ".cqGlobalNavBanner" ).hide();
};
});
}());
$(function() {
if (window.location.href.indexOf("barnesandnoble.com/w/") > -1){
var pCategory = digitalData.product[0].category.primaryCategory.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, '-').toLowerCase();
if (pCategory.length > 0){
sessionStorage.setItem('optPrimaryCategory', pCategory);
sessionStorage.setItem('optDDprimaryCategory', pCategory);
}else{
sessionStorage.setItem('optPrimaryCategory', 'none');
sessionStorage.setItem('optDDprimaryCategory', 'none');
}
var optDDproductType = digitalData.product[0].category.productType.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, '-').toLowerCase();
if (optDDproductType.length > 0){
sessionStorage.setItem('optDDproductType', optDDproductType);
}else{
sessionStorage.setItem('optDDproductType', 'none');
}
}
});
Sorry, we couldn't find what you're looking for. Please try another search or browse our recommendations below.