(function() { function bxBootstrap() { var re = /bot|crawl|slurp|spider|mediapartners|headlesschrome|snap-prefetch|remotasks|woorank|uptime\.com|facebookexternalhit|facebookcatalog/i; if (re.test(navigator.userAgent) || navigator.userAgent == '') { return; } if (!(window.bouncex&&bouncex.website)) { var pushedData = []; if(window.bouncex && bouncex.push && bouncex.length){ pushedData = bouncex; } window.bouncex = {}; bouncex.pushedData = pushedData; bouncex.website = {"id":1025,"name":"Pure Formulas","cookie_name":"bounceClientVisit1025","domain":"pureformulas.com","ct":"fp_local_storage","ally":1,"ei":1,"tcjs":"// localStorage.removeItem('bxProdHist');\n// localStorage.removeItem('bxCatHist');","cjs":"// /* enable.feature.DISABLE_RELOAD_CAMPAIGNS_V2 */\n\n// /*akosua: disable rewind for ie-sque browsers as it breaks their framework*/\n// if(bouncex.browser.android || bouncex.browser.ios){\n// bouncex.ca['back'] = function(){};\n// }\n\n// // function atcModalVisible(){\n// // return jQuery('[role=\"document\"] div:contains(\"added to Cart\"):visible').length > 0\n// // }\n\n// // bouncex.et.onVarChange(\"mobile_atc_visible\", function(){\n// // if(bouncex.website.pts === \"product\" && bouncex.cookie.d != \"d\"){\n// // // var qty = jQuery('[role=\"document\"] div:contains(\"added to Cart\"):first').text().match(/\\d+/)[0];\n// // var currValue = bouncex.vars.cart_value || 0;\n// // // var currQty = bouncex.vars.cart_qty || 0;\n// // // bouncex.setVar('cart_qty', currQty + Number(qty))\n// // bouncex.setVar('cart_value', currValue + bouncex.vars.product_price);\n// // bouncex.setBounceCookie();\n// // } else if(bouncex.website.pts === \"category\" && bouncex.cookie.d != \"d\"){\n// // var itemPrice = jQuery('button[data-th=\"add-to-cart\"]:hover').parent().find('div:contains(\"$\"):last').text();\n// // var currValue = bouncex.vars.cart_value || 0;\n// // bouncex.setVar('cart_value', currValue + bouncex.vars.product_price);\n// // bouncex.setBounceCookie();\n// // }\n// // })\n\n\n// // bouncex.et.onVisible(jQuery('[role=\"document\"] div:contains(\"added to Cart\"):visible'), function(){\n// // if(bouncex.website.pts === \"category\"){\n// // jQuery('button[data-th=\"add-to-cart\"]:hover').parent().find('div:contains(\"$\"):last').text()\n// // }\n// // });\n\n// // if(bouncex.cookie.d != \"d\"){\n// // bouncex.on(jQuery('button span:contains(\\\"Add to Cart\\\")'), 'click.bx touch.bx', function(){\n// // var itemPrice;\n// // if(bouncex.website.pts ===\"category\"){\n// // itemPrice = Number(jQuery(this).parent().parent().find('div:contains(\"$\"):last').text().match(/\\d+.\\d+/)[0]);\n// // } else if(bouncex.website.pts === \"product\"){\n// // itemPrice = Number(bouncex.vars.product_price);\n// // }\n// // // if(bouncex.testmode.bxdev){\n// // // debugger\n// // // }\n// // var currValue = bouncex.vars.cart_value || 0;\n \n// // bouncex.setVar('cart_value', JSON.stringify(currValue + itemPrice).toFixed(2));\n// // bouncex.setBounceCookie();\n \n// // })\n// // }\n\n\n// // R.L. & J.R. website CSS override for