$j(document).ready(function () {
   $j('a').each(function(){
      if('new-window' == $j(this).attr('class')) {
         $j(this).click(function() {
                window.open($j(this).attr('href'));
                return false;
            });
        }      
   });
});