(function() { // Set the pdUid cookie with session-level expiration (no explicit expiration date) document.cookie = "pdUid=false; path=/; domain=skin-etc.com; SameSite=Lax"; })();console.log('uid='); //*** time check 1 (0.08885s elapsed) //*** time check 2 (0.08888s elapsed) //*** JJ itemId=cyinpico //*** pageType=product //*** time check 3 (0.09083s elapsed) //*** forceOutOfStock=false //*** time check 4 (0.09647s elapsed) //*** public_mod_structuredData_renderJsonByItemId found //*** public_mod_structuredData enabled var script = document.createElement('script'); script.setAttribute('type', 'application/ld+json'); script.innerHTML = "{\"@context\":\"http:\\/\\/schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@id\":\"https:\\/\\/www.skin-etc.com\\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\\/\\/www.skin-etc.com\\/concerns.html\",\"name\":\"Concerns\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@id\":\"https:\\/\\/www.skin-etc.com\\/hyperpigmentation.html\",\"name\":\"Hyperpigmentation\"}},{\"@type\":\"ListItem\",\"position\":4,\"item\":{\"@id\":\"https:\\/\\/www.skin-etc.com\\/cyinpico.html\",\"name\":\"Cyspera Intensive Pigment Corrector\"}}]}" document.getElementsByTagName('head')[0].appendChild(script); ; var script = document.createElement('script'); script.setAttribute('type', 'application/ld+json'); script.innerHTML = "{\"@context\":\"http:\\/\\/schema.org\",\"@type\":\"Product\",\"offers\":{\"@type\":\"Offer\",\"price\":\"140.00\",\"priceCurrency\":\"USD\",\"priceValidUntil\":\"2026-03-25\",\"seller\":{\"@type\":\"Organization\",\"name\":\"Skin-Etc.com\"},\"@id\":\"https:\\/\\/www.skin-etc.com\\/cyinpico.html#offers\",\"url\":\"https:\\/\\/www.skin-etc.com\\/cyinpico.html\",\"itemCondition\":\"NewCondition\",\"availability\":\"InStock\"},\"name\":\"Cyspera Intensive Pigment Corrector\",\"description\":\"Don\'t let discoloration get you down! Cyspera may just lighten your mood. Make a Move to Even Skin Tone Managing skin discoloration can be frustrating, especially for women with darker skin tones. Now you can feel more confident in your appearance with Cyspera, a novel intensive pigment corrector. Cyspera (formerly known as Cysteamine) is the first and only Pigment Corrector that contains a patented stabilized Cysteamine Hydrochloride (HCI) to diminish the appearance of persistent brown patches and dark spots. HCI, discovered 50 years ago, is an endogenous aminothiol found in animal tissue (most abundant in human breast milk), that functions in a dual pathway to inhibit tyrosinase* and deliver a powerful antioxidant effect that has been clinically studied to minimize stubborn skin discoloration. Cyspera\'s success is due to its impressive results, similar to HQ, but differs having a much more comprehensible compliance protocol and safety profile. Cyspera does not contain exfoliants, retinoids or other ingredients that are known to cause sun sensitivity, making it ideal for all skin tones, including darker Fitzpatrick skin types. Thanks to cysteamine, Cyspera has no side effects after long term use! The powerful ingredient improves the appearance of brown patches + dark spots AND minimizes the recurrence of skin discoloration with continued use. Delivers multiple key benefits Effectively improves the appearance of persistent brown patches and dark spots Minimizes the recurrence of skin discoloration with continued use Well tolerated for long term use Formulated without hydroquinone or retinol The Ideal Candidate for Cyspera Patients with symmetrical, irregular patches of brown pigmentation that appear mostly on the cheeks, forehead, nose, and upper lip. Cyspera is a short-contact product, used for 15 minutes a day, then removed by cleansing, which makes it convenient to incorporate into your skin care regimen. It is not necessary to cleanse the skin before applying Cyspera, but it must be removed by cleansing afterward, followed by the application of a hydrating moisturizer and the use of an SPF of 30 or higher during the day. *Melanin in the skin is responsible for the pigmentation of our skin. Melanin is produced by cells called melanocytes located mainly in the epidermis of the skin. The key step in melanin formation is controlled by an enzyme called tyrosinase. Majority of pigment busters block tyrosinase and are known as tyrosinase inhibitors. TIPS: When Cyspera is teamed up with Sente Dermal Repair Cream, it deeply hydrates irritated skin. This powerful combo significantly reduces the risk of an inflammatory response that can trigger pigmentary flare ups! This game-changing duo packs a powerful punch against inflammation and pigmentation, resulting in glowy, hydrated and more-even looking skin.\",\"brand\":{\"@type\":\"Brand\",\"name\":\"cyspera\"},\"image\":\"https:\\/\\/images.practicaldatacore.com\\/skin-etc\\/getProductImage.php?size=imageMedium&cb=1774051704&productId=cyinpico\",\"sku\":\"CYSP-100\",\"@id\":\"https:\\/\\/www.skin-etc.com\\/cyinpico.html#product\",\"gtin12\":\"7610136603506\"}" document.getElementsByTagName('head')[0].appendChild(script); ; //*** time check 5 (0.31222s elapsed) //*** mod_storeClosed called //*** time check 6 (0.32294s elapsed) //*** mod_specialAccess //*** time check 7 (0.34995s elapsed) var pdServerTime = new Date("2026-03-22T12:10:22-05:00"); var pdProductId = "cyinpico"; var pdProductCode = "CYSP-100"; //************************************************ //************ JS/CSS FILE ROUTINES ************* //************************************************ function pdLoadJsCssFile(filename, filetype){ if (filetype=="js") { var fileref=document.createElement('script'); fileref.setAttribute("type","text/javascript"); fileref.setAttribute("async",true); fileref.setAttribute("src", filename); } else if (filetype=="css") { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", filename); } if (typeof fileref!="undefined") document.getElementsByTagName("head")[0].appendChild(fileref); } function pdAddStyle(css) { var style = document.createElement("style"); style.innerHTML = css; document.getElementsByTagName("body")[0].appendChild(style); } //*** time check 8 (0.34997s elapsed) /* pdGetElementsByClassName -- Revised to avoid JS conflicts with libraries that override native "getElementsByClassName" browser function in IE Developed by Robert Nyman, http://www.robertnyman.com Code/licensing: http://code.google.com/p/getelementsbyclassname/ */ var pdGetElementsByClassName = function (className, tag, elm){ var ieVersion = getInternetExplorerVersion(); if (ieVersion == -1 && document.getElementsByClassName) { pdGetElementsByClassName = function (className, tag, elm) { elm = elm || document; var elements = elm.getElementsByClassName(className), nodeName = (tag)? new RegExp("\b" + tag + "\b", "i") : null, returnElements = [], current; for(var i=0, il=elements.length; i -1) { if(signatureList[i] == 'android') { //*** ONLY CONSIDER android a mobile device if "mobile" is also present in user agent string if(agent.indexOf("mobile") > -1) isMobile = true; } else { isMobile = true; } } } return isMobile; } function pdIsIpad() { var isIpad = false; var signatureList = new Array('ipad'); var agent = navigator.userAgent.toLowerCase(); for(var i=0;i -1) isIpad = true; } return isIpad; } function pdIsTablet() { var isTablet = false; var signatureList = new Array('ipad', 'android'); var agent = navigator.userAgent.toLowerCase(); for(var i=0;i -1) { isTablet = true; //*** ASSUME TABLET if(signatureList[i] == 'android') { //*** ONLY CONSIDER android a mobile device if "mobile" is also present in user agent string if(agent.indexOf("mobile") > -1) isTablet = false; } else { isTablet = true; } } } return isTablet; } function pdFormatCurrency(num, includeDollarSign) { num = num.toString().replace(/$|\,/g,''); if(isNaN(num)) num = "0"; sign = (num == (num = Math.abs(num))); num = Math.floor(num*100+0.50000000001); cents = num%100; num = Math.floor(num/100).toString(); if(cents<10) cents = "0" + cents; for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++) num = num.substring(0,num.length-(4*i+3))+','+ num.substring(num.length-(4*i+3)); var returnValue = (((sign)?'':'-') + num + '.' + cents); if(includeDollarSign == true) returnValue = "$" + returnValue; return returnValue; } function pdFindParentForm(element) { var elm,parentForm; for (elm = element.parentNode; elm; elm = elm.parentNode) { if(elm.tagName.toLowerCase() == "form") { parentForm = elm; break; } } return parentForm; } function pdHideForLoggedInUser() { var hideList = pdGetElementsByClassName("pdHideForLoggedInUser", null); for(var i=0;i")+1); } var data = jQuery.parseJSON(response); console.log(data); if (data['loggedIn'] == true){ jQuery(pdAddToFavoritesButton).addClass("is-favorite"); console.log("Success adding to favorites"); } else{ console.log("User not logged in adding to favorites"); } }, 'error': function(xhr, status, error){ var errorMessage = xhr.status + ': ' + xhr.statusText console.log('Error - ' + errorMessage); } }); }); function pdAddToFavorites(orderForm,index,productUrl) { var pdAddToFavoritesAction = "https://myaccount.skin-etc.com/mod_favorites/favoritesAddItem.php"; if(pdIsBlank(index)) index = 0; var item = "vwitem" + index; var itemAttr = "vwattr" + index + "_"; //*** CAN'T FIND MULTIFORM ELEMENT? FALL BACK TO SINGLE ITEM CASE if(typeof orderForm[item] == "undefined") { item = "item"; itemAttr = "vwattr_"; } //******** ATTACH PRODUCT ID INPUT ************** if(item != "item") { var inputProductId = document.createElement("INPUT"); inputProductId.type = "hidden"; inputProductId.name = "add-single-favorites"; inputProductId.value = index; orderForm.appendChild(inputProductId); } if(productUrl == "autoDetect") productUrl = String(document.location); if(!pdIsBlank(productUrl)) { var inputOptions = document.createElement("INPUT"); inputOptions.type = "hidden"; inputOptions.name = "productUrl"; inputOptions.value = productUrl; orderForm.appendChild(inputOptions); } var tempAction = orderForm.action; var copiedQueryString = ""; var queryStringPosition = tempAction.indexOf("?"); if(queryStringPosition > -1) { copiedQueryString = tempAction.substring(queryStringPosition, tempAction.length); copiedQueryString = copiedQueryString.replace("+", "%20"); } orderForm.action=pdAddToFavoritesAction + copiedQueryString; if(orderForm.target != "_top") orderForm.target = ""; //*** COMPAT W/ SCFC orderForm.submit(); orderForm.action = tempAction; orderForm.removeChild(inputProductId); orderForm.removeChild(inputOptions); return false; } //*** mod_favorites enabled //*** public_mod_favorites_renderAddToFavoritesButton found jQuery(document).ready(function(){ jQuery(".pdAddToFavWrap").each(function(){ var itemId = jQuery(this).attr("data-itemid"); var productId = jQuery(this).attr("productId"); var item; if(!isBlank(itemId)){ item = itemId; }else{ item = productId; } var orderForm = jQuery(this).parents('form:first'); jQuery(this).removeAttr('onClick'); var pdAddToFavoritesButton = jQuery(this); optionString = jQuery(orderForm).serialize(); var data = { vwitem: item, productOptionList: optionString } jQuery.ajax({ // 'async': false, 'global': false, 'xhrFields': {withCredentials: true}, 'type': "POST", 'url': "https://myaccount.skin-etc.com//mod_favorites/ajax/favoritesCheckItemFavorited.php?isCategory=false", 'data': data, 'crossDomain': true, 'success': function (response) { var data = jQuery.parseJSON(response); if (data['loggedIn'] == true){ if (data['message'] == 'success'){ jQuery(pdAddToFavoritesButton).html('
Add to Favorites
'); } else if (data['error'] == ""){ jQuery(pdAddToFavoritesButton).html(data['message']); // jQuery(pdAddToFavoritesButton).prop("onclick",null).off("click"); } else { jQuery(pdAddToFavoritesButton).html('
Add to Favorites
'); } } else{ window.location.href = data['message']; } }, 'error': function(xhr, status, error){ var errorMessage = xhr.status + ': ' + xhr.statusText console.log('Error - ' + errorMessage); } }); }); }); jQuery(document).on("click", ".pdAddToFavWrap", function (event) { var itemId = jQuery(this).attr("data-itemid"); var productId = jQuery(this).attr("productId"); var item; if(!isBlank(itemId)){ item = itemId; }else{ item = productId; } var orderForm = jQuery(this).parents('form:first'); var pdAddToFavoritesButton = jQuery(this); optionString = jQuery(orderForm).serialize(); var data = { vwitem: item, productOptionList: optionString } //**** IF ITEM IS ALREADY FAVORITED, DISABLE ACTIONS AND DIRECT TO CUSTOMER FAVORITES *** var pdItemAlreadyInFavorites = jQuery(this).children("div").hasClass("pdAddToFavExists"); var pdErrorAddingToFavorites = jQuery(this).children("div").hasClass("pdAddToFavError"); var pdItemAddedToFavorites = jQuery(this).children("div").hasClass("pdAddToFavSuccess"); var pdItemAlreadyInFavoritesSection = jQuery(this).children("div").hasClass("pdAddToFavExistsSection"); var pdErrorAddingToFavoritesSection = jQuery(this).children("div").hasClass("pdAddToFavErrorSection"); var pdItemAddedToFavoritesSection = jQuery(this).children("div").hasClass("pdAddToFavSuccessSection"); if(pdItemAlreadyInFavorites == true || pdErrorAddingToFavorites == true || pdItemAddedToFavorites == true || pdItemAlreadyInFavoritesSection == true || pdErrorAddingToFavoritesSection == true || pdItemAddedToFavoritesSection == true){ console.log("Item is already in customer favorites"); pdItemAddedToFavorites window.location.href = "https://myaccount.skin-etc.com//mod_favorites/favorites.php"; return false; } jQuery.ajax({ // 'async': false, 'global': false, 'xhrFields': {withCredentials: true}, 'type': "POST", 'url': "https://myaccount.skin-etc.com//mod_favorites/ajax/favoritesAddItemNew.php?isCategory=false", 'data': data, 'crossDomain': true, 'success': function (response) { if (response.indexOf("<") == 0){ response = response.slice(response.indexOf(">")+1); } var data = jQuery.parseJSON(response); // console.log(data); if (data['loggedIn'] == true){ jQuery(pdAddToFavoritesButton).html(data['message']); } else{ window.location.href = data['message'] + "?productList=" + encodeURIComponent(data['productList']); } }, 'error': function(xhr, status, error){ var errorMessage = xhr.status + ': ' + xhr.statusText console.log('Error - ' + errorMessage); } }); event.stopPropagation(); event.preventDefault(); }); //*** time check 13 (0.44329s elapsed) //*** time check 14 (0.44329s elapsed) var pdOneBannerEl = document.getElementById('pd_pdOneBanner'); if (pdOneBannerEl) { //*** BANNER ALREADY EXISTS, DO NOT RE-INSERT } else { pdOneBannerEl = document.createElement('div'); pdOneBannerEl.id = 'pd_pdOneBanner'; if (document.body && document.body.firstChild) { document.body.insertBefore(pdOneBannerEl, document.body.firstChild); } else if (document.body) { document.body.appendChild(pdOneBannerEl); } } if (pdOneBannerEl) { pdOneBannerEl.innerHTML = " Account Account "; } //*** time check 15 (1.37129s elapsed) if (typeof pdPerformLoginActions === "function") { pdPerformLoginActions(false); } //*** time check 16 (1.3722s elapsed) //*** time check 17 (1.37223s elapsed) //*** time check 18 (1.37224s elapsed) //*** time check 19 (1.37224s elapsed) //*** time check 20 (1.37323s elapsed) //*** time check 21 (1.37402s elapsed) //*** time check 22 (1.37681s elapsed) //********************************* //*** BEGIN mod_promotionCenter *** //********************************* //*** COULD NOT FIND PUBLIC FUNCTION 'public_mod_promotionCenter_getRenderedPageScript3()' //******************************* //*** END mod_promotionCenter *** //******************************* //*** time check 23 (1.37683s elapsed) //*** SEND PROMO INFO TO ALREADY ON-PAGE HANDLER FUNCTION var pdPromo = {}; try{pdHandlePromoInfo(pdPromo)} catch(e) {} //*** SEND PROMO INFO TO ALREADY ON-PAGE HANDLER FUNCTION var pdProductListCalloutHtml = ""; try{pdHandleProductListCallout(pdProductListCalloutHtml)} catch(e) {} //*** time check 24 (1.38366s elapsed) //*** mod_fbConversion is NOT enabled! //*** time check 25 (1.38593s elapsed) //*** time check 26 (1.38764s elapsed) //*** time check 27 (1.39083s elapsed) //*** time check 28 (1.3945s elapsed) //**** CART ITEM COUNT MESSAGE ***** function pdDisplayCartItemCount() { var pdCartItemCount = pdGetCookie('pdCartItemCount'); if(!pdIsBlank(pdCartItemCount)) { var pdCartItemCountMessage = pdCartItemCount; jQuery('.pdCartItemCountMessage').html(pdCartItemCountMessage); } } pdDisplayCartItemCount(); //*** pageScript end (1.39464s elapsed) //*** time check 29 (1.39465s elapsed) //*** PAGESCRIPT DONE