$('.wb-pager.wb-pager-faq .pager').bootpag({
total: parseInt("0{PAGER_PAGES}", 10),
page: parseInt("0{PAGER_PAGE}", 10),
maxVisible: 10
}).on("page", function(event, num){
var form = $(".pager-faq .form > form");
if ("undefined" !== typeof form[0].page && form[0].page == num){
return;
}
$("input[name='goto']", form).val(num);
WB.Ajax.update(form[0], "{CONTENT_PATH}");
form[0].page = num;
});