$(document).ready(function(){var n=$("head title").text().trim().replace(/'/g,""),i,t,r;$("body").hasClass("RBStarterKitProductPage")?(i=$(".sk-product-header h1").text().trim().replace(/'/g,""),$("head").prepend("<script> window.dataLayer = window.dataLayer || []; window.dataLayer.push({'pageTitle': '"+n+"', 'productName': '"+i+"'}); <\/script>")):$("body").hasClass("RBStarterKitProductListPage")?(t=[],r=$(".sk-product-list-item-title"),r.each(function(){var n=$(this).text().trim().replace(/'/g,"");n="'"+n+"'";t.push(n)}),$("head").prepend("<script> window.dataLayer = window.dataLayer || []; window.dataLayer.push({'pageTitle': '"+n+"', 'productList': ["+t+"]}); <\/script>")):$("head").prepend("<script> window.dataLayer = window.dataLayer || []; window.dataLayer.push({'pageTitle': '"+n+"'}); <\/script>")});$(document).ready(function(){var n=$("#cdc-form 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)});$("select").wrap("<div class='select'><\/div>")}),function(){var n=$(".no-crop-img img");n.length>0&&$(n).attr("src",function(n,t){return t.split("?")[0]})}();$(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"))})}})