/**
 * object vars
 * -----------------------------------------------------------------------------
 * query: URL quiery to add to every pager link
 * records: Current page number
 * scroll: Number of page numbers between arrow buttons
 * registers: Register by page, if empty assign default value
 * current: Current page or 1 if empty
 * size: Size of pager buttons (lg|sm) - empty for normal size.
 * first: Icon code for first record (overwrite defaults)
 * previous: Icon code for previous record (overwrite defaults)
 * next: Icon code for next record (overwrite defaults)
 * last: Icon code for last record (overwrite defaults)
 * icons: Default font icon code (glyphicon|fa4|fa5)
 * pad: Can be supplied as conf option or getPager() and showPager() parameter
 *      If numeric, pager is left padded, if "right" pager is right aligned 
 * margin_top: Margin space above the bar (default 10px)
 * margin_bottom: Margin space below the bar (default 10px)
 * disable: Disable pager if true and show all pages
 * limitStart/limit_start: Current value of limitStart() function
 * dataset: object or array with a data set to paginate
 * data: current page data when using dataset
 * pages_count_txt: Text with %s vars to generate page count with sprintf
 * records_count_txt: Text with %s vars to generate records count with sprintf
 * pages_count: Text with current number page of total pages
 * records_count: Text with number of records of current page from total records
 * 
 * 
 * 
 * functions
 * -----------------------------------------------------------------------------
 * init($conf) - Initialize pager with conf array
 * limitStart() - SQL star record for LIMIT clause
 * getPager() - Generate the pager
 * showPager() - Show pager
 * 
 */