<script type='text/javascript'>
	<#if pagination.OK && pagination.result.totalPages gt 1>
       var options = {
           currentPage: ${pagination.result.currentPage},
           totalPages: ${pagination.result.totalPages},
    	   bootstrapMajorVersion: 3,
    	   size: "small",
    	   itemTexts:function(type,page, current){
               switch (type) {
                   case "first":
                       return "<<";
                   case "prev":
                       return "<";
