<?php
/* Smarty version 3.1.30, created on 2018-10-11 12:37:15
  from "/home/linksnet/public_html/templates/Core/DefaultFrontend/views/_shared/clickTrackerCode.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_5bbf43fbeb67c1_11088357',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '23c2161e29e0c2a2daa91b01cc52f0dc07b095d5' => 
    array (
      0 => '/home/linksnet/public_html/templates/Core/DefaultFrontend/views/_shared/clickTrackerCode.tpl',
      1 => 1539256299,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5bbf43fbeb67c1_11088357 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
 type="text/javascript">
    /* <![CDATA[ */
    var root = '<?php echo @constant('DOC_ROOT');?>
';
    
    var a = document.getElementsByTagName("a");
    for(i = 0; i< a.length; i++)
        if(a[i].id != '')
            a[i].onclick = count_link;
    function count_link(event) {
        i = new Image();
        i.src= root+'/cl.php?id='+this.id;
        return true;
    }

    
    /* ]]> */
<?php echo '</script'; ?>
><?php }
}
