function checkImages(){var n=$(".no-crop-img img");n.length>0&&changeImgSrc(n);setTimeout(checkImages,1e3)}function changeImgSrc(n){for(var i,r,t=0;t<n.length;t+=1)if(i=n.eq(t),r=i.attr("src"),r===undefined){setTimeout(function(){changeImgSrc(n)},500);break}else i.attr("src",r.split("?")[0])}if($(document).ready(function(){$("body").hasClass("RBStarterKitBlogListPage")&&$("header.sk-page-header").prependTo($(".sk-segment-body"))}),$(".sk-shop-product-links .sk-grid-image-as-link").click(function(){event.preventDefault();let n=$(this).children().attr("href");$(".sk-accept-button").attr("href",n);$(".sk-shop-product-modal").addClass("sk-shop-product-modal--show")}),$(".sk-shop-product-links .sk-grid-richtext").click(function(){event.preventDefault();let n=$(this).find("a").attr("href");$(".sk-accept-button").attr("href",n);$(".sk-shop-product-modal").addClass("sk-shop-product-modal--show")}),$(".sk-accept-button").click(function(){$(".sk-shop-product-modal").removeClass("sk-shop-product-modal--show")}),$(".sk-close-button").click(function(){event.preventDefault();$(".sk-shop-product-modal").removeClass("sk-shop-product-modal--show")}),$(document).ready(function(){var n=$("div.checkbox").add($("div.form-group > div")),t=n.children("label"),i=$("input:checkbox"),r=$("label > a");n.find(t).each(function(){$(this).children("input").prependTo($(this).parent(n))});n.find(i).each(function(){name=$(this).attr("name");$(this).attr("id",name);$(this).next("label").attr("for",name)})}),$(document).ready(function(){$(".sk-dual-relief").each(function(){$(".sk-general-jumbotron").append("<a href='#symptoms'><\/a>");$(".symptoms").attr("id","symptoms");$(".symptoms").append("<div class='row'><div class='illustration-wrap'><\/div><div class='illustration-wrap'><\/div><\/div>");$(".illustration-wrap").append("<span class='illustration'><\/span>");$(".illustration-wrap").append("<span class='plus-wrap'><\/span>");$(".plus-wrap").append("<span class='pulse'><\/span><span class='plus'><\/span>");$(".illustration-wrap:nth-of-type(1)").prepend("<div class='illustration-desc'><\/span>");$(".illustration-wrap:nth-of-type(2)").prepend("<div class='illustration-desc'><\/span>");$(".symptoms .sk-grid-panel .sk-grid-richtext:nth-of-type(1)").appendTo(".illustration-wrap:nth-of-type(1) .plus-wrap");$(".symptoms .sk-grid-panel .sk-grid-richtext:nth-of-type(1)").appendTo(".illustration-wrap:nth-of-type(2) .plus-wrap");$(".symptoms .sk-grid-panel .sk-grid-richtext:nth-of-type(1)").appendTo(".illustration-wrap:nth-of-type(1) .illustration-desc");$(".symptoms .sk-grid-panel .sk-grid-richtext:nth-of-type(1)").appendTo(".illustration-wrap:nth-of-type(2) .illustration-desc");$(".plus-wrap .sk-grid-richtext").append("<span class='reliefClose'><\/span>");$(".illustration-wrap .illustration-desc").append("<span class='reliefClose'><\/span>");$(".illustration-wrap").click(function(n){n.stopPropagation();$(this).find(".plus-wrap").removeClass("open");$(this).find(".illustration-desc").removeClass("desc-open");$(this).hasClass("active")&&$(this).removeClass("active")});$(".plus-wrap").click(function(n){n.stopPropagation();$(this).parent().hasClass("active")?($(this).removeClass("open").parent().removeClass("active"),$(this).siblings().removeClass("desc-open")):($(this).addClass("open").parent().addClass("active"),$(this).parent().siblings().removeClass("active").find(".plus-wrap").removeClass("open"))});$(".reliefClose").click(function(n){n.stopPropagation();$(this).parents().removeClass("desc-open");$(this).parents().removeClass("open");$(this).parents().hasClass("active")&&$(this).parents().removeClass("active")});$(".plus-wrap > .sk-grid-richtext > p:last-of-type").click(function(n){n.stopPropagation();$(this).closest($(".illustration-wrap")).find($(".plus-wrap")).removeClass("open");$(this).closest($(".illustration-wrap")).find($(".illustration-desc")).addClass("desc-open")})});$(".sk-general-jumbotron a[href*=symptoms]").on("click",function(n){if(this.hash!==""){n.preventDefault();var t=this.hash;$("html, body").animate({scrollTop:$(t).offset().top},800,"swing",function(){window.location.hash=t})}})}),function(){($("body").hasClass("sk-hpm-gaviscon-recipe")||$("body").hasClass("sk-gaviscon-go-on")||$("body").hasClass("sk-gaviscon-tour")||$("body").hasClass("sk-gaviscon-recipes")||$("body").hasClass("sk-hpm-get-gaviscon")||$("body").hasClass("sk-gaviscon-about")||$("body").hasClass("sk-nav-micro-zone"))&&($('<input id="burger" type="checkbox" /><label id="menu" for="burger"><span><\/span><span><\/span><span><\/span><\/label>').insertBefore(".collapse.navbar-collapse"),$("#burger, #menu").click(function(){$(".collapse.navbar-collapse").css("display","block")}));$(".sk-country-gb")[0]||$("img").addClass("no-crop-img")}(),function(n){for(var r=document.querySelectorAll(".no-crop-img"),t,i=0;i<r.length;i++)t=n(r[i]).attr("src"),t!==undefined&&(t=t.indexOf("?")>-1?t.substr(0,t.indexOf("?")):n(r[i]).attr("src"),n(r[i]).attr("src",t))}(this.jQuery),$(document).ready(function(){$(".navbar-toggle").on("click",function(){$(this).toggleClass("active")});$(document).on("click",function(){$(".navbar-toggle").hasClass("active")&&($(".collapse").collapse("hide"),$(this).toggleClass("active"))});checkImages()}),function(){var n=$(".hpm-store-finder");n&&n.css("display","none")}(),$(document).ready(function(){var n=$(".sk-country-nz").length,t=$(".buy-now").length;n&&t&&$(".buy-now").insertAfter($(".sk-product-images"))}),window.jQuery){function setIframe(n){$("iframe").css("display","none");var i=$(n).find(".show-movie-content"),r=i.find("iframe"),u=$(n).find(".past"),t=u.width(),f=t/100*56.25;r.attr("width",parseInt(t)).attr("height",parseInt(f));$("iframe").css("display","block")}$(window).resize(function(){this.resizeTO&&clearTimeout(this.resizeTO);this.resizeTO=setTimeout(function(){$(this).trigger("resizeEnd")},200)});$(document).ready(function(){$("body").on("click",".click-to-show-movie",function(){setIframe(this);var n=$(this).find(".show-movie-content");n.slideToggle("slow")});$(window).bind("resizeEnd",function(){$(".click-to-show-movie").each(function(n,t){setIframe(t)})})})}(function(){".sk-hpm-flor-form "&&$(".cdc-submit").val("ENVIAR")})();$(document).ready(function(){if($("body").hasClass("sk-where-to-buy-logos")&&$("body").hasClass("RBStarterKitContentGridPage")){var n="https://www.google.com/maps/search/Apotheke+";$("#StoreFinderText").unbind().change(function(){var t=$(this).val();$("#StoreFinderForm").attr("action",n+t)});$("#StoreFinderForm").unbind().on("submit",function(n){n.preventDefault();window.open($(this).attr("action"))})}});$(document).ready(function(){if($("body").hasClass("sk-country-ru")){var n="https://yandex.ru/maps/?text=";$("#StoreFinderText").unbind().change(function(){var t=$(this).val();$("#StoreFinderForm").attr("action",n+rbStoreFinderParams.searchPrefix+t+rbStoreFinderParams.searchPostfix)});$("#StoreFinderForm").unbind().on("submit",function(n){n.preventDefault();window.open($(this).attr("action"))})}})