(function(){var c=window,d="/",e="//",g="A",h="keypress";c.pagespeed=c.pagespeed||{};var k=c.pagespeed,l=function(a){this.a=a};l.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}};l.prototype.c=function(){var a=this;document.body.onclick=function(b){a.b(b)};document.body.onkeypress=function(b){a.b(b)}};
l.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}};k.d=function(a){a=new l(a);k.clientDomainRewriter=a;a.c()};k.clientDomainRewriterInit=k.d;})();
