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