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