$(document).ready(
function(){
	$('a').click(
		function(){
				if((this.href).match(/http:\/\//) &&  !(this.href).match(new RegExp(document.domain))){
				window.open(this.href);
				return false;
			}
			return true;
		}
	);
	
}
);