'); jButton.click(function () { window.location.href = 'https://cem.com/en/request4quote/quote/add/product/' + productVal + qtyInp; return false; }); if ($jpprR4q('body.wishlist-shared-index').length && $jpprR4q(this).closest('.my-wishlist').length) { $jpprR4q(this).closest('tr').find('.link-wishlist').closest('td').append(jButton); } else { var nextDiv = getActionsDivRfq($jpprR4q(this), true); if (nextDiv.length > 0) { nextDiv.addClass('btn-cart-view'); nextDiv.after(jButton); } } } $jpprR4q(this).remove(); }); $jpprR4q('input[name="r4q_hidecart"]').each(function () { if (!$jpprR4q('#wishlist-view-form').length) { if ($jpprR4q(this).val() == '1') { $jpprR4q(this).parents('.item, .product-shop-container, .product-view, .product-shop, .product-shop-row, .add-to-row, .product_info_left').find('.btn-cart, .btn-cart1, .btn-cart-res, .btn-cart-view, .btn-primary').each(function () { if (!$jpprR4q(this).hasClass('btn-r4q')) { $jpprR4q(this).remove(); } }); } } }); }, 2000); } } }, false); open.call(this, method, url, async, user, pass); }; })(XMLHttpRequest.prototype.open);