diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/black-asc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/black-asc.gif
new file mode 100644
index 0000000..730533f
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/black-asc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/black-desc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/black-desc.gif
new file mode 100644
index 0000000..4c3b610
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/black-desc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/black-unsorted.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/black-unsorted.gif
new file mode 100644
index 0000000..5647f65
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/black-unsorted.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/bootstrap-black-unsorted.png b/webif/html/lib/jquery.plugin/tablesorter2/images/bootstrap-black-unsorted.png
new file mode 100644
index 0000000..4e161a6
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/bootstrap-black-unsorted.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/bootstrap-white-unsorted.png b/webif/html/lib/jquery.plugin/tablesorter2/images/bootstrap-white-unsorted.png
new file mode 100644
index 0000000..fb227a1
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/bootstrap-white-unsorted.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-asc-hovered.png b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-asc-hovered.png
new file mode 100644
index 0000000..bc45223
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-asc-hovered.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-asc.png b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-asc.png
new file mode 100644
index 0000000..0d6ee15
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-asc.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-desc-hovered.png b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-desc-hovered.png
new file mode 100644
index 0000000..4930942
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-desc-hovered.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-desc.png b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-desc.png
new file mode 100644
index 0000000..0bce65a
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/dropbox-desc.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/green-asc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/green-asc.gif
new file mode 100644
index 0000000..4cfba09
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/green-asc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/green-desc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/green-desc.gif
new file mode 100644
index 0000000..4f88176
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/green-desc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/green-header.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/green-header.gif
new file mode 100644
index 0000000..cc746b7
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/green-header.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/green-unsorted.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/green-unsorted.gif
new file mode 100644
index 0000000..0afe2c0
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/green-unsorted.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/ice-asc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/ice-asc.gif
new file mode 100644
index 0000000..0961d9a
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/ice-asc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/ice-desc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/ice-desc.gif
new file mode 100644
index 0000000..0330fcc
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/ice-desc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/ice-unsorted.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/ice-unsorted.gif
new file mode 100644
index 0000000..c1afde5
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/ice-unsorted.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/metro-black-asc.png b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-black-asc.png
new file mode 100644
index 0000000..f7a781b
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-black-asc.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/metro-black-desc.png b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-black-desc.png
new file mode 100644
index 0000000..ef5f48e
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-black-desc.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/metro-loading.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-loading.gif
new file mode 100644
index 0000000..ae274c6
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-loading.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/metro-unsorted.png b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-unsorted.png
new file mode 100644
index 0000000..653b083
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-unsorted.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/metro-white-asc.png b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-white-asc.png
new file mode 100644
index 0000000..6332718
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-white-asc.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/metro-white-desc.png b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-white-desc.png
new file mode 100644
index 0000000..ca7c363
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/metro-white-desc.png differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/white-asc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/white-asc.gif
new file mode 100644
index 0000000..2173b0a
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/white-asc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/white-desc.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/white-desc.gif
new file mode 100644
index 0000000..7109c3e
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/white-desc.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/images/white-unsorted.gif b/webif/html/lib/jquery.plugin/tablesorter2/images/white-unsorted.gif
new file mode 100644
index 0000000..9bfc345
Binary files /dev/null and b/webif/html/lib/jquery.plugin/tablesorter2/images/white-unsorted.gif differ
diff --git a/webif/html/lib/jquery.plugin/tablesorter2/jquery.tablesorter.min.js b/webif/html/lib/jquery.plugin/tablesorter2/jquery.tablesorter.min.js
new file mode 100644
index 0000000..a42594f
--- /dev/null
+++ b/webif/html/lib/jquery.plugin/tablesorter2/jquery.tablesorter.min.js
@@ -0,0 +1,5 @@
+/*!
+* TableSorter (FORK) 2.18.3 min - Client-side table sorting with ease!
+* Copyright (c) 2007 Christian Bach; fork maintained by Rob Garrison
+*/
+!function(h){h.extend({tablesorter:new function(){function f(){var b=arguments[0],a=1':"";n.$headers=h(b).find(n.selectorHeaders).each(function(k){c=h(this);a=g.getColumnData(b,n.headers,k,!0);n.headerContent[k]=h(this).html();""!==n.headerTemplate&&(l=n.headerTemplate.replace(/\{content\}/g,h(this).html()).replace(/\{icon\}/g, d),n.onRenderTemplate&&(e=n.onRenderTemplate.apply(c,[k,l]))&&"string"===typeof e&&(l=e),h(this).html('"));n.onRenderHeader&&n.onRenderHeader.apply(c,[k,n,n.$table]);this.column=parseInt(h(this).attr("data-column"),10);this.order=F(g.getData(c,a,"sortInitialOrder")||n.sortInitialOrder)?[1,0,2]:[0,1,2];this.count=-1;this.lockedOrder=!1;v=g.getData(c,a,"lockedOrder")||!1;"undefined"!==typeof v&&!1!==v&&(this.order=this.lockedOrder=F(v)?[1,1,1]:[0,0,0]);c.addClass(g.css.header+ " "+n.cssHeader);n.headerList[k]=this;c.parent().addClass(g.css.headerRow+" "+n.cssHeaderRow).attr("role","row");n.tabIndex&&c.attr("tabindex",0)}).attr({scope:"col",role:"columnheader"});H(b);n.debug&&(u("Built headers:",k),f(n.$headers))}function I(b,a,c){var e=b.config;e.$table.find(e.selectorRemove).remove();q(b);z(b);J(e.$table,a,c)}function H(b){var a,c,e,d=b.config;d.$headers.each(function(l,f){c=h(f);e=g.getColumnData(b,d.headers,l,!0);a="false"===g.getData(f,e,"sorter")||"false"===g.getData(f, e,"parser");f.sortDisabled=a;c[a?"addClass":"removeClass"]("sorter-false").attr("aria-disabled",""+a);b.id&&(a?c.removeAttr("aria-controls"):c.attr("aria-controls",b.id))})}function G(b){var a,c,e=b.config,d=e.sortList,l=d.length,f=g.css.sortNone+" "+e.cssNone,k=[g.css.sortAsc+" "+e.cssAsc,g.css.sortDesc+" "+e.cssDesc],n=[e.cssIconAsc,e.cssIconDesc,e.cssIconNone],p=["ascending","descending"],m=h(b).find("tfoot tr").children().add(e.$extraHeaders).removeClass(k.join(" "));e.$headers.removeClass(k.join(" ")).addClass(f).attr("aria-sort", "none").find("."+e.cssIcon).removeClass(n.join(" ")).addClass(n[2]);for(a=0;a"),c=h(b).width(),h(b.tBodies).not("."+e.cssInfoBlock).find("tr:first").children(":visible").each(function(){a.append(h("").css("width",parseInt(h(this).width()/ c*1E3,10)/10+"%"))}),e.$table.prepend(a))}function R(b,a){var c,e,d,l,g,k=b.config,f=a||k.sortList;k.sortList=[];h.each(f,function(b,a){l=parseInt(a[0],10);if(d=k.$headers.filter('[data-column="'+l+'"]:last')[0]){e=(e=(""+a[1]).match(/^(1|d|s|o|n)/))?e[0]:"";switch(e){case "1":case "d":e=1;break;case "s":e=g||0;break;case "o":c=d.order[(g||0)%(k.sortReset?3:2)];e=0===c?1:1===c?0:2;break;case "n":d.count+=1;e=d.order[d.count%(k.sortReset?3:2)];break;default:e=0}g=0===b?e:g;c=[l,parseInt(e,10)||0]; k.sortList.push(c);e=h.inArray(c[1],d.order);d.count=0<=e?e:c[1]%(k.sortReset?3:2)}})}function S(b,a){return b&&b[a]?b[a].type||"":""}function N(b,a,c){if(b.isUpdating)return setTimeout(function(){N(b,a,c)},50);var e,d,l,f,k=b.config,n=!c[k.sortMultiSortKey],p=k.$table;p.trigger("sortStart",b);a.count=c[k.sortResetKey]?2:(a.count+1)%(k.sortReset?3:2);k.sortRestart&&(d=a,k.$headers.each(function(){this===d||!n&&h(this).is("."+g.css.sortDesc+",."+g.css.sortAsc)||(this.count=-1)}));d=parseInt(h(a).attr("data-column"), 10);if(n){k.sortList=[];if(null!==k.sortForce)for(e=k.sortForce,l=0;le&&(k.sortList.push([d,e]),1e&&(k.sortList.push([d,e]),1 thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:!1,headerList:[],empties:{},strings:{},parsers:[]};g.css={table:"tablesorter",cssHasChild:"tablesorter-hasChildRow", childRow:"tablesorter-childRow",header:"tablesorter-header",headerRow:"tablesorter-headerRow",headerIn:"tablesorter-header-inner",icon:"tablesorter-icon",info:"tablesorter-infoOnly",processing:"tablesorter-processing",sortAsc:"tablesorter-headerAsc",sortDesc:"tablesorter-headerDesc",sortNone:"tablesorter-headerUnSorted"};g.language={sortAsc:"Ascending sort applied, ",sortDesc:"Descending sort applied, ",sortNone:"No sort applied, ",nextAsc:"activate to apply an ascending sort",nextDesc:"activate to apply a descending sort", nextNone:"activate to remove the sort"};g.log=f;g.benchmark=u;g.construct=function(b){return this.each(function(){var a=h.extend(!0,{},g.defaults,b);a.originalSettings=b;!this.hasInitialized&&g.buildTable&&"TABLE"!==this.tagName?g.buildTable(this,a):g.setup(this,a)})};g.setup=function(b,a){if(!b||!b.tHead||0===b.tBodies.length||!0===b.hasInitialized)return a.debug?f("ERROR: stopping initialization! No table, thead, tbody or tablesorter has already been initialized"):"";var c="",e=h(b),d=h.metadata; b.hasInitialized=!1;b.isProcessing=!0;b.config=a;h.data(b,"tablesorter",a);a.debug&&h.data(b,"startoveralltimer",new Date);a.supportsDataObject=function(a){a[0]=parseInt(a[0],10);return 1'),c=h.fn.detach?a.detach():a.remove();c=h(b).find("span.tablesorter-savemyplace");a.insertAfter(c);c.remove();b.isProcessing=!1};g.clearTableBody=function(b){h(b)[0].config.$tbodies.children().detach()};g.bindEvents=function(b,a,c){b=h(b)[0];var e, d=b.config;!0!==c&&(d.$extraHeaders=d.$extraHeaders?d.$extraHeaders.add(a):a);a.find(d.selectorSort).add(a.filter(d.selectorSort)).unbind(["mousedown","mouseup","sort","keyup",""].join(d.namespace+" ")).bind(["mousedown","mouseup","sort","keyup",""].join(d.namespace+" "),function(c,g){var f;f=c.type;if(!(1!==(c.which||c.button)&&!/sort|keyup/.test(f)||"keyup"===f&&13!==c.which||"mouseup"===f&&!0!==g&&250<(new Date).getTime()-e)){if("mousedown"===f)return e=(new Date).getTime(),/(input|select|button|textarea)/i.test(c.target.tagName)|| h(c.target).closest("td,th").hasClass(d.cssAllowClicks)?"":!d.cancelSelection;d.delayInit&&m(d.cache)&&z(b);f=h.fn.closest?h(this).closest("th, td")[0]:/TH|TD/.test(this.tagName)?this:h(this).parents("th, td")[0];f=d.$headers[a.index(f)];f.sortDisabled||N(b,f,c)}});d.cancelSelection&&a.attr("unselectable","on").bind("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"})};g.restoreHeaders=function(b){var a=h(b)[0].config;a.$table.find(a.selectorHeaders).each(function(b){h(this).find("."+ g.css.headerIn).length&&h(this).html(a.headerContent[b])})};g.destroy=function(b,a,c){b=h(b)[0];if(b.hasInitialized){g.refreshWidgets(b,!0,!0);var e=h(b),d=b.config,f=e.find("thead:first"),m=f.find("tr."+g.css.headerRow).removeClass(g.css.headerRow+" "+d.cssHeaderRow),k=e.find("tfoot:first > tr").children("th, td");!1===a&&0<=h.inArray("uitheme",d.widgets)&&(e.trigger("applyWidgetId",["uitheme"]),e.trigger("applyWidgetId",["zebra"]));f.find("tr").not(m).remove();e.removeData("tablesorter").unbind("sortReset update updateAll updateRows updateCell addRows updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave keypress sortBegin sortEnd resetToLoadState ".split(" ").join(d.namespace+ " "));d.$headers.add(k).removeClass([g.css.header,d.cssHeader,d.cssAsc,d.cssDesc,g.css.sortAsc,g.css.sortDesc,g.css.sortNone].join(" ")).removeAttr("data-column").removeAttr("aria-label").attr("aria-disabled","true");m.find(d.selectorSort).unbind(["mousedown","mouseup","keypress",""].join(d.namespace+" "));g.restoreHeaders(b);e.toggleClass(g.css.table+" "+d.tableClass+" tablesorter-"+d.theme,!1===a);b.hasInitialized=!1;delete b.config.cache;"function"===typeof c&&c(b)}};g.regex={chunk:/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi, chunks:/(^\\0|\\0$)/,hex:/^0x[0-9a-f]+$/i};g.sortNatural=function(b,a){if(b===a)return 0;var c,e,d,f,h,k;e=g.regex;if(e.hex.test(a)){c=parseInt(b.match(e.hex),16);d=parseInt(a.match(e.hex),16);if(cd)return 1}c=b.replace(e.chunk,"\\0$1\\0").replace(e.chunks,"").split("\\0");e=a.replace(e.chunk,"\\0$1\\0").replace(e.chunks,"").split("\\0");k=Math.max(c.length,e.length);for(h=0;hf)return 1}return 0};g.sortNaturalAsc=function(b,a,c,e,d){if(b===a)return 0;c=d.string[d.empties[c]||d.emptyTo];return""===b&&0!==c?"boolean"===typeof c?c?-1:1:-c||-1:""===a&&0!==c?"boolean"===typeof c?c?1:-1:c||1:g.sortNatural(b,a)};g.sortNaturalDesc=function(b,a,c,e,d){if(b===a)return 0;c=d.string[d.empties[c]||d.emptyTo];return""===b&&0!==c?"boolean"===typeof c?c?-1:1:c||1:""===a&&0!==c?"boolean"===typeof c?c? 1:-1:-c||-1:g.sortNatural(a,b)};g.sortText=function(b,a){return b>a?1:bh.inArray(m[e].id,l))&&(d.debug&&f('Refeshing widgets: Removing "'+m[e].id+'"'),m[e].hasOwnProperty("remove")&&d.widgetInit[m[e].id]&&(m[e].remove(b,d,d.widgetOptions),d.widgetInit[m[e].id]=!1));!0!==c&&g.applyWidget(b,a)};g.getData=function(b, a,c){var e="";b=h(b);var d,f;if(!b.length)return"";d=h.metadata?b.metadata():!1;f=" "+(b.attr("class")||"");"undefined"!==typeof b.data(c)||"undefined"!==typeof b.data(c.toLowerCase())?e+=b.data(c)||b.data(c.toLowerCase()):d&&"undefined"!==typeof d[c]?e+=d[c]:a&&"undefined"!==typeof a[c]?e+=a[c]:" "!==f&&f.match(" "+c+"-")&&(e=f.match(new RegExp("\\s"+c+"-([\\w-]+)"))[1]||"");return h.trim(e)};g.formatFloat=function(b,a){if("string"!==typeof b||""===b)return b;var c;b=(a&&a.config?!1!==a.config.usNumberFormat: "undefined"!==typeof a?a:1)?b.replace(/,/g,""):b.replace(/[\s|\.]/g,"").replace(/,/g,".");/^\s*\([.\d]+\)/.test(b)&&(b=b.replace(/^\s*\(([.\d]+)\)/,"-$1"));c=parseFloat(b);return isNaN(c)?h.trim(b):c};g.isDigit=function(b){return isNaN(b)?/^[\-+(]?\d+[)]?$/.test(b.toString().replace(/[,.'"\s]/g,"")):!0}}});var q=h.tablesorter;h.fn.extend({tablesorter:q.construct});q.addParser({id:"no-parser",is:function(){return!1},format:function(){return""},type:"text"});q.addParser({id:"text",is:function(){return!0}, format:function(f,u){var m=u.config;f&&(f=h.trim(m.ignoreCase?f.toLocaleLowerCase():f),f=m.sortLocaleCompare?q.replaceAccents(f):f);return f},type:"text"});q.addParser({id:"digit",is:function(f){return q.isDigit(f)},format:function(f,u){var m=q.formatFloat((f||"").replace(/[^\w,. \-()]/g,""),u);return f&&"number"===typeof m?m:f?h.trim(f&&u.config.ignoreCase?f.toLocaleLowerCase():f):f},type:"numeric"});q.addParser({id:"currency",is:function(f){return/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/.test((f|| "").replace(/[+\-,. ]/g,""))},format:function(f,u){var m=q.formatFloat((f||"").replace(/[^\w,. \-()]/g,""),u);return f&&"number"===typeof m?m:f?h.trim(f&&u.config.ignoreCase?f.toLocaleLowerCase():f):f},type:"numeric"});q.addParser({id:"url",is:function(f){return/^(https?|ftp|file):\/\//.test(f)},format:function(f){return f?h.trim(f.replace(/(https?|ftp|file):\/\//,"")):f},parsed:!0,type:"text"});q.addParser({id:"isoDate",is:function(f){return/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/.test(f)},format:function(f, h){var m=f?new Date(f.replace(/-/g,"/")):f;return m instanceof Date&&isFinite(m)?m.getTime():f},type:"numeric"});q.addParser({id:"percent",is:function(f){return/(\d\s*?%|%\s*?\d)/.test(f)&&15>f.length},format:function(f,h){return f?q.formatFloat(f.replace(/%/g,""),h):f},type:"numeric"});q.addParser({id:"image",is:function(f,h,m,q){return 0a.filteredRows&&b,a.startRow=f?1:0===a.filteredRows?0:a.size*a.page+1,a.page=f?0:a.page,a.endRow=Math.min(a.filteredRows,a.totalRows,a.size*(a.page+1)),g=a.$container.find(a.cssPageDisplay),e=(a.ajaxData&&a.ajaxData.output?a.ajaxData.output|| a.output:a.output).replace(/\{page([\-+]\d+)?\}/gi,function(d,b){return a.totalPages?a.page+(b?parseInt(b,10):1):0}).replace(/\{\w+(\s*:\s*\w+)?\}/gi,function(d){var b,c;b=d.replace(/[{}\s]/g,"");d=b.split(":");c=a.ajaxData;var e=/(rows?|pages?)$/i.test(b)?0:"";return/(startRow|page)/.test(d[0])&&"input"===d[1]?(b=(""+("page"===d[0]?a.totalPages:a.totalRows)).length,c="page"===d[0]?a.page+1:a.startRow,''):1'+b+""}),a.$goto.html(f).val(a.page+1)),g.find(".ts-startRow, .ts-page").unbind("change").bind("change",function(){var b=h(this).val(),b=h(this).hasClass("ts-startRow")?Math.floor(b/a.size)+1:b;l.$table.trigger("pageSet.pager",[b])})));u(a);C(c,a);a.initialized&&!1!==b&&(l.$table.trigger("pagerComplete",a),a.savePages&& k.storage&&k.storage(c,a.storageKey,{page:a.page,size:a.size}))}},H=function(c){var a,b,e,f,g;g=Math.min(c.totalPages,c.filteredPages)||1;var l=5*Math.ceil(g/c.maxOptionSize/5);e=g>c.maxOptionSize;f=c.page+1;a=l;b=g-l;var d=[1];for(a=e?l:1;a<=g;)d.push(a),a+=e?l:1;d.push(g);if(e){e=[];b=Math.max(Math.floor(c.maxOptionSize/l)-1,5);a=f-b;1>a&&(a=1);b=f+b;for(b>g&&(b=g);a<=b;a++)e.push(a);d=h.grep(d,function(a,b){return h.inArray(a,d)===b});f=d.length;g=e.length;f-g>l/2&&f+g>c.maxOptionSize&&(c=Math.floor(f/ 2)-Math.floor(g/2),Array.prototype.splice.apply(d,[c,g]));d=d.concat(e)}return d=h.grep(d,function(a,b){return h.inArray(a,d)===b}).sort(function(a,b){return a-b})},C=function(c,a){var b,e=c.config,f=e.$tbodies.eq(0);f.find("tr.pagerSavedHeightSpacer").remove();a.fixedHeight&&!a.isDisabled&&(b=h.data(c,"pagerSavedHeight"))&&(b-=f.height(),5