//cookieControl (Fri Apr 28 2017 17:25:34 GMT+0300 (EEST), gerasimos) // Copyright (c) 2016 Civic UK (http://www.civicuk.com/cookie-law/) function cookieControl(c){if("undefined"==typeof c||"undefined"==typeof c.apiKey)return alert("Cookie Control: please provide an options object with a valid API Key and product name."),-1;if(c.product=c.product||"CookieControl Free",c.pollPeriod=c.pollPeriod||25,c.pollIncrement=c.pollIncrement||1.25,c.pollTotalPeriod=c.pollTotalPeriod||1e4,c.jQueryUrl=c.jQueryUrl||"//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js",[CookieControl.PROD_FREE,CookieControl.PROD_PAID,CookieControl.PROD_PAID_MULTISITE,CookieControl.PROD_PAID_CUSTOM].indexOf(c.product.toLowerCase())<0)return alert("Cookie Control: Sorry, the product name '"+c.product+"' is not recognised.\nPlease ensure you have used one of the CookieControl.PROD_x values."),-1;if("undefined"==typeof jQuery||parseInt(jQuery.fn.jquery.replace(/\./g,""))<171)if(document.getElementsByTagName("head").length>0){var o=document.createElement("script");o.type="text/javascript",o.src=c.jQueryUrl,document.getElementsByTagName("head")[0].appendChild(o)}else document.write('');if(document.getElementsByTagName("body").length>0){var t=document.createElement("script");t.type="text/javascript",t.src="//apikeys.civiccomputing.com/c/v?d="+encodeURIComponent(document.location.hostname)+"&p="+encodeURIComponent(c.product)+"&v="+CookieControl.VERSION+"&k="+encodeURIComponent(c.apiKey),document.getElementsByTagName("body")[0].appendChild(t)}else document.write('');_cookieControlPoll(c)}function _cookieControlPoll(c){if("undefined"==typeof jQuery||"undefined"==typeof civicLicense.valid){if(c.pollTotalPeriod<=0)return!1;setTimeout(function(){_cookieControlPoll(c)},c.pollPeriod),c.pollPeriod*=c.pollIncrement,c.pollTotalPeriod-=c.pollPeriod}else jQuery(function(){CookieControl.init(c)})}Array.prototype.indexOf||(Array.prototype.indexOf=function(c,o){for(var t=o||0,e=this.length;t*{position:relative!important;display:inline-block;float:left}#cccwr.ccc-bar .ccc-close,.ccc-bar #ccc-ias{float:right!important;width:auto;height:auto;text-indent:0}#cccwr.ccc-bar.ccc-light #ccc-hdricon{color:#f39321}.ccc-bar .ccc-hdr h2{color:#f39321;display:inline;padding-left:5px;font-size:14px;line-height:18px}.ccc-bar .ccc-hdr span.ccc-title{display:inline;padding:11px 10px 10px;font-size:14px;color:#444}.ccc-bar.ccc-dark .ccc-title{color:#888}#ccc-ias{display:none}.ccc-bar #ccc-ias{display:inline!important;position:relative!important;overflow:hidden;background:0 0;padding:12px 10px 8px;color:#444}#cccwr.ccc-bar.ccc-dark #ccc-ias{color:#f0942b}#cccwr.ccc-bar #ccc-ias:hover{text-decoration:underline}.ccc-bar #ccc-ias2,.ccc-info #ccc-ias2{display:none}#cccwr.ccc-bar .ccc-close{background:#32796D;margin:-5px 20px 0;font-size:14px;padding:8px 26px;border-radius:4px;-moz-border-radius:4px;-o-border-radius:4px;-webkit-border-radius:4px}#cccwr.ccc-bar .ccc-close:before{font-size:12px;content:"\\e804";border:1px solid #fff;border-radius:50%;padding:2px;margin:0 5px 0 0}#cccwr.ccc-bar .ccc-close span{display:inline-block;text-indent:0}.ccc-bar .ccc-c{overflow:hidden;position:fixed;top:50px;right:0;width:340px}.ccc-bar .ccc-ci{display:block;visibility:hidden;position:relative;top:0;right:0;background:#fff;border:1px solid #888;border-style:none none solid solid;overflow:hidden;margin:0 0 7px auto!important;padding:12px 33px 24px;box-shadow:12px -12px 10px 10px #000;box-sizing:content-box!important;height:auto!important}#cccwr #ccc-explicit-checkbox,#cccwr #ccc-implicit-warning,#cccwrpad{display:none}.ccc-bar.ccc-dark .ccc-ci{background:#363636;border-color:#000;color:#fff}.ccc-bar.ccc-bottom .ccc-c{top:auto;bottom:50px}.ccc-bar.ccc-bottom .ccc-ci{border-style:solid none none solid;margin:7px 0 0 auto!important;box-shadow:12px 12px 10px 10px #000;padding-top:25px}#cccwr.ccc-bar #ccc-toggle,#cccwr.ccc-bar #ccc-toggle a,#cccwr.ccc-bar .ccc-bt,#cccwr.ccc-bar .ccc-toggle-shadow{width:268px}.ccc-bar.ccc-top #cccwrpad{display:none;border:0;margin:0;padding:0;height:50px}.ccc-bar.ccc-bottom .ccc-widget{top:inherit;bottom:inherit;padding:0 10px 4px 8px;height:auto}.ccc-dark #cccwr.ccc-bar{background-color:#3e3e3e}.ccc-c{margin:0;border:0;padding:0}.ccc-ci{padding:5px 10px 10px;margin:0}#cccwr .ccc-inner p{margin:5px 0 8px;padding:0}.ccc-inner ul{margin:8px 0;padding:0 0 0 12px}.ccc-inner a{color:#454545;text-decoration:none}.ccc-dark .ccc-inner a{color:#f0942b}.ccc-inner a:hover{text-decoration:underline}#ccc-hdricon:hover:before,#ccc-ias2:hover:before,#ccc-icon a,#cccwr.ccc-bar #ccc-ias:hover:before,.ccc-close:hover:before,div#ccc-icon a:hover:before{text-decoration:none}#cccwr .cctoggle-text-off{padding-left:20px}#cccwr .cctoggle-text-on{padding-left:70px}.ccc-inner .ccc-ab{display:block;margin:0;position:relative;text-align:right;top:5px}#ccc-ias2{display:block}.ccc-expanded,.ccc-hdr span.ccc-title{display:none}.ccc-hdr span.ccc-title *{outline:0!important;margin:0!important;border:0!important;padding:0!important}#cccwr.ccc-persist.ccc-left #ccc-icon,#cccwr.ccc-persist.ccc-right #ccc-icon,.ccc-bar .ccc-expanded{display:block!important}#ccc-icon a{display:block;color:#f39321;width:64px;height:64px;border:0;background:0 0}div#ccc-icon a span{left:0;width:64px;height:64px}.screen-clip{position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}.ccc-bar div#ccc-icon{display:none!important}@font-face{font-family:cc7;src:url(//apikeys.civiccomputing.com/p/cc/7.0/font/cc7.eot?91613695);src:url(//apikeys.civiccomputing.com/p/cc/7.0/font/cc7.eot?91613695#iefix) format("embedded-opentype"),url(//apikeys.civiccomputing.com/p/cc/7.0/font/cc7.woff?91613695) format("woff"),url(//apikeys.civiccomputing.com/p/cc/7.0/font/cc7.ttf?91613695) format("truetype"),url(//apikeys.civiccomputing.com/p/cc/7.0/font/cc7.svg?91613695#cc7) format("svg");font-weight:400;font-style:normal}#ccc-hdricon:before,#ccc-ias2:before,#ccc-icon a:before,#cccwr.ccc-bar #ccc-ias:before,.ccc-close:before,.ccc-fine:before{font-family:cc7;font-style:normal;font-weight:400;speak:none;box-sizing:content-box;display:inline-block;text-decoration:inherit;width:1em;margin-left:.2em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#cccwr.no-branding #ccc-about,#cccwr.no-branding.ccc-bottom .ccc-hdr #ccc-hdricon,#cccwr.no-branding.ccc-bottom .ccc-hdr h2,#cccwr.no-branding.ccc-left #ccc-about,#cccwr.no-branding.ccc-left .ccc-hdr #ccc-hdricon,#cccwr.no-branding.ccc-left .ccc-hdr h2,#cccwr.no-branding.ccc-right #ccc-about,#cccwr.no-branding.ccc-right .ccc-hdr #ccc-hdricon,#cccwr.no-branding.ccc-right .ccc-hdr h2,#cccwr.no-branding.ccc-top .ccc-hdr #ccc-hdricon,#cccwr.no-branding.ccc-top .ccc-hdr h2{display:none}#ccc-hdricon:before{content:"\\e800";font-size:24px;margin:8px}#ccc-icon.ccc-diamond a:before{content:"\\e801";font-size:48px;margin:8px}#ccc-icon.ccc-square a:before{content:"\\e802";font-size:48px;margin:8px}#ccc-icon.ccc-triangle a:before{content:"\\e803";font-size:64px;margin:0}.ccc-fine:before{content:"\\e804";border:1px solid #fff;border-radius:50%;padding:2px;margin:0 5px 0 0}.ccc-close:before{content:"\\e805";font-size:16px;margin:4px}.icon-help:before{content:"\\e806"}#ccc-ias2.active:before,#cccwr.ccc-bar #ccc-ias:before,.ccc-bottom.ccc-open #cccwr.ccc-bar #ccc-ias:before{content:"\\e807";opacity:.5}#ccc-ias2:before,#cccwr.ccc-bar .ccc-open #ccc-ias:before,.ccc-bottom #cccwr.ccc-bar #ccc-ias:before{content:"\\e808";opacity:.5}#ccc-icon.ccc-right.ccc-triangle a:before{content:"\\e80a";font-size:64px;margin:0}#cccwr.no-branding.ccc-left #ccc-ias2,#cccwr.no-branding.ccc-right #ccc-ias2{text-align:center;margin:.5em 0 1em -12px}@media only screen and (max-width:1024px){#cccwr .ccc-close{height:40px;width:50px;right:0;top:0;margin:0!important}.ccc-close:before{margin:12px 16px}}@media only screen and (max-width:800px){#cccwr.ccc-bar #ccc-ias span,#cccwr.ccc-bar .ccc-close span{display:none}#cccwr div.ccc-c{overflow-y:scroll;overflow-x:hidden}#cccwr.ccc-bar,#cccwr.ccc-bar .ccc-hdr,#cccwr.ccc-bar .ccc-widget{height:auto}#cccwr.ccc-bar #ccc-ias,#cccwr.ccc-bar .ccc-close{position:absolute!important;top:8px;padding:0;width:32px;height:32px}#cccwr.ccc-bar .ccc-close{right:20px;margin:0;text-align:center}#cccwr.ccc-bar .ccc-close:before{margin:7px}#cccwr.ccc-bar #ccc-ias{right:60px;margin:0;background:#f39321;opacity:.6;border-radius:4px;-moz-border-radius:4px;-o-border-radius:4px;-webkit-border-radius:4px}#cccwr.ccc-bar #ccc-ias:before{content:"\\e807";color:#fff;background:#f39321;opacity:1;margin:0;text-align:center;padding:9px;font-size:14px}#cccwr.ccc-bar.no-branding .ccc-title{padding:8px 88px 10px 10px}#cccwr.ccc-bar div.ccc-c.scroll-clip{right:0;top:0;bottom:0}}@media only screen and (max-width:750px){#cccwr.ccc-bar .ccc-hdr span.ccc-title{clear:left}}@media only screen and (max-width:700px){#cccwr.ccc-diamond .ccc-hdr,#cccwr.ccc-square .ccc-hdr,#cccwr.ccc-triangle .ccc-hdr{border-radius:4px 4px 0 0;height:64px}#cccwr.ccc-diamond #ccc-hdricon,#cccwr.ccc-square #ccc-hdricon,#cccwr.ccc-triangle #ccc-hdricon{top:12px}#cccwr.ccc-diamond #ccc-hdricon:before,#cccwr.ccc-square #ccc-hdricon:before,#cccwr.ccc-triangle #ccc-hdricon:before{margin:8px 8px 8px 20px}#cccwr.ccc-diamond .ccc-inner h2,#cccwr.ccc-square .ccc-inner h2,#cccwr.ccc-triangle .ccc-inner h2{padding-top:23px;padding-left:54px}#cccwr.ccc-diamond .ccc-close,#cccwr.ccc-square .ccc-close,#cccwr.ccc-triangle .ccc-close{height:64px}#cccwr.ccc-diamond .ccc-close:before,#cccwr.ccc-square .ccc-close:before,#cccwr.ccc-triangle .ccc-close:before{margin:24px 16px}#cccwr.ccc-diamond .ccc-widget,#cccwr.ccc-square .ccc-widget,#cccwr.ccc-triangle .ccc-widget{overflow-y:scroll;overflow-x:hidden;left:0;bottom:0;top:0;right:0;font-size:16px;border-radius:0;background:#fff}#cccwr.ccc-diamond .ccc-widget p,#cccwr.ccc-square .ccc-widget p,#cccwr.ccc-triangle .ccc-widget p{line-height:1.5em;margin:.5em 0}#cccwr.ccc-diamond .ccc-outer,#cccwr.ccc-square .ccc-outer,#cccwr.ccc-triangle .ccc-outer{width:90%;margin:5%;border-color:#fff}#cccwr.ccc-diamond .ccc-dark .ccc-widget,#cccwr.ccc-square .ccc-dark .ccc-widget,#cccwr.ccc-triangle .ccc-dark .ccc-widget{background:#3e3e3e}#cccwr.ccc-diamond #cccwr.ccc-dark .ccc-outer,#cccwr.ccc-square #cccwr.ccc-dark .ccc-outer,#cccwr.ccc-triangle #cccwr.ccc-dark .ccc-outer{border-color:#3e3e3e}#cccwr.ccc-diamond .ccc-expanded,#cccwr.ccc-square .ccc-expanded,#cccwr.ccc-triangle .ccc-expanded{display:block!important}#cccwr.ccc-diamond #cccwr.ccc-expl #ccc-ias2,#cccwr.ccc-diamond #cccwr.ccc-impl #ccc-ias2,#cccwr.ccc-diamond #cccwr.ccc-info #ccc-toggle,#cccwr.ccc-diamond.ccc-dnt #ccc-ias2,#cccwr.ccc-diamond.ccc-expl #ccc-ias2,#cccwr.ccc-square #cccwr.ccc-expl #ccc-ias2,#cccwr.ccc-square #cccwr.ccc-impl #ccc-ias2,#cccwr.ccc-square #cccwr.ccc-info #ccc-toggle,#cccwr.ccc-square.ccc-dnt #ccc-ias2,#cccwr.ccc-square.ccc-expl #ccc-ias2,#cccwr.ccc-triangle #cccwr.ccc-expl #ccc-ias2,#cccwr.ccc-triangle #cccwr.ccc-impl #ccc-ias2,#cccwr.ccc-triangle #cccwr.ccc-info #ccc-toggle,#cccwr.ccc-triangle.ccc-dnt #ccc-ias2,#cccwr.ccc-triangle.ccc-expl #ccc-ias2{display:none}#cccwr.ccc-diamond #cccwr #ccc-toggle,#cccwr.ccc-diamond #cccwr .ccc-bt,#cccwr.ccc-diamond #cccwr .ccc-toggle-shadow,#cccwr.ccc-square #cccwr #ccc-toggle,#cccwr.ccc-square #cccwr .ccc-bt,#cccwr.ccc-square #cccwr .ccc-toggle-shadow,#cccwr.ccc-triangle #cccwr #ccc-toggle,#cccwr.ccc-triangle #cccwr .ccc-bt,#cccwr.ccc-triangle #cccwr .ccc-toggle-shadow{width:300px;margin:1em auto}#cccwr.ccc-diamond #cccwr #ccc-toggle div,#cccwr.ccc-square #cccwr #ccc-toggle div,#cccwr.ccc-triangle #cccwr #ccc-toggle div{width:200%}#cccwr.ccc-diamond #cccwr #ccc-toggle a,#cccwr.ccc-square #cccwr #ccc-toggle a,#cccwr.ccc-triangle #cccwr #ccc-toggle a{width:50%}#cccwr.ccc-diamond #cccwr .ccc-bt,#cccwr.ccc-square #cccwr .ccc-bt,#cccwr.ccc-triangle #cccwr .ccc-bt{width:300px;margin-bottom:1.5em}#cccwr.ccc-diamond .ccc-ci,#cccwr.ccc-square .ccc-ci,#cccwr.ccc-triangle .ccc-ci{padding:20px}#cccwr.ccc-diamond #cccwr #ccc-toggle,#cccwr.ccc-square #cccwr #ccc-toggle,#cccwr.ccc-triangle #cccwr #ccc-toggle{margin-top:3em}#cccwr.ccc-diamond #ccc-toggle,#cccwr.ccc-diamond #ccc-toggle a,#cccwr.ccc-diamond .ccc-bt,#cccwr.ccc-diamond .ccc-toggle-shadow,#cccwr.ccc-square #ccc-toggle,#cccwr.ccc-square #ccc-toggle a,#cccwr.ccc-square .ccc-bt,#cccwr.ccc-square .ccc-toggle-shadow,#cccwr.ccc-triangle #ccc-toggle,#cccwr.ccc-triangle #ccc-toggle a,#cccwr.ccc-triangle .ccc-bt,#cccwr.ccc-triangle .ccc-toggle-shadow{height:40px;line-height:40px}#cccwr.ccc-diamond #ccc-toggle,#cccwr.ccc-square #ccc-toggle,#cccwr.ccc-triangle #ccc-toggle{margin:1em auto}#cccwr.ccc-diamond.no-branding .ccc-hdr,#cccwr.ccc-square.no-branding .ccc-hdr,#cccwr.ccc-triangle.no-branding .ccc-hdr{display:block;background:0 0;border-bottom:0;height:20px}#cccwr.ccc-diamond.no-branding .ccc-close,#cccwr.ccc-square.no-branding .ccc-close,#cccwr.ccc-triangle.no-branding .ccc-close{background:#f39321}.ccc-light #cccwr.ccc-diamond .ccc-widget,.ccc-light #cccwr.ccc-square .ccc-widget,.ccc-light #cccwr.ccc-triangle .ccc-widget{background:rgba(0,0,0,.5)}.ccc-dark #cccwr.ccc-diamond .ccc-widget,.ccc-dark #cccwr.ccc-square .ccc-widget,.ccc-dark #cccwr.ccc-triangle .ccc-widget{background:rgba(255,255,255,.5)}#cccwr.ccc-bar.ccc-top .ccc-c{border-top:1px solid #f0942b;width:100%}#cccwr.ccc-bar.ccc-bottom .ccc-c{border-bottom:1px solid #f0942b;width:100%}#cccwr.ccc-bar #ccc-toggle,#cccwr.ccc-bar .ccc-toggle{margin:1.5em auto}#cccwr .ccc-ab{text-align:center;padding:1.5em 10px;border-top:1px solid #eaeaea}}',html:'

Cookie Control

(One cookie will be set to store your preference)
(Ticking this sets a cookie to hide this popup if you then hit close. This will not store any personal information)
',onReady:null,onCookiesAllowed:null,onCookiesNotAllowed:null,onAccept:null,onReject:null,consentModel:this.MODEL_INFO,branding:!0,t:{ias:"Information and Settings",title:"This site uses cookies to store information on your computer.",intro:"Some of these cookies are essential to make our site work and others help us to improve by giving us some insight into how the site is being used.",full:'

These cookies are set when you submit a form, login or interact with the site by doing something that goes beyond clicking some simple links.

We also use some non-essential cookies to anonymously track visitors or enhance your experience of this site. If you\'re not happy with this, we won\t set these cookies but some nice features on the site may be unavailable.

To control third party cookies, you can also adjust your browser settings.

Browser settings',on:"Turn cookies on",off:"Turn cookies off",bs:"Browser settings",rm:"Read more",rl:"Read less",ab:"About this tool",c:"I'm fine with this"}},isFP:function(){return"object"!=typeof civicLicense||civicLicense.product.toLowerCase()===this.PROD_FREE},cookieLawApplies:function(){return!!this.countryHasCookieLaw()},maySendCookies:function(){return!this.cookieLawApplies()||(this._setModel===this.MODEL_INFO&&!this.getDNT()||(void 0===this.getState("consented",void 0)&&this._setModel===this.MODEL_IMPLICIT&&!this.getDNT()||this.consented()===!0))},consented:function(){return"yes"===this.getState("consented",!1)},hidden:function(){return"yes"===this.getState("hidden",!1)},closed:function(){return"no"===this.getState("open",!1)},reset:function(){this.delCookie(this.options.cookieName)},init:function(c){if(c.t=jQuery.extend(this.options.t,c.t),this.options=jQuery.extend(this.options,c),this.sanityCheck()){var o=jQuery.extend({},this.options.t);if(!this.isFP()&&this.options.locale){var t=window.navigator.userLanguage||window.navigator.language;t=t.replace("-","_"),user_language=t.substring(0,2),jQuery.inArray(t,this.options.locale)>=0?jQuery.extend(o,this.options.locale_t[t]):jQuery.inArray(user_language,this.options.locale)>=0&&jQuery.extend(o,this.options.locale_t[user_language])}c.t=jQuery.extend(this.options.t,o),this.workarounds(),this.initPersistentState(),this.setModel(this.options.consentModel),this.initWidget(),this.options.cookieDomain||(this.options.cookieDomain=document.location.hostname),this.resetOnUpdatedPolicy(),this.setPolicyVersion(),this.options.protectedCookies.push(this.options.cookieName),this.scheduleAutohide(),jQuery("#ccc-state").click(function(){CookieControl.disableAutohide(),CookieControl.stopAutohide()}),this.readyEvent(),this.maySendCookies()?(jQuery("#ccc-state, body").addClass("ccc-consented"),this.cookiesAllowedEvent()):(jQuery("#ccc-state, body").addClass("ccc-blocked"),this.options.autoDelete&&this.delAllCookies(),this.cookiesNotAllowedEvent())}},sanityCheck:function(){if(!civicLicense.valid)return civicLicense.error&&(civicLicense.error.toLowerCase().indexOf("this api key is not valid")!==-1?alert("Civic Cookie Control: "+civicLicense.error):console&&console.error&&console.error(civicLicense.error)),!1;var c=[];jQuery.each("ias title intro full on off bs rm rl".split(" "),function(o,t){""===t.trim()&&c.push("Text option CookieControl.options."+o+" may not be empty.")});var o=[this.STYLE_TRIANGLE,this.STYLE_SQUARE,this.STYLE_DIAMOND,this.STYLE_BAR];return o.indexOf(this.options.style)<0&&c.push('Style must be one of STYLE_TRIANGLE, STYLE_SQUARE, STYLE_DIAMOND or STYLE_BAR, not "'+this.options.style+'".'),this.options.style==this.STYLE_BAR?this.options.position!==this.POS_TOP&&this.options.position!==this.POS_BOTTOM&&c.push('Position must be POS_TOP or POS_BOTTOM, not "'+this.options.position+'".'):this.options.position!==this.POS_LEFT&&this.options.position!==this.POS_RIGHT&&c.push('Position must be POS_LEFT or POS_RIGHT, not "'+this.options.position+'".'),this.options.theme!==this.THEME_LIGHT&&this.options.theme!==this.THEME_DARK&&c.push('Theme must be THEME_LIGHT or THEME_DARK, not "'+this.options.position+'".'),!c.length||(alert("Civic Cookie Control: "+c.join("\n")),!1)},initWidget:function(){this.cookieLawApplies()&&"no"!==this.getCookie(this.options.iconStatusCookieName)&&(this.hidden()===!0&&this.options.alwaysShow!==!0||this.initShowCookieWidget())},initShowCookieWidget:function(){var c=this.consented();if(!jQuery("#cccwr .ccc-outer").length){jQuery("head").append('"),jQuery("body").prepend(this.options.html);var o=jQuery("#cccwr"),t=o.find("#ccc-icon"),e=o.find("#ccc-state");if(o.find(".ccc-title").html(this.options.t.title),o.find(".ccc-intro").html(this.options.t.title+" "+this.options.t.intro),o.find(".ccc-expanded").html(this.options.t.full),o.find("#ccc-about").html(this.options.t.ab),o.find(".ccc-close").html(""+this.options.t.c+""),o.find("#ccc-ias, #ccc-ias2").html(""+this.options.t.ias+""),o.find("#ccc-about, #cccwr #ccc-hdricon").attr({href:this.HOME_URL,target:"_blank"}),o.find("a.ccc-settings").attr({href:this.BROWSER_HELP,target:"_blank"}),this.setPosition(this.options.position),this.setStyle(this.options.style),this.setTheme(this.options.theme),e.addClass(c?"ccc-go ccc-cookies-allowed":"ccc-pause ccc-cookies-blocked"),o.find("a").attr("rel","nofollow"),this.initSlider(o),this.initIAS(o),this.initEventHandlers(o,t),this.hidden()||this.initialDisplay(),this.isFP()||this.options.branding!==!1||(o.addClass("no-branding"),jQuery("#ccc-about, .ccc-hdr #ccc-hdricon, .ccc-hdr h2").remove()),jQuery("#cccwr, #ccc-icon, body").addClass("ccc-"+this._setModel),!this.isFP()&&this.options.hex){if(this.options.hex.branding?brandingHex=this.options.hex.branding:brandingHex=this.options.hex,jQuery("#cccwr.ccc-bar #ccc-hdricon, #cccwr.ccc-bar .ccc-hdr h2").css("color",brandingHex),jQuery("#cccwr #ccc-icon a").css("color",brandingHex),jQuery("#cccwr.ccc-left.ccc-light .ccc-hdr, #cccwr.ccc-right.ccc-light .ccc-hdr").css("background-color",brandingHex),jQuery("#cccwr.ccc-left .ccc-hdr, #cccwr.ccc-right .ccc-hdr").css("border-bottom","1px solid "+brandingHex),jQuery("#cccwr.ccc-left .ccc-outer, #cccwr.ccc-right .ccc-outer").css("border-color",brandingHex),jQuery("#cccwr .ccc-ci .ccc-intro a, #cccwr .ccc-ci .ccc-expanded a").css("color",brandingHex),jQuery("#cccwr .ccc-rd, #cccwr .ccc-or, #cccwr .ccc-gr, #cccwr.ccc-bar .ccc-close").css("background-color",brandingHex),this.options.hex.links&&jQuery("#cccwr .ccc-ci .ccc-intro a, #cccwr .ccc-ci .ccc-expanded a, #cccwr.ccc-bar #ccc-ias, .ccc-inner a").css("color",this.options.hex.links),this.options.hex.text&&jQuery(".ccc-inner p").css("color",this.options.hex.text),this.options.hex.buttons){var i=this.options.hex.buttons;jQuery("#cccwr .ccc-rd, #cccwr .ccc-or, #cccwr .ccc-gr, #cccwr.ccc-bar .ccc-close").css("background-color",i)}if(this.options.hex.buttonsHover&&i){var r=this.options.hex.buttonsHover;jQuery("#cccwr.ccc-bar .ccc-close, .ccc-toggle-shadow").hover(function(c){var o=jQuery(this).hasClass("ccc-toggle-shadow")?jQuery(".ccc-rd, .ccc-or, .ccc-gr"):jQuery(this);o.css("background-color","mouseenter"===c.type?r:i)})}this.options.hex.bar&&jQuery("#cccwr.ccc-bar, .ccc-bar .ccc-ci").css({"background-color":this.options.hex.bar,"border-color":this.options.hex.bar})}if(this.options.alwaysShow===!0&&(jQuery("body").addClass("ccc-persist"),o.addClass("ccc-persist")),this.options.style==this.STYLE_BAR){var n=this.options.barHeight;if(n&&"number"==typeof n&&n>50&&matchMedia&&matchMedia("screen and (min-width: 801px)").matches){var s=!0;jQuery("#cccwr.ccc-bar, #cccwr.ccc-bar .ccc-widget, #cccwr.ccc-bar .ccc-hdr").css("height",n+"px");var a=Math.ceil((n-40)/2);jQuery("#cccwr.ccc-bar .ccc-hdr").css("padding",a+"px 10px");var d=Math.ceil(.16*n),l=Math.ceil(8/d*26)+26;jQuery("#cccwr.ccc-bar .ccc-close").css({padding:d+"px "+l+"px","margin-top":"-"+Math.ceil(.12*n)+"px"})}if(this.options.toggleOnBar===!0&&this.options.consentModel!==this.MODEL_INFO){var p=o.find(".ccc-toggle-shadow");ccc_tw=this.options.toggleWidth?this.options.toggleWidth:jQuery(".ccc-close").outerWidth();var h=jQuery(".ccc-close").outerHeight();jQuery(".ccc-close").css("margin-right","5px"),p.attr("style","width:"+ccc_tw+"px;height:"+h+"px;position:absolute!important;right:10px;margin-top:3px;z-index:2").insertBefore(".ccc-close"),jQuery("#ccc-toggle").width(ccc_tw).height(h).insertBefore(".ccc-close").css({"float":"right","margin-top":s?"-1px":"3px"}),jQuery("#ccc-toggle a[class^=ccc-]").width(ccc_tw).height(h).css("line-height",h+"px"),this.maySendCookies()||this._setModel!==this.MODEL_EXPLICIT||jQuery("#ccc-toggle div").css("margin-left",-(ccc_tw+5))}this.options.fullTextOnlyOnPopup===!0&&jQuery(".ccc-intro").remove();var u=jQuery("#cccwr.ccc-bar .ccc-hdr"),g=jQuery("#cccwr.ccc-bar.ccc-top div.ccc-c"),w=jQuery("#cccwr.ccc-bar.ccc-bottom div.ccc-c"),f=u.outerHeight();g.css("top",f),w.css("bottom",f);var b;jQuery(window).on("resize",function(c){clearTimeout(b),b=setTimeout(function(){f=u.outerHeight(),g.css("top",f),w.css("bottom",f),jQuery(".ccc-ci").hasClass("ccc-vis")&&(jQuery(".scroll-clip").removeClass(".scroll-clip"),CookieControl.handleBarIAS())},100)})}}},initSlider:function(c){this._setModel!=this.MODEL_IMPLICIT||this.getDNT()?jQuery("#cccwr .ccc-expanded").after('
'):jQuery("#cccwr .ccc-expanded").append('
').after(''+this.options.t.c+"");var o=(this.getCookie(this.options.cookieName),c.find(".ccc-toggle-shadow")),t=c.find("#ccc-toggle > div");ccc_tw=o.width(),jQuery(window).resize(function(){ccc_tw=o.width(),jQuery(".ccc-toggle-shadow.toggled").length>0&&jQuery("#ccc-toggle div").stop(!0).animate({"margin-left":-(ccc_tw+5)},200)}),c.find("#ccc-toggle *").click(function(c){c.preventDefault(),jQuery("#cccwr .ccc-toggle-shadow").click()}),this._setModel!=this.MODEL_INFO||this.getDNT()?this._setModel!=this.MODEL_IMPLICIT||this.getDNT()?(this._setModel==this.MODEL_EXPLICIT||this.getDNT())&&(t.html(''+this.options.t.off+''+this.options.t.on+""),this.initToggleButton(c,o,t)):(t.html(''+this.options.t.off+''+this.options.t.on+""),this.initToggleButton(c,o,t)):(t.html(''+this.options.t.ias+''+this.options.t.rl+""),o.click(function(c){var o=jQuery(c.target);return o.hasClass("toggled")?(o.removeClass("toggled"),jQuery("#ccc-toggle div").stop(!0).animate({"margin-left":0},200)):(o.addClass("toggled"),jQuery("#ccc-toggle div").stop(!0).animate({"margin-left":-(ccc_tw+5)},200)),CookieControl.handleExpand(c)})),this.getDNT()&&c.addClass("ccc-dnt"),t.find("a:first-child").addClass("ccc-1st"),this._initDone=!0},initToggleButton:function(c,o,t){this.maySendCookies()||(c.find(".ccc-toggle-shadow").addClass("toggled"),jQuery("#ccc-toggle div").css("margin-left",-(ccc_tw+5))),o.click(function(c){var o=jQuery(c.target);return o.hasClass("toggled")?(o.removeClass("toggled"),CookieControl.setConsent(!0),t.stop(!0).animate({"margin-left":0},200)):(o.addClass("toggled"),CookieControl.setConsent(!1),t.stop(!0).animate({"margin-left":-(ccc_tw+5)},200)),!1})},initIAS:function(c){this._setModel!=this.MODEL_INFO&&c.find("#ccc-ias2").attr("href","#").text(this.options.t.ias).click(function(c){return CookieControl.handleExpand(c)?jQuery(c.target).text(CookieControl.options.t.rl):jQuery(c.target).text(CookieControl.options.t.ias),c.preventDefault(),!1})},initEventHandlers:function(c,o){o.click(function(c){return c.preventDefault(),CookieControl.handleCookieIcon(c)}),c.find("#cchide-popup").click(function(c){return c.preventDefault(),CookieControl.handleHidePopup(c)}),c.find("#ccc-ias").click(function(c){return c.preventDefault(), CookieControl.handleBarIAS(c)}),c.find(".ccc-fine").click(function(c){return c.preventDefault(),CookieControl.handleClose(c)}),c.find(".ccc-close").click(function(c){return c.preventDefault(),CookieControl.handleXButton(c)}),c.find(".ccc-expand").text(this.options.t.rm).click(function(c){return c.preventDefault(),CookieControl.handleExpand(c)}),c.find(".ccc-widget").mouseover(function(){CookieControl.stopAutohide(),CookieControl.getCookie(CookieControl.options.cookieName)||this._setModel==this.MODEL_EXPLICIT||(CookieControl.setCookie(CookieControl.options.cookieName,"no"),CookieControl.cookiesNotAllowedEvent())}).mouseout(function(){CookieControl.scheduleAutohide()})},workarounds:function(){this.options.shape&&(this.options.style=this.options.shape,delete this.options.shape),0!==this.options.style.indexOf("ccc-")&&(this.options.style="ccc-"+this.options.style),0!==this.options.theme.indexOf("ccc-")&&(this.options.theme="ccc-"+this.options.theme),0!==this.options.position.indexOf("ccc-")&&(this.options.position="ccc-"+this.options.position),this.options.policyVersion=this.options.policyVersion||this.options.policyDate||"","function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")})},initPersistentState:function(){if(!this.state){var c=this.getCookie(this.options.cookieName);!c||c.indexOf(":")<0?this.state={}:this.state=this.decodeCookie(c)}},policyUpdated:function(){return decodeURI(this.getState("pv",""))!=this.options.policyVersion||decodeURI(this.getState("cm",""))!=this._setModel},setPolicyVersion:function(){this.setState("pv",this.options.policyVersion),this.setState("cm",this._setModel)},resetOnUpdatedPolicy:function(){this.policyUpdated()&&this.reset()},setModel:function(c){if(this._setModel)return void alert("Civic Cookie Control: the consent model can only be set once.");if("string"==typeof c)this._setModel=c;else if("object"==typeof c)if(this.isFP())this._setModel=CookieControl.MODEL_EXPLICIT;else{var o=civicLicense.geo.country,t=civicLicense.geo.countryName;this._setModel=c[o]?c[o]:c[t],this._setModel||(this._setModel=c["default"]),this._setModel||(this._setModel=CookieControl.MODEL_EXPLICIT)}},setTheme:function(c){return this.options.theme=c,jQuery("#cccwr, #ccc-icon, body").removeClass([this.THEME_LIGHT,this.THEME_DARK].join(" ")).addClass(c)},setStyle:function(c){if(c===this.STYLE_BAR){if(this.isFP())return void alert("Cookie Control: STYLE_BAR is not available in the free version of Cookie Control.");jQuery("#cccwr .ccc-ci").removeClass("ccc-vis").css("height","100%").css("visibility","hidden"),jQuery("#cccwr .ccc-c").hide()}else jQuery("#cccwr .ccc-ci").removeClass("ccc-vis").css("height","100%").css("visibility","visible");return this.options.style=c,jQuery("#cccwr, #ccc-icon, body").removeClass([this.STYLE_TRIANGLE,this.STYLE_SQUARE,this.STYLE_DIAMOND,this.STYLE_BAR].join(" ").replace("."," ")).addClass(c)},setPosition:function(c){return this.options.position=c,jQuery("#cccwr, #ccc-icon, body").removeClass([this.POS_LEFT,this.POS_RIGHT,this.POS_TOP,this.POS_BOTTOM].join(" ")).addClass(c)},initialDisplay:function(){var c=jQuery("#cccwr #ccc-icon");if(this._displayed===!0)return void c.show();if(this._displayed=!0,this.options.style==this.STYLE_BAR)this.options.position==this.POS_TOP?(jQuery("#cccwr, #cccwrpad, #cccwr .ccc-widget").css("display","block"),jQuery("#cccwr").css("top","-50px").css("opacity",0).animate({top:"+=50",opacity:1},this.options.initialFadeSpeed,function(){jQuery("#cccwr").css("top","")}),jQuery("#cccwrpad").css("height",0).animate({height:"+=50"},this.options.initialFadeSpeed,function(){jQuery("#cccwrpad").css("height",""),CookieControl.shouldOpen()&&CookieControl.popUpWithAutohide()})):(jQuery("#cccwr, #cccwrpad, #cccwr .ccc-widget").css("display","block"),jQuery("#cccwr").css("bottom","-60px").css("opacity",0).animate({bottom:"+=60",opacity:1},this.options.initialFadeSpeed,function(){jQuery("#cccwr").css("bottom",""),CookieControl.shouldOpen()&&CookieControl.popUpWithAutohide()}));else if(this.shouldOpen()){var o=jQuery("#cccwr .ccc-widget");o.css("opacity","0").css("display","block").css("visibility","visible");var t=o.position().left;this.options.position==this.POS_LEFT?(o.css("left","0px"),c.css("opacity",0).show().animate({opacity:1},this.options.initialFadeSpeed),o.animate({opacity:1,left:t},this.options.initialFadeSpeed,function(){o.css("left","")})):(o.css("left",jQuery(window).width()+"px"),c.css("opacity",0).show().animate({opacity:1},this.options.initialFadeSpeed),o.animate({opacity:1,left:t},this.options.initialFadeSpeed,function(){o.css("left","")}))}else c.css("opacity","0").show().animate({opacity:1},this.options.initialFadeSpeed)},popUp:function(c){return this._initDone&&this.initialDisplay(),this.stopAutohide(),this.options.style!==this.STYLE_BAR?0===c?jQuery("#cccwr .ccc-widget").stop(!0,!0).show():jQuery("#cccwr .ccc-widget").stop(!0,!0).fadeIn(this.options.clickFadeSpeed):(this._barRollShow(jQuery("#cccwr .ccc-ci").stop(!0,!0)),jQuery("#ccc-ias span, #ccc-ias2 span").text(this.options.t.rl),void this.setState("open",!0))},popDown:function(c){this.stopAutohide(),this.options.style===this.STYLE_BAR?this._barRollHide(jQuery("#cccwr .ccc-ci").stop(!0,!0)):jQuery("#cccwr .ccc-widget").stop(!0,!0).fadeOut(c),jQuery("#ccc-ias span, #ccc-ias2 span").text(this.options.t.ias),this.setState("open",!1)},_barRollShow:function(c,o){if(c.hasClass("ccc-vis"))return this.fire(o),!1;c.parent(".ccc-c").show(),this._iasHeight||(this._iasHeight=c.height());var t=this._iasHeight,e=jQuery("#cccwr.ccc-bar .ccc-widget").outerHeight(),i=t+e+40,r=jQuery(window).height();return i>r&&jQuery(".ccc-c").addClass("scroll-clip"),c.height(0).css("visibility","visible").animate({height:this._iasHeight},this.options.clickFadeSpeed,function(){c.addClass("ccc-vis"),CookieControl.fire(o)}),!1},_barRollHide:function(c,o){if(!c.hasClass("ccc-vis"))return this.fire(o),!1;var t=this.options.clickFadeSpeed;return this._iasHeight=c.height(),c.animate({height:0},t,function(){c.removeClass("ccc-vis").css("visibility","hidden"),jQuery("#cccwrpad").animate({height:0},t,function(){}),CookieControl.fire(o),c.parent(".ccc-c").hide()}),!1},_closeWidget:function(c,o){var t=jQuery("body");return t.hasClass("ccc-persist")?(jQuery(".ccc-widget").fadeOut(c),!1):(jQuery("#ccc-icon, #cccwr .ccc-widget").fadeOut(c),void(o&&this.setState("hidden",!0)))},close:function(c){this._closeWidget(c,!1)},closeAndHide:function(c){this._closeWidget(c,!0)},popUpWithAutohide:function(c){this.popUp(c),this.scheduleAutohide()},disableAutohide:function(){this.stopAutohide(),this.options.autoHide=-Math.abs(this.options.autoHide)},enableAutohide:function(){this.options.autoHide=Math.abs(this.options.autoHide),this.scheduleAutohide()},stopAutohide:function(){this._to&&(window.clearTimeout(this._to),delete this._to)},scheduleAutohide:function(){this.options.autoHide>0&&(this.stopAutohide(),this._to=setTimeout(function(){CookieControl.popDown(CookieControl.options.autoFadeSpeed)},this.options.autoHide))},hideEntireWidget:function(){jQuery("#cccwr").fadeOut(CookieControl.options.fadeInSpeed),this.stopAutohide()},countryHasCookieLaw:function(){if(this.options.countries&&"object"==typeof civicLicense&&"object"==typeof civicLicense.geo&&civicLicense.geo.country){var c=civicLicense.geo.country,o=civicLicense.geo.countryName;return this.geo=civicLicense.geo,"string"==typeof this.options.countries&&(this.options.countries=this.options.countries.split(/\s*,\s*/)),jQuery.inArray(c,this.options.countries)>=0||jQuery.inArray(o,this.options.countries)>=0}return!0},getGeo:function(){if(!this.isFP()&&"object"==typeof civicLicense&&"object"==typeof civicLicense.geo){var c=civicLicense.geo;return delete c.success,civicLicense.geo}},checkShowIconState:function(){var c=CookieControl;return"N"===jQuery(".ccc-widget input[name=showicon]:checked").val()?(this.setCookie(c.options.iconStatusCookieName,"no"),!0):(this.setCookie(c.options.iconStatusCookieName,"yes"),!1)},setCookie:function(c,o,t){var e;t=t||{},"expiry"in t?"number"==typeof t.expiry?e=new Date((new Date).getTime()+86400*t.expiry*1e3).toGMTString():"string"==typeof t.expiry?e=t.expiry:"object"==typeof t.expiry&&"toGMTString"in t.expiry&&(e=t.expiry.toGMTString()):e=new Date((new Date).getTime()+62208e6).toGMTString();var i="";(this.options.subdomains!==!0||"domain"in t)&&(i=";domain="+(t.domain||this.options.cookieDomain));var r=[];"object"==typeof o?(jQuery.each(o,function(c,o){r.push('"'+encodeURIComponent(c)+'":"'+encodeURIComponent(o)+'"')}),r="{"+r.join(",")+"}"):r=o;var n=c+"="+escape(r)+";expires="+e+";path="+this.options.cookiePath+i;document.cookie=n},hasCookie:function(c){return null!==document.cookie.match(new RegExp("(^|;s*)"+c+"s*="))},getCookie:function(c){var o=!1;return jQuery.each(document.cookie.split(/\s*;\s*/),function(t,e){var i=e.split(/\s*=\s*/);if(i[0].replace(/^\s+|\s+$/g,"")===c)return o=unescape(i[1]),!1}),"undefined"==typeof o&&(o=!1),o},decodeCookie:function(c){try{return jQuery.parseJSON(c)}catch(o){return{}}},getAllCookies:function(){var c={};return document.cookie.trim()?(jQuery.each(document.cookie.split(/\s*;\s*/),function(o,t){var e=t.split(/\s*=\s*/);e&&(c[e[0]]=unescape(e[1]))}),c):c},delCookie:function(c){var o=this.options.cookieDomain.split(".");for(document.cookie=c+"=;expires=Thu, 01-Jan-1970 00:00:01 GMT;",document.cookie=c+"=;path="+this.options.cookiePath+";expires=Thu, 01-Jan-1970 00:00:01 GMT;";o.length&&(d=o.join("."),document.cookie=c+"=;path="+this.options.cookiePath+";expires=Thu, 01-Jan-1970 00:00:01 GMT;domain="+d,document.cookie=c+"=;path="+this.options.cookiePath+";expires=Thu, 01-Jan-1970 00:00:01 GMT;domain=."+d,this.options.subdomains);)o.shift();document.cookie=c+"=;path="+this.options.cookiePath+";expires=Thu, 01-Jan-1970 00:00:01 GMT;"},delAllCookies:function(c){"undefined"==typeof c&&(c=this.options.protectedCookies),jQuery.each(this.getAllCookies(),function(o,t){jQuery.inArray(o,c)<0&&CookieControl.delCookie(o)}),window.localStorage&&localStorage.clear()},setState:function(c,o){this.state||this.initPersistentState(),"boolean"==typeof o?("true"==o||"on"==o||"1"==o||"yes"==o?o=!0:"false"!=o&&"off"!=o&&"0"!=o&&"no"!=o||(o=!1),this.state[c]=o?"yes":"no"):this.state[c]=o;var t=this.maySendCookies()?this.options.cookieExpiry:this.options.blockedCookieExpiry;this.setCookie(this.options.cookieName,this.state,{expiry:t}),"boolean"==typeof o&&jQuery("#ccc-state, body").toggleClass("ccc-"+c,o)},getState:function(c,o){return this.state||this.initPersistentState(),void 0===this.state[c]?o:this.state[c]},shouldOpen:function(){return"yes"!==this.getState("explicitly")&&(!(window.innerWidth<=760)&&(this.options.startOpen&&!this.closed()))},setConsent:function(c){CookieControl.setState("consented",c),CookieControl.setState("explicitly",!0),jQuery("#ccc-state, body").toggleClass("ccc-cookies-blocked",!c),c?CookieControl.acceptEvent():(CookieControl.rejectEvent(),this.options.autoDelete&&this.delAllCookies())},getDNT:function(){return"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack},fire:function(c){return"function"==typeof c&&c(CookieControl)},acceptEvent:function(c){return this.fire(this.options.onAccept),c},rejectEvent:function(c){return this.fire(this.options.onReject),c},readyEvent:function(c){return this.fire(this.options.onReady),c},cookiesNotAllowedEvent:function(c){return this.fire(this.options.onCookiesNotAllowed),c},cookiesAllowedEvent:function(c){return this.fire(this.options.onCookiesAllowed),c},handleCookieIcon:function(c){jQuery("#cccwr .ccc-ci").css("visibility","visible"),jQuery("#cccwr .ccc-widget").stop(!0,!0).fadeToggle(CookieControl.options.clickFadeSpeed),this.setState("open",this.closed()),this.stopAutohide(),this.disableAutohide()},handleXButton:function(c){return this.options.style==this.STYLE_BAR?(jQuery(".ccc-ci.ccc-vis").length>0&&jQuery("#ccc-ias").click(),this.hideBar(c)):this.options.onlyHideIfConsented||this.options.alwaysShow?this.handleCookieIcon(c):this.handleClose(c)},hideBar:function(c){var o=jQuery("#cccwr.ccc-bar"),t=o.height();this.options.position==CookieControl.POS_TOP?(o.animate({top:-t,opacity:0},400),jQuery("#cccwrpad").animate({height:0},400,function(){})):this.options.position==CookieControl.POS_BOTTOM&&o.animate({bottom:-t,opacity:0},400),this.options.preserveConsentOnHide||CookieControl.setConsent(!0),this.setState("hidden",!0)},handleHidePopup:function(o){var t=jQuery(o.target).attr("checked");t===!0||"checked"==t?(this.setCookie("ccNoPopup","no"),jQuery("#cccwr .ccc-widget").fadeOut(this.options.clickFadeSpeed),this.stopAutohide()):c.setCookie("ccNoPopup","",!0)},handleBarIAS:function(c){var o=jQuery("#cccwr .ccc-ci").stop(!0,!0);return this.stopAutohide(),o.hasClass("ccc-vis")?this.popDown():this.popUp()},handleClose:function(c){return this.closeAndHide(CookieControl.options.clickFadeSpeed),!1},handleExpand:function(c){var o=jQuery(this.target);return"none"===jQuery(".ccc-expanded").css("display")?(jQuery("#ccc-ias2").addClass("active"),jQuery(".ccc-expanded").slideDown(this.options.expandSpeed,function(){o&&o.text(CookieControl.options.t.rl),CookieControl.disableAutohide()}),!0):(jQuery("#ccc-ias2").removeClass("active"),jQuery(".ccc-expanded").slideUp(this.options.expandSpeed,function(){o&&o.text(CookieControl.options.t.rm)}),CookieControl.enableAutohide(),!1)}},civicLicense={};