var vhdWidget162480068524 = {};
vhdWidget162480068524.widgetWrap = document.createElement('div');
vhdWidget162480068524.widgetHtml = '<div style="width: auto; height: auto; position: relative; overflow-y: auto; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-direction: column; -moz-flex-direction: column; -ms-flex-direction: column; -o-flex-direction: column; flex-direction: column;" class="VHDReviewWidget"> <!-- HEADER --> <div style="border-top-left-radius: 8px; border-top-right-radius: 8px; padding: 10px; border: 2px solid #a8c634; background: #FFFFFF;"> <a href="#" style="display: block; text-align: center; line-height: 1px;"> <img border="0" src="https://vethelpdirect.com/dashboard/assets/images/logo/logo.svg" style="max-width: 200px; border: 0px !important; padding: 0px !important; margin: 0px !important; background: none !important; display: inline !important; outline: none !important; " height="43" style="margin-top: 7px" alt="Vet Help Direct Logo"> </a> </div> <!-- BODY --> <div style=" background: #FFFFFF; border: 2px solid #a8c634; border-top: none; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; -webkit-box-flex: 1 0 0%; -moz-box-flex: 1 0 0%; -webkit-flex: 1 0 0%; -ms-flex: 1 0 0%; flex: 1 0 0%;"> <div style="padding: 10px 20px; border-bottom: 2px solid #a8c634"> <p style="font-family: arial, sans-serif; color: #000000; font-size: 13px; padding: 0; margin: 0 0 2px 0;"> Our Reviews</p> <div itemscope itemtype="http://schema.org/Organization"> <meta itemprop="name" content="AlphaVet "> <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <span style="width: 120px; height: auto; position: relative; display:block;"> <span style="width: 120px; display:block; margin-left: -1px;"> <img border="0" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="22"><img border="0" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="22"><img border="0" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="22"><img border="0" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="22"><img border="0" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="22"> </span> <span style="width: 100%; position: absolute; top: 0; overflow: hidden; display:block; margin-left: -1px;"> <span style="width: 120px; display:block;"> <img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important; " width="22"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important; " width="22"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important; " width="22"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important; " width="22"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 22px !important; border: 0px !important; padding: 0px !important; margin: 0px 1px !important; background: none !important; display: inline !important; outline: none !important; " width="22"> </span> </span> </span> <meta itemprop="ratingValue" content="4.9"> <p style="font-family: arial, sans-serif; color: #454545; font-size: 10px; letter-spacing: 3px; margin: 6px 0 0 0; padding: 0;"> <span itemprop="ratingCount">67</span> REVIEWS - <a href="https://vethelpdirect.com/alphavet-in-teddington-2061#startofreviews" target="_blank" id="js-vhdWidget162480068524-read-review-link" onclick="vhdWidget162480068524.showOverlay(\'read\', event, event);" style="color: #a8c634; font-weight: bold; letter-spacing: normal; font-size: 12px; font-family: arial, sans-serif; text-decoration: underline; text-transform: uppercase;"> See all our reviews</a> </p> <meta itemprop="bestRating" content="5"> <meta itemprop="worstRating" content="0"> </div> </div> </div> <div class="VHDInnerWrap"> <!-- REVIEWS --> <div style="display: flex; flex-wrap: wrap; align-items: start;" class="reviewContainer "> <div class="" style="flex: 1; background-color: #fff; background-color: #fff; padding: 0;"> <div style=""> <!-- REVIEW BODY --> <div style="margin: 10px 0 0 0;"> <p class="VHDReviewText" style="margin: 0; font-size: 16px;"> So pleased with the service at Alpha vets. We are frequent visitors to the vets as our dog has allergies. We always receive a very personal experience - they are wonderful with our dog, always take the time to discuss with us the illness and treatment options and always follow up afterwards to check she is fully recovered. Could not recommend more highly! </p> </div> <!-- END REVIEW BODY --> <!-- REVIEW FOOTER --> <div style="display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 20px;"> <p style="margin: 0 0 5px 0; font-size: 14px;"> <strong> Beth </strong> reviewed <time>Apr 15</time> </p> <p style="margin: 0 0 5px 0; padding: 0;"> <span style="width: 100px; height: auto; position: relative; display:block;"> <span style="width: 100px; display:block; margin-left: -1px;"> <img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"> </span> <span style="width: 100%; position: absolute; top: 0; overflow: hidden; display: block; margin-left: -1px;"> <span style="width: 100px; display:block;"> <img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"> </span> </span> </span> </p> </div> <!-- END REVIEW FOOTER --> </div> </div> </div> <div style="display: flex; flex-wrap: wrap; align-items: start;" class="reviewContainer "> <div class="VHDReviewImagesRow"> <div class="VHDReviewImagesCol"> <img src="https://vethelpdirect.com/dashboard/storage/22351/75080104-048C-495C-AFCB-3543FE1548CE.jpeg" alt=""> </div> </div> <div class=" reviewBodyContainer" style="flex: 1; background-color: #fff; background-color: #fff; padding: 0 0 0 20px;"> <div style=""> <!-- REVIEW BODY --> <div style="margin: 10px 0 0 0;"> <p class="VHDReviewText" style="margin: 0; font-size: 16px;"> I love visiting Alpha Vet with my cat as they always treat my pet with respect. I get reminders about administering medications to my cat and getting appointments is always very easy. </p> </div> <!-- END REVIEW BODY --> <!-- REVIEW FOOTER --> <div style="display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 20px;"> <p style="margin: 0 0 5px 0; font-size: 14px;"> <strong> Margo </strong> reviewed <time>Apr 5</time> </p> <p style="margin: 0 0 5px 0; padding: 0;"> <span style="width: 100px; height: auto; position: relative; display:block;"> <span style="width: 100px; display:block; margin-left: -1px;"> <img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"> </span> <span style="width: 100%; position: absolute; top: 0; overflow: hidden; display: block; margin-left: -1px;"> <span style="width: 100px; display:block;"> <img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"> </span> </span> </span> </p> </div> <!-- END REVIEW FOOTER --> </div> </div> </div> <div style="display: flex; flex-wrap: wrap; align-items: start;" class="reviewContainer "> <div class="" style="flex: 1; background-color: #fff; background-color: #fff; padding: 0;"> <div style=""> <!-- REVIEW BODY --> <div style="margin: 10px 0 0 0;"> <p class="VHDReviewText" style="margin: 0; font-size: 16px;"> Have been with them for years and never a problem. </p> </div> <!-- END REVIEW BODY --> <!-- REVIEW FOOTER --> <div style="display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 20px;"> <p style="margin: 0 0 5px 0; font-size: 14px;"> <strong> Winnie </strong> reviewed <time>Mar 25</time> </p> <p style="margin: 0 0 5px 0; padding: 0;"> <span style="width: 100px; height: auto; position: relative; display:block;"> <span style="width: 100px; display:block; margin-left: -1px;"> <img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"><img border="0" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important;" src="https://vethelpdirect.com/dashboard/assets/images/star-grey-2.png" alt="Star Grey" width="16"> </span> <span style="width: 100%; position: absolute; top: 0; overflow: hidden; display: block; margin-left: -1px;"> <span style="width: 100px; display:block;"> <img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"><img border="0" src="https://vethelpdirect.com/dashboard/assets/images/star-gold-2.png" alt="Star Gold" style="width: 16px !important; border: 0px !important; padding: 0px !important; margin: 0px 2px !important; background: none !important; display: inline !important; outline: none !important; " width="16"> </span> </span> </span> </p> </div> <!-- END REVIEW FOOTER --> </div> </div> </div> </div> <a href="https://vethelpdirect.com/dashboard/write-review?id=2061&amp;color=ffffff&amp;color2=ffffff" id="js-vhdWidget162480068524-write-review-link" onclick="vhdWidget162480068524.showOverlay(\'write\', event);" target="_blank" style="display: block; background: #a8c634; border: 2px solid #a8c634; border-top: none; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; height: 50px; text-align: center; line-height: 50px; color: #fff; font-size: 11px; font-family: arial, sans-serif; font-weight: bold; letter-spacing: 3px;"> ADD A REVIEW </a> </div> <div id="js-vhdWidget162480068524-overlay" style="position: absolute; background: rgba(0,0,0, 0.85); left: 0; right: 0; top: 0; bottom: 0; text-align: center; visibility: hidden;"> <div style="background: white; max-width: 300px; padding: 20px 15px; margin: 45px auto 0 auto;"> <p style="padding: 0 0 15px 0; margin: 0; color: #000000;"> Which practice?</p> <div> <select style="max-width: 95%; margin: 0 auto; -webkit-appearance: none; margin-bottom: 15px;" id="js-vhdWidget162480068524-vet-select-menu" onchange="vhdWidget162480068524.onVetChange();"> <option data-practice-id="2061" value="https://vethelpdirect.com/alphavet-in-teddington-2061">AlphaVet </option> <option data-practice-id="2062" value="https://vethelpdirect.com/claygate-veterinary-centre-in-esher-2062">Claygate Veterinary Centre</option> </select> </div> <a href="#" target="_blank" data-write-url="https://vethelpdirect.com/dashboard/write-review?id=2061&amp;color=ffffff&amp;color2=ffffff" data-read-url="https://vethelpdirect.com/alphavet-in-teddington-2061#startofreviews" onclick="vhdWidget162480068524.onContinue();" id="js-vhdWidget162480068524-continue-btn" style=" border: 2px solid; border-color: #a8c634; text-align: center; line-height: normal; color: #a8c634; font-weight: bold; display: inline-block; border-radius: 0; margin: 0; box-sizing: border-box; padding: 10px 40px; font-weight: 400; text-decoration: none; font-size: 14px; background: white;">Continue</a> <div style="margin-top: 15px;"> <a href="#" id="js-vhdWidget162480068524-cancel" onclick="vhdWidget162480068524.onCancel(event);" style="color: #a8c634; font-weight: normal; font-size: 14px;">Cancel</a> </div> </div> </div> <div id="js-vhdWidget162480068524-overlay-photo" style="position: absolute; background: rgba(0,0,0, 0.85); left: 0; right: 0; top: 0; bottom: 0; text-align: center; visibility: hidden;"> <div style="display: flex; align-items: center; justify-content: center; position: relative; margin-top: 60px;"> <div style="position: relative;"> <a href="#" id="js-vhdWidget162480068524-cancel-photo" onclick="vhdWidget162480068524.onCancelPhoto(event);" style="font-size: 35px; line-height: 1; text-decoration: none; display:block; position: absolute; top: 0; right: 0; color: #fff; width: 40px; height: 40px; text-align: center; text-shadow: black 0px 0px 2px; z-index: 9999;">&times;</a> <img id="js-vhdWidget162480068524-img" src="" alt=""> </div> </div> </div> </div> <style scoped> /* @import url(\'https://fonts.googleapis.com/css?family=Lato:400,700&display=swap\'); */ @import url(\'https://fonts.googleapis.com/css?family=Noto+Serif:400,700&display=swap\'); @media (max-width: 600px) { .VHDFullOnResponse { width: auto !important; overflow: hidden; height: auto !important; text-align: center; overflow: visible !important; } .VHDStarsContainer { margin: 0 auto !important; } .VHDHeaderCol { width: 100%; } .VHDHeaderReadWriteReview { text-align: center !important; margin-top: 15px !important; } .VHDLogo { display: block !important; margin-bottom: 10px; } .VHDFullOnResponse a { float: none !important; } .VHDOnResponseFloatNone { float: none !important; } .VHDOnResponseMarginBottom20 { margin-bottom: 20px !important; } .VHDStarRating { position: relative !important; top: auto !important; right: auto !important; margin: 10px 0 !important; } .VHDReviewCount { position: relative !important; top: auto !important; right: auto !important; margin: 10px 0 !important; } .VHDItemScope { position: relative !important; } .VHDAggregateRating { text-align: left !important; } .VHDStarsContainer { float: none !important; } .VHDReviewImagesCol { width: 100% !important; } .VHDReviewImagesRow.VHDReviewImagesRowReverse .VHDReviewImagesCol, .VHDReviewImagesRow .VHDReviewImagesCol { float: none !important; padding-left: 0 !important; padding-right: 0 !important; } .VHDReviewImagesRow { width: 100% !important; } .VHDReviewText { padding-right: 0 !important; } .reviewContainer { padding: 10px 0 !important; } .reviewBodyContainer { margin-top: 0 !important; } } .reviewContainer { padding: 20px 0; border-bottom: 2px solid #a8c634; } .reviewContainer:last-child { border-bottom: 0; } .reviewBodyContainer { margin-top: 30px; } .VHDFullOnResponse .VHDInnerWrap { max-width: 500px; margin: 0 auto; } #VHDUser { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background-repeat: no-repeat; background-position: center; background-size: cover; } .VHDReviewImagesRow { width: 120px; } .VHDReviewImagesRow .VHDReviewImagesCol { float: left; padding-left: 0px; padding-left: 0px; padding-right: 0; } .VHDReviewImagesRow.VHDReviewImagesRowReverse .VHDReviewImagesCol { float: right; padding-left: 0; padding-right: 30px; } .VHDReviewImagesCol { width: 100%; /* width: 25%; padding: 0 8px; margin-bottom: 16px; box-sizing: border-box; max-width: 120px; */ } .VHDReviewImage { width: 100%; background-repeat: no-repeat; background-position: center; background-size: cover; box-sizing: border-box; } .VHDReviewImage::after { content: \'\'; display: block; padding-bottom: 75%; } .VHDReviewWidget { /* font-family: \'Lato\', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; */ /* font-family: \'Lato\', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; */ font-family: \'Noto Serif\', serif; line-height: 1.5; color: #000000; } .VHDHeaderReadWriteReview { text-align: right; } .VHDInnerWrap { max-width: 100%; margin: 0 auto; padding: 0 20px; } .VHDReviewText { /* padding-right: 30px; */ } select { -moz-appearance: none; appearance: none; border-radius: 0; padding: 10px 30px 10px 15px; border: 0; background-image: url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" version="1"><path d="M4 8L0 4h8z"/></svg>\'); background-position: 97.5% 50%; background-repeat: no-repeat; background-color: #fff; font-size: 14px; border: 1px solid #a8c634; } .VHDReviewImagesRow img { max-width: 100%; } </style>';
vhdWidget162480068524.widgetWrap.innerHTML = vhdWidget162480068524.widgetHtml;
vhdWidget162480068524.scripts = document.getElementsByTagName('script');
/*vhdWidget162480068524.thisScript = vhdWidget162480068524.scripts[vhdWidget162480068524.scripts.length - 1];*/
/* Instead of the above, which has problems with async and dynamically inserted scripts being on the page, iterate until we find the one we want */
vhdWidget162480068524.thisScript = null;
function isMe(scriptElem){
    var string = scriptElem.getAttribute('src');
    if(string != null){
      return string.indexOf("/dashboard/api/widget?widgetid=1491") !== -1;
    } else {
      return false;
    }
}
for (var i = 0; i < vhdWidget162480068524.scripts.length; ++i) {
    if( isMe(vhdWidget162480068524.scripts[i])){
      console.log("script tag found!");
      vhdWidget162480068524.thisScript = vhdWidget162480068524.scripts[i];
    }
}
if(vhdWidget162480068524.thisScript != null){
  vhdWidget162480068524.thisScript.parentNode.insertBefore(vhdWidget162480068524.widgetWrap, vhdWidget162480068524.thisScript.nextSibling);
}


vhdWidget162480068524.getSelectedPracticeDetails = function() {
    var selectMenu = document.getElementById('js-vhdWidget162480068524-vet-select-menu');
    var selectedOption = selectMenu.options[selectMenu.selectedIndex];

    return {
        id: selectedOption.getAttribute('data-practice-id'),
        readUrl: selectMenu.value,
        practiceCount: selectMenu.options.length
    };
};

vhdWidget162480068524.onVetChange = function() {
    var continueBtn = document.getElementById('js-vhdWidget162480068524-continue-btn');
    var practiceDetails = vhdWidget162480068524.getSelectedPracticeDetails();

    if (continueBtn.getAttribute('data-role') === 'write') {
        continueBtn.href = continueBtn.getAttribute('data-write-url').replace(/(id=)[0-9]+/, '$1' + practiceDetails.id);
    }
    else {
        continueBtn.href = practiceDetails.readUrl;
    }
};

vhdWidget162480068524.showOverlay = function(type, event) {
    var continueBtn = document.getElementById('js-vhdWidget162480068524-continue-btn');
    var practiceDetails = vhdWidget162480068524.getSelectedPracticeDetails();

    if (type === 'write') {
        continueBtn.href = continueBtn.getAttribute('data-write-url').replace(/(id=)[0-9]+/, '$1' + practiceDetails.id);
        continueBtn.setAttribute('data-role', 'write');
    }
    else {
        continueBtn.href = practiceDetails.readUrl;
        continueBtn.setAttribute('data-role', 'read');
    }

    if (practiceDetails.practiceCount === 1) {
        if (continueBtn.getAttribute('data-role') === 'write') {
            event.preventDefault();
            vhdWidget162480068524.openWriteReviewWindow(continueBtn.href);
        }
    }
    else {

        event.preventDefault();
        document.getElementById('js-vhdWidget162480068524-overlay').style.visibility = 'visible';

    }
};

vhdWidget162480068524.showPhotoOverlay = function(imageUrl, event) {
    event.preventDefault();
   
    var image = document.getElementById('js-vhdWidget162480068524-img');
    var newImg = new Image;
    newImg.onload = function() {
        image.src = imageUrl;
    }
    newImg.src = imageUrl;
    document.getElementById('js-vhdWidget162480068524-overlay-photo').style.visibility = 'visible';
};


vhdWidget162480068524.onContinue = function(e) {
    if (!e) var e = window.event;

    var continueBtn = document.getElementById('js-vhdWidget162480068524-continue-btn');

    e.preventDefault();

    if (continueBtn.getAttribute('data-role') === 'write') {
        vhdWidget162480068524.openWriteReviewWindow(continueBtn.href);
    } else {
        window.open(continueBtn.href, '_blank');
    }

    document.getElementById('js-vhdWidget162480068524-overlay').style.visibility = 'hidden';
};

vhdWidget162480068524.onCancel = function(e) {
    if (!e) var e = window.event;
    e.preventDefault();
    document.getElementById('js-vhdWidget162480068524-overlay').style.visibility = 'hidden';
};

vhdWidget162480068524.onCancelPhoto = function(e) {
    if (!e) var e = window.event;
    e.preventDefault();
    document.getElementById('js-vhdWidget162480068524-img').src = '';
    document.getElementById('js-vhdWidget162480068524-overlay-photo').style.visibility = 'hidden';
};

vhdWidget162480068524.openWriteReviewWindow = function(href) {
    window.open(href, 'WriteReview', 'width=650,height=600');
};


vhdWidget162480068524.showFullText = function(e) {
    if (!e) var e = window.event;
    e.preventDefault();
    var target = e.target;
    
    if (! e.target.classList.contains('review-toggle')) {
        target = findAncestor(e.target, 'review-toggle')
    }

    var ellipsis = target.querySelector('.ellipsis');
    var moreText = target.querySelector('.more');
    if ( typeof ellipsis != "undefined" && ellipsis != null ) {
        ellipsis.style.display = 'none';
        moreText.style.display = 'inline';
    }
}

vhdWidget162480068524.showFullTextV2 = function(e) {
    if (!e) var e = window.event;
    e.preventDefault();
    var target = e.target;
    
    if (! e.target.classList.contains('review-toggle')) {
        target = findAncestor(e.target, 'review-toggle')
    }

    var ellipsis = target.querySelector('.ellipsis');
    var moreText = target.querySelector('.more');
    if ( typeof ellipsis != "undefined" && ellipsis != null ) {
        ellipsis.style.display = 'none';
        moreText.style.display = 'inline';
        e.target.style.display = 'none';
    }
}

function findAncestor (el, cls) {
    while ((el = el.parentElement) && !el.classList.contains(cls));
    return el;
}