OLD script backup

<script type="text/javascript">
jQuery(function ($) {
var config = {targetUrl: 'https://www.windsurfingkarlin.cz/', contentUrl: 'https://www.windsurfingkarlin.cz/code/mobile-categories/'};
if (window.location.href == config.targetUrl) {$.get(config.contentUrl, function (data) { $('.row.banners-row').append($(data).find('.news-item-detail .text').html()); }); } });
</script>

<script>
function init() {
var imgDefer = document.getElementsByTagName('img');
for (var i=0; i<imgDefer.length; i++) {
if(imgDefer[i].getAttribute('data-src')) {
imgDefer[i].setAttribute('src',imgDefer[i].getAttribute('data-src'));
} } }
window.onload = init;
</script>

<script type="text/javascript">
var disabledText = "Zobrazit více";
var enabledText = "Sbalit";

const filtry = {};
</script>
<script src="https://www.designloga.cz/kody/237880.js?v11"></script>

<script type="text/javascript">$( init ); function init() {
$('.header-top>div:last-child').prepend( $('.project-phone') );
}
</script>

 

<!-- KN --->

 

<script type="text/javascript">
jQuery(function ($) {
var config = {contentUrl: 'https://www.windsurfingkarlin.cz/code/currency/'};
if ($('.top-navigation-tools > .dropdown').length) {$.get(config.contentUrl, function (data) {$('.top-navigation-tools > .dropdown').html($(data).find('.news-item-detail .text').html()); }); } });
</script>

<script type="text/javascript">
jQuery(function ($) {
var config = {contentUrl: 'xxxhttps://www.windsurfingkarlin.cz/code/gradient_border/'};
if ($('#header').length) {$.get(config.contentUrl, function (data) {$('#header').append($(data).find('.news-item-detail .text').html()); }); } });
</script>

<script type="text/javascript">
$(document).ready(function(){
$(window).scroll(function () {
st = $(document).scrollTop();
if ($(this).scrollTop() > 27) {
$(".overall-wrapper").addClass("sticky");
} else {
$(".overall-wrapper").removeClass("sticky");
}
});
});
</script>

<script>
$('#filters').toggleClass('visible');$that=$('.filters-wrapper .unveil-button');var text=$that.text();var hideText=text;var showText=$that.attr('data-text');toggleText($that,text,showText,hideText);if($('.filters-wrapper .unveil-button').length == 0){$('#filters').addClass('visible')}
</script>

<script type="text/javascript">
jQuery(function ($) {
var config = {contentUrl: 'https://www.windsurfingkarlin.cz/blog/'};
if ($('#append_latest_article').length) {$.get(config.contentUrl, function (data) {$('#append_latest_article').append($(data).find('.news-item:first').html()); }); }
if ($('#append_article').length) {$.get(config.contentUrl, function (data) {$('#append_article').append($(data).find('.news-item ~ .news-item').html()); }); } });
</script>

<script type="text/javascript">
jQuery(function ($) {
var config = {contentUrl: 'https://www.windsurfingkarlin.cz/code/footer-brands/'};
if ($('#footer').length) {$.get(config.contentUrl, function (data) {$('#footer').prepend($(data).find('.news-item-detail .text').html()); }); } });
</script>

<script type="text/javascript">
jQuery(function ($) {
var config = {contentUrl: 'https://www.windsurfingkarlin.cz/code/main-page-containers/'};
if ($('.h4.homepage-group-title:first').length) {$.get(config.contentUrl, function (data) {$('.h4.homepage-group-title:first').prepend($(data).find('.news-item-detail .text').html()); }); } });
</script>