ÿþv a r   T i c k e r   =   n e w   C l a s s ( {  
 	 i n i t i a l i z e :   f u n c t i o n ( e l e m e n t ,   o p t i o n s )   {  
 	 	 t h i s . s e t O p t i o n s ( {  
 	 	 	 " f x D u r a t i o n " :   5 0 0 ,  
 	 	 	 " i n t e r v a l " :   2 0 0 0 ,  
 	 	 	 " f x M i n " :   0 ,  
 	 	 	 " f x M a x " :   0 . 9 9 ,  
 	 	 	 " f x T y p e " :   " o p a c i t y " ,  
 	 	 	 " f x T r a n s i t i o n " :   F x . T r a n s i t i o n s . l i n e a r ,  
 	 	 	 " m o u s e S t o p " :   t r u e  
 	 	 } ,   o p t i o n s ) ;  
 	 	 t h i s . c o u n t   =   1 ;  
 	 	 t h i s . t i c k e r O v e r   =   f a l s e ;  
 	 	  
 	 	 t h i s . c u r r e n t I n d e x   =   0 ;  
 	 	 t h i s . t i c k e r E l e m e n t   =   $ ( e l e m e n t ) ;  
 	 	 t h i s . e l s   =   t h i s . t i c k e r E l e m e n t . g e t C h i l d r e n ( ) ;  
 	 	  
 	 	 i f ( t h i s . e l s . l e n g t h   < =   1 )   {  
 	 	 	 r e t u r n ;  
 	 	 }  
 	 	 t h i s . e l s . e a c h ( f u n c t i o n ( e l ,   i n d e x ) {  
 	 	 	 i f ( i n d e x   >   0 ) {  
 	 	 	 	 t h i s . e l s [ i n d e x ] . s e t S t y l e ( " d i s p l a y " , " n o n e " ) ;  
 	 	 	 }  
 	 	 } . b i n d ( t h i s ) ) ;  
 	 	  
 	 	 i f ( t h i s . o p t i o n s . m o u s e S t o p ) {  
 	 	 	 t h i s . t i c k e r E l e m e n t . a d d E v e n t ( " m o u s e o v e r " , f u n c t i o n ( ) { t h i s . t i c k e r O v e r   =   t r u e ; } . b i n d ( t h i s ) ) ;  
 	 	 	 t h i s . t i c k e r E l e m e n t . a d d E v e n t ( " m o u s e o u t " , f u n c t i o n ( ) { t h i s . t i c k e r O v e r   =   f a l s e ; } . b i n d ( t h i s ) ) ;  
 	 	 }  
  
 	 	 t h i s . t E f f e c t   =   n e w   F x . S t y l e (  
 	 	 t h i s . t i c k e r E l e m e n t ,    
 	 	 t h i s . o p t i o n s . f x T y p e ,    
 	 	 {  
 	 	 	 " d u r a t i o n " : t h i s . o p t i o n s . f x D u r a t i o n ,  
 	 	 	 " t r a n s i t i o n " : t h i s . o p t i o n s . f x T r a n s i t i o n ,  
 	 	 	 " o n C o m p l e t e " : f u n c t i o n ( )   {  
 	 	 	 	 i f ( t h i s . t E f f e c t . t o   = =   0 )   {  
 	 	 	 	 	 t h i s . e l s [ t h i s . c u r r e n t I n d e x ] . s e t S t y l e ( " d i s p l a y " , " n o n e " ) ;  
 	 	 	 	 	 t h i s . c u r r e n t I n d e x   =   t h i s . c o u n t ;  
 	 	 	 	 	 t h i s . e l s [ t h i s . c o u n t ] . s e t S t y l e ( " d i s p l a y " , " b l o c k " ) ;  
 	 	 	 	 	 t h i s . t E f f e c t . s t a r t ( t h i s . o p t i o n s . f x M i n ,   t h i s . o p t i o n s . f x M a x ) ;  
 	 	 	 	 	 t h i s . c o u n t + + ;  
 	 	 	 	 }  
 	 	 	 } . b i n d ( t h i s )  
 	 	 } ) ;  
 	 	  
 	 	 t h i s . t i c k . p e r i o d i c a l ( t h i s . o p t i o n s . i n t e r v a l ,   t h i s ) ;  
 	 } ,  
 	  
 	 t i c k :   f u n c t i o n ( )   {  
 	 	 i f   ( ! t h i s . t i c k e r O v e r )   {  
 	 	 	 i f   ( t h i s . c o u n t   <   t h i s . e l s . l e n g t h )   {  
 	 	 	 	 t h i s . t E f f e c t . s t a r t ( t h i s . o p t i o n s . f x M a x , t h i s . o p t i o n s . f x M i n ) ; 	 	 	  
 	 	 	 }   e l s e   {  
 	 	 	 	 t h i s . c o u n t   =   0 ;  
 	 	 	 	 t h i s . t i c k ( ) ;  
 	 	 	 }  
 	 	 }  
 	 }  
  
 } ) ;  
  
 T i c k e r . i m p l e m e n t ( n e w   O p t i o n s ) ; 
