= 0; var allow_continue = true; var silent_accept_cookie = html.className.indexOf(‘av-cookies-user-silent-accept’) >= 0; if( cookie_check && ! silent_accept_cookie ) { if( ! document.cookie.match(/aviaCookieConsent/) || html.className.indexOf(‘av-cookies-session-refused’) >= 0 ) { allow_continue = false; } else { if( ! document.cookie.match(/aviaPrivacyRefuseCookiesHideBar/) ) { allow_continue = false; } else if( ! document.cookie.match(/aviaPrivacyEssentialCookiesEnabled/) ) { allow_continue = false; } else if( document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/) ) { allow_continue = false; } } } if( allow_continue ) { var f = document.createElement(‘link’); f.type = ‘text/css’; f.rel = ‘stylesheet’; f.href = ‘//fonts.googleapis.com/css?family=Oswald%7CLato:300,400,700’; f.id = ‘avia-google-webfont’; document.getElementsByTagName(‘head’)[0].appendChild(f); } })();]]> Scroll to top= 0 || html.className.indexOf(‘av-cookies-can-opt-out’) >= 0; var allow_continue = true; var silent_accept_cookie = html.className.indexOf(‘av-cookies-user-silent-accept’) >= 0; var script_loaded = $( ‘script.google_analytics_scripts’ ); if( cookie_check && ! silent_accept_cookie ) { if( ! document.cookie.match(/aviaCookieConsent/) || html.className.indexOf(‘av-cookies-session-refused’) >= 0 ) { allow_continue = false; } else { if( ! document.cookie.match(/aviaPrivacyRefuseCookiesHideBar/) ) { allow_continue = false; } else if( ! document.cookie.match(/aviaPrivacyEssentialCookiesEnabled/) ) { allow_continue = false; } else if( document.cookie.match(/aviaPrivacyGoogleTrackingDisabled/) ) { allow_continue = false; } } } if( ! allow_continue ) { // window[‘ga-disable-UA-65309167-1’] = true; if( script_loaded.length > 0 ) { script_loaded.remove(); } } else { if( script_loaded.length == 0 ) { $(‘head’).append( analytics_code ); } } }); $(‘html’).trigger( ‘avia-cookie-settings-changed’ ); })( jQuery );]]>
Source