var oCL = { cookieStatus: {"acceptCL":0,"cookielaw":{"category":"comfort","cl_essential":"","cl_comfort":"","cl_performance":"","cl_advertising":"","cl_cookielaw":""},"PHPSESSID":{"category":"comfort","PHPSESSID":""}}, installedDomain: 'pdc.itasolution.it', installedPath: '/', consentAsked: false, checkedlocal: false, bannerPosition: "top", jqRetry: 0, sReady: false, cookies: {essential: {},comfort: {},performance: {},advertising: {}}, cookielist: {"essential":[{"name":"PHPSESSID","domain":"pdc.itasolution.it"},{"name":"cl_comfort","domain":"pdc.itasolution.it"},{"name":"cl_performance","domain":"pdc.itasolution.it"},{"name":"cl_advertising","domain":"pdc.itasolution.it"},{"name":"cl_cookielaw","domain":"pdc.itasolution.it"}]}, approved: {}, executionblock: 0, replacementblock: 0, bannerTemplate: '
Utilizziamo i cookie per assicurarti la migliore esperienza nel nostro sito. Questo sito utilizza cookie tecnici per accedere alle funzionalità del pannello di controllo.
Per saperne di più, conoscere i cookie utilizzati dal sito ed eventualmente disabilitarli,
accedi alla Cookie Policy
Se prosegui nella navigazione di questo sito acconsenti all'utilizzo di tutti i cookie, compresi quelli installati nella fase di login.
continua
', initialise: function (){ if(oCL.installedDomain != null && oCL.installedDomain != '') { if(window.jQuery){ oCL.sReady = true; oCL.setup(); } } else { oCL = null; } }, setup: function() { oCL.setInstalledPath(); jQuery.each(oCL.cookies, function(key, value) { oCL.cookies[key].asked = false; oCL.cookies[key].approved = false; oCL.cookies[key].executed = false; oCL.cookies[key].replaced = false; cookievalatt = oCL.getcookie('cl_'+key); if(!cookievalatt){ oCL.setcookie('cl_'+key, "true", 365); } }); }, setInstalledPath: function() { var defaultValue = oCL.installedPath; var currUrl = document.URL; try{ var startPath = currUrl.toLowerCase().indexOf(defaultValue.toLowerCase()); var endPath = startPath + defaultValue.length; oCL.installedPath = currUrl.substring(startPath,endPath); } catch(err){ oCL.installedPath = defaultValue; } }, checklocal: function(){ this.checkedlocal = true; jQuery.each(oCL.cookies, function(key, value){ cookieval = oCL.getcookie('cl_'+key); if(cookieval){ oCL.approved[key] = cookieval; } }); this.checkOK(); }, deletecookie: function(key){ date = new Date(); date.setDate(date.getDate() -1); document.cookie = escape('cl_'+key) + '=; path='+oCL.installedPath+'; expires=' + date; }, reload: function(){ if(false || false){ setTimeout("location.reload(true);",50); } }, showbanner: function (){ jQuery('#clmsg').remove(); data = oCL.bannerTemplate; jQuery('body').prepend(data); var generalConsent = oCL.getcookie('cl_cookielaw'); if(generalConsent){ oCL.consentAsked = true; oCL.blockPageScrolling(); jQuery('.clmsg-body').hide(); jQuery('.clmsg-detail').show(); jQuery('.clmsg-detail .iconclose').unbind('click').click(function() { oCL.blockPageScrolling(); jQuery('#clmsg').slideUp(); }); } oCL.setDefaultRadioSettings(); jQuery('#clmsg').addClass(oCL.bannerPosition); if(oCL.getIEVer() != -1 && oCL.getIEVer() < 9){ jQuery('#clmsg').addClass('ie8Background'); jQuery('.clConf-container .radio').addClass('ie8input'); jQuery('.clConf-container .checkbox').addClass('ie8input'); } jQuery('#clmsg').hide(); jQuery('#clmsg').slideDown(); oCL.attachEvent(); try { _satellite.track("showBanner"); } catch (err){ } checkCookieTabsHeight(); }, attachEvent: function(){ jQuery('.btnAccept').unbind('click').click(oCL.onAccept); if("explicit" == "explicit"){ jQuery('.btnSave').unbind('click').click(oCL.salvaScelte); jQuery('.btnPolicy').unbind('click').click(oCL.showCLPolicy); jQuery('.clConf').unbind('click').click(oCL.showConf); jQuery('#clmsg li.btnPolicy-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .btnPolicy-container").show(); }); jQuery('#clmsg li.clConf-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .clConf-container").show(); }); jQuery('#clmsg li.cl-list-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .cl-list-container").show(); }); jQuery('#clmsg .dwnDesc .desctitle').unbind('click').click(function() { var $desctitle = jQuery(this); var $desccontent = jQuery(this).parent().find('.desccontent'); if($desccontent != null && $desccontent.length > 0){ $desccontent.slideToggle("fast", function() { $desctitle.find('span').toggleClass("open close"); }); } }); } else{ if("explicit" == "implicit"){ jQuery('.btnPolicy').unbind('click').click(oCL.showCLPolicy); jQuery('#clmsg li.btnPolicy-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .btnPolicy-container").show(); }); jQuery('#clmsg li.cl-list-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .cl-list-container").show(); }); jQuery('#clmsg .dwnDesc .desctitle').unbind('click').click(function() { var $desctitle = jQuery(this); var $desccontent = jQuery(this).parent().find('.desccontent'); if($desccontent != null && $desccontent.length > 0){ $desccontent.slideToggle("fast", function() { $desctitle.find('span').toggleClass("open close"); }); } }); }else{ jQuery("#clmsg .clmsg-detailtab li.clConf-tab").css('visibility','visible'); jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg li.clConf-tab").addClass("active"); jQuery("#clmsg .clConf-container").show(); oCL.showCLPolicy(); jQuery('.btnSave').unbind('click').click(oCL.salvaScelte); jQuery('.btnPolicy').unbind('click').click(oCL.showCLPolicy); jQuery('.clConf').unbind('click').click(oCL.showConf); jQuery('#clmsg li.btnPolicy-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .btnPolicy-container").show(); }); jQuery('#clmsg li.cl-list-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .cl-list-container").show(); }); jQuery('#clmsg li.clConf-tab').unbind('click').click(function() { jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery(this).addClass("active"); jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .clConf-container").show(); }); } } jQuery(document).unbind('scroll').scroll(oCL.onAccept); }, checkOK: function() { var generalConsent = oCL.getcookie('cl_cookielaw'); if(generalConsent){ oCL.consentAsked = true; } if("explicit" == "explicit" ){ jQuery.each(oCL.cookies, function(key, value) { if(oCL.approved[key]){ if(oCL.approved[key] == "true" || oCL.approved[key] == "always"){ oCL.cookies[key].asked = true; oCL.cookies[key].approved = true; oCL.executeonconsent(key); } else if(oCL.approved[key] == "false" || oCL.approved[key] == "never"){ oCL.cookies[key].asked = true; oCL.cookies[key].approved = false; oCL.replacenoconsent(key); } else { } } else { } }); }else{ jQuery.each(oCL.cookies, function(key, value) { oCL.cookies[key].approved = true; oCL.executeonconsent(key); }); } if(!oCL.checkedlocal){ oCL.checklocal(); return; } if("explicit" == "explicit"){ jQuery.each(oCL.cookies, function(key, value) { if(!oCL.cookies[key].asked){ oCL.executeonconsent(key); } }); } if(!oCL.consentAsked){ oCL.showbanner(); } }, executeonconsent: function(cookieType){ oCL.cookies[cookieType].executed = true; oCL.executescriptinclusion(cookieType); }, executescriptinclusion: function(cookieType){ timetaken = jQuery('script.cl-onconsent-inline-'+cookieType+'[type="text/plain"]').size() * 800; now = new Date().getTime(); if(now < oCL.executionblock){ setTimeout(function() { oCL.executescriptinclusion(cookieType); }, oCL.executionblock - now); return; } oCL.executionblock = now + timetaken; oCL.insertonconsentscripts(cookieType); }, insertonconsentscripts: function(cookieType){ jQuery('script.cl-onconsent-inline-'+cookieType+'[type="text/plain"]').first().each(function(){ if(jQuery(this).attr('src')){ jQuery(this).after(''); } else { jQuery(this).after(''); } jQuery(this).remove(); }); if(jQuery('script.cl-onconsent-inline-'+cookieType+'[type="text/plain"]').size() > 0){ setTimeout(function() { oCL.insertonconsentscripts(cookieType); }, 800); } }, replacenoconsent: function(cookieType){ oCL.cookies[cookieType].replaced = true; oCL.replacescriptinclusion(cookieType); }, replacescriptinclusion: function(cookieType){ timetakenreplace = jQuery('script.cl-placeholder-'+cookieType+'[type="text/plain"]').size() * 800; nowreplace = new Date().getTime(); if(nowreplace < oCL.replacementblock){ setTimeout(function() { oCL.replacescriptinclusion(cookieType); }, oCL.replacementblock - nowreplace); return; } oCL.replacementblock = nowreplace + timetakenreplace; oCL.insertreplacescripts(cookieType); }, insertreplacescripts: function(cookieType){ jQuery('script.cl-placeholder-'+cookieType+'[type="text/plain"]').first().each(function(){ if(jQuery(this).attr('src')){ jQuery(this).after(''); } else { jQuery(this).after(''); } jQuery(this).remove(); }); if(jQuery('script.cl-placeholder-'+cookieType+'[type="text/plain"]').size() > 0){ setTimeout(function() { oCL.insertreplacescripts(cookieType); }, 800); } }, getcookie: function(c_name) { var i,x,y,ARRcookies=document.cookie.split(";"); for (i=0;i -1) { var domainToSetCookie = location.hostname.substring(startingIndex); document.cookie = name+'='+value+'; domain='+domainToSetCookie+'; expires='+exdate.toUTCString()+'; path='+oCL.installedPath; break; } } }else{ document.cookie = name+'='+value+'; expires='+exdate.toUTCString()+'; path='+oCL.installedPath; } }, onAccept: function (){ oCL.setcookie('cl_cookielaw', 'true', 365); jQuery.each(oCL.cookies, function(key, value) { if(!value.approved && !value.asked){ oCL.approved[key] = "true"; oCL.cookies[key].asked = true; oCL.setcookie('cl_'+key, oCL.approved[key], 365); } }); jQuery('#clmsg').slideUp(); if(oCL.bannerPosition == "cl-push"){ jQuery('html').animate({marginTop: 0}, 400); } oCL.checkOK(); oCL.reload(); jQuery('body').css('overflow', 'initial'); try { _satellite.track("continue button"); }catch(err){} return false; }, setDefaultRadioSettings: function(){ jQuery.each(oCL.cookies, function(key, value){ cookieval = oCL.getcookie('cl_'+key); if(!cookieval || cookieval == "true"){ jQuery('#' + key + '-enable').attr('checked',true); } else { jQuery('#' + key + '-disable').attr('checked',true); } }); }, salvaScelte: function(){ oCL.setcookie('cl_cookielaw', 'true', 365); jQuery.each(oCL.cookies, function(key, value) { thisval = jQuery("#clmsg input[name="+key+"]:checked").val(); if(thisval == "disable"){ oCL.cookies[key].approved = false; oCL.approved[key] = "false"; oCL.setcookie('cl_'+key, oCL.approved[key], 365); oCL.clearAllCookiesByCategory(key); } else if(thisval == "enable") { oCL.cookies[key].approved = true; oCL.approved[key] = "true"; oCL.setcookie('cl_'+key, oCL.approved[key], 365); } else { oCL.cookies[key].approved = false; oCL.deletecookie(key); delete oCL.approved[key]; } oCL.cookies[key].asked = false; }); oCL.checkOK(); oCL.reload(); }, clearAllCookiesByCategory: function(category){ jQuery.each(oCL.cookielist, function(key, value) { if(category != null && key == category){ jQuery.each(value, function(key, value) { if(oCL.singlecookieexist(value.name) && oCL.installedDomain.indexOf(value.domain) != -1){ document.cookie = value.name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/'; } }); } }); }, singlecookieexist: function(cookiename){ var cookieexist = false; if (document.cookie.indexOf(cookiename) >= 0) { cookieexist = true; } return cookieexist; }, getsize: function(obj){ var size = 0, key; for (key in obj) { if (obj.hasOwnProperty(key)){ size++; } } return size; }, onfirstload: function(){ if(!oCL.sReady){ oCL.sReady = true; oCL.setup(); } oCL.checkOK(); jQuery('.btnPolicy-link').unbind('click').click(oCL.showbanner); try { if(oCL.getIEVer() != -1 && oCL.getIEVer() < 9){ window.detachEvent("load"); }else{ window.removeEventListener("load"); } }catch(err) {} }, blockPageScrolling: function(){ if(jQuery('.clmsg-detail').is(":visible")){ if(oCL.getIEVer() != -1){ jQuery('body').css('overflow', 'auto'); if(oCL.getIEVer() < 9){ jQuery('#clmsg').addClass('ie8Background'); } } else { jQuery('body').css('overflow', 'initial'); } } else { jQuery('body').css('overflow', 'hidden'); if(oCL.getIEVer() < 9){ jQuery('#clmsg').addClass('ie8Background'); } } }, showCLPolicy: function() { oCL.blockPageScrolling(); jQuery('.clmsg-detail').slideToggle("slow", function() { jQuery('#clmsg .btnPolicy').toggleClass("open close"); }); jQuery('.clmsg-detail .iconclose').unbind('click').click(oCL.showCLPolicy); }, showConf: function(){ jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .clConf-container").show(); var desktop = isDesktop(); if(!desktop){ jQuery("#clmsg").animate({ scrollTop: jQuery('.clmsg-body').height()+50}, "slow"); } jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery("#clmsg .clmsg-detailtab li.clConf-tab").addClass("active"); jQuery("#clmsg .clmsg-detailtab li.clConf-tab").show(); jQuery("#clmsg .clmsg-detailtab li.clConf-tab").css('visibility','visible'); }, showslist: function(label){ jQuery("#clmsg .tabcontent").hide(); jQuery("#clmsg .cl-list-container").show(); if(jQuery("." + label + ":visible").length > 0){ jQuery('.cl-list-container').animate({ scrollTop: jQuery('.cl-list-container').scrollTop() + jQuery("." + label + ":visible").position().top - 40 }, 1000); } jQuery("#clmsg .clmsg-detailtab li").removeClass("active"); jQuery("#clmsg .clmsg-detailtab li.cl-list-tab").addClass("active"); jQuery("#clmsg .clmsg-detailtab li.cl-list-tab").show(); jQuery("#clmsg .clmsg-detailtab li.cl-list-tab").css('visibility','visible'); }, getIEVer: function() { var rv = -1; if (navigator.appName == 'Microsoft Internet Explorer'){ var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null){ rv = parseFloat( RegExp.$1 ); } } else if (navigator.appName == 'Netscape') { var ua = navigator.userAgent; var re = new RegExp("Trident/.*rv:([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null){ rv = parseFloat( RegExp.$1 ); } } return rv; }, checkGroupCookie: function(cookies, domain) { GroupOK = false; if ((typeof domain!='undefined') && (typeof cookies!='undefined')) { for (i=0; i reqVer){ res = true; break; } } return res; } else { return true; } } } function waitJQ(retry) { if ((typeof retry=='undefined')){ retry = 0; } if(!(window.jQuery)){ for (r=0; r<=10; r++){ setTimeout(function(){ a=0; }, (3 * 100)); if (!(window.jQuery)){ break; } } return; } } (function(a){oCL.ismobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera); WebFontConfig = {google: { families: [ 'Open+Sans:400,600:latin' ] }}; (function() { var wf = document.createElement('script'); wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); function checkCookieTabsHeight(){ var pageHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; var bannerBodyHeight = 0; if(jQuery(".clmsg-body").length > 0){ bannerBodyHeight = jQuery(".clmsg-body")[0].offsetHeight; } var cookieBannerMaxHeight = pageHeight - 200 - bannerBodyHeight; var desktop = isDesktop(); if (desktop){ jQuery(".tabcontent").css("max-height",cookieBannerMaxHeight+"px"); } } function isDesktop(){ var pageWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; return pageWidth > 766; }