ÿþ$ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {  
 / *  
 a d d   l i n k   t o   a l l   i m a g e s  
 b i n d   c l i c k   t o   a l l   l i n k s  
 * /  
  
 / /   a d d   l i n k   t o   a l l   i m a g e s  
 $ ( " d i v . p o s t - b o d y " ) . f i n d ( " i m g " ) . e a c h ( f u n c t i o n ( )   {  
 / / a l e r t ( $ ( t h i s ) . a t t r ( " s r c " ) ) ;  
 i f   ( ! $ ( t h i s ) . p a r e n t ( ) . h a s C l a s s ( " t h i c k b o x " ) )   {   / /   f i x   d u p l i c a t e   a . t h i c k b o x   t a g   w h e n   c a l l i n g   m u l t i p l e   t i m e s  
 v a r   l i n k   =   $ ( " < a > < / a > " ) ;  
 l i n k . a t t r ( " h r e f " ,   $ ( t h i s ) . a t t r ( " s r c " ) ) ;  
 l i n k . a t t r ( " t i t l e " ,   $ ( t h i s ) . a t t r ( " a l t " ) ) ;  
 l i n k . a t t r ( " r e l " ,   " g r o u p 1 " ) ;  
 l i n k . a d d C l a s s ( " t h i c k b o x " ) ;  
 $ ( t h i s ) . w r a p ( l i n k ) ;  
 }  
 } ) ;  
 / /   b i n d   c l i c k   t o   a l l   l i n k s  
 $ ( ' a . t h i c k b o x ' ,   $ ( " d i v . p o s t - b o d y " ) ) . c l i c k ( f u n c t i o n ( )   {  
 v a r   t   =   t h i s . t i t l e   | |   t h i s . n a m e   | |   n u l l ;  
 v a r   a   =   t h i s . h r e f   | |   t h i s . a l t ;  
 v a r   g   =   t h i s . r e l   | |   f a l s e ;  
 t b _ s h o w ( t ,   a ,   g ) ;  
 t h i s . b l u r ( ) ;  
 r e t u r n   f a l s e ;  
 } ) ;  
 } ) ;  
 
