{*
 **********************************************************
 * Developed by: Team Theme Metro
 * Website: http://www.thememetro.com
 **********************************************************
*}


<script src="{$WEB_ROOT}/templates/{$template}/assets/js/cookieconsent.min.js" data-cfasync="false"></script>
<script>
window.cookieconsent.initialise({
  "palette": {
    "popup": {
      "background": "{$themesettings.cookieconsent.ccbanner}",
	  "text": "{$themesettings.cookieconsent.ccbannertext}"
    },
    "button": {
      "background": "{$themesettings.cookieconsent.ccbtncolor}",
      "text": "{$themesettings.cookieconsent.ccbtntext}"
    }
  },
  {if $themesettings.cookieconsent.ccposition}
  "position": "{$themesettings.cookieconsent.ccposition}",
  {/if}
  {if $themesettings.cookieconsent.cctheme}
  "theme": "{$themesettings.cookieconsent.cctheme}",
  {/if}
  
  "content": {
	{if $themesettings.cookieconsent.ccmessage}
	"message": "{$themesettings.cookieconsent.ccmessage}",
	{/if}
	{if $themesettings.cookieconsent.ccdismiss}
	"dismiss": "{$themesettings.cookieconsent.ccdismiss}",
	{/if}
	{if $themesettings.cookieconsent.ccbtnlink}
	"link": "{$themesettings.cookieconsent.ccbtnlink}",
	{/if}
    {if $themesettings.cookieconsent.cclink}
	"href": "{$themesettings.cookieconsent.cclink}"
	{/if}
  }
  
});
</script>