jQuery(function( $ ){
  $('a[rel*=lightbox]').lightBox(); // seleciona todos os links que contenham o atributo rel="lightbox"	
}); 