(function(){var c=window,d="/",e="//",g="A",h="keypress";c.pagespeed=c.pagespeed||{};var j=c.pagespeed,k=function(a){this.a=a};k.prototype.b=function(a){a=a||c.event;if(!(a.type==h&&13!=a.keyCode))for(var b=a.target;null!=b;b=b.parentNode)if(b.tagName==g){this.e(b.href,a);break}};k.prototype.c=function(){var a=this;document.body.onclick=function(b){a.b(b)};document.body.onkeypress=function(b){a.b(b)}};
k.prototype.e=function(a,b){for(var f=0;f<this.a.length;f++)if(0==a.indexOf(this.a[f])){c.location=c.location.protocol+e+c.location.hostname+d+a.substr(this.a[f].length);b.preventDefault();break}};j.d=function(a){a=new k(a);j.clientDomainRewriter=a;a.c()};j.clientDomainRewriterInit=j.d;})();
