try{(function consent_prompt(){var $el=document.getElementById("consent_prompt_submit"),$modal=document.getElementById("__tealiumGDPRecModal"),$closeBtn=$modal.getElementsByClassName("close_btn_thick")[0],$privacy_pref_optin=document.getElementById("privacy_pref_optin"),$privacy_pref_optout=document.getElementById("privacy_pref_optout");var consentState=utag.gdpr.getConsentState();if(typeof consentState==="number"){if(consentState===1){$privacy_pref_optin.checked=true;}else if(consentState===-1){$privacy_pref_optout.checked=true;}}else{$privacy_pref_optin.checked=true;}var callBack=function(){if($privacy_pref_optin.checked){utag.gdpr.setConsentValue(1);}else if($privacy_pref_optout.checked){utag.gdpr.setConsentValue(0);}else{return;}closePrompt();};var closePrompt=function(){$modal.style.display="none";};if(document.addEventListener){$el.addEventListener("click",callBack,false);$closeBtn.addEventListener("click",closePrompt,false);}else if(document.attachEvent){$el.attachEvent("click",callBack);$closeBtn.attachEvent("click",closePrompt);}else{$el.onclick=callBack;$closeBtn.onclick=closePrompt;}}());} catch(e){utag.DB(e)}