function prvcypop_setCookie(c_name,value,exdays){ var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()); document.cookie = c_name + "=" + c_value + "; path = /"; } function prvcypop_getCookie(c_name){ var c_value = document.cookie; var c_start = c_value.indexOf(" " + c_name + "="); if (c_start == -1){ c_start = c_value.indexOf(c_name + "="); } if (c_start == -1){ c_value = null; }else{ c_start = c_value.indexOf("=", c_start) + 1; var c_end = c_value.indexOf(";", c_start); if (c_end == -1){ c_end = c_value.length; } c_value = unescape(c_value.substring(c_start,c_end)); } return c_value; } function prvcypop_init(){ if ('undefined' == typeof window.jQuery) { var script = document.createElement('script'); script.type = "text/javascript"; script.src = "https://www.ftcguardian.com/js/jquery.js"; document.getElementsByTagName('head')[0].appendChild(script); } prvycpop_cookie = prvcypop_getCookie('521_1582486721'); if(typeof prvycpop_cookie === 'undefined' || prvycpop_cookie === null || prvycpop_cookie == '' ){ style = '#privacy_popup_521{ width:100%; position:fixed; z-index:999999; }'; style += '#privacy_popup_521.box{ max-width:600px; }'; style += '#privacy_popup_521.halfscreen{ max-width:50vw; }'; style += '#privacy_popup_521.fullscreen{ } '; style += '#privacy_popup_521.bottom-left{ bottom:0; left:0; }'; style += '#privacy_popup_521.bottom-right{ bottom:0; right:0; }'; style += '#privacy_popup_521.bottom-center{ bottom:0; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%) }'; style += '#privacy_popup_521.top-left{ top:0; left:0; }'; style += '#privacy_popup_521.top-right{ top:0; right:0; } '; style += '#privacy_popup_521.top-center{ top:0; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%)}'; jQuery('head').append(''); setTimeout(function (){ jQuery('#prvcypop_521').fadeIn(); } , 3000); } } function prvpop_close(){ jQuery('#prvcypop_521').remove(); prvcypop_setCookie('521_1582486721','1',365); var url = (window.location != window.parent.location) ? document.referrer: document.location.href; jQuery.post('https://www.ftcguardian.com/?pg=save_prvpop_click',{popid: 521, userip : '51.159.103.13', url : url }); } document.write('
'); if (window.addEventListener) window.addEventListener('load', prvcypop_init, false) else if (window.attachEvent) window.attachEvent('onload', prvcypop_init)