console.log('uid='); //*** time check 1 (0.02277s elapsed) //*** time check 2 (0.02283s elapsed) //*** JJ itemId=ocu-glo-rx //*** pageType=category //*** time check 3 (0.02425s elapsed) //*** forceOutOfStock=false //*** time check 4 (0.02426s 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.entirelypets.com\\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/dogsupplies1.html\",\"name\":\"Dog Supplies\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/catsupplies.html\",\"name\":\"Cat Supplies\"}},{\"@type\":\"ListItem\",\"position\":4,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/dogsupplies.html\",\"name\":\"Dog Supplies\"}},{\"@type\":\"ListItem\",\"position\":5,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/stooleatprev.html\",\"name\":\"Food Supplements\"}},{\"@type\":\"ListItem\",\"position\":6,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/vitamins1.html\",\"name\":\"Vitamins\"}},{\"@type\":\"ListItem\",\"position\":7,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/ocu-glo-rx.html\",\"name\":\"Ocu-Glo Vision Supplement for Dogs\"}}]}" 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\":\"0.00\",\"priceCurrency\":\"USD\",\"priceValidUntil\":\"2025-03-17\",\"seller\":{\"@type\":\"Organization\",\"name\":\"Entirelypets.com\"},\"@id\":\"https:\\/\\/www.entirelypets.com\\/ocu-glo-rx.html#offers\",\"url\":\"https:\\/\\/www.entirelypets.com\\/ocu-glo-rx.html\",\"itemCondition\":\"NewCondition\",\"availability\":\"OutOfStock\"},\"name\":\"Ocu-Glo Vision Supplement for Dogs\",\"image\":\"https:\\/\\/images.practicaldatacore.com\\/entirelypets\\/getProductImage.php?size=imageMedium&cb=1741917771&productId=ocu-glo-rx\",\"sku\":\"ocu-glo-rx\",\"@id\":\"https:\\/\\/www.entirelypets.com\\/ocu-glo-rx.html#product\",\"review\": [{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-Glo for Medium to Large Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"SUYEON\"},\"reviewBody\":\"my dog has a light cataract. my vet recommended this supplements and My dog\'s disease has almost stopped. i was so impressed. \",\"datePublished\":\"2021-05-05 12:36:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-Glo for Medium to Large Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Lee\"},\"reviewBody\":\"It\'s a product that my dog, who has cataracts, has been taking for years.\\r\\nCataracts are no longer deteriorating and are maintaining well.\",\"datePublished\":\"2021-01-14 02:19:06\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-Glo for Medium to Large Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"tsmith3\"},\"reviewBody\":\"This comes highly recommended by my vet & read all good reviews on it. My dog is a senior with the cloudiness coming in her eye\'s & I was looking to find something to help her. I have been using this a couple of months now & I see improvement in her sight. \",\"datePublished\":\"2020-12-18 17:50:24\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-Glo for Medium to Large Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Gintaute\"},\"reviewBody\":\"Unfortunately, our dog ​​was diagnosed with PRA and there is not much we can do about it, so OCU GLO was the supplement that gave us the most hope. We’ve only been using it for a couple of months and the right eye was already damaged a lot but we are trying our best to save the left one. \\r\\nI don’t know if the supplement worked or if the situation would be the same without using it, but our vet was pleasantly surprised that somehow the progression has stopped and the vision was stabilized. He said that we were an exception to the rule and that he hadn\'t seen this kind of improvement treating PRA patients. Our next visit will be in a couple of months, we hope that the situation will not change, and with the help of OCU GLO, we will be able to successfully control this misfortune for many years (fingers crossed) :) \\r\\nOur dog weighs 25-27kg and has no trouble swallowing the pills, covered with cheese or pate. We give her 2 pills a day before the meals. \\r\\n\",\"datePublished\":\"2020-10-26 06:03:14\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-Glo for Medium to Large Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Carole\"},\"reviewBody\":\"Our dog had a severe case of dry eye, resulting in many trips to the ophthalmologist. I\'ve been using this product for the past 2 years and haven\'t had any problems since. It really works for him. I wrap it in a piece of roast beef and it goes right down. Don\'t give it to him where he has to chew it, because inside contains an orange oil and hard to clean up.\",\"datePublished\":\"2020-09-23 10:46:05\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"2.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Erin\"},\"reviewBody\":\"We have an 8 year old Boerboel who\'s eyes aren\'t seeing as bright as they did in his younger years. I decided to try this product after reading all the good reviews. He finished one bottle (I only gave him 2 pills per day instead of the 3 he\'s supposed to get for his size to see if he had any reactions and because it is very expensive and one bottle only last him a month). He had no issues with the first bottle but I couldn\'t tell if it was doing anything. Shortly after starting the second bottle, he started having an orange oily discharge from his anus. It stained his fur, the bed quilt, and the carpet. The bottle even says it will stain things if capsules are opened and not given whole, but no warnings of anal leakage. This is the only thing that has changed in his diet. I stopped giving them and no more leakage. I really want the benefits of the pills but cannot continue to use them if this is the side effect. I am trying them one more time and if it happens again, we are done with them. \",\"datePublished\":\"2019-06-11 09:04:26\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Christine\"},\"reviewBody\":\"I don\'t know if they are impacting my dogs eyes but I feel better giving it to them instead of doing nothing. At least they are vitamins and we can all use more of vitamins. \",\"datePublished\":\"2019-07-09 13:04:35\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Jochen\"},\"reviewBody\":\"My dog is already blind on one eye. The second was going worster every year. OcuGlo cannot repair his eyes, but has stabilized his remaining eyesight. Because we cannot buy it in Germany, I always order it from the USA\",\"datePublished\":\"2019-03-25 09:10:25\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Mom E.\"},\"reviewBody\":\"Ophthalmologist recommended to delay onset of blindness due to retinal degeneration. We are 4 mths past predicted 2-years till blind. So grateful Ernie can still see to some degree! Ocu-Glo is worth trying.\",\"datePublished\":\"2019-01-10 10:48:01\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for SMALL Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"3.0\"},\"author\":{\"@type\":\"person\",\"name\":\"jackie278\"},\"reviewBody\":\"I bought this item and have been using it for a while. But I do not see any positive features so far..\",\"datePublished\":\"2018-12-24 11:41:02\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Flgirls\"},\"reviewBody\":\"I have a baby girl schnauzer with SARDS.\\r\\nShe went blind from it 3 yrs ago. The Dr at the University of Fl recommended she take Ocu-Glo and she has ever since.\",\"datePublished\":\"2017-09-27 08:23:28\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Gt\"},\"reviewBody\":\"Ocu-Glo was recommended by my vet for my Miniature Schnauzer who was showing some signs of premature aging in his eyes. Thus far there has been no further progression of symptoms. I would recommend it. The basis for this product is the same as for human eyes.\",\"datePublished\":\"2017-09-22 18:40:07\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Jai j.\"},\"reviewBody\":\"My dog\'s eye gets much better after taking this vitamin\",\"datePublished\":\"2017-07-24 08:16:07\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Bronx2216\"},\"reviewBody\":\"I was recommended to start using this product after my vet noticed some early-onset, small changes in my 6year old Miniature Schnauzer\'s eyes. When we discussed data for eye health related nutrients I urged her to take a look at recent developments (AREDS study NIH 2013). Of course, we will not know if this product \\\"works\\\" unless there is a reversal or significant slow down of changes (and even then...) but the nutrients are good and the bonus for my dog is that it has also had positive effect on his skin, too!\\r\\nEasy to feed, too - you can puncture the capsule right into food (beware, the contents are colored red).\",\"datePublished\":\"2017-04-03 10:06:55\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"WUYENYEN\"},\"reviewBody\":\"The product worth every penny!!!!! It really works on my 8 year old border collie. Best purchase ever!!!\",\"datePublished\":\"2016-11-10 08:08:38\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"mare516\"},\"reviewBody\":\"Ocu-Glo Rx is used for pets that have eye problems.\\r\\nOur pet was put on this product due to the retina of her eyes not functioning properly. At her recent visit to the Vet, I was very pleased to learn that her eyes were better and that the product is working.\",\"datePublished\":\"2016-07-25 18:13:57\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for SMALL Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"3.0\"},\"author\":{\"@type\":\"person\",\"name\":\"dog l.\"},\"reviewBody\":\"I have a small 3# papillon who can\'t swallow the \\\"Small Dog\\\" gelcap so I have to cut tip of capsules off, squeeze liquid into pureed pumpkin so she can eat it. She eats it up but my hands, countertop, scissors etc. are a mess as the liquid stains a dark red\\/orange color. I\'ve sent the maker an email asking for help - it\'d be perfect if they made the liquid available in a tube or bottle!\",\"datePublished\":\"2016-06-01 09:07:53\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Steffi\"},\"reviewBody\":\"Very fast delivery to Germany! Thank you very much EntirelyPets!! Can\'t say yet if the product will help but I will keep you posted. We have to wait whether the disease has slowed because of Ocu-Glo Rx.\",\"datePublished\":\"2016-03-29 05:44:33\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Jessica\"},\"reviewBody\":\"Great for progressive retinal atrophy! My Chihuahua\\/rat terrier has been using for 3+ years and it has thoroughly slowed down the loss of her eyesight.\",\"datePublished\":\"2016-02-16 14:21:12\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Pet L.\"},\"reviewBody\":\"We got a 8 mo.old rescue & it was discovered that he was blind as soon as it got dark,( falling in our pool& running into furniture)The vet told us that Ocu-Glo might help keep his eye sight longer,so far it seems to help.\",\"datePublished\":\"2016-01-28 16:25:23\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Maximus\"},\"reviewBody\":\"I have been giving Ocu-Glo to my one-eyed aussie on recommendation from the Canine Ophthalmologist. I don\'t know about how beneficial it is and there is no way of telling. But he lost one eye to a benign tumor and why take chances.\",\"datePublished\":\"2015-12-06 07:21:53\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Milica\"},\"reviewBody\":\"Excellent vitamins for eyes, especially for Progressive Retinal Atrophy.\",\"datePublished\":\"2015-11-29 06:55:22\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Dee\"},\"reviewBody\":\"After my dachshund, Heidi, lost her one eye to glaucoma I researched everything I could find to help preserve her other eye since most dogs will develop glaucoma in their other eye within a year or two. Ocu-Glo vitamins were mentioned in many veterinary websites and articles as a great supplement to use. The veterinary opthamologist we visited also recommended it as a good product to help support ongoing eye health along with maintenance medication in Heidi\'s case. It\'s been a few years now and her remaining eye is still healthy.\",\"datePublished\":\"2015-02-10 08:38:42\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for SMALL Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Thelma\"},\"reviewBody\":\"I had a diabetic dog about 16 years old. He developed macular degeneration, and the vet recommended Ocu-GLO for him. I gave it to him for 6 months and took him back to the vet to see how he was doing. She said his eyes were still about the same, so I feel that it slowed the degeneration down. Unfortunately, I lost him two months ago, but I have been giving the remaining pills to another older dog who has a congenital catarat. The capsuls are very large, and she will pick it out of her food and leave it on the floor. I have tried squeezing the contents over her food, hiding it in a pill pocket, and pressing the contents between two pieces of meat. She doesn\'t like it and eats around whatever it\'s in, leaving the remnants in the bottom of the dish to dry up. It does seem to help and there doesn\'t seem to be any other equivalent product out there. I wish they would make the pill in a chewable tablet..\",\"datePublished\":\"2014-09-22 18:41:46\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"julie\"},\"reviewBody\":\"My dog was going blind and now after 2 months of using ocu-glo his sight his stable and he has lot\'s more energy!!!\",\"datePublished\":\"2014-08-15 01:59:31\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for SMALL Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"2.0\"},\"author\":{\"@type\":\"person\",\"name\":\"DaisysMom\"},\"reviewBody\":\"My dog\'s veterinary opthamologist highly recommended Ocu-GLO for my senior Shih Tzu after her cataract surgery. Unfortunately these pills are too big and no matter what I put them in (peanut butter, bread, pill pockets, etc.), she will not swallow them. I find them on the floor around my home and the liquid is red and stains my rugs. My dog usually doesn\'t have a problem taking other pills if they\'re in peanut butter, so these must not smell\\/taste very good. These pills are too big for a small dog. The vet suggested squeezing out the filling and putting it on her food, but these are too expensive to buy a second bottle and try that. I wish they made it in a dropper.\",\"datePublished\":\"2014-07-21 13:49:26\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Sunny\"},\"reviewBody\":\"Ocu-Glo has slowed the progression of my dogs PRA (progressive retinal atrophy).\",\"datePublished\":\"2014-05-31 09:18:09\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for SMALL Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"buddy\"},\"reviewBody\":\"I give this to my two senior dogs. One is diabetic and lost his vision; the other is getting old which the doctor recommend this to. I buy the snip version which I can\'t find on this website. The snip version has a long slim tail which makes cutting it very easy. So, for ppl that want to squeeze it out rather than the whole pill, try the snip one.\",\"datePublished\":\"2014-05-23 17:40:20\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for SMALL Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"1.0\"},\"author\":{\"@type\":\"person\",\"name\":\"lulu\'s m.\"},\"reviewBody\":\"the vet suggested we try this product, lulu is losing her vision. i don\'t like giving this product a poor rating because it might be fine for another dog. lulu is tiny, 6lbs. and can not take the small dog portion since it is still to big. i cut it open to retrieve the insides (not that easy) and it stains (which is stated on the label). i wish there could be an easier way.\",\"datePublished\":\"2014-02-13 10:55:46\"},{\"@type\":\"Review\",\"itemReviewed\":\"Ocu-GLO for MEDIUM to LARGE Dogs (90 Gelcaps)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"sam\"},\"reviewBody\":\"My vet recommended this for my 13 year old dog who\'s losing her sight due to age. Within a week I saw a big difference in her confidence in moving about.\",\"datePublished\":\"2014-02-07 13:05:14\"}],\"aggregateRating\":{\"@type\":\"AggregateRating\",\"reviewCount\":\"33\",\"ratingValue\":\"4.5\"}}" document.getElementsByTagName('head')[0].appendChild(script); ; //*** time check 5 (0.06317s elapsed) //*** mod_storeClosed called //*** time check 6 (0.06351s elapsed) //*** time check 7 (0.06352s elapsed) var pdServerTime = new Date("2025-03-14T07:46:55-05:00"); var pdProductId = "ocu-glo-rx"; //************************************************ //************ 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.06354s 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 (33 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='ocu-glo-rx-for-small-dogs-90-gelcaps'], .pdRatingStarsWrapper[data-itemid='ocu-glo-rx-for-small-dogs-90-gelcaps']"); newHtml = "
(33 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='ocu-glo-medium-large-dogs-45-gelcaps'], .pdRatingStarsWrapper[data-itemid='ocu-glo-medium-large-dogs-45-gelcaps']"); newHtml = "
(33 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='ocu-glo-rx-for-medium-to-large-dogs-90-gelcaps'], .pdRatingStarsWrapper[data-itemid='ocu-glo-rx-for-medium-to-large-dogs-90-gelcaps']"); newHtml = "
(33 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='ocu-glo-xl-medium-large-dogs-90-powder-caps'], .pdRatingStarsWrapper[data-itemid='ocu-glo-xl-medium-large-dogs-90-powder-caps']"); newHtml = "
(1 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); pdStarsRefreshFlag = false; } } pdDisplayCategoryStars(); //*** time check 12 (0.07512s elapsed) $(".abr-flex-favorite-link").on("click", function(){ var pdAddToFavoritesAction = "https://myaccount.entirelypets.com/mod_favorites/ajax/favoritesAddItemNew.php"; var itemId = jQuery(this).parent().parent().data("data-itemid"); var productId = jQuery(this).parent().parent().data("productId"); var item; if(!isBlank(itemId)){ item = itemId; }else{ item = productId; } var pdAddToFavoritesButton = jQuery(this); if (!item) { console.log("Unable to identify item id for adding to favorites"); return false; } var data = { vwitem: item } //**** IF ITEM IS ALREADY FAVORITED, DISABLE ACTIONS AND DIRECT TO CUSTOMER FAVORITES *** var pdItemAlreadyInFavorites = jQuery(this).children("div").hasClass("is-favorite"); var pdItemAddedToFavorites = jQuery(this).children("div").hasClass("is-added"); if(pdItemAlreadyInFavorites == true || pdItemAddedToFavorites == true){ console.log("Item is already in customer favorites"); return false; } jQuery.ajax({ 'async': false, 'global': false, 'xhrFields': {withCredentials: true}, 'type': "POST", 'url': pdAddToFavoritesAction, '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).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.entirelypets.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; } //*** time check 13 (0.07519s elapsed) //*** time check 14 (0.07519s elapsed) //*** time check 15 (0.07522s elapsed) if (typeof pdPerformLoginActions === "function") { pdPerformLoginActions(false); } //*** time check 16 (0.07613s elapsed) //*** time check 17 (0.07701s elapsed) //*** time check 18 (0.07807s elapsed) //*** time check 19 (0.07808s elapsed) //*** time check 20 (0.07945s elapsed) //*** time check 21 (0.08007s elapsed) //*** time check 22 (0.08154s elapsed) //********************************* //*** BEGIN mod_promotionCenter *** //********************************* //*** COULD NOT FIND PUBLIC FUNCTION 'public_mod_promotionCenter_getRenderedPageScript3()' //******************************* //*** END mod_promotionCenter *** //******************************* //*** time check 23 (0.08196s 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 (0.08284s elapsed) //*** mod_fbConversion is NOT enabled! //*** time check 25 (0.08346s elapsed) //*** time check 26 (0.08428s elapsed) //*** time check 27 (0.08517s elapsed) //*** time check 28 (0.08598s elapsed) //**** CART ITEM COUNT MESSAGE ***** function pdDisplayCartItemCount() { var pdCartItemCount = pdGetCookie('pdCartItemCount'); if(!pdIsBlank(pdCartItemCount)) { var pdCartItemCountMessage = pdCartItemCount; jQuery('.pdCartItemCountMessage').html(pdCartItemCountMessage); } } pdDisplayCartItemCount(); //*** pageScript end (0.08603s elapsed) //*** time check 29 (0.0861s elapsed)