jQuery(function(a){a(".drpager-page").bind("focus",function(b){this.select();a(this).addClass("drpager-page-has-focus")}).bind("blur",function(b){a(this).removeClass("drpager-page-has-focus")}).bind("keydown",function(f){switch(f.keyCode){case 13:case 10:var b=a(this);var g=b.attr("name");var d=Drupal.settings.drpager[g];var c=isNaN(b.val())?0:parseInt(b.val())-1;if(c<0){c=0}else{if(c>=d.total){c=d.total-1}}document.location=d.url.replace(/drpagerpage/,c);f.preventDefault();return false;case 38:drpagerPageStep(this,1);return true;case 40:drpagerPageStep(this,-1);return true;case 33:drpagerPageStep(this,5);return true;case 34:drpagerPageStep(this,-5);return true}});a(".pager .pager-first a").each(function(){if(!this.title){this.title=Drupal.t("Go to first page")}});a(".pager .pager-previous a").each(function(){if(!this.title){this.title=Drupal.t("Go to previous page")}});a(".pager .pager-next a").each(function(){if(!this.title){this.title=Drupal.t("Go to next page")}});a(".pager .pager-last a").each(function(){if(!this.title){this.title=Drupal.t("Go to last page")}})});function drpagerPageStep(b,c){var a=jQuery(b);var f=a.attr("name");var e=Drupal.settings.drpager[f];var d=isNaN(a.val())?1:parseInt(a.val());d+=c;if(d<1){d=1}else{if(d>e.total){d=e.total}}a.val(d)};