ÿþ/ /   I n i t i a l i z e   t h e   S c r i p t s   f o r   t h i s   s i t e .  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {  
          
         / /   T o   o p e n   n e w   w i n d o w s .  
         $ ( ' . l n k B l a n k ' ) . c l i c k ( f u n c t i o n ( )   {  
                 w i n d o w . o p e n ( $ ( t h i s ) . a t t r ( ' h r e f ' ) ,   ' n e w W i n d o w ' ,   ' ' ) ;  
                 r e t u r n   f a l s e ;  
         } ) ;  
          
         / /   S e l e c t   t h e   t e x t   i n   t h e   s e a r c h   b o x :  
         $ ( ' i n p u t . t x t S e a r c h ' ) . f o c u s ( f u n c t i o n ( )   {  
                 $ ( t h i s ) . s e l e c t ( ) ;  
         } ) ;  
          
         / /   H i d e s   l i s t   i t e m   i m a g e s   i f   n o   s r c   i s   d e f i n e d :  
         $ ( ' i m g . l i s t I t e m I m a g e ' ) . e a c h ( f u n c t i o n ( )   {  
                 i f   ( $ ( t h i s ) . a t t r ( ' s r c ' )   = =   ' ' )   {  
                         $ ( t h i s ) . h i d e ( ) ;  
                 }  
         } ) ;  
          
         / /   S o c i a l   M e d i a   /   L i n k s   i n   l e f t   c o l u m n :  
         $ ( ' # s o c i a l M e d i a   u l   l i : n o t ( : l a s t ) ' ) . e a c h ( f u n c t i o n ( )   {  
                 $ ( t h i s ) . a f t e r ( ' < l i   c l a s s = " s e p a r a t o r " > | < / l i > ' ) ;  
         } ) ;  
          
         v a r   b u t t o n L i n k ;  
         $ ( ' # s l i d e T a b s   d i v . s l i d e s   d i v . i t e m ' ) . e a c h ( f u n c t i o n ( )   {  
                 b u t t o n L i n k   =   $ ( t h i s ) . a t t r ( ' i d ' ) ;  
                 b u t t o n T e x t   =   $ ( t h i s ) . f i n d ( ' i m g ' ) . a t t r ( ' a l t ' ) ;  
                 $ ( ' # s l i d e T a b s   d i v . t a b L i n k s ' ) . a p p e n d ( ' < d i v   c l a s s = " t a b " > < a   h r e f = " # '   +   b u t t o n L i n k   +   ' " > '   +   b u t t o n T e x t   +   ' < / a > < / d i v > ' ) ;  
                 $ ( t h i s ) . h i d e ( ) ;   / /   H i d e   t h e   s l i d e .  
         } ) ;  
          
          
         $ ( ' # s l i d e T a b s   d i v . s l i d e s   d i v . i t e m : f i r s t ' ) . f a d e I n ( ) . a d d C l a s s ( ' c u r r e n t ' ) ;  
         $ ( ' # s l i d e T a b s   d i v . t a b L i n k s   d i v . t a b : f i r s t ' ) . a d d C l a s s ( ' c u r r e n t ' ) ;  
          
         v a r   s l i d e L i n k ;  
         $ ( ' # s l i d e T a b s   d i v . t a b L i n k s   d i v . t a b ' ) . c l i c k ( f u n c t i o n ( )   {  
                 $ ( ' # s l i d e T a b s   d i v . t a b L i n k s   d i v . t a b ' ) . r e m o v e C l a s s ( ' c u r r e n t ' ) ;  
                 s l i d e L i n k   =   $ ( t h i s ) . f i n d ( ' a ' ) . a t t r ( ' h r e f ' ) ;  
                 $ ( t h i s ) . a d d C l a s s ( ' c u r r e n t ' ) ;  
                  
                 / / $ ( ' # s l i d e T a b s   d i v . s l i d e s   d i v . c u r r e n t ' ) . f a d e O u t ( 5 0 0 0 ) . r e m o v e C l a s s ( ' c u r r e n t ' ) ;  
                  
                 $ ( ' # s l i d e T a b s   d i v . s l i d e s   d i v . c u r r e n t ' )  
                         . a n i m a t e ( { o p a c i t y : 0 } ,   1 0 0 0 )  
                         . r e m o v e C l a s s ( ' c u r r e n t ' ) ;  
                  
                 / / $ ( ' # s l i d e T a b s   d i v . s l i d e s   d i v # '   +   s l i d e L i n k ) . f a d e I n ( 5 0 0 0 ) . a d d C l a s s ( ' c u r r e n t ' ) ;  
                  
                 $ ( ' # s l i d e T a b s   d i v . s l i d e s   d i v # '   +   s l i d e L i n k )  
                         . a n i m a t e ( { o p a c i t y : 1 } ,   1 0 0 0 )  
                         . a d d C l a s s ( ' c u r r e n t ' ) ;  
                  
                 r e t u r n   f a l s e ;  
         } ) ;  
 } ) ; 
