$(document).ready(function(){
  $('A[rel="_blank"]').each(function(){
    $(this).attr('target', '_blank');
  });
});

