/* Copyright 2018 Pasquale Di Dato | www.yudo.it | pasquale@yudo.it http://gdpr.yudo.it/gdpr.js */ var SiteName; var LOCALCOOKIEtx; function deleteSettedCookies() { LOCALCOOKIEtx=decodeURIComponent(localStorage.getItem("LOCALCOOKIE")); if(LOCALCOOKIEtx.length>2){ allcc=LOCALCOOKIEtx.split("|"); for (var i = 0; i < allcc.length; i++) { nm=allcc[i].trim().split(":"); if(nm[1]<1){ document.cookie = nm[0] + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT"; } } } } function AddCookieDiv(){ if(!gEM("CC_ShowCookies")){ divK = document.createElement('div'); divK.id = "CC_ShowCookiesK"; divK.style="position:fixed;left:0px;top:0px;width:100vw;height:100vh;z-index:99999;background-color:rgba(0,0,0,0.53);"; divK.zIndex=99999; document.body.appendChild(divK); div = document.createElement('div'); div.id = "CC_ShowCookies"; div.style="color:#000055;font-size:12px;line-height:150%;position:fixed;left:50%;top:0px;width:650px;max-width:100%;padding:26px 26px 0px 26px;box-sizing:border-box;background:rgba(250,250,255,0.95);transform:translateX(-50%);max-height:90vh;overflow:auto;box-shadow:1px 1px 3px rgba(0,0,0,0.53);z-index:99999;"; STYL=''; TABS='
Cookie Management
Info about cookie
Analyzing cookies...
Cookie information, last update: 05/09/2020
'; SiteName=document.location.href.split("://")[1]; SiteName=SiteName.indexOf("/")>0?SiteName.split("/")[0]:SiteName; AlertText='
'+SiteName+' uses analytical and third-party profiling cookies to analyze and obtain information on your behavior on our website and to send you information in line with your choices and interests. If you want to know more or want to deny consent to some cookies, click on "Show Cookies" . If you continue browsing beyond this banner, you accept the use of cookies.
OK
▶ Show Cookies
'; div.innerHTML=STYL+'
This website uses cookies
'+AlertText+'
Click on the name of the cookie to know its use and meaning.
'+TABS+'
created with GDPR.yudo.it
'; div.zIndex=99999999; document.body.appendChild(div); } } function gEM(w){ return document.getElementById(w); } function ShowView(n){ gEM("Viewer_1").style.display="none"; gEM("Viewer_2").style.display="none"; gEM("CC_Tab_1").style.backgroundColor="#eeeeee"; gEM("CC_Tab_2").style.backgroundColor="#eeeeee"; gEM("Viewer_"+n).style.display="block"; gEM("CC_Tab_"+n).style.backgroundColor="#ffffff"; } function MostraNascondi(){ var V=gEM("CC_MostraDettagli").innerHTML.indexOf("Show")>0; if(V){ gEM("CC_MostraDettagli").innerHTML='▼ Hide Cookies'; gEM("CContents").style.display='block'; } else{ gEM("CC_MostraDettagli").innerHTML='▶ Show Cookies'; gEM("CContents").style.display='none'; } } function CC_OK(){ Set_Cookie("GDPR", 1, "99999", "/", "", ""); oP = gEM("CC_ShowCookies"); oP.parentNode.removeChild(oP); oP2 = gEM("CC_ShowCookiesK"); oP2.parentNode.removeChild(oP2); // AddButtonGDPR(); } function CloseButton(){ oP = gEM("CC_ShowCookies_Button"); oP.parentNode.removeChild(oP); } function loadJSON() { var script = document.createElement('script'); script.src = 'https://yudoit.serversicuro.it/gdpr/json_eng.php?site='+document.location.href+'&tm='+Math.random(); document.body.appendChild(script); } function init() { loadJSON(function(response) { // Parse JSON string into object var actual_JSON = JSON.parse(response); }); } function Set_Cookie( name, value, expires, path, domain, secure ){ var today = new Date(); today.setTime( today.getTime() ); if ( expires ){ expires = expires * 1000 * 60 * 60 * 24; } var expires_date = new Date( today.getTime() + (expires) ); document.cookie = name + "=" +escape( value ) + ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + ( ( path ) ? ";path=" + path : "" ) + ( ( domain ) ? ";domain=" + domain : "" ) + ( ( secure ) ? ";secure" : "" ); } function getCookie(c_name){ var i,x,y,ARRcookies=document.cookie.split(";"); for (i=0;i