ÿþ/ *      
   *   1@01>BG8:8:    
   *     # h n 0 1   -   25@E=55  <5=N 
   *     # h n 0 2   -   ;52>5  <5=N 
   *     # h n 0 3   -   A;0945@  (   8A?>;L7C5B  # f n 0 3   )  
   *     # h n 0 4   -   30;5@5O  87>1@065=89 
   *     # h n 0 5   -   044>=K 
   *     # h n 0 6   -   >17>@K 
   *     # h n 0 7   -   A:@KBL  p o p u p   D>@<C 
   *     # h n 0 8   -   @0A:@0A:0  B01;8FK  A  2845>         
   *     # h n 0 9   -   0:B820F8O  s h a d o w b o x  
   *     # h n 1 0   -   2A?;K20NI0O  D>@<0  >B?@02:8  A>>1I5=8O     
   *     # h n 1 1   -   f e a t i r e s  
   *     # h n 1 2   -   f e a t i r e s   i m e a g e s ,   w h a t s   n e w   i m a g e s  
   *     # h n 1 3   -   2:;NG8BL  /   2K:;NG8BL  1;>:  t i p s  
   *     # h n 1 4   -   w h a t s   n e w    
   *     # h n 1 4 . 1   -   2:;NG8BL  /   2K:;NG8BL  w h a t s   n e w   1   C@>2=O 
   *     # h n 1 4 . 3   -   2:;NG8BL  /   2K:;NG8BL  w h a t s   n e w   3   C@>2=O   
   *     # h n 1 4 . 4   -   @0A:@0A:0  1;>:>2  w h a t s   n e w  
   *     # h n 1 4 . 5   -   2:;NG8BL  /   2K:;NG8BL  w h a t s   n e w   1;>:  l e a r n _ m o r e  
   *     # h n 1 5   -   b a n n e r s    
   *     # h n 1 6   -   t w i t t e r  
   *     # h n 1 7   -   f a c e b o o k        
   *      
   *   $C=:F88 
   *     # f n 0 1   -   70:@KBL  ?C=:B  ;52>3>  <5=N 
   *     # f n 0 2   -   87<5=5=85  A>AB>O=89  AB@5;>:  A;0945@0 
   *     # f n 0 3   -   8=8F80;870F8O  A;0945@0 
   *     # f n 0 4   -   8=8F80;870F8O  j s   :>=B5=B0  4;O  a j a x   A;>O   
   *     # f n 0 5   -   ?>:070BL  p o p u p   D>@<C 
   *     # f n 0 6   -   A:@KBL  p o p u p   D>@<C 
   *     # f n 0 7   -   2:;NG8BL  /   2K:;NG8BL  1;>:  w h a t s   n e w    
   *     # f n 0 8   -   ?>:070BL  10==5@ 
   *      
   * /  
  
  
 / /   A:>@>ABL  ?;02=KE  MDD5:B>2 
 v a r   e f f e c t _ s p e e d   =   ' n o r m a l ' ;    
 v a r   e f f e c t _ s p e e d _ s l o w   =   ' s l o w ' ;  
 v a r   e f f e c t _ s p e e d _ f a s t   =   ' f a s t ' ;  
 v a r   d i s a b l e _ a n i m a t i o n   =   $ . b r o w s e r . m s i e   & &   $ . b r o w s e r . v e r s i o n > = 6   & &   $ . b r o w s e r . v e r s i o n < 7 ;    
 v a r   i e 6   =   $ . b r o w s e r . m s i e   & &   ( p a r s e I n t ( $ . b r o w s e r . v e r s i o n )   < =   6 ) ;  
 v a r   b l o c k _ a n i m a t i o n   =   f a l s e ;  
 v a r   u p l _ i m a g e s _ s t a c k   =   n e w   A r r a y ( ) ;  
  
 f u n c t i o n   s t a r t _ b a c k g r o u n d _ u p l o a d ( ) {  
          
         v a r   i m a g e _ n a m e   =   u p l _ i m a g e s _ s t a c k . p o p ( )  
         i f   (   ! i m a g e _ n a m e   )   r e t u r n ;  
          
         v a r   p r e l o a d e r _ i m a g e   =   n e w   I m a g e ( ) ;  
         $ ( p r e l o a d e r _ i m a g e )  
                 . a t t r ( ' s r c ' , i m a g e _ n a m e )  
                 . b i n d ( ' l o a d ' , f u n c t i o n ( ) {   / /   DC=:F8O  ?>  7025@H5=8N  703@C7:8  D>B> 
  
                         / /   @5:C@A82=>  70?CA:05<  703@C7G8: 
                         s t a r t _ b a c k g r o u n d _ u p l o a d ( )  
                          
                         / /   >1=C;O5<  ?5@5<5==CN 
                         p r e l o a d e r _ i m a g e   =   n u l l ;  
                  
                 } )  
 }  
  
 $ ( w i n d o w ) . l o a d ( f u n c t i o n ( ) {  
         s t a r t _ b a c k g r o u n d _ u p l o a d ( ) ;  
 } )  
  
 $ ( f u n c t i o n ( ) {  
  
         / /   # h n 0 1   -   25@E=55  <5=N 
         $ ( ' . j s _ m e n u _ t o p   l i : h a s ( l i ) ' ) . h o v e r ( f u n c t i o n ( ) {  
  
                 / /   ` @0A:@KBL  <5=N`  
                 / /   4;O  i e 6   A?5F  >1@01>B:0,   A  ?;02=>ABLN  ?>;C?@>7@0G=KE  M;5<5=B>2  >=  =5  4@C68B 
                 i f   (   d i s a b l e _ a n i m a t i o n   ) {  
                         / /   >1KG=>5  ?>O2;5=85 
                         $ ( t h i s ) . a d d C l a s s ( ' a c t i v e ' ) ;  
                 }   e l s e   {   / /  
  
                         / /   :>=B59=5@  ?>4C@>2=59 
                         v a r   c h i l d _ u l   =   $ ( t h i s ) . c h i l d r e n ( ' u l ' ) ;  
  
                         / /   . . .   AE;>?=CBL  ?>  2KA>B5 
                         c h i l d _ u l . h i d e ( )  
  
                         / /   0:B828@>20BL 
                         $ ( t h i s ) . a d d C l a s s ( ' a c t i v e ' ) ;  
  
                         / /   ?;02=>  @0A:@KBL 
                         c h i l d _ u l . c s s ( " d i s p l a y " ,   " b l o c k " )   / / s h o w ( )   / / s l i d e D o w n ( e f f e c t _ s p e e d )  
  
                 }  
  
         } , f u n c t i o n ( ) {  
  
                 / /   ` 70:@KBL  <5=N`  
                 / /   A?5F  >1@01>B:0  4;O  i e 6  
                 i f   (   d i s a b l e _ a n i m a t i o n   ) {  
                         $ ( t h i s ) . r e m o v e C l a s s ( ' a c t i v e ' ) ;  
                 }   e l s e   {  
                         $ ( t h i s )  
                                 . c h i l d r e n ( ' u l ' )  
                                 . s t o p ( )  
                                 . r e m o v e A t t r ( ' s t y l e ' )  
                                 . e n d ( )  
                                 . r e m o v e C l a s s ( ' a c t i v e ' ) ;  
                 }  
         } )  
  
      
         / /   # h n 0 2   -   ;52>5  <5=N 
         $ ( ' . j s _ m e n u _ l e f t ' )  
                 . h o v e r ( f u n c t i o n ( ) {  
                          
                         i f   (   ! d i s a b l e _ a n i m a t i o n   ) {  
                                 / /   ` 2:;NG8BL  ?>4A25B:C`  
                                 $ ( t h i s )  
                                         . a d d C l a s s ( ' m e n u _ h o v e r ' )  
                                         . f i n d ( ' . t i t l e ' )  
                                                 . a d d C l a s s ( ' t i t l e _ h o v e r ' ) ;  
                         }  
                          
                 } , f u n c t i o n ( ) {  
          
                         i f   (   ! d i s a b l e _ a n i m a t i o n   ) {  
                                 / /   ` 2K:;NG8BL  ?>4A25B:C`  
                                 $ ( t h i s )  
                                         . r e m o v e C l a s s ( ' m e n u _ h o v e r ' )  
                                         . f i n d ( ' . t i t l e ' )  
                                                 . r e m o v e C l a s s ( ' t i t l e _ h o v e r ' ) ;  
                         }  
  
                 } )  
                 . f i l t e r ( ' . b - m e n u - l e f t _ n o _ o p e n ' )  
                         . c l i c k ( f u n c t i o n ( ) {  
                                 v a r   h r e f   =   $ ( t h i s ) . a t t r ( ' j s _ h r e f ' ) ;  
                                 i f   (   h r e f   )   w i n d o w . l o c a t i o n   =   h r e f ;  
                         } )  
                 . e n d ( )  
                 . n o t ( ' . b - m e n u - l e f t _ n o _ o p e n ' )  
                         . f i n d ( ' . t i t l e ' )  
                                 . c l i c k ( f u n c t i o n ( ) {  
                                          
                                         v a r   c o n t a i n e r   =   $ ( t h i s ) . p a r e n t s ( ' . j s _ m e n u _ l e f t ' ) ;  
                                          
                                         / /   5A;8  ?C=:B  <5=N  >B:@KB 
                                         i f   (   c o n t a i n e r . h a s C l a s s ( ' b - m e n u - l e f t _ o p e n ' )   ) {  
                                                  
                                                 / /   . . .   70:@KBL  53> 
                                                 i f   (   d i s a b l e _ a n i m a t i o n   ) {  
                                                         c o n t a i n e r . r e m o v e C l a s s ( ' b - m e n u - l e f t _ o p e n ' ) ;  
                                                 }   e l s e   {  
                                                         $ ( t h i s ) . p a r e n t s ( ' : f i r s t ' ) . c l o s e _ m e n u _ l e f t ( ) ;  
                                                 }  
                                                  
                                         }   e l s e   {  
                                                  
                                                 / /   . . .   8=0G5  @0A:@KBL 
                                                  
                                                 i f   (   d i s a b l e _ a n i m a t i o n   ) {  
          
                                                         c o n t a i n e r . a d d C l a s s ( ' b - m e n u - l e f t _ o p e n ' ) ;  
          
                                                         / /   >AB0;L=K5  70:@KBL 
                                                         $ ( ' . j s _ m e n u _ l e f t . b - m e n u - l e f t _ o p e n ' )  
                                                                 . n o t ( c o n t a i n e r )  
                                                                 . r e m o v e C l a s s ( ' b - m e n u - l e f t _ o p e n ' ) ;  
          
                                                 }   e l s e   {  
          
                                                         v a r   c h i l d _ u l   =   $ ( t h i s ) . p a r e n t s ( ' : f i r s t ' ) . c h i l d r e n ( ' u l ' ) ;  
                                                         c h i l d _ u l . h i d e ( )  
  
                                                         / /   0:B828@>20BL 
                                                         c o n t a i n e r . a d d C l a s s ( ' b - m e n u - l e f t _ o p e n ' ) ;  
                                                          
                                                         / /   ?;02=>  @0A:@KBL 
                                                         c h i l d _ u l . s l i d e D o w n (   e f f e c t _ s p e e d   )  
                                                          
                                                         / /   >AB0;L=K5  70:@KBL 
                                                         $ ( ' . j s _ m e n u _ l e f t . b - m e n u - l e f t _ o p e n ' )  
                                                                 . n o t ( c o n t a i n e r )  
                                                                 . c l o s e _ m e n u _ l e f t ( )  
                                                                  
                                                 }  
          
                                         }  
          
                                 } )  
  
         / /   # h n 0 3   -   A;0945@ 
         $ ( ' . b - s l i d e r ' ) . s l i d e r _ i n i t ( ) ;  
          
  
         / /   4>1028BL  ?@5;>045@K  2  30;5@58 
         $ ( ' . b - p i c t u r e _ c o n t a i n e r ' ) . e a c h ( f u n c t i o n ( ) {  
                 $ ( ' < d i v   c l a s s = " p r e - l o a d e r " > < i m g   s r c = " / i m a g e s / p r e l o a d e r . g i f " > < / d i v > ' )  
                         . a p p e n d T o (   t h i s   )  
         } )  
  
          
         / /   # h n 0 4   -   30;5@5O  87>1@065=89 
         $ ( ' . b - s l i d e r . b - g a l   . t e x t : h a s ( i m g [ b i g _ p i c ] ) ' ) . c l i c k ( f u n c t i o n ( ) {  
                  
                 / /   >B:;NG5=85  >1@01>B:8  2K45;5==>3>  M;5<5=B0 
                 i f   (   $ ( t h i s ) . h a s C l a s s ( ' t e x t - o n ' )   )   r e t u r n   f a l s e ;  
                  
                 / /   15@5<  04@5A  1>;LH>3>  87>1@065=8O 
                 v a r   n e w _ p i c   =   $ ( ' i m g [ b i g _ p i c ] ' , $ ( t h i s ) ) . a t t r ( ' b i g _ p i c ' ) ;  
                  
                 / /   :>=B59=5@K 
                 v a r   c o n t a i n e r   =   $ ( t h i s ) . p a r e n t s ( ' . b - g a l ' ) ;             / /   . . .   A;0945@  A  <8=80BN@0<8 
                 v a r   i m a g e _ c o n t a i n e r   =   $ ( ' . b - p i c t u r e _ c o n t a i n e r ' ) ; / /   . . .   4;O  1>;LH>3>  D>B>   
                  
                 / /   A1@>A  ?>4A25B:8  A  ?@54K4CI53>  M;5<5=B0  A;0945@0 
                 $ ( ' . t e x t - b o x   . t e x t . t e x t - o n ' , c o n t a i n e r )  
                         . r e m o v e C l a s s ( ' t e x t - o n ' ) ;  
                  
                 / /   ?>4A25B:0  2K1@0==>3>  M;5<5=B0 
                 $ ( t h i s ) . a d d C l a s s ( ' t e x t - o n ' ) ;  
                  
                 / /   8=8F88@C5<  703@C7:C  =>2>3>  D>B> 
                 v a r   p r e l o a d e r _ i m a g e   =   n e w   I m a g e ( ) ;  
                 $ ( p r e l o a d e r _ i m a g e )  
                         . b i n d ( ' l o a d ' , f u n c t i o n ( ) {   / /   DC=:F8O  ?>  7025@H5=8N  703@C7:8  D>B> 
                                  
                                 / /   4>1028BL  =0  AB@0=8FC  =>2>5  87>1@065=85   
                                 $ ( ' < d i v   c l a s s = " p i c - i t e m "   s t y l e = " d i s p l a y :   n o n e " > < / d i v > ' )      
                                         . a p p e n d T o ( i m a g e _ c o n t a i n e r )  
                                         . h t m l (   t h i s   )  
                                         . f a d e I n ( e f f e c t _ s p e e d )  
                                  
                                 / /   A:@KBL  ?@5;>045@,   5A;8  >=  CA?5;  ?>O28BLAO 
                                 $ ( ' . p r e - l o a d e r : v i s i b l e ' , i m a g e _ c o n t a i n e r ) . h i d e ( ) ;  
                                  
                                 / /   >1=C;O5<  ?5@5<5==CN 
                                 p r e l o a d e r _ i m a g e   =   n u l l ;  
                          
                         } )  
                         . a t t r ( ' s r c ' , n e w _ p i c )  
                  
                 / /   =0G8=05<  A:@K20BL  AB0@>5  1>;LH>5  D>B> 
                 $ ( ' . p i c - i t e m ' , i m a g e _ c o n t a i n e r )  
                         . f a d e O u t ( e f f e c t _ s p e e d , f u n c t i o n ( ) {   / /   DC=:F8O  ?>  7025@H5=8N  MDD5:B0 
                                  
                                 / /   C40;8BL  M;5<5=B 
                                 $ ( t h i s ) . r e m o v e ( ) ;  
                                  
                                 / /   5A;8  =5  703@C65=>  =>2>5  87>1@065=85,   2K25AB8  ?@5;>045@ 
                                 i f   (   ! $ ( ' . p i c - i t e m ' , i m a g e _ c o n t a i n e r ) . n o t ( t h i s ) . l e n g t h   )  
                                         $ ( ' . p r e - l o a d e r ' , i m a g e _ c o n t a i n e r ) . s h o w ( ) ;  
                                  
                         } ) ;  
  
         } )  
          
          
         / /   # h n 0 8   -   @0A:@0A:0  B01;8FK  A  2845> 
         $ ( ' . b - d a t a - t a b   . d a t a - m i d   t a b l e   t r : e v e n : n o t ( : f i r s t ) ' ) . a d d C l a s s ( ' c o l o r 2 ' ) ;  
  
         / /   # h n 1 3 . 1   -   A:@KBL  1;>:  t i p s  
         $ ( ' # j s _ t i p s _ s w i t c h e r ' )  
                 . c l i c k ( f u n c t i o n ( ) {  
  
                         / /   1;>:8@>2:0  0=8<0F88 
                         i f   (   b l o c k _ a n i m a t i o n   )   r e t u r n   f a l s e ;  
                         b l o c k _ a n i m a t i o n   =   t r u e ;  
                          
                         / /   AAK;:0  =0  ?5@5:;NG0B5;L 
                         v a r   s w i t c h e r   =   $ ( t h i s ) ;  
                          
                         / /   B5:CI55  A>AB>O=85 
                         v a r   v i s i b l e   =   ! $ ( t h i s ) . h a s C l a s s ( ' t i p s - t i t l e 1 o n ' ) ;  
                          
                         / /   87<5=5=85  A>AB>O=8O 
                         i f   (   v i s i b l e   )   {  
                                  
                                 / /   A:@KBL 
                                 $ ( ' # j s _ t i p s ' )  
                                         . s l i d e U p (   e f f e c t _ s p e e d ,   f u n c t i o n ( ) {    
                                                 b l o c k _ a n i m a t i o n   =   f a l s e ;  
                                                 s w i t c h e r . a d d C l a s s ( ' t i p s - t i t l e 1 o n ' )  
                                         }   )  
                                  
                         }   e l s e   {  
                                  
                                 / /   ?>:070BL 
                                 $ ( ' # j s _ t i p s ' )  
                                         . s l i d e D o w n (   e f f e c t _ s p e e d ,   f u n c t i o n ( ) {    
                                                 b l o c k _ a n i m a t i o n   =   f a l s e ;  
                                                 s w i t c h e r . r e m o v e C l a s s ( ' t i p s - t i t l e 1 o n ' )  
                                         }   )  
                                  
                         }  
                          
                 } )  
          
         / /   # h n 1 4   -   w h a t s   n e w  
         i f   (   $ ( ' # j s _ w h a t s n e w _ b l o c k ' ) . l e n g t h   ) {  
  
                 / /   # h n 1 4 . 1   -   2:;NG8BL  /   2K:;NG8BL  w h a t s   n e w   1   C@>2=O 
                 i n i t _ w h a t s _ n e w _ b l o c k (   ' v e r _ l a v e l 1 _ l e f t ' ,   ' v e r _ l a v e l 1 _ t i t l e '   ) ;  
          
                 / /   # h n 1 4 . 3   -   2:;NG8BL  /   2K:;NG8BL  w h a t s   n e w   3   C@>2=O 
                 i n i t _ w h a t s _ n e w _ b l o c k (   ' v e r _ l a v e l 3 _ l i s t ' ,   ' v e r _ l a v e l 3 _ i t e m '   ) ;  
                  
                 / /   # h n 1 4 . 4   -   @0A:@0A:0  1;>:>2  w h a t s   n e w  
                 $ ( ' . v e r _ l a v e l 3   l i ' ,   ' # j s _ w h a t s n e w _ b l o c k ' )  
                         . e a c h ( f u n c t i o n ( ) {  
                                 $ ( ' d i v . v e r _ l a v e l 3 _ b l o c k : o d d ' , t h i s ) . a d d C l a s s ( ' v e r _ l a v e l 3 _ b l o c k _ c o l o r ' )  
                         } )  
                  
                 / /   # h n 1 4 . 5   -   2:;NG8BL  /   2K:;NG8BL  w h a t s   n e w   1;>:  l e a r n _ m o r e  
                 i n i t _ w h a t s _ n e w _ b l o c k (   ' l i n k - m o r e ' ,   ' v e r _ l a v e l 3 _ b l o c k ' ,   1   )  
  
         }  
  
          
         / /   # h n 1 5   -   b a n n e r s  
         i f   (   $ ( ' # j s _ b a n n e r _ c o n t a i t e r ' ) . s i z e ( )   )   {  
                  
                 / /   02B><0B8G5A:>5  87<5=5=85  >B>1@0605<>3>  10=5@0 
                 i f   (   $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r   a ' ) . s i z e ( ) > 1   )   {  
                         $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r ' ) . s h o w ( )  
                         $ ( ' # j s _ b a n n e r _ c o n t a i t e r ' ) . e v e r y T i m e ( 1 0 0 0 0 ,   f u n c t i o n ( i ) {  
                                 v a r   n e x t _ i d   =   $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r   . o n ' ) . n e x t ( ) . a t t r ( ' j s _ b a n n e r _ i d ' ) ;  
                                 i f   (   ! n e x t _ i d   )   n e x t _ i d   =   $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r   a : f i r s t ' ) . a t t r ( ' j s _ b a n n e r _ i d ' ) ;  
                                 s h o w _ b a n n e r (   n e x t _ i d   ) ;  
                         } )  
                 }  
                  
                 / /   @CG=>5  87<5=5=85  >B>1@0605<>3>  10=5@0 
                 $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r   a ' )  
                         . c l i c k ( f u n c t i o n ( ) {  
                                 s h o w _ b a n n e r (   $ ( t h i s ) . a t t r ( ' j s _ b a n n e r _ i d ' )   ) ;  
                                 $ ( ' # j s _ b a n n e r _ c o n t a i t e r ' ) . s t o p T i m e ( ) ;  
                                 r e t u r n   f a l s e ;  
                         } )  
                  
         }   / /   i f  
          
         / /   # h n 1 6   -   t w i t t e r  
         $ (   ' . j s _ t w e e t _ h r e f [ r e l ] '   )  
                 . c l i c k ( f u n c t i o n ( ) {  
                          
                         v a r   t e x t   =   $ ( ' # ' + $ ( t h i s ) . a t t r ( ' r e l ' ) ) . v a l ( ) ;  
                          
                         v a r   p a r a m e t e r s   =   n e w   A r r a y (  
                                 ' u r l = ' + e n c o d e U R I C o m p o n e n t ( w i n d o w . l o c a t i o n ) ,  
                                 ' t e x t = ' + e n c o d e U R I C o m p o n e n t ( t e x t )  
                         ) ;  
                         $ ( t h i s ) . a t t r ( ' j s _ h r e f ' , ' h t t p : / / t w i t t e r . c o m / s h a r e ? ' + p a r a m e t e r s . j o i n ( ' & ' ) )  
                         r e t u r n   t r u e ;  
                          
                 } )  
          
         / /   # h n 1 7   -   f a c e b o o k  
         $ (   ' . j s _ f a c e b o o k _ h r e f [ r e l ] '   )  
                 . c l i c k ( f u n c t i o n ( ) {  
                          
                         v a r   t e x t   =   $ ( ' # ' + $ ( t h i s ) . a t t r ( ' r e l ' ) ) . v a l ( ) ;  
                          
                         v a r   p a r a m e t e r s   =   n e w   A r r a y (  
                                 ' u = ' + e n c o d e U R I C o m p o n e n t ( w i n d o w . l o c a t i o n ) ,  
                                 ' t = ' + e n c o d e U R I C o m p o n e n t ( $ ( ' h 1 ' ) . t e x t ( ) )  
                                 / / ' t = ' + e n c o d e U R I C o m p o n e n t ( t e x t )  
                         ) ;  
                         $ ( t h i s ) . a t t r ( ' j s _ h r e f ' , ' h t t p : / / w w w . f a c e b o o k . c o m / s h a r e r . p h p ? ' + p a r a m e t e r s . j o i n ( ' & ' ) )  
                         r e t u r n   t r u e ;  
                          
                 } )  
          
         v a r   v i d e o s   =   $ ( ' a [ h r e f $ = . f l v ] ' ) ;  
          
         i f   (   v i d e o s . l e n g t h   )   {  
  
                 $ ( ' b o d y ' )  
                         . p r e p e n d (  
                                 ' < d i v   c l a s s = " o v e r l a y "   s t y l e = " d i s p l a y :   n o n e ; "   i d = " o v e r l a y " > '   +  
                                         ' < d i v   c l a s s = " b - a l e r t " > '   +  
                                                 ' < d i v   c l a s s = " a l e r t - s h - l e f t " > < / d i v > '   +  
                                                 ' < d i v   c l a s s = " a l e r t - s h - r i g h t " > < / d i v > '   +  
                                                 ' < d i v   c l a s s = " a l e r t - s h - b o t " > < / d i v > '   +  
                                                 ' < d i v   c l a s s = " a l e r t - s h - u 3 " > < / d i v > '   +  
                                                 ' < d i v   c l a s s = " a l e r t - s h - u 4 " > < / d i v > '   +  
                                                 ' < d i v   c l a s s = " a l e r t - b o x " > '   +  
                                                         ' < a   c l a s s = " c l o s e   b - b t n - c l o s e "   h r e f = " # c l o s e " > < i m g   a l t = " C l o s e "   s r c = " / i m a g e s / a l e r t . c l o s e . p n g " > < / a > '   +  
                                                         ' < a   i d = " p l a y e r "   h r e f = " # n u l l " > & n b s p ; < / a > '   +  
                                                 ' < / d i v > '   +      
                                         ' < / d i v > '   +                          
                                 ' < / d i v > '  
                         )  
  
                 v a r   p l a y e r ;  
                  
                 v i d e o s  
                         . a t t r ( ' r e l ' , ' d i v . o v e r l a y ' )  
                         . o v e r l a y ( {  
                                  
                                 / /   u s e   t h e   A p p l e   e f f e c t   f o r   o v e r l a y  
                                 e f f e c t :   ' a p p l e ' ,  
                                  
                                 / /   w h e n   o v e r l a y   i s   o p e n e d ,   l o a d   o u r   p l a y e r  
                                 o n L o a d :   f u n c t i o n ( )   {  
                                         p l a y e r . l o a d ( ) ;  
                                 } ,  
                                  
                                 / /   w h e n   o v e r l a y   i s   c l o s e d ,   u n l o a d   o u r   p l a y e r  
                                 o n C l o s e :   f u n c t i o n ( )   {  
                                         h i d e _ p o p u p ( )  
                                         p l a y e r . u n l o a d ( ) ;  
                                 }  
                         } )  
                         . c l i c k ( f u n c t i o n ( ) {  
          
                                 v a r   h r e f   =   $ ( t h i s ) . a t t r ( ' h r e f ' ) ;  
                                 $ ( ' d i v . o v e r l a y   # p l a y e r ' ) . a t t r ( ' h r e f ' , h r e f )  
                                  
                                 p l a y e r   =   $ f ( " p l a y e r " ,   " / i m a g e s / f l o w p l a y e r - 3 . 2 . 4 . s w f " , {  
                                         c l i p :   {  
                                                 a u t o P l a y :   t r u e ,  
                                                 a u t o B u f f e r i n g :   t r u e ,  
                                                 s c a l i n g :   ' f i t '  
                                         }  
                                 } ) ;  
                                  
                                 $ ( ' . b - f i x e d _ f o n d ' ) . s h o w ( ) ;  
                                  
                                 r e t u r n   f a l s e ;  
                         } )  
          
         }   / /   i f   v i d e o s  
          
          
         / /   >1@01>B:0  m p 4   2845>D09;>2 
         v i d e o s   =   $ ( ' a [ h r e f $ = . m p 4 ] ' ) ;  
          
         i f   (   v i d e o s . l e n g t h   )   {  
  
                 v a r   p _ w   =   $ ( ' b o d y ' ) . w i d t h ( ) ;  
                 v a r   p _ h   =   $ ( ' b o d y ' ) . h e i g h t ( ) ;  
                  
                 v a r   m i n _ s i z e   =   ( p _ w < 1 2 0 0   | |   p _ h < 7 0 0 ) ;  
                  
                 v a r   w   =   m i n _ s i z e   ?   p _ w   :   1 2 8 0 ;  
                 v a r   h   =   m i n _ s i z e   ?   M a t h . m i n (   M a t h . r o u n d ( p _ w / 1 . 5 ) ,   p _ h - 5 0   )   :   7 2 0 ;  
                  
                 $ ( ' b o d y ' )  
                         . p r e p e n d (  
                                 ' < d i v   c l a s s = " o v e r l a y 2 "     i d = " o v e r l a y 2 " > '   +  
                                         ' < d i v   s t y l e = " w i d t h :   ' + w + ' p x ;   h e i g h t :   ' + h + ' p x ; " > '   +  
                                                 ' < a   c l a s s = " c l o s e "   h r e f = " # c l o s e "   > c l o s e < / a > '   +  
                                                 ' < a   s t y l e = " w i d t h :   ' + w + ' p x ;   h e i g h t :   ' + h + ' p x ; "   i d = " p l a y e r "   h r e f = " # n u l l " > & n b s p ; < / a > '   +  
                                         ' < / d i v > '   +                          
                                 ' < / d i v > '  
                         )  
  
                 v a r   p l a y e r ;  
                  
                 v i d e o s  
                         . a t t r ( ' r e l ' , ' d i v . o v e r l a y 2 ' )  
                         . o v e r l a y ( {  
                                  
                                 / /   u s e   t h e   A p p l e   e f f e c t   f o r   o v e r l a y  
                                 e f f e c t :   ' a p p l e ' ,  
                                 t o p :   ' c e n t e r ' ,  
                                  
                                 / /   w h e n   o v e r l a y   i s   o p e n e d ,   l o a d   o u r   p l a y e r  
                                 o n L o a d :   f u n c t i o n ( )   {  
                                         p l a y e r . l o a d ( ) ;  
                                 } ,  
                                  
                                 / /   w h e n   o v e r l a y   i s   c l o s e d ,   u n l o a d   o u r   p l a y e r  
                                 o n C l o s e :   f u n c t i o n ( )   {  
                                         h i d e _ p o p u p ( )  
                                         p l a y e r . u n l o a d ( ) ;  
                                 }  
                         } )  
                         . c l i c k ( f u n c t i o n ( ) {  
          
                                 v a r   h r e f   =   $ ( t h i s ) . a t t r ( ' h r e f ' ) ;  
                                 $ ( ' d i v . o v e r l a y 2   # p l a y e r ' ) . a t t r ( ' h r e f ' , h r e f )  
                                  
                                 p l a y e r   =   $ f ( " p l a y e r " ,   " / i m a g e s / f l o w p l a y e r - 3 . 2 . 4 . s w f " , {  
                                         c l i p :   {  
                                                 a u t o P l a y :   t r u e ,  
                                                 a u t o B u f f e r i n g :   t r u e ,  
                                                 s c a l i n g :   ' o r i g '  
                                         }  
                                 } ) ;  
                                  
                                 $ ( ' . b - f i x e d _ f o n d ' )  
                                         . s h o w ( )  
                                         . c l i c k ( f u n c t i o n ( ) {  
                                                 $ ( ' d i v . o v e r l a y 2   . c l o s e ' ) . c l i c k ( ) ;  
                                         } )  
                                  
                                 r e t u r n   f a l s e ;  
                         } )  
          
         }   / /   i f   v i d e o s  
 } )  
  
 / /   # f n 0 1   -   70:@KBL  ?C=:B  ;52>3>  <5=N 
 $ . f n . c l o s e _ m e n u _ l e f t   =   f u n c t i o n ( ) {  
  
         t h i s  
                 . f i n d ( ' u l ' )  
                 . s l i d e U p ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                         $ ( t h i s )  
                                 . h i d e ( )  
                                 . p a r e n t s ( ' . j s _ m e n u _ l e f t ' )  
                                 . r e m o v e C l a s s ( ' b - m e n u - l e f t _ o p e n ' )    
                 } )  
  
         r e t u r n   t h i s ;  
  
 }   / /   f n   c l o s e _ m e n u _ l e f t  
  
  
 / /   # f n 0 2   -   87<5=5=85  A>AB>O=89  AB@5;>:  A;0945@0 
 $ . f n . s l i d e r _ c h e c k _ a r r o w s   =   f u n c t i o n ( p o s i t i o n , e l e m e n t _ c n t , o n _ s c r e e n ) {  
  
         i f   (   d i s a b l e _ a n i m a t i o n   )   r e t u r n   t h i s ;    
          
         r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) {  
                  
                 v a r   c o n t a i n e r   =   $ ( t h i s ) ;  
                  
                 / /   ?@>25@:0  AB@5;:8  2?@02> 
                 $ ( ' . r i g h t - b t n ' ,   c o n t a i n e r )  
                         . e a c h ( f u n c t i o n ( ) {  
                                 i f   (   p o s i t i o n   > =   e l e m e n t _ c n t   -   o n _ s c r e e n   )  
                                         $ ( t h i s )  
                                                 . a d d C l a s s ( ' r i g h t - b t n _ _ d i s a b l e d ' )  
                                                 . r e m o v e C l a s s ( ' r i g h t - b t n _ _ o n ' ) ;  
                                 e l s e  
                                         $ ( t h i s ) . r e m o v e C l a s s ( ' r i g h t - b t n _ _ d i s a b l e d ' )    
                         } )  
                  
                 / /   ?@>25@:0  AB@5;:8  2;52> 
                 $ ( ' . l e f t - b t n ' ,   c o n t a i n e r )  
                         . e a c h ( f u n c t i o n ( ) {  
                                 i f   (   p o s i t i o n   < =   0   )  
                                         $ ( t h i s )  
                                                 . a d d C l a s s ( ' l e f t - b t n _ _ d i s a b l e d ' )  
                                                 . r e m o v e C l a s s ( ' l e f t - b t n _ _ o n ' ) ;  
                                 e l s e  
                                         $ ( t h i s ) . r e m o v e C l a s s ( ' l e f t - b t n _ _ d i s a b l e d ' )  
                         } )  
  
         } )  
  
 }   / /   f n   s l i d e r _ c h e c k _ a r r o w s  
  
  
 / /   # f n 0 3   -   8=8F80;870F8O  A;0945@0 
 $ . f n . s l i d e r _ i n i t   =   f u n c t i o n ( ) {  
  
         r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) {  
          
                 v a r   e l e m e n t _ l a b e l   =   ' . t e x t ' ;  
  
                 v a r   c o n t a i n e r   =   $ ( t h i s ) ;    
                 v a r   s l i d e r   =   $ ( ' . t e x t - b o x ' ,   c o n t a i n e r ) ;  
                 v a r   s c r e e n   =   $ ( ' . s l i d e r ' ,   c o n t a i n e r ) ;  
                 v a r   e l e m e n t s   =   $ ( e l e m e n t _ l a b e l , s l i d e r ) ;  
                 v a r   e l e m e n t _ c n t   =   e l e m e n t s . s i z e ( ) ;    
                  
                 i f   (   e l e m e n t s   ) {  
  
                         v a r   l o c a l _ e f f e c t _ s p e e d   =   c o n t a i n e r . h a s C l a s s ( ' j s _ s l o w ' )   ?   e f f e c t _ s p e e d _ s l o w   :   e f f e c t _ s p e e d ;  
          
                         v a r   e l e m e n t   =   e l e m e n t s . f i l t e r ( ' : f i r s t ' ) ;  
                         v a r   e l e m e n t _ w i d t h   =    
                                         e l e m e n t . w i d t h ( )   +    
                                         p a r s e I n t ( e l e m e n t . c s s ( ' p a d d i n g - l e f t ' ) )   +    
                                         p a r s e I n t ( e l e m e n t . c s s ( ' m a r g i n - l e f t ' ) ) * 2   +    
                                         p a r s e I n t ( e l e m e n t . c s s ( ' p a d d i n g - r i g h t ' ) ) +  
                                         p a r s e I n t ( e l e m e n t . c s s ( ' m a r g i n - r i g h t ' ) ) * 2 ;  
                         v a r   s c r e e n _ w i d t h   =   p a r s e I n t (   s c r e e n . w i d t h ( )   ) ;  
                         v a r   o n _ s c r e e n   =   M a t h . r o u n d ( s c r e e n _ w i d t h / e l e m e n t _ w i d t h ) ;  
                          
                         v a r   p o s i t i o n   =   0 ;  
                         c o n t a i n e r . s l i d e r _ c h e c k _ a r r o w s ( p o s i t i o n , e l e m e n t _ c n t , o n _ s c r e e n ) ;  
  
                         i f   (   e l e m e n t _ c n t   >   o n _ s c r e e n   )   {  
                          
                                 i f   (   s l i d e r . w i d t h ( )   <   ( e l e m e n t _ w i d t h + 1 ) * e l e m e n t _ c n t   )   s l i d e r . w i d t h (   ( e l e m e n t _ w i d t h + 1 ) * e l e m e n t _ c n t   ) ;  
                                  
                                 v a r   i s _ s l i d i n g   =   f a l s e ;  
                                  
                                 / /   AB@5;:0  2?@02> 
                                 $ ( ' . r i g h t - b t n ' ,   c o n t a i n e r )  
                                         . h o v e r ( f u n c t i o n ( ) {  
                                                 i f   (   ! d i s a b l e _ a n i m a t i o n   & &   ! $ ( t h i s ) . h a s C l a s s ( ' r i g h t - b t n _ _ d i s a b l e d ' )   )  
                                                         $ ( t h i s ) . a d d C l a s s ( ' r i g h t - b t n _ _ o n ' ) ;  
                                         } , f u n c t i o n ( ) {  
                                                 i f   (   ! d i s a b l e _ a n i m a t i o n   )  
                                                         $ ( t h i s ) . r e m o v e C l a s s ( ' r i g h t - b t n _ _ o n ' ) ;  
                                         } )  
                                         . c l i c k ( f u n c t i o n ( ) {  
                                                 i f   (   i s _ s l i d i n g   )   r e t u r n   f a l s e ;  
                                                 i s _ s l i d i n g   =   t r u e ;  
                                                 v a r   n e w _ p o s i t i o n   =   p o s i t i o n   +   o n _ s c r e e n ;  
                                                 i f   (   n e w _ p o s i t i o n   >   e l e m e n t _ c n t   -   o n _ s c r e e n   )   n e w _ p o s i t i o n   =   e l e m e n t _ c n t   -   o n _ s c r e e n ;  
                                                  
                                                 s l i d e r . a n i m a t e (  
                                                         { m a r g i n L e f t :   - ( n e w _ p o s i t i o n * e l e m e n t _ w i d t h ) + ' p x ' } ,  
                                                         l o c a l _ e f f e c t _ s p e e d ,  
                                                         f u n c t i o n ( ) {    
                                                                 p o s i t i o n   =   n e w _ p o s i t i o n ;    
                                                                 c o n t a i n e r . s l i d e r _ c h e c k _ a r r o w s ( p o s i t i o n , e l e m e n t _ c n t , o n _ s c r e e n ) ;  
                                                                 i s _ s l i d i n g   =   f a l s e ;    
                                                         } )  
                                         } )  
                                  
                                 / /   AB@5;:0  2;52> 
                                 $ ( ' . l e f t - b t n ' ,   c o n t a i n e r )  
                                         . h o v e r ( f u n c t i o n ( ) {  
                                                 i f   (   ! d i s a b l e _ a n i m a t i o n   & &   ! $ ( t h i s ) . h a s C l a s s ( ' l e f t - b t n _ _ d i s a b l e d ' )   )  
                                                         $ ( t h i s ) . a d d C l a s s ( ' l e f t - b t n _ _ o n ' ) ;  
                                         } , f u n c t i o n ( ) {  
                                                 i f   (   ! d i s a b l e _ a n i m a t i o n   )  
                                                         $ ( t h i s ) . r e m o v e C l a s s ( ' l e f t - b t n _ _ o n ' ) ;  
                                         } )  
                                         . c l i c k ( f u n c t i o n ( ) {  
                                                 i f   (   i s _ s l i d i n g   & &   ! $ ( t h i s ) . h a s C l a s s ( ' l e f t - b t n _ _ d i s a b l e d ' )   )   r e t u r n   f a l s e ;  
                                                 i s _ s l i d i n g   =   t r u e ;  
                                                 v a r   n e w _ p o s i t i o n   =   p o s i t i o n   -   o n _ s c r e e n ;  
                                                 i f   (   n e w _ p o s i t i o n   <   0   )   n e w _ p o s i t i o n   =   0 ;  
                                                  
                                                 s l i d e r . a n i m a t e (  
                                                         { m a r g i n L e f t :   - ( n e w _ p o s i t i o n * e l e m e n t _ w i d t h ) + ' p x ' } ,  
                                                         l o c a l _ e f f e c t _ s p e e d ,  
                                                         f u n c t i o n ( ) {    
                                                                 p o s i t i o n   =   n e w _ p o s i t i o n ;    
                                                                 c o n t a i n e r . s l i d e r _ c h e c k _ a r r o w s ( p o s i t i o n , e l e m e n t _ c n t , o n _ s c r e e n ) ;  
                                                                 i s _ s l i d i n g   =   f a l s e ;    
                                                         } )  
                                         } )  
                         }  
                          
                 }   e l s e   {  
                         c o n t a i n e r . h i d e ( ) ;  
                 }  
                            
  
         } )  
  
 }   / /   f n   s l i d e r _ i n i t  
  
  
 / /   # f n 0 4   -   8=8F80;870F8O  j s   :>=B5=B0  4;O  a j a x   A;>O 
 f u n c t i o n   j s _ i n i t _ p a g e _ e v e n t s ( ) {  
  
         / /   # h n 0 5   -   044>=K 
         $ ( ' . j s _ a d d o n : h a s ( . j s _ m o r e ) : h a s ( . j s _ m o r e _ c o n t a i n e r ) ' ) . e a c h ( f u n c t i o n ( ) {  
                  
                 v a r   c o n t a i n e r   =   t h i s ;  
                  
                 $ ( ' . j s _ m o r e ' ,   c o n t a i n e r ) . c l i c k ( f u n c t i o n ( ) {  
                          
                         v a r   m o r e _ b t n   =   t h i s ;  
                          
                         / /   1;>:8@>2:0  0=8<0F88,   5A;8  C65  845B 
                         i f   (   $ ( c o n t a i n e r ) . h a s C l a s s ( ' j s _ a m i m a t i o n ' )   )   r e t u r n ;  
                          
                         i f   (   $ ( t h i s ) . h a s C l a s s ( ' m o r e _ o n ' )   ) {   / /   70:@KBL 
                                  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r ) . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
  
                                 $ ( ' . j s _ m o r e _ c o n t a i n e r ' , c o n t a i n e r )  
                                         . s l i d e U p ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                 $ ( m o r e _ b t n ) . r e m o v e C l a s s ( ' m o r e _ o n ' ) ;  
                                                 $ ( c o n t a i n e r ) . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' ) ;    
                                         } )  
                                  
                         }   e l s e   {   / /   >B:@KBL 
                                  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r ) . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
                                  
                                 $ ( t h i s ) . a d d C l a s s ( ' m o r e _ o n ' ) ;  
                                 $ ( ' . j s _ m o r e _ c o n t a i n e r ' , c o n t a i n e r )  
                                         . s l i d e D o w n ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                 $ ( c o n t a i n e r ) . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' )    
                                         } )  
                                  
                         }  
                          
                 } )  
                  
         } )  
          
  
         / /   # h n 0 6   -   >17>@K 
         $ ( ' . j s _ r e w i e w : h a s ( . j s _ r e a d _ m o r e ) : h a s ( . j s _ r e a d _ m o r e _ c o n t a i n e r ) ' ) . e a c h ( f u n c t i o n ( ) {  
                  
                 v a r   c o n t a i n e r   =   t h i s ;  
                  
                 $ ( ' . j s _ r e a d _ m o r e ' ,   c o n t a i n e r ) . c l i c k ( f u n c t i o n ( ) {  
                          
                         v a r   m o r e _ b t n   =   t h i s ;  
                          
                         / /   1;>:8@>2:0  0=8<0F88,   5A;8  C65  845B 
                         i f   (   $ ( c o n t a i n e r ) . h a s C l a s s ( ' j s _ a m i m a t i o n ' )   )   r e t u r n ;  
                          
                         i f   (   $ ( t h i s ) . h a s C l a s s ( ' r e w i e w _ a r r o w _ o n ' )   ) {   / /   70:@KBL 
                                  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r ) . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
  
                                 $ ( ' . j s _ r e a d _ m o r e _ c o n t a i n e r ' , c o n t a i n e r )  
                                         . s l i d e U p ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                 $ ( m o r e _ b t n ) . r e m o v e C l a s s ( ' r e w i e w _ a r r o w _ o n ' ) ;  
                                                 $ ( c o n t a i n e r ) . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' ) ;    
                                         } )  
                                  
                         }   e l s e   {   / /   >B:@KBL 
                                  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r ) . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
                                  
                                 $ ( ' . j s _ r e a d _ m o r e _ c o n t a i n e r ' , c o n t a i n e r )  
                                         . s l i d e D o w n ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                 $ ( m o r e _ b t n ) . a d d C l a s s ( ' r e w i e w _ a r r o w _ o n ' ) ;  
                                                 $ ( c o n t a i n e r ) . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' )    
                                         } )  
                                  
                         }  
                          
                 } )  
                  
         } )  
          
         / /   # h n 0 6   -   >17>@K 
         $ ( ' . j s _ r e w i e w : h a s ( . j s _ r e a d _ m o r e ) : h a s ( . j s _ r e a d _ m o r e _ c o n t a i n e r ) ' ) . e a c h ( f u n c t i o n ( ) {  
                  
                 v a r   c o n t a i n e r   =   t h i s ;  
                  
                 $ ( ' . j s _ r e a d _ m o r e ' ,   c o n t a i n e r ) . c l i c k ( f u n c t i o n ( ) {  
                          
                         v a r   m o r e _ b t n   =   t h i s ;  
                          
                         / /   1;>:8@>2:0  0=8<0F88,   5A;8  C65  845B 
                         i f   (   $ ( c o n t a i n e r ) . h a s C l a s s ( ' j s _ a m i m a t i o n ' )   )   r e t u r n ;  
                          
                         i f   (   $ ( t h i s ) . h a s C l a s s ( ' r e w i e w _ a r r o w _ o n ' )   ) {   / /   70:@KBL 
                                  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r ) . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
  
                                 $ ( ' . j s _ r e a d _ m o r e _ c o n t a i n e r ' , c o n t a i n e r )  
                                         . s l i d e U p ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                 $ ( m o r e _ b t n ) . r e m o v e C l a s s ( ' r e w i e w _ a r r o w _ o n ' ) ;  
                                                 $ ( c o n t a i n e r ) . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' ) ;    
                                         } )  
                                  
                         }   e l s e   {   / /   >B:@KBL 
                                  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r ) . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
                                  
                                 $ ( ' . j s _ r e a d _ m o r e _ c o n t a i n e r ' , c o n t a i n e r )  
                                         . s l i d e D o w n ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                 $ ( m o r e _ b t n ) . a d d C l a s s ( ' r e w i e w _ a r r o w _ o n ' ) ;  
                                                 $ ( c o n t a i n e r ) . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' )    
                                         } )  
                                  
                         }  
                          
                 } )  
                  
         } )  
          
         / /   # h n 0 7   -   A:@KBL  p o p u p   D>@<C 
         $ ( ' . j s - a l e r t   . j s _ c l o s e _ p o p u p ' ) . u n b i n d ( ' c l i c k ' ) . c l i c k ( f u n c t i o n ( ) {  
                 h i d e _ p o p u p ( )  
                 r e t u r n   f a l s e ;  
         } ) ;  
          
         / /   # h n 1 1   -   f e a t i r e s  
         $ ( ' . j s _ f e a t i r e s : h a s ( . j s _ m o r e ) ' ) . e a c h ( f u n c t i o n ( ) {  
                  
                 v a r   c o n t a i n e r   =   t h i s ;  
                  
                 $ ( ' . j s _ m o r e ' ,   c o n t a i n e r ) . c l i c k ( f u n c t i o n ( ) {  
                          
                         v a r   m o r e _ b t n   =   $ ( t h i s ) ;  
                          
                         / /   1;>:8@>2:0  0=8<0F88,   5A;8  C65  845B 
                         i f   (   $ ( c o n t a i n e r ) . h a s C l a s s ( ' j s _ a m i m a t i o n ' )   )   r e t u r n ;  
                          
                         i f   (   $ ( c o n t a i n e r ) . h a s C l a s s ( ' b - r a m a - f e a u t - o p e n ' )   ) {   / /   70:@KBL 
                                  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r )  
                                         . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
                                         . n e x t ( ' . j s _ m o r e _ c o n t a i n e r ' )  
                                                 . s l i d e U p ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                         $ ( c o n t a i n e r )  
                                                                 . r e m o v e C l a s s ( ' b - r a m a - f e a u t - o p e n ' )  
                                                                 . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' ) ;  
                                                         m o r e _ b t n . h t m l ( ' L e a r n   m o r e ' )    
                                                 } )  
                                  
                         }   e l s e   {   / /   >B:@KBL 
                                  
                                 m o r e _ b t n . h t m l ( ' M i n i m i z e ' )    
  
                                 / /   1;>:8@>2:0  0=8<0F88 
                                 $ ( c o n t a i n e r )  
                                         . a d d C l a s s ( ' j s _ a m i m a t i o n ' )  
                                         . a d d C l a s s ( ' b - r a m a - f e a u t - o p e n ' )  
                                         . n e x t ( ' . j s _ m o r e _ c o n t a i n e r ' )  
                                                 . s l i d e D o w n ( e f f e c t _ s p e e d , f u n c t i o n ( ) {    
                                                         $ ( c o n t a i n e r ) . r e m o v e C l a s s ( ' j s _ a m i m a t i o n ' )  
                                                 } )  
                                  
                         }  
                          
                 } )  
                  
         } )  
          
         / /   # h n 1 0   -   2A?;K20NI0O  D>@<0  >B?@02:8  A>>1I5=8O   
         $ ( ' # s h o w _ m a i l _ f o r m _ b t n ,   a . s h o w _ m a i l _ f o r m _ b t n ' )  
                 . u n b i n d ( ' c l i c k ' )  
                 . b i n d ( ' c l i c k ' , f u n c t i o n ( ) {  
                         / / i f   (   ! $ ( ' . b - p a g e s h a d o w ' ) . l e n g t h   )  
                                 s h o w _ p o p u p ( ' p o p u p _ m a i l _ f o r m ' ) ;  
                         r e t u r n   f a l s e ;  
                 } )  
  
         / /   # h n 1 2   -   f e a t i r e s   i m e a g e s ,   w h a t s   n e w   i m a g e s ,   s e f   f i l e s  
         i f   (   $ . f n . f a n c y b o x   ) {  
                 u p l _ i m a g e s _ s t a c k   =   n e w   A r r a y ( ) ;  
                 $ ( ' d i v . j s _ f e a t u r e s   . j s _ f e a t u r e s _ i m a g e _ c o n t a i n e r   . j s _ i m a g e ,   . v e r _ l a v e l 3 _ b l o c k 2   . j s _ i m a g e ' )  
                         . f a n c y b o x ( {  
                 	 	 ' t i t l e S h o w ' 	 	 :   f a l s e ,  
                 	 	 ' t r a n s i t i o n I n ' 	 :   ' e l a s t i c ' ,  
                 	 	 ' t r a n s i t i o n O u t ' 	 :   ' e l a s t i c ' ,  
                 	 	 ' s p e e d I n '               :   e f f e c t _ s p e e d _ f a s t ,  
                                 ' s p e e d O u t '             :   e f f e c t _ s p e e d _ f a s t  
                 	 } )  
                         . e a c h ( f u n c t i o n ( ) {  
                                 u p l _ i m a g e s _ s t a c k . p u s h (   $ ( t h i s ) . a t t r ( ' h r e f ' )   )  
                         } ) ;  
                         	  
                 $ ( ' a [ h r e f $ = . s w f ] ' )  
                         . e a c h ( f u n c t i o n ( ) {  
  
                                 v a r   p l _ w i d t h   =   p a r s e I n t (   $ ( t h i s ) . a t t r ( ' j s _ w i d t h ' )   | |   8 9 6   ) ;  
                                 v a r   p l _ h e i g h t   =   p a r s e I n t (   $ ( t h i s ) . a t t r ( ' j s _ h e i g h t ' )   | |   6 0 0   ) ;  
                                  
                                 $ ( t h i s )  
                                         . f a n c y b o x ( {  
                                 	 	 ' t i t l e S h o w ' 	 	 :   f a l s e ,  
                                 	 	 ' t r a n s i t i o n I n ' 	 :   ' e l a s t i c ' ,  
                                 	 	 ' t r a n s i t i o n O u t ' 	 :   ' e l a s t i c ' ,  
                                 	 	 ' s p e e d I n '               :   e f f e c t _ s p e e d _ f a s t ,  
                                                 ' s p e e d O u t '             :   e f f e c t _ s p e e d _ f a s t ,  
                                                 ' w i d t h '                   :   p l _ w i d t h ,  
                                                 ' h e i g h t '                 :   p l _ h e i g h t  
                                 	 } ) ;  
                          
                         } )  
                          
         }   / /   i f  
          
         / /   # h n 0 7   -   A:@KBL  p o p u p   D>@<C 
         $ ( ' . j s _ c l o s e _ p o p u p ' ) . u n b i n d ( ' c l i c k ' ) . c l i c k ( f u n c t i o n ( ) {  
                 h i d e _ p o p u p ( )  
                 r e t u r n   f a l s e ;  
         } ) ;  
  
 }   / /   f u n c t i o n   j s _ i n i t _ p a g e _ e v e n t s  
  
  
 / /   # f n 0 5   -   ?>:070BL  p o p u p   D>@<C 
 f u n c t i o n   s h o w _ p o p u p (   c o n t a i n e r _ i d   ) {  
          
         v a r   c o n t a i n e r   =   $ ( ' # ' + c o n t a i n e r _ i d ) ;  
          
         i f   (   ! c o n t a i n e r . l e n g t h   ) {  
                 a l e r t ( ' S e r v i s e   b l o c k e d ' ) ;  
                 r e t u r n   f a l s e ;  
         }  
          
         / /   ?>;>68BL  A>45@68<>5 
         $ ( ' # p o p u p _ m a i n _ c o n t a i n e r ' ) . h t m l (   $ ( ' # ' + c o n t a i n e r _ i d ) . h t m l ( )   ) ;  
          
         / /   2:;NG5=85  a j a x   D>@< 
         $ ( ' # p o p u p _ m a i n _ c o n t a i n e r   f o r m [ w a i t _ a j a x = 1 ] ' ) . a t t r ( ' w a i t _ a j a x ' , ' 0 ' ) ;  
  
         / /   f o r m _ s e n d e r   w r a p  
         s e t _ f o r m _ s u b m i t (   ' # p o p u p _ m a i n _ c o n t a i n e r '   ) ;  
          
         / /   >B>1@078BL  :>=B59=5@K 
         $ ( ' . j s - a l e r t ' ) . c s s ( ' d i s p l a y ' ,   ' b l o c k ' ) ;  
         $ ( ' . j s - a l e r t _ 2 ' ) . e a c h ( f u n c t i o n ( ) {  
                 i f   ( ! i e 6 )   {  
                         $ ( t h i s ) . c s s ( {  
                                 ' m a r g i n - t o p ' :   ( $ ( t h i s ) . h e i g h t ( )   /   ( - 2   *   1 3 ) ) . t o F i x e d ( 2 )   +   ' e m ' ,  
                                 ' m a r g i n - l e f t ' :   ( $ ( t h i s ) . w i d t h ( )   /   ( - 2   *   1 3 ) ) . t o F i x e d ( 2 )   +   ' e m '  
                         } ) ;  
                 }  
         } ) ;  
  
 }   / /   f u n c t i o n   s h o w _ p o p u p  
  
 / /   # f n 0 6   -   A:@KBL  p o p u p   D>@<C 
 f u n c t i o n   h i d e _ p o p u p ( ) {  
         $ ( ' . j s - a l e r t ,   . b - f i x e d _ f o n d ' ) . h i d e ( )  
 }   / /   f u n c t i o n   h i d e _ p o p u p  
  
  
 / /   # h n 0 9   -   0:B820F8O  s h a d o w b o x  
 i f   (   t y p e o f ( S h a d o w b o x )   ! =   ' u n d e f i n e d '   ) {  
         S h a d o w b o x . i n i t ( {  
                 o v e r l a y O p a c i t y :   0 . 5 ,  
                 o v e r l a y C o l o r :   ' # A 0 A 0 A 0 ' ,  
                 f a d e D u r a t i o n :   0 ,  
                 r e s i z e D u r a t i o n :   0  
         } ) ;  
 }  
  
 / /   # f n 0 7   -   2:;NG8BL  /   2K:;NG8BL  1;>:  w h a t s   n e w  
 f u n c t i o n   i n i t _ w h a t s _ n e w _ b l o c k (   h e a d e r _ c l a s s ,   t i t l e _ c l a s s ,   m a i n _ p a r e n t _ c l a s s   ) {  
  
         $ ( ' . ' + h e a d e r _ c l a s s ,   ' # j s _ w h a t s n e w _ b l o c k ' )  
                 . c l i c k ( f u n c t i o n ( ) {  
                          
                         / /   1;>:8@>2:0  0=8<0F88 
                         i f   (   b l o c k _ a n i m a t i o n   )   r e t u r n   f a l s e ;  
                         b l o c k _ a n i m a t i o n   =   t r u e ;  
          
                         / /   :>=B59=5@  703>;>2:0 
                         v a r   h e a d e r   =   $ ( t h i s ) ;  
                          
                         / /   C:070B5;L  =0  ?5@5:;NG0B5;L 
                         v a r   s w i t c h e r ;  
                         i f   (   m a i n _ p a r e n t _ c l a s s   )  
                                 s w i t c h e r   =   $ ( t h i s ) . p a r e n t ( ) ;  
                         e l s e  
                                 s w i t c h e r   =   $ (   ' . ' + t i t l e _ c l a s s ,   h e a d e r   ) ;  
                                  
                         / /   =01>@  :>=B5=B=KE  1;>:>2 
                         v a r   c o n t e i n e r s   =   $ ( ' >   d i v ' , $ ( t h i s ) . p a r e n t ( ) ) . n o t ( t h i s )  
          
                         / /   AB0BCA  >B>1@065=8O  ( ?>:070=  /   =5B)    
                         v a r   o p e n   =   s w i t c h e r . h a s C l a s s (   t i t l e _ c l a s s + ' _ o n '   ) ;  
                          
                         / /   87<5=5=85  AB0BCA0  >B>1@065=8O 
                         i f   (   o p e n   ) {  
                                  
                                 c o n t e i n e r s  
                                         . s l i d e U p (   e f f e c t _ s p e e d ,   f u n c t i o n ( ) {    
                                                 b l o c k _ a n i m a t i o n   =   f a l s e ;  
                                                 s w i t c h e r . r e m o v e C l a s s (   t i t l e _ c l a s s + ' _ o n '   ) ;  
                                         }   )  
                                  
                         }   e l s e   {  
                                  
                                 s w i t c h e r . a d d C l a s s (   t i t l e _ c l a s s + ' _ o n '   ) ;  
                                 c o n t e i n e r s  
                                         . s l i d e D o w n (   e f f e c t _ s p e e d ,   f u n c t i o n ( ) {    
                                                 b l o c k _ a n i m a t i o n   =   f a l s e ;  
                                         }   )  
                                          
                         }  
                          
                 } )  
  
 }   / /   f u n c t i o n   i n i t _ w h a t s _ n e w _ b l o c k  
  
 / /   # f n 0 8   -   ?>:070BL  10==5@ 
 f u n c t i o n   s h o w _ b a n n e r (   i d   )   {  
          
         / /   2K1@0BL  2848<K9 
         v a r   n o w _ i d   =   $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r   . o n ' ) . a t t r ( ' j s _ b a n n e r _ i d ' )  
         v a r   n o w _ b a n n e r   =   $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r [ j s _ b a n n e r _ i d = ' + n o w _ i d + ' ] ' ) ;  
          
         / /   5A;8  2K18@05BAO  B>B  65,   :>B>@K9  ?>:070= 
         i f   (   n o w _ i d   = =   i d   )  
                 r e t u r n   f a l s e ;  
          
         / /   10===5@,   :>B>@K9  =C6=>  ?>:070BL 
         v a r   n e x t _ b a n n e r   =   $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r [ j s _ b a n n e r _ i d = ' + i d + ' ] ' ) ;  
          
         i f   (   ! n o w _ b a n n e r . s i z e ( )   | |   ! n e x t _ b a n n e r . s i z e ( )   )  
                 r e t u r n   f a l s e ;  
          
         / /   C1@0BL  2K45;5=85  B5:CI59  D8H:8 
         $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r   . o n ' ) . r e m o v e C l a s s ( ' o n ' )  
          
         / /   ?>4A25B8BL  =>2CN 
         $ ( ' # j s _ b a n n e r _ c o n t a i t e r   . j s _ b a n n e r _ s w i t c h e r   [ j s _ b a n n e r _ i d = ' + i d + ' ] ' ) . a d d C l a s s ( ' o n ' )  
          
         / /   AB0@K9  A:@KBL 
         n o w _ b a n n e r . f a d e O u t ( e f f e c t _ s p e e d ) ;  
          
         / /   =>2K9  ?>:070BL 
         n e x t _ b a n n e r . f a d e I n ( e f f e c t _ s p e e d ) ;  
          
 }   / /   f u n c t i o n   s h o w _ b a n n e r  
 
