$(function(){$("a[href*='http://']:not([href*='"+location.hostname+"'])").click(function(){window.open(this.href);return false})});