CINXE.COM
<!DOCTYPE html> <html><head> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script type="text/javascript" src="https://footer.diageohorizon.com/dfs/common/details-shim.js"></script> <link rel="stylesheet" type="text/css" href="https://footer.diageohorizon.com/dfs/common/details-shim.css"> <link rel="stylesheet" type="text/css" href="https://footer.diageohorizon.com/dfs/common/detail.css"> <script> var localeValue = window.location.search.split('=')[1]; var loadUrl ="//footer.diageohorizon.com/dfs/assets/www.johnniewalker.com/www.johnniewalker.com_PP_{{locale}}.css"; if(localeValue != 'true' && !(localeValue == null || localeValue.length ==0)){ localeValue=localeValue.split('&')[0]; loadLocaleFile(loadUrl,localeValue); } else { base_url = '//footer.diageohorizon.com/dfs/'; loadResource(base_url+"assets/www.johnniewalker.com/defaultLocale_df.js",function(){ localeValue=default_code.localeCode; if(localeValue == null) { localeValue="en-gb"; } loadLocaleFile(loadUrl,localeValue); }); } function loadLocaleFile(url, value) { var locale_url = url.replace('{{locale}}', value); loadResource(locale_url); } function loadResource(path, callback) { var resource; var head = document.getElementsByTagName('head')[0]; if(path.indexOf('.js') > 0) { resource = document.createElement('script'); resource.type = 'text/javascript'; resource.async = true; if (resource.readyState) { resource.onreadystatechange = function () { if (resource.readyState == "loaded" || resource.readyState == "complete") { resource.onreadystatechange = null; if (callback && typeof callback === "function") { callback(); } } }; } else { resource.onload = function () { if (callback && typeof callback === "function") { callback(); } }; resource.onerror = function (event) { console.log('There is an error while loading "' + this.src + '" file. Please check the URL and filename'); return false; }; } resource.src = path; head.appendChild(resource); } else if(path.indexOf('.css') > 0) { resource = document.createElement('link'); resource.type = 'text/css'; resource.rel = 'stylesheet'; resource.href = path; head.appendChild(resource); } } </script> <script type="text/javascript"> setTimeout(function() {details_shim.init();}, 1000);setInterval(function() {details_shim.init();}, 5000);</script> </head><body><div id="landingPage"> <script type="text/javascript"> $.ajax({ type: 'HEAD', url: 'https://footer.diageohorizon.com/Generic/current/PrivacyPolicy_en.html', success: function() { $(document).ready(function() { $('#landingPage').load('https://footer.diageohorizon.com/Generic/current/PrivacyPolicy_en.html #testing',function(response){var html_head_data = response.match(/<head[^>]*>[\s\S]*<\/head>/gi); $('head').append(html_head_data); var html_attrs = (response).match(/[<]html\s+(.+)head[>]/); if (typeof html_attrs[1] != 'undefined') { html_attrs = (html_attrs[1]).match(/(.+)[>]/); if (typeof html_attrs[1] != 'undefined') { var html_attrs = html_attrs[1].match(/[^\s="']+|"([^"]*)"|'([^']*)'/g); for (var i = 0; i < html_attrs.length; i +=2) { $('html').attr(html_attrs[i], html_attrs[i + 1].replace(/"/g, '' )); } } } var anchor = $(location).attr('href').split('#')[1];if (typeof(anchor) != 'undefined') {location.hash='non_existant_anchor';location.hash = anchor;}});}); }, error: function() { $.ajax({ type: 'HEAD', url: 'https://footer.diageohorizon.com/Generic/current/PrivacyPolicy_en.html', success: function() { $(document).ready(function() { $('#landingPage').load('https://footer.diageohorizon.com/Generic/current/PrivacyPolicy_en.html #testing',function(response){var html_head_data = response.match(/<head[^>]*>[\s\S]*<\/head>/gi); $('head').append(html_head_data); var html_attrs = (response).match(/[<]html\s+(.+)head[>]/); if (typeof html_attrs[1] != 'undefined') { html_attrs = (html_attrs[1]).match(/(.+)[>]/); if (typeof html_attrs[1] != 'undefined') { var html_attrs = html_attrs[1].match(/[^\s="']+|"([^"]*)"|'([^']*)'/g); for (var i = 0; i < html_attrs.length; i +=2) { $('html').attr(html_attrs[i], html_attrs[i + 1].replace(/"/g, '' )); } } } var anchor = $(location).attr('href').split('#')[1];if (typeof(anchor) != 'undefined') {location.hash='non_existant_anchor';location.hash = anchor;}});}); console.log('Requested file does not exists. Loading content of default language'); } }); } }); </script> </div></body></html>