jQuery(function($){
    $('a[href]').each(function(){
		var href = $(this).attr('href');
		if(!href.match(/^javascript:/) && !href.match(/^mailto:/) && href.match(/^[a-z0-9]+:/))
			$(this).attr('target','_blank');
	}); 
});
