<script src="/misc/js/pages.js" type="text/javascript"></script>
<div class="pages_lists">
<div class="pages"  id="pager" >
<script type="text/javascript">
    var pager = new PagerView('pager');
    pager.itemCount = $dataCount;
    pager.size =  $pagesize;
    pager.index = $pageIndex;
    pager.onclick = function (index) {
        var a_pg = document.createElement("a");
        a_pg.setAttribute("href", "${category.categoryClass}-" + index + ".html");
        document.body.appendChild(a_pg);
        a_pg.click();
    };
    pager.render();
</script>
</div></div>