$j().ready(
      function()
      {
        $j('.screenshots img').each(
          function()
          {
            var $this = $j( this );
            var src   = this.src;
            var asrc  = src.split('/');
            $j( asrc ).each(
              function( i,e )
              {
                if( e == 'tn' ) asrc[ i ] = 'lg';
              }
            );
            src = asrc.join('/');
            $this.wrap( '<a href="'+src+'" rel="group" />' );
          }
        );
        $j('.screenshots a').fancybox({
          'titlePosition'		: 'inside',
          'transitionIn'		: 'elastic',
          'transitionOut'		: 'elastic'
        });
      }
    );
