function NextCookie(){ this.version = "1.0.0"; this.usePopupForDetails = true; this.ContentWidth= 1200; this.listPopup = true; this.textPolicy = true; this.titlePopupColor = "#1f1f1f"; this.detailPageUrl = "cookie_policy.php"; this.cookieName = "cookieDisclaimerShown"; this.debugMode = false; this.text = "Continuando la navigazione o premendo 'Ok' dichiari di accettare l'informativa sull'utilizzo dei cookies.\n\Per visualizzare l'informativa estesa,conoscere i cookie utilizzati dal sito ed eventualmente disabilitarli[detailPageUrl] CLICCA QUI [/detailPageUrl]Oppure utilizza il link 'Privacy Policy' posizionato in fondo alla pagina."; this.textColor = "#666261"; this.textWidth = "800px"; this.backgroundColor = "#ebebeb"; this.color = "#5b5b5b"; this.linkColor = "#2d8cc2"; this.btnBackColor = "#2d8cc2"; this.btnColorTxt = "#fff"; this.message = "OK"; this.btnWidth = "55px"; this.additionalBarStyle = ""; this.additionalLinkStyle = ""; this.baseUrl = "http://cookie.nextmove.it"; this.top = 0; this.enable = 1; this.Setup = function(){}; this.SetupEvent = function(){ if(navigator.userAgent.indexOf("MSIE 8") > -1) { window.attachEvent("onload", function(){ nc.Init(); }); } else { window.addEventListener("load",function(){ nc.Init(); }); } } this.Init = function(e){ this.Setup(); var style = ""; if(this.top) style += ".nextcookie{z-index:999;position:fixed;top:-200px;left:0;right:0;background:"+this.backgroundColor+";color:"+this.color+";transition:top ease 1s;box-shadow:0px 0px 5px #aaa;opacity:0.95;border-bottom:1px solid black;border-bottom-color:rgba(0,0,0,0.3);"+this.additionalBarStyle+"}"; else style += ".nextcookie{z-index:999;position:fixed;bottom:-200px;left:0;right:0;background:"+this.backgroundColor+";color:"+this.color+";transition:bottom ease 1s;box-shadow:0px 0px 5px #aaa;opacity:0.95;border-bottom:1px solid black;border-bottom-color:rgba(0,0,0,0.3);"+this.additionalBarStyle+"}"; style += ".nextcookiePadding{width:100%; margin:auto;text-align:center;font-size:13px;font-family: verdana, arial, serif;}"; style += ".nextcookie a{color:"+this.linkColor+";text-decoration:underline;"+this.additionalLinkStyle+"}"; style += ".nextcookiePopupWrapper {display:none;position:fixed;z-index:999;top:0px;left:0px;right:0px;bottom:0px;background:rgba(0,0,0,0.5);}"; style += ".nextcookiePopup {position:relative;height:700px;background:#ebebeb; font-family:arial;font-size:11px;margin: 5%;}"; style += ".nextcookiePopup h1 {margin-bottom:10px;margin-top:20px;font-size:20px; color:#1f1f1f; }"; style += ".nextcookiePopup h2 {margin-bottom:10px;margin-top:20px;font-size:15px; color:#1f1f1f;}"; style += ".nextcookiePopup h3 {margin-bottom:10px;margin-top:20px;font-size:13px; color:#1f1f1f;}"; style += ".nextcookiePopup ul {list-style:disc;margin-left:20px}"; style += ".nextcookiePopupScroller {text-align:left !important;position:absolute;top:50px;bottom:50px;right:50px;left:50px;overflow-y:auto;color:#1f1f1f;width: calc(100% - 100px);word-wrap:break-word;}"; style += ".bannerContent{margin:5px;width: 100%;}"; style += ".titlePopup {font-size:13px; font-weight: bold; color:"+this.titlePopupColor+";}"; style += "#text{font-family:arial;font-size:12px;text-align:left !important; float:left; color:"+this.textColor+";max-width: "+this.textWidth+";word-wrap: break-word; position:relative; padding-bottom: 0px;top:0px;margin-right:5%}"; style += "#okBtn{font-family:arial;font-size:11px;font-weight: bold; background-color: "+this.btnBackColor+"; color: "+this.btnColorTxt+"; display: block;height: 35px;line-height: 35px;text-decoration: none;width:"+this.btnWidth+";text-align: center; ;position: relative;border-radius:5px;}"; style += "#CloseBtn{font-family:arial;font-size:11px; background-color: "+this.btnBackColor+"; color: "+this.btnColorTxt+"; display: block;height: 35px;line-height: 35px;text-decoration: none;width: 55px;text-align: center; float:right;margin-top: 15px;}"; style += "#tableCookie {text-align: center;width: 90%;border-collapse: collapse;}"; style += "#tableCookie td, #tableCookie th {border: 1px solid #bebebe;padding: 3px 7px 2px 7px;}"; style += "#tableCookie th {padding-top: 5px;padding-bottom: 4px;}"; style += ".divBtn {margin-left: 20px;}"; var html = ""; html += "
"; html += ""; var popupHtml = "