Phoenix Gallery | K1 Speed
 

Facebook Link Instagram Link Youtube Link TikTokTikTok Link

Phoenix Gallery

function getCookie(name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); } var a = true; function OptanonWrapper() { var groupID = [2,3,4,5]; //e.g. [3,4] var domain = “www.k1speed.com” function updateTargeting(ID) { var cookie = getCookie("OptanonConsent”); for (var i = 0; i < ID.length; i++) { cookie = cookie.replace('%2C' + ID[i] + '%3A0', "%2C" + ID[i] + "%3A0"); cookie = cookie.replace('%2C' + ID[i] + '%3A1', "%2C" + ID[i] + "%3A0"); var cookieName = "OptanonConsent"; OptanonActiveGroups = OptanonActiveGroups.replace("," + ID[i] + ",", ","); OnetrustActiveGroups = OnetrustActiveGroups.replace("," + ID[i] + ",", ","); } document.cookie = cookieName + "=" + cookie + ";path=/;domain=” + domain + “;"; } if (a == true) { var button = document.getElementById('doNotSell'); button.addEventListener('click', function handler() { updateTargeting(groupID); }); a = false; } }