ÿþi f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . B o x ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . B o x . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . B o x . V e r s i o n < 2 ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e . B o x = { V e r s i o n : 2 , G e t O u t e r W i d t h : f u n c t i o n ( _ 1 ) { 
 r e t u r n   _ 1 . o f f s e t W i d t h ; 
 } , G e t O u t e r H e i g h t : f u n c t i o n ( _ 2 ) { 
 r e t u r n   _ 2 . o f f s e t H e i g h t ; 
 } , S e t O u t e r H e i g h t : f u n c t i o n ( _ 3 , _ 4 ) { 
 i f ( _ 4 < = 0 | | _ 4 = = " " ) { 
 _ 3 . s t y l e . h e i g h t = " " ; 
 } e l s e { 
 _ 3 . s t y l e . h e i g h t = _ 4 + " p x " ; 
 v a r   _ 5 = _ 3 . o f f s e t H e i g h t - _ 4 ; 
 v a r   _ 6 = _ 4 - _ 5 ; 
 i f ( _ 6 > 0 ) { 
 _ 3 . s t y l e . h e i g h t = _ 6 + " p x " ; 
 } e l s e { 
 _ 3 . s t y l e . h e i g h t = " " ; 
 } 
 } 
 } , S e t O u t e r W i d t h : f u n c t i o n ( _ 7 , _ 8 ) { 
 i f ( _ 8 < = 0 | | _ 8 = = " " ) { 
 _ 7 . s t y l e . w i d t h = " " ; 
 } e l s e { 
 _ 7 . s t y l e . w i d t h = _ 8 + " p x " ; 
 v a r   _ 9 = _ 7 . o f f s e t W i d t h - _ 8 ; 
 v a r   _ a = _ 8 - _ 9 ; 
 i f ( _ a > 0 ) { 
 _ 7 . s t y l e . w i d t h = _ a + " p x " ; 
 } e l s e { 
 _ 7 . s t y l e . w i d t h = " " ; 
 } 
 r e t u r n   _ a ; 
 } 
 } , G e t P r o p e r t y V a l u e : f u n c t i o n ( _ b , _ c ) { 
 v a r   _ d = t h i s . G e t S t y l e ( _ b ) ; 
 r e t u r n   t h i s . G e t S t y l e V a l u e s ( _ d , _ c ) ; 
 } , G e t S t y l e : f u n c t i o n ( _ e ) { 
 i f ( d o c u m e n t . d e f a u l t V i e w & & d o c u m e n t . d e f a u l t V i e w . g e t C o m p u t e d S t y l e ) { 
 r e t u r n   d o c u m e n t . d e f a u l t V i e w . g e t C o m p u t e d S t y l e ( _ e , n u l l ) ; 
 } e l s e { 
 i f ( _ e . c u r r e n t S t y l e ) { 
 r e t u r n   _ e . c u r r e n t S t y l e ; 
 } e l s e { 
 r e t u r n   _ e . s t y l e ; 
 } 
 } 
 } } ; 
 } ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . B r o w s e r ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . B r o w s e r . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . B r o w s e r . V e r s i o n < 1 ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e . B r o w s e r = { V e r s i o n : 1 } ; 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e . B r o w s e r . P a r s e B r o w s e r I n f o = f u n c t i o n ( ) { 
 t h i s . I s M a c I E = ( n a v i g a t o r . a p p N a m e = = " M i c r o s o f t   I n t e r n e t   E x p l o r e r " ) & & ( ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) . i n d e x O f ( " m a c " ) ! = - 1 ) | | ( n a v i g a t o r . a p p V e r s i o n . t o L o w e r C a s e ( ) . i n d e x O f ( " m a c " ) ! = - 1 ) ) ; 
 t h i s . I s S a f a r i = ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) . i n d e x O f ( " s a f a r i " ) ! = - 1 ) ; 
 t h i s . I s S a f a r i 3 = ( t h i s . I s S a f a r i & & n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) . i n d e x O f ( " e r s i o n / 3 . " ) ! = - 1 ) ; 
 t h i s . I s M o z i l l a = w i n d o w . n e t s c a p e & & ! w i n d o w . o p e r a ; 
 t h i s . I s N e t s c a p e = / N e t s c a p e / . t e s t ( n a v i g a t o r . u s e r A g e n t ) ; 
 t h i s . I s O p e r a = w i n d o w . o p e r a ; 
 t h i s . I s O p e r a 9 = w i n d o w . o p e r a & & ( p a r s e I n t ( w i n d o w . o p e r a . v e r s i o n ( ) ) > 8 ) ; 
 t h i s . I s I E = ! t h i s . I s M a c I E & & ! t h i s . I s M o z i l l a & & ! t h i s . I s O p e r a & & ! t h i s . I s S a f a r i ; 
 t h i s . I s I E 7 = / M S I E   7 / . t e s t ( n a v i g a t o r . a p p V e r s i o n ) ; 
 t h i s . S t a n d a r d s M o d e = t h i s . I s S a f a r i | | t h i s . I s O p e r a 9 | | t h i s . I s M o z i l l a | | d o c u m e n t . c o m p a t M o d e = = " C S S 1 C o m p a t " ; 
 t h i s . I s M a c = / M a c / . t e s t ( n a v i g a t o r . u s e r A g e n t ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . B r o w s e r . P a r s e B r o w s e r I n f o ( ) ; 
 } ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . D o m E v e n t M i x i n ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . D o m E v e n t M i x i n . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . D o m E v e n t M i x i n . V e r s i o n < 3 ) { 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t M i x i n = { V e r s i o n : 3 , I n i t i a l i z e : f u n c t i o n ( _ 1 ) { 
 _ 1 . C r e a t e E v e n t H a n d l e r = t h i s . C r e a t e E v e n t H a n d l e r ; 
 _ 1 . A t t a c h D o m E v e n t = t h i s . A t t a c h D o m E v e n t ; 
 _ 1 . D e t a c h D o m E v e n t = t h i s . D e t a c h D o m E v e n t ; 
 _ 1 . D i s p o s e D o m E v e n t H a n d l e r s = t h i s . D i s p o s e D o m E v e n t H a n d l e r s ; 
 _ 1 . _ d o m E v e n t H a n d l i n g E n a b l e d = t r u e ; 
 _ 1 . E n a b l e D o m E v e n t H a n d l i n g = t h i s . E n a b l e D o m E v e n t H a n d l i n g ; 
 _ 1 . D i s a b l e D o m E v e n t H a n d l i n g = t h i s . D i s a b l e D o m E v e n t H a n d l i n g ; 
 _ 1 . R e m o v e H a n d l e r R e g i s t e r = t h i s . R e m o v e H a n d l e r R e g i s t e r ; 
 _ 1 . G e t H a n d l e r R e g i s t e r = t h i s . G e t H a n d l e r R e g i s t e r ; 
 _ 1 . A d d H a n d l e r R e g i s t e r = t h i s . A d d H a n d l e r R e g i s t e r ; 
 _ 1 . h a n d l e r R e g i s t e r s = [ ] ; 
 } , E n a b l e D o m E v e n t H a n d l i n g : f u n c t i o n ( ) { 
 t h i s . _ d o m E v e n t H a n d l i n g E n a b l e d = t r u e ; 
 } , D i s a b l e D o m E v e n t H a n d l i n g : f u n c t i o n ( ) { 
 t h i s . _ d o m E v e n t H a n d l i n g E n a b l e d = f a l s e ; 
 } , C r e a t e E v e n t H a n d l e r : f u n c t i o n ( _ 2 , _ 3 ) { 
 v a r   _ 4 = t h i s ; 
 r e t u r n   f u n c t i o n ( e ) { 
 i f ( ! _ 4 . _ d o m E v e n t H a n d l i n g E n a b l e d & & ! _ 3 ) { 
 r e t u r n ; 
 } 
 r e t u r n   _ 4 [ _ 2 ] ( e | | w i n d o w . e v e n t ) ; 
 } ; 
 } , A t t a c h D o m E v e n t : f u n c t i o n ( _ 6 , _ 7 , _ 8 , _ 9 ) { 
 v a r   _ a = t h i s . C r e a t e E v e n t H a n d l e r ( _ 8 , _ 9 ) ; 
 v a r   _ b = t h i s . G e t H a n d l e r R e g i s t e r ( _ 6 , _ 7 , _ 8 ) ; 
 i f ( _ b ! = n u l l ) { 
 t h i s . D e t a c h D o m E v e n t ( _ b . E l e m e n t , _ b . E v e n t N a m e , _ 8 ) ; 
 } 
 v a r   _ c = { " E l e m e n t " : _ 6 , " E v e n t N a m e " : _ 7 , " H a n d l e r N a m e " : _ 8 , " H a n d l e r " : _ a } ; 
 t h i s . A d d H a n d l e r R e g i s t e r ( _ c ) ; 
 i f ( _ 6 . a d d E v e n t L i s t e n e r ) { 
 _ 6 . a d d E v e n t L i s t e n e r ( _ 7 , _ a , f a l s e ) ; 
 } e l s e { 
 i f ( _ 6 . a t t a c h E v e n t ) { 
 _ 6 . a t t a c h E v e n t ( " o n " + _ 7 , _ a ) ; 
 } 
 } 
 } , D e t a c h D o m E v e n t : f u n c t i o n ( _ d , _ e , _ f ) { 
 v a r   _ 1 0 = n u l l ; 
 v a r   _ 1 1 = " " ; 
 i f ( t y p e o f   _ f = = " s t r i n g " ) { 
 _ 1 1 = _ f ; 
 _ 1 0 = t h i s . G e t H a n d l e r R e g i s t e r ( _ d , _ e , _ 1 1 ) ; 
 i f ( _ 1 0 = = n u l l ) { 
 r e t u r n ; 
 } 
 _ f = _ 1 0 . H a n d l e r ; 
 } 
 i f ( ! _ d ) { 
 r e t u r n ; 
 } 
 i f ( _ d . r e m o v e E v e n t L i s t e n e r ) { 
 _ d . r e m o v e E v e n t L i s t e n e r ( _ e , _ f , f a l s e ) ; 
 } e l s e { 
 i f ( _ d . d e t a c h E v e n t ) { 
 _ d . d e t a c h E v e n t ( " o n " + _ e , _ f ) ; 
 } 
 } 
 i f ( _ 1 0 ! = n u l l & & _ 1 1 ! = " " ) { 
 t h i s . R e m o v e H a n d l e r R e g i s t e r ( _ 1 0 ) ; 
 _ 1 0 = n u l l ; 
 } 
 } , D i s p o s e D o m E v e n t H a n d l e r s : f u n c t i o n ( ) { 
 f o r ( v a r   i = 0 ; i < t h i s . h a n d l e r R e g i s t e r s . l e n g t h ; i + + ) { 
 v a r   _ 1 3 = t h i s . h a n d l e r R e g i s t e r s [ i ] ; 
 i f ( _ 1 3 ! = n u l l ) { 
 t h i s . D e t a c h D o m E v e n t ( _ 1 3 . E l e m e n t , _ 1 3 . E v e n t N a m e , _ 1 3 . H a n d l e r ) ; 
 } 
 } 
 t h i s . h a n d l e r R e g i s t e r s = [ ] ; 
 } , R e m o v e H a n d l e r R e g i s t e r : f u n c t i o n ( _ 1 4 ) { 
 t r y { 
 v a r   _ 1 5 = _ 1 4 . i n d e x ; 
 f o r ( v a r   i   i n   _ 1 4 ) { 
 _ 1 4 [ i ] = n u l l ; 
 } 
 t h i s . h a n d l e r R e g i s t e r s [ _ 1 5 ] = n u l l ; 
 } 
 c a t c h ( e ) { 
 } 
 } , G e t H a n d l e r R e g i s t e r : f u n c t i o n ( _ 1 7 , _ 1 8 , _ 1 9 ) { 
 f o r ( v a r   i = 0 ; i < t h i s . h a n d l e r R e g i s t e r s . l e n g t h ; i + + ) { 
 v a r   _ 1 b = t h i s . h a n d l e r R e g i s t e r s [ i ] ; 
 i f ( _ 1 b ! = n u l l & & _ 1 b . E l e m e n t = = _ 1 7 & & _ 1 b . E v e n t N a m e = = _ 1 8 & & _ 1 b . H a n d l e r N a m e = = _ 1 9 ) { 
 r e t u r n   t h i s . h a n d l e r R e g i s t e r s [ i ] ; 
 } 
 } 
 r e t u r n   n u l l ; 
 } , A d d H a n d l e r R e g i s t e r : f u n c t i o n ( _ 1 c ) { 
 _ 1 c . i n d e x = t h i s . h a n d l e r R e g i s t e r s . l e n g t h ; 
 t h i s . h a n d l e r R e g i s t e r s [ t h i s . h a n d l e r R e g i s t e r s . l e n g t h ] = _ 1 c ; 
 } } ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t = { } ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t = f u n c t i o n ( e ) { 
 i f ( ! e ) { 
 r e t u r n   t r u e ; 
 } 
 i f ( e . p r e v e n t D e f a u l t ) { 
 e . p r e v e n t D e f a u l t ( ) ; 
 } 
 e . r e t u r n V a l u e = f a l s e ; 
 r e t u r n   f a l s e ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . S t o p P r o p a g a t i o n = f u n c t i o n ( e ) { 
 i f ( ! e ) { 
 r e t u r n ; 
 } 
 i f ( e . s t o p P r o p a g a t i o n ) { 
 e . s t o p P r o p a g a t i o n ( ) ; 
 } e l s e { 
 e . c a n c e l B u b b l e = t r u e ; 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t T a r g e t = f u n c t i o n ( e ) { 
 i f ( ! e ) { 
 r e t u r n   n u l l ; 
 } 
 r e t u r n   e . t a r g e t | | e . s r c E l e m e n t ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t R e l a t e d T a r g e t = f u n c t i o n ( e ) { 
 i f ( ! e ) { 
 r e t u r n   n u l l ; 
 } 
 r e t u r n   e . r e l a t e d T a r g e t | | ( e . t y p e = = " m o u s e o u t " ? e . t o E l e m e n t : e . f r o m E l e m e n t ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t K e y C o d e = f u n c t i o n ( e ) { 
 i f ( ! e ) { 
 r e t u r n   0 ; 
 } 
 r e t u r n   e . w h i c h | | e . k e y C o d e ; 
 } ; 
 } ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . E a s e ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . E a s e . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . E a s e . V e r s i o n < 1 . 1 ) { 
 R a d C o n t r o l s N a m e s p a c e . E a s e = f u n c t i o n ( _ 1 , _ 2 , _ 3 , _ 4 , _ 5 , _ 6 ) { 
 t h i s . E l e m e n t = _ 1 ; 
 i f ( _ 6 ) { 
 t h i s . O v e r l a y = n e w   R a d C o n t r o l s N a m e s p a c e . O v e r l a y ( _ 1 ) ; 
 } 
 t h i s . O f f s e t X = _ 3 ; 
 t h i s . O f f s e t Y = _ 4 ; 
 t h i s . I n v e r t = f a l s e ; 
 v a r   _ 7 = t h i s . E l e m e n t . p a r e n t N o d e ; 
 t h i s . E x p a n d C o n f i g = t h i s . M e r g e C o n f i g ( _ 2 . E x p a n d A n i m a t i o n ) ; 
 t h i s . C o l l a p s e C o n f i g = t h i s . M e r g e C o n f i g ( _ 2 . C o l l a p s e A n i m a t i o n ) ; 
 t h i s . T i c k e r = n e w   R a d C o n t r o l s N a m e s p a c e . T i c k e r ( t h i s ) ; 
 t h i s . L i s t e n e r = _ 5 ; 
 t h i s . S l i d e P a r e n t = f a l s e ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . E a s e . V e r s i o n = 1 . 1 ; 
 R a d C o n t r o l s N a m e s p a c e . E a s e . C o e f = 0 ; 
 R a d C o n t r o l s N a m e s p a c e . E a s e . p r o t o t y p e = { S e t S i d e : f u n c t i o n ( _ 8 ) { 
 t h i s . I n i t i a l S i d e = _ 8 . c h a r A t ( 0 ) . t o U p p e r C a s e ( ) + _ 8 . s u b s t r ( 1 , _ 8 . l e n g t h - 1 ) ; 
 t h i s . I n v e r t = f a l s e ; 
 i f ( _ 8 = = " r i g h t " ) { 
 _ 8 = " l e f t " ; 
 t h i s . I n v e r t = t r u e ; 
 } 
 i f ( _ 8 = = " b o t t o m " ) { 
 _ 8 = " t o p " ; 
 t h i s . I n v e r t = t r u e ; 
 } 
 t h i s . S i d e = _ 8 ; 
 t h i s . H o r i z o n t a l = _ 8 = = " l e f t " ; 
 } , M e r g e C o n f i g : f u n c t i o n ( _ 9 ) { 
 i f ( ! _ 9 . T y p e ) { 
 _ 9 . T y p e = " O u t Q u i n t " ; 
 } 
 i f ( ! _ 9 . D u r a t i o n ) { 
 _ 9 . D u r a t i o n = 2 0 0 ; 
 } 
 r e t u r n   _ 9 ; 
 } , G e t S i d e : f u n c t i o n ( ) { 
 r e t u r n   t h i s . I n i t i a l S i d e ; 
 } , S h o w E l e m e n t s : f u n c t i o n ( ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . d i s p l a y = " b l o c k " ; 
 t h i s . E l e m e n t . s t y l e . d i s p l a y = " b l o c k " ; 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w = " h i d d e n " ; 
 } , D i s p o s e : f u n c t i o n ( ) { 
 t h i s . T i c k e r . S t o p ( ) ; 
 t h i s . E l e m e n t = n u l l ; 
 i f ( t h i s . O v e r l a y ) { 
 t h i s . O v e r l a y . D i s p o s e ( ) ; 
 } 
 } , R e s e t S t a t e : f u n c t i o n ( _ a ) { 
 t h i s . S h o w E l e m e n t s ( ) ; 
 i f ( _ a ) { 
 v a r   _ b = ( t h i s . H o r i z o n t a l ? t h i s . E l e m e n t . o f f s e t W i d t h : t h i s . E l e m e n t . o f f s e t H e i g h t ) ; 
 i f ( ! t h i s . I n v e r t ) { 
 _ b = - _ b ; 
 } 
 t h i s . S e t P o s i t i o n ( _ b ) ; 
 } 
 t h i s . I n i t i a l P o s i t i o n = t h i s . G e t P o s i t i o n ( ) ; 
 } , U p d a t e C o n t a i n e r S i z e : f u n c t i o n ( ) { 
 i f ( ! t h i s . E l e m e n t . p a r e n t N o d e ) { 
 r e t u r n ; 
 } 
 i f ( ! t h i s . E l e m e n t . o f f s e t W i d t h | | ! t h i s . E l e m e n t . o f f s e t H e i g h t ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . I n v e r t ) { 
 i f ( t h i s . S i d e = = " l e f t " ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . h e i g h t = t h i s . E l e m e n t . o f f s e t H e i g h t + " p x " ; 
 } e l s e { 
 i f ( t h i s . S i d e = = " t o p " ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . w i d t h = t h i s . E l e m e n t . o f f s e t W i d t h + " p x " ; 
 } 
 } 
 r e t u r n ; 
 } 
 v a r   _ c = 0 ; 
 v a r   _ d = 0 ; 
 i f ( t h i s . E l e m e n t . s t y l e . t o p ! = " " ) { 
 _ c = M a t h . m a x ( p a r s e I n t ( t h i s . E l e m e n t . s t y l e . t o p ) , 0 ) ; 
 } 
 i f ( t h i s . E l e m e n t . s t y l e . l e f t ! = " " ) { 
 _ d = M a t h . m a x ( p a r s e I n t ( t h i s . E l e m e n t . s t y l e . l e f t ) , 0 ) ; 
 } 
 i f ( t h i s . S l i d e P a r e n t ) { 
 _ c = p a r s e I n t ( t h i s . E l e m e n t . s t y l e . t o p ) ; 
 i f ( i s N a N ( _ c ) ) { 
 _ c = 0 ; 
 } 
 } 
 i f ( t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . h e i g h t ! = t h i s . E l e m e n t . o f f s e t H e i g h t + _ c + " p x " ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . h e i g h t = M a t h . m a x ( t h i s . E l e m e n t . o f f s e t H e i g h t + _ c , 0 ) + " p x " ; 
 } 
 i f ( t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . w i d t h ! = ( t h i s . E l e m e n t . o f f s e t W i d t h + _ d ) + " p x " ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . w i d t h = M a t h . m a x ( t h i s . E l e m e n t . o f f s e t W i d t h + _ d , 0 ) + " p x " ; 
 } 
 } , G e t S i z e : f u n c t i o n ( ) { 
 r e t u r n   t h i s . H o r i z o n t a l ? t h i s . E l e m e n t . o f f s e t W i d t h : t h i s . E l e m e n t . o f f s e t H e i g h t ; 
 } , G e t P o s i t i o n : f u n c t i o n ( ) { 
 i f ( ! t h i s . E l e m e n t . s t y l e [ t h i s . S i d e ] ) { 
 r e t u r n   0 ; 
 } 
 r e t u r n   p a r s e I n t ( t h i s . E l e m e n t . s t y l e [ t h i s . S i d e ] ) ; 
 } , S e t P o s i t i o n : f u n c t i o n ( _ e ) { 
 t h i s . E l e m e n t . s t y l e [ t h i s . S i d e ] = _ e + " p x " ; 
 } , O u t : f u n c t i o n ( ) { 
 t h i s . R e s e t S t a t e ( ) ; 
 t h i s . D i r e c t i o n = - 1 ; 
 i f ( t h i s . I n v e r t ) { 
 t h i s . D e l t a = t h i s . G e t S i z e ( ) - t h i s . G e t P o s i t i o n ( ) ; 
 } e l s e { 
 t h i s . D e l t a = t h i s . G e t P o s i t i o n ( ) - t h i s . G e t S i z e ( ) ; 
 } 
 t h i s . S t a r t ( t h i s . C o l l a p s e C o n f i g ) ; 
 } , I n : f u n c t i o n ( ) { 
 t h i s . R e s e t S t a t e ( t r u e ) ; 
 t h i s . D i r e c t i o n = 1 ; 
 t h i s . D e l t a = - t h i s . G e t P o s i t i o n ( ) ; 
 t h i s . S t a r t ( t h i s . E x p a n d C o n f i g ) ; 
 } , S t a r t : f u n c t i o n ( _ f ) { 
 i f ( _ f . T y p e = = " N o n e " ) { 
 t h i s . U p d a t e C o n t a i n e r S i z e ( ) ; 
 t h i s . T i c k e r . S t o p ( ) ; 
 t h i s . C h a n g e P o s i t i o n ( t h i s . I n i t i a l P o s i t i o n + t h i s . D e l t a ) ; 
 i f ( t h i s . O v e r l a y ) { 
 t h i s . O v e r l a y . U p d a t e ( ) ; 
 } 
 t h i s . U p d a t e C o n t a i n e r S i z e ( ) ; 
 t h i s . O n T i c k E n d ( ) ; 
 r e t u r n ; 
 } 
 t h i s . T w e e n = _ f . T y p e ; 
 t h i s . T i c k e r . C o n f i g u r e ( _ f ) ; 
 t h i s . T i c k e r . S t a r t ( ) ; 
 t h i s . U p d a t e C o n t a i n e r S i z e ( ) ; 
 } , C h a n g e P o s i t i o n : f u n c t i o n ( _ 1 0 ) { 
 i f ( i s N a N ( _ 1 0 ) ) { 
 r e t u r n ; 
 } 
 v a r   _ 1 1 , _ 1 2 , _ 1 3 ; 
 i f ( t h i s . I n v e r t ) { 
 i f ( t h i s . H o r i z o n t a l ) { 
 _ 1 1 = t h i s . E l e m e n t . o f f s e t W i d t h ; 
 _ 1 2 = " w i d t h " ; 
 _ 1 3 = t h i s . O f f s e t X ; 
 } e l s e { 
 _ 1 1 = t h i s . E l e m e n t . o f f s e t H e i g h t ; 
 _ 1 2 = " h e i g h t " ; 
 _ 1 3 = t h i s . O f f s e t Y ; 
 } 
 t h i s . S e t P o s i t i o n ( 0 ) ; 
 v a r   _ 1 4 = M a t h . m a x ( 1 , _ 1 1 - _ 1 0 ) + " p x " ; 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e [ _ 1 2 ] = _ 1 4 ; 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e [ t h i s . S i d e ] = ( ( _ 1 1 - _ 1 0 + _ 1 3 ) * - 1 ) + " p x " ; 
 } e l s e { 
 t h i s . E l e m e n t . s t y l e [ t h i s . S i d e ] = _ 1 0 + " p x " ; 
 } 
 } , O n T i c k : f u n c t i o n ( _ 1 5 ) { 
 v a r   _ 1 6 = M a t h . r o u n d ( P e n n e r [ t h i s . T w e e n ] ( _ 1 5 , t h i s . I n i t i a l P o s i t i o n , t h i s . D e l t a , t h i s . T i c k e r . D u r a t i o n ) ) ; 
 i f ( _ 1 6 = = t h i s . I n i t i a l P o s i t i o n + t h i s . D e l t a ) { 
 t h i s . T i c k e r . S t o p ( ) ; 
 r e t u r n ; 
 } 
 t h i s . C h a n g e P o s i t i o n ( _ 1 6 ) ; 
 t h i s . U p d a t e C o n t a i n e r S i z e ( ) ; 
 i f ( t h i s . O v e r l a y ) { 
 t h i s . O v e r l a y . U p d a t e ( ) ; 
 } 
 } , O n T i c k E n d : f u n c t i o n ( ) { 
 t r y { 
 i f ( t h i s . D i r e c t i o n = = 0 ) { 
 r e t u r n ; 
 } 
 t h i s . C h a n g e P o s i t i o n ( t h i s . I n i t i a l P o s i t i o n + t h i s . D e l t a ) ; 
 i f ( t h i s . O v e r l a y ) { 
 t h i s . O v e r l a y . U p d a t e ( ) ; 
 } 
 i f ( t h i s . D i r e c t i o n > 0 ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w = " v i s i b l e " ; 
 i f ( t h i s . L i s t e n e r & & t h i s . L i s t e n e r . O n E x p a n d C o m p l e t e ) { 
 t h i s . L i s t e n e r . O n E x p a n d C o m p l e t e ( ) ; 
 } 
 } e l s e { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . d i s p l a y = " n o n e " ; 
 i f ( t h i s . L i s t e n e r ) { 
 t h i s . L i s t e n e r . O n C o l l a p s e C o m p l e t e ( ) ; 
 } 
 } 
 t h i s . D i r e c t i o n = 0 ; 
 } 
 c a t c h ( e ) { 
 } 
 } } ; 
 } ; v a r   P e n n e r = { } ; 
 P e n n e r . 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 ; 
 } ; 
 P e n n e r . I n Q u a d = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * ( t / = d ) * t + b ; 
 } ; 
 P e n n e r . O u t Q u a d = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   - c * ( t / = d ) * ( t - 2 ) + b ; 
 } ; 
 P e n n e r . I n O u t Q u a d = f u n c t i o n ( t , b , c , d ) { 
 i f ( ( t / = d / 2 ) < 1 ) { 
 r e t u r n   c / 2 * t * t + b ; 
 } 
 r e t u r n   - c / 2 * ( ( - - t ) * ( t - 2 ) - 1 ) + b ; 
 } ; 
 P e n n e r . I n C u b i c = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * ( t / = d ) * t * t + b ; 
 } ; 
 P e n n e r . O u t C u b i c = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * ( ( t = t / d - 1 ) * t * t + 1 ) + b ; 
 } ; 
 P e n n e r . I n O u t C u b i c = f u n c t i o n ( t , b , c , d ) { 
 i f ( ( t / = d / 2 ) < 1 ) { 
 r e t u r n   c / 2 * t * t * t + b ; 
 } 
 r e t u r n   c / 2 * ( ( t - = 2 ) * t * t + 2 ) + b ; 
 } ; 
 P e n n e r . I n Q u a r t = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * ( t / = d ) * t * t * t + b ; 
 } ; 
 P e n n e r . O u t Q u a r t = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   - c * ( ( t = t / d - 1 ) * t * t * t - 1 ) + b ; 
 } ; 
 P e n n e r . I n O u t Q u a r t = f u n c t i o n ( t , b , c , d ) { 
 i f ( ( t / = d / 2 ) < 1 ) { 
 r e t u r n   c / 2 * t * t * t * t + b ; 
 } 
 r e t u r n   - c / 2 * ( ( t - = 2 ) * t * t * t - 2 ) + b ; 
 } ; 
 P e n n e r . I n Q u i n t = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * ( t / = d ) * t * t * t * t + b ; 
 } ; 
 P e n n e r . O u t Q u i n t = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * ( ( t = t / d - 1 ) * t * t * t * t + 1 ) + b ; 
 } ; 
 P e n n e r . I n O u t Q u i n t = f u n c t i o n ( t , b , c , d ) { 
 i f ( ( t / = d / 2 ) < 1 ) { 
 r e t u r n   c / 2 * t * t * t * t * t + b ; 
 } 
 r e t u r n   c / 2 * ( ( t - = 2 ) * t * t * t * t + 2 ) + b ; 
 } ; 
 P e n n e r . I n S i n e = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   - c * M a t h . c o s ( t / d * ( M a t h . P I / 2 ) ) + c + b ; 
 } ; 
 P e n n e r . O u t S i n e = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * M a t h . s i n ( t / d * ( M a t h . P I / 2 ) ) + b ; 
 } ; 
 P e n n e r . I n O u t S i n e = 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 ; 
 } ; 
 P e n n e r . I n E x p o = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   ( t = = 0 ) ? b : c * M a t h . p o w ( 2 , 1 0 * ( t / d - 1 ) ) + b ; 
 } ; 
 P e n n e r . O u t E x p o = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   ( t = = d ) ? b + c : c * ( - M a t h . p o w ( 2 , - 1 0 * t / d ) + 1 ) + b ; 
 } ; 
 P e n n e r . I n O u t E x p o = f u n c t i o n ( t , b , c , d ) { 
 i f ( t = = 0 ) { 
 r e t u r n   b ; 
 } 
 i f ( t = = d ) { 
 r e t u r n   b + c ; 
 } 
 i f ( ( t / = d / 2 ) < 1 ) { 
 r e t u r n   c / 2 * M a t h . p o w ( 2 , 1 0 * ( t - 1 ) ) + b ; 
 } 
 r e t u r n   c / 2 * ( - M a t h . p o w ( 2 , - 1 0 * - - t ) + 2 ) + b ; 
 } ; 
 P e n n e r . I n C i r c = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   - c * ( M a t h . s q r t ( 1 - ( t / = d ) * t ) - 1 ) + b ; 
 } ; 
 P e n n e r . O u t C i r c = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c * M a t h . s q r t ( 1 - ( t = t / d - 1 ) * t ) + b ; 
 } ; 
 P e n n e r . I n O u t C i r c = f u n c t i o n ( t , b , c , d ) { 
 i f ( ( t / = d / 2 ) < 1 ) { 
 r e t u r n   - c / 2 * ( M a t h . s q r t ( 1 - t * t ) - 1 ) + b ; 
 } 
 r e t u r n   c / 2 * ( M a t h . s q r t ( 1 - ( t - = 2 ) * t ) + 1 ) + b ; 
 } ; 
 P e n n e r . I n E l a s t i c = f u n c t i o n ( t , b , c , d , a , p ) { 
 i f ( t = = 0 ) { 
 r e t u r n   b ; 
 } 
 i f ( ( t / = d ) = = 1 ) { 
 r e t u r n   b + c ; 
 } 
 i f ( ! p ) { 
 p = d * 0 . 3 ; 
 } 
 i f ( ( ! a ) | | a < M a t h . a b s ( c ) ) { 
 a = c ; 
 v a r   s = p / 4 ; 
 } e l s e { 
 v a r   s = p / ( 2 * M a t h . P I ) * M a t h . a s i n ( c / a ) ; 
 } 
 r e t u r n   - ( a * M a t h . p o w ( 2 , 1 0 * ( t - = 1 ) ) * M a t h . s i n ( ( t * d - s ) * ( 2 * M a t h . P I ) / p ) ) + b ; 
 } ; 
 P e n n e r . O u t E l a s t i c = f u n c t i o n ( t , b , c , d , a , p ) { 
 i f ( t = = 0 ) { 
 r e t u r n   b ; 
 } 
 i f ( ( t / = d ) = = 1 ) { 
 r e t u r n   b + c ; 
 } 
 i f ( ! p ) { 
 p = d * 0 . 3 ; 
 } 
 i f ( ( ! a ) | | a < M a t h . a b s ( c ) ) { 
 a = c ; 
 v a r   s = p / 4 ; 
 } e l s e { 
 v a r   s = p / ( 2 * M a t h . P I ) * M a t h . a s i n ( c / a ) ; 
 } 
 r e t u r n   a * M a t h . p o w ( 2 , - 1 0 * t ) * M a t h . s i n ( ( t * d - s ) * ( 2 * M a t h . P I ) / p ) + c + b ; 
 } ; 
 P e n n e r . I n O u t E l a s t i c = f u n c t i o n ( t , b , c , d , a , p ) { 
 i f ( t = = 0 ) { 
 r e t u r n   b ; 
 } 
 i f ( ( t / = d / 2 ) = = 2 ) { 
 r e t u r n   b + c ; 
 } 
 i f ( ! p ) { 
 p = d * ( 0 . 3 * 1 . 5 ) ; 
 } 
 i f ( ( ! a ) | | a < M a t h . a b s ( c ) ) { 
 a = c ; 
 v a r   s = p / 4 ; 
 } e l s e { 
 v a r   s = p / ( 2 * M a t h . P I ) * M a t h . a s i n ( c / a ) ; 
 } 
 i f ( t < 1 ) { 
 r e t u r n   - 0 . 5 * ( a * M a t h . p o w ( 2 , 1 0 * ( t - = 1 ) ) * M a t h . s i n ( ( t * d - s ) * ( 2 * M a t h . P I ) / p ) ) + b ; 
 } 
 r e t u r n   a * M a t h . p o w ( 2 , - 1 0 * ( t - = 1 ) ) * M a t h . s i n ( ( t * d - s ) * ( 2 * M a t h . P I ) / p ) * 0 . 5 + c + b ; 
 } ; 
 P e n n e r . I n B a c k = f u n c t i o n ( t , b , c , d , s ) { 
 i f ( s = = u n d e f i n e d ) { 
 s = 1 . 7 0 1 5 8 ; 
 } 
 r e t u r n   c * ( t / = d ) * t * ( ( s + 1 ) * t - s ) + b ; 
 } ; 
 P e n n e r . O u t B a c k = f u n c t i o n ( t , b , c , d , s ) { 
 i f ( s = = u n d e f i n e d ) { 
 s = 1 . 7 0 1 5 8 ; 
 } 
 r e t u r n   c * ( ( t = t / d - 1 ) * t * ( ( s + 1 ) * t + s ) + 1 ) + b ; 
 } ; 
 P e n n e r . I n O u t B a c k = f u n c t i o n ( t , b , c , d , s ) { 
 i f ( s = = u n d e f i n e d ) { 
 s = 1 . 7 0 1 5 8 ; 
 } 
 i f ( ( t / = d / 2 ) < 1 ) { 
 r e t u r n   c / 2 * ( t * t * ( ( ( s * = ( 1 . 5 2 5 ) ) + 1 ) * t - s ) ) + b ; 
 } 
 r e t u r n   c / 2 * ( ( t - = 2 ) * t * ( ( ( s * = ( 1 . 5 2 5 ) ) + 1 ) * t + s ) + 2 ) + b ; 
 } ; 
 P e n n e r . I n B o u n c e = f u n c t i o n ( t , b , c , d ) { 
 r e t u r n   c - P e n n e r . O u t B o u n c e ( d - t , 0 , c , d ) + b ; 
 } ; 
 P e n n e r . O u t B o u n c e = f u n c t i o n ( t , b , c , d ) { 
 i f ( ( t / = d ) < ( 1 / 2 . 7 5 ) ) { 
 r e t u r n   c * ( 7 . 5 6 2 5 * t * t ) + b ; 
 } e l s e { 
 i f ( t < ( 2 / 2 . 7 5 ) ) { 
 r e t u r n   c * ( 7 . 5 6 2 5 * ( t - = ( 1 . 5 / 2 . 7 5 ) ) * t + 0 . 7 5 ) + b ; 
 } e l s e { 
 i f ( t < ( 2 . 5 / 2 . 7 5 ) ) { 
 r e t u r n   c * ( 7 . 5 6 2 5 * ( t - = ( 2 . 2 5 / 2 . 7 5 ) ) * t + 0 . 9 3 7 5 ) + b ; 
 } e l s e { 
 r e t u r n   c * ( 7 . 5 6 2 5 * ( t - = ( 2 . 6 2 5 / 2 . 7 5 ) ) * t + 0 . 9 8 4 3 7 5 ) + b ; 
 } 
 } 
 } 
 } ; 
 P e n n e r . I n O u t B o u n c e = f u n c t i o n ( t , b , c , d ) { 
 i f ( t < d / 2 ) { 
 r e t u r n   P e n n e r . I n B o u n c e ( t * 2 , 0 , c , d ) * 0 . 5 + b ; 
 } 
 r e t u r n   P e n n e r . O u t B o u n c e ( t * 2 - d , 0 , c , d ) * 0 . 5 + c * 0 . 5 + b ; 
 } ; ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n . V e r s i o n < 2 ) { 
 R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n = { V e r s i o n : 2 , I n i t i a l i z e : f u n c t i o n ( _ 1 ) { 
 _ 1 . _ l i s t e n e r s = { } ; 
 _ 1 . _ e v e n t s E n a b l e d = t r u e ; 
 _ 1 . A t t a c h E v e n t = t h i s . A t t a c h E v e n t ; 
 _ 1 . D e t a c h E v e n t = t h i s . D e t a c h E v e n t ; 
 _ 1 . R a i s e E v e n t = t h i s . R a i s e E v e n t ; 
 _ 1 . E n a b l e E v e n t s = t h i s . E n a b l e E v e n t s ; 
 _ 1 . D i s a b l e E v e n t s = t h i s . D i s a b l e E v e n t s ; 
 _ 1 . D i s p o s e E v e n t H a n d l e r s = t h i s . D i s p o s e E v e n t H a n d l e r s ; 
 } , D i s a b l e E v e n t s : f u n c t i o n ( ) { 
 t h i s . _ e v e n t s E n a b l e d = f a l s e ; 
 } , E n a b l e E v e n t s : f u n c t i o n ( ) { 
 t h i s . _ e v e n t s E n a b l e d = t r u e ; 
 } , A t t a c h E v e n t : f u n c t i o n ( _ 2 , _ 3 ) { 
 i f ( ! t h i s . _ l i s t e n e r s [ _ 2 ] ) { 
 t h i s . _ l i s t e n e r s [ _ 2 ] = [ ] ; 
 } 
 t h i s . _ l i s t e n e r s [ _ 2 ] [ t h i s . _ l i s t e n e r s [ _ 2 ] . l e n g t h ] = ( R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n . R e s o l v e F u n c t i o n ( _ 3 ) ) ; 
 } , D e t a c h E v e n t : f u n c t i o n ( _ 4 , _ 5 ) { 
 v a r   _ 6 = t h i s . _ l i s t e n e r s [ _ 4 ] ; 
 i f ( ! _ 6 ) { 
 r e t u r n   f a l s e ; 
 } 
 v a r   _ 7 = R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n . R e s o l v e F u n c t i o n ( _ 5 ) ; 
 f o r ( v a r   i = 0 ; i < _ 6 . l e n g t h ; i + + ) { 
 i f ( _ 7 = = _ 6 [ i ] ) { 
 _ 6 . s p l i c e ( i , 1 ) ; 
 r e t u r n   t r u e ; 
 } 
 } 
 r e t u r n   f a l s e ; 
 } , D i s p o s e E v e n t H a n d l e r s : f u n c t i o n ( ) { 
 f o r ( v a r   _ 9   i n   t h i s . _ l i s t e n e r s ) { 
 v a r   _ a = n u l l ; 
 i f ( t h i s . _ l i s t e n e r s . h a s O w n P r o p e r t y ( _ 9 ) ) { 
 _ a = t h i s . _ l i s t e n e r s [ _ 9 ] ; 
 f o r ( v a r   i = 0 ; i < _ a . l e n g t h ; i + + ) { 
 _ a [ i ] = n u l l ; 
 } 
 _ a = n u l l ; 
 } 
 } 
 } , R e s o l v e F u n c t i o n : f u n c t i o n ( _ c ) { 
 i f ( t y p e o f   ( _ c ) = = " f u n c t i o n " ) { 
 r e t u r n   _ c ; 
 } e l s e { 
 i f ( t y p e o f   ( w i n d o w [ _ c ] ) = = " f u n c t i o n " ) { 
 r e t u r n   w i n d o w [ _ c ] ; 
 } e l s e { 
 r e t u r n   n e w   F u n c t i o n ( " v a r   S e n d e r   =   a r g u m e n t s [ 0 ] ;   v a r   A r g u m e n t s   =   a r g u m e n t s [ 1 ] ; " + _ c ) ; 
 } 
 } 
 } , R a i s e E v e n t : f u n c t i o n ( _ d , _ e ) { 
 i f ( ! t h i s . _ e v e n t s E n a b l e d ) { 
 r e t u r n   t r u e ; 
 } 
 v a r   _ f = t r u e ; 
 i f ( t h i s [ _ d ] ) { 
 v a r   _ 1 0 = R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n . R e s o l v e F u n c t i o n ( t h i s [ _ d ] ) ( t h i s , _ e ) ; 
 i f ( t y p e o f   ( _ 1 0 ) = = " u n d e f i n e d " ) { 
 _ 1 0 = t r u e ; 
 } 
 _ f = _ f & & _ 1 0 ; 
 } 
 i f ( ! t h i s . _ l i s t e n e r s [ _ d ] ) { 
 r e t u r n   _ f ; 
 } 
 f o r ( v a r   i = 0 ; i < t h i s . _ l i s t e n e r s [ _ d ] . l e n g t h ; i + + ) { 
 v a r   _ 1 2 = t h i s . _ l i s t e n e r s [ _ d ] [ i ] ; 
 v a r   _ 1 0 = _ 1 2 ( t h i s , _ e ) ; 
 i f ( t y p e o f   ( _ 1 0 ) = = " u n d e f i n e d " ) { 
 _ 1 0 = t r u e ; 
 } 
 _ f = _ f & & _ 1 0 ; 
 } 
 r e t u r n   _ f ; 
 } } ; 
 } ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . J S O N ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . J S O N . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . J S O N . V e r s i o n < 1 ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e . J S O N = { V e r s i o n : 1 , c o p y r i g h t : " ( c ) 2 0 0 5   J S O N . o r g " , l i c e n s e : " h t t p : / / w w w . c r o c k f o r d . c o m / J S O N / l i c e n s e . h t m l " , s t r i n g i f y : f u n c t i o n ( v , _ 2 ) { 
 v a r   a = [ ] ; 
 v a r   _ 4 = a r g u m e n t s [ 2 ] | | { } ; 
 f u n c t i o n   e ( s ) { 
 a [ a . l e n g t h ] = s ; 
 } 
 f u n c t i o n   g ( x ) { 
 v a r   c , i , l , v ; 
 s w i t c h ( t y p e o f   x ) { 
 c a s e   " o b j e c t " : 
 i f ( x ) { 
 i f ( x   i n s t a n c e o f   A r r a y ) { 
 e ( " [ " ) ; 
 l = a . l e n g t h ; 
 f o r ( i = 0 ; i < x . l e n g t h ; i + = 1 ) { 
 v = x [ i ] ; 
 i f ( t y p e o f   v ! = " u n d e f i n e d " & & t y p e o f   v ! = " f u n c t i o n " ) { 
 i f ( l < a . l e n g t h ) { 
 e ( " , " ) ; 
 } 
 g ( v ) ; 
 } 
 } 
 e ( " ] " ) ; 
 r e t u r n   " " ; 
 } e l s e { 
 i f ( t y p e o f   x . v a l u e O f = = " f u n c t i o n " ) { 
 e ( " { " ) ; 
 l = a . l e n g t h ; 
 f o r ( i   i n   x ) { 
 v = x [ i ] ; 
 i f ( _ 2 & & v = = _ 2 [ i ] ) { 
 c o n t i n u e ; 
 } 
 v a r   _ a = t y p e o f   v ; 
 i f ( _ a = = " u n d e f i n e d " | | _ a = = " f u n c t i o n " ) { 
 c o n t i n u e ; 
 } 
 i f ( _ a = = " o b j e c t " & & ! _ 4 [ i ] ) { 
 c o n t i n u e ; 
 } 
 i f ( l < a . l e n g t h ) { 
 e ( " , " ) ; 
 } 
 g ( i ) ; 
 e ( " : " ) ; 
 g ( v ) ; 
 } 
 r e t u r n   e ( " } " ) ; 
 } 
 } 
 } 
 e ( " n u l l " ) ; 
 r e t u r n   " " ; 
 c a s e   " n u m b e r " : 
 e ( i s F i n i t e ( x ) ? + x : " n u l l " ) ; 
 r e t u r n   " " ; 
 c a s e   " s t r i n g " : 
 l = x . l e n g t h ; 
 e ( " \ " " ) ; 
 f o r ( i = 0 ; i < l ; i + = 1 ) { 
 c = x . c h a r A t ( i ) ; 
 i f ( c > = "   " ) { 
 i f ( c = = " \ \ " | | c = = " \ " " ) { 
 e ( " \ \ " ) ; 
 } 
 e ( c ) ; 
 } e l s e { 
 s w i t c h ( c ) { 
 c a s e   " \ b " : 
 e ( " \ \ b " ) ; 
 b r e a k ; 
 c a s e   " \ f " : 
 e ( " \ \ f " ) ; 
 b r e a k ; 
 c a s e   " \ n " : 
 e ( " \ \ n " ) ; 
 b r e a k ; 
 c a s e   " \ r " : 
 e ( " \ \ r " ) ; 
 b r e a k ; 
 c a s e   " \ t " : 
 e ( " \ \ t " ) ; 
 b r e a k ; 
 d e f a u l t : 
 c = c . c h a r C o d e A t ( ) ; 
 e ( " \ \ u 0 0 " + M a t h . f l o o r ( c / 1 6 ) . t o S t r i n g ( 1 6 ) + ( c % 1 6 ) . t o S t r i n g ( 1 6 ) ) ; 
 } 
 } 
 } 
 e ( " \ " " ) ; 
 r e t u r n   " " ; 
 c a s e   " b o o l e a n " : 
 e ( S t r i n g ( x ) ) ; 
 r e t u r n   " " ; 
 d e f a u l t : 
 e ( " n u l l " ) ; 
 r e t u r n   " " ; 
 } 
 } 
 g ( v , 0 ) ; 
 r e t u r n   a . j o i n ( " " ) ; 
 } , s t r i n g i f y H a s h T a b l e : f u n c t i o n ( _ b , _ c , _ d ) { 
 v a r   a = [ ] ; 
 i f ( ! _ d ) { 
 _ d = [ ] ; 
 } 
 f o r ( v a r   i = 0 ; i < _ b . l e n g t h ; i + + ) { 
 v a r   s e r = t h i s . s t r i n g i f y ( _ b [ i ] , _ d [ i ] ) ; 
 i f ( s e r = = " { } " ) { 
 c o n t i n u e ; 
 } 
 a [ a . l e n g t h ] = " \ " " + _ b [ i ] [ _ c ] + " \ " : " + s e r ; 
 } 
 r e t u r n   " { " + a . j o i n ( " , " ) + " } " ; 
 } , p a r s e : f u n c t i o n ( _ 1 1 ) { 
 r e t u r n   ( / ^ ( [   \ t \ r \ n , : { } \ [ \ ] ] | " ( \ \ [ " \ \ \ / b f n r t u ] | [ ^ \ x 0 0 - \ x 1 f " \ \ ] + ) * " | - ? \ d + ( \ . \ d * ) ? ( [ e E ] [ + - ] ? \ d + ) ? | t r u e | f a l s e | n u l l ) + $ / . t e s t ( _ 1 1 ) ) & & e v a l ( " ( " + _ 1 1 + " ) " ) ; 
 } } ; 
 } ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . M s A j a x M i x i n ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . M s A j a x M i x i n . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . M s A j a x M i x i n . V e r s i o n < 1 ) { 
 R a d C o n t r o l s N a m e s p a c e . M s A j a x M i x i n = { V e r s i o n : 1 , I n i t i a l i z e : f u n c t i o n ( _ 1 , _ 2 ) { 
 i f ( t y p e o f   ( _ 1 . r e g i s t e r C l a s s ) ! = " f u n c t i o n " ) { 
 r e t u r n ; 
 } 
 _ 1 . i n h e r i t s F r o m ( S y s . U I . C o n t r o l ) ; 
 _ 1 . r e g i s t e r C l a s s ( _ 2 , S y s . U I . C o n t r o l , S y s . I D i s p o s a b l e ) ; 
 _ 1 . p r o t o t y p e . i n i t i a l i z e = f u n c t i o n ( ) { 
 S y s . U I . C o n t r o l . c a l l B a s e M e t h o d ( t h i s , " i n i t i a l i z e " ) ; 
 } ; 
 _ 1 . p r o t o t y p e . d i s p o s e = f u n c t i o n ( ) { 
 S y s . U I . C o n t r o l . c a l l B a s e M e t h o d ( t h i s , " d i s p o s e " ) ; 
 t h i s . D i s p o s e ( ) ; 
 } ; 
 } } ; 
 } ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . O v e r l a y ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . O v e r l a y . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . O v e r l a y . V e r s i o n < 1 . 1 ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e . O v e r l a y = f u n c t i o n ( _ 1 ) { 
 i f ( ! t h i s . S u p p o r t s O v e r l a y ( ) ) { 
 r e t u r n ; 
 } 
 t h i s . E l e m e n t = _ 1 ; 
 t h i s . S h i m = d o c u m e n t . c r e a t e E l e m e n t ( " I F R A M E " ) ; 
 t h i s . S h i m . s r c = " j a v a s c r i p t : ' ' ; " ; 
 t h i s . E l e m e n t . p a r e n t N o d e . i n s e r t B e f o r e ( t h i s . S h i m , t h i s . E l e m e n t ) ; 
 i f ( _ 1 . s t y l e . z I n d e x > 0 ) { 
 t h i s . S h i m . s t y l e . z I n d e x = _ 1 . s t y l e . z I n d e x - 1 ; 
 } 
 t h i s . S h i m . s t y l e . p o s i t i o n = " a b s o l u t e " ; 
 t h i s . S h i m . s t y l e . b o r d e r = " 0 p x " ; 
 t h i s . S h i m . f r a m e B o r d e r = 0 ; 
 t h i s . S h i m . s t y l e . f i l t e r = " p r o g i d : D X I m a g e T r a n s f o r m . M i c r o s o f t . A l p h a ( s t y l e = 0 , o p a c i t y = 0 ) " ; 
 t h i s . S h i m . d i s a b l e d = " d i s a b l e d " ; 
 } ; 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e . O v e r l a y . V e r s i o n = 1 . 1 ; 
 R a d C o n t r o l s N a m e s p a c e . O v e r l a y . p r o t o t y p e . S u p p o r t s O v e r l a y = f u n c t i o n ( ) { 
 r e t u r n   ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E & & ! R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E 7 ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . O v e r l a y . p r o t o t y p e . U p d a t e = f u n c t i o n ( ) { 
 i f ( ! t h i s . S u p p o r t s O v e r l a y ( ) ) { 
 r e t u r n ; 
 } 
 t h i s . S h i m . s t y l e . t o p = t h i s . T o U n i t ( t h i s . E l e m e n t . s t y l e . t o p ) ; 
 t h i s . S h i m . s t y l e . l e f t = t h i s . T o U n i t ( t h i s . E l e m e n t . s t y l e . l e f t ) ; 
 t h i s . S h i m . s t y l e . w i d t h = t h i s . E l e m e n t . o f f s e t W i d t h + " p x " ; 
 t h i s . S h i m . s t y l e . h e i g h t = t h i s . E l e m e n t . o f f s e t H e i g h t + " p x " ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . O v e r l a y . p r o t o t y p e . T o U n i t = f u n c t i o n ( _ 2 ) { 
 i f ( ! _ 2 ) { 
 r e t u r n   " 0 p x " ; 
 } 
 r e t u r n   p a r s e I n t ( _ 2 ) + " p x " ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . O v e r l a y . p r o t o t y p e . D i s p o s e = f u n c t i o n ( ) { 
 i f ( ! t h i s . S u p p o r t s O v e r l a y ( ) ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . S h i m . p a r e n t N o d e ) { 
 t h i s . S h i m . p a r e n t N o d e . r e m o v e C h i l d ( t h i s . S h i m ) ; 
 } 
 t h i s . E l e m e n t = n u l l ; 
 t h i s . S h i m = n u l l ; 
 } ; 
 } ; i f ( t y p e o f   w i n d o w . R a d M e n u N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d M e n u N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 R a d C o n t r o l s N a m e s p a c e . A p p e n d S t y l e S h e e t = f u n c t i o n ( _ 1 , _ 2 , _ 3 ) { 
 i f ( ! _ 3 ) { 
 r e t u r n ; 
 } 
 v a r   _ 4 = w i n d o w . n e t s c a p e & & ! w i n d o w . o p e r a ; 
 i f ( ! _ 1 & & _ 4 ) { 
 d o c u m e n t . w r i t e ( " < " + " l i n k " + "   r e l = ' s t y l e s h e e t '   t y p e = ' t e x t / c s s '   h r e f = ' " + _ 3 + " '   / > " ) ; 
 } e l s e { 
 v a r   _ 5 = d o c u m e n t . c r e a t e E l e m e n t ( " l i n k " ) ; 
 _ 5 . r e l = " s t y l e s h e e t " ; 
 _ 5 . t y p e = " t e x t / c s s " ; 
 _ 5 . h r e f = _ 3 ; 
 d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] . a p p e n d C h i l d ( _ 5 ) ; 
 } 
 } ; 
 R a d M e n u N a m e s p a c e . I t e m F l o w = { V e r t i c a l : 0 , H o r i z o n t a l : 1 } ; 
 R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n = { A u t o : 0 , U p : 1 , D o w n : 2 , L e f t : 3 , R i g h t : 4 } ; 
 R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n P r o p e r t y N a m e = { " 1 " : " b o t t o m " , " 2 " : " t o p " , " 3 " : " r i g h t " , " 4 " : " l e f t " } ; 
 f u n c t i o n   R a d M e n u ( _ 6 ) { 
 t h i s . D o m E l e m e n t = _ 6 ; 
 t h i s . C h i l d I t e m L i s t = t h i s . D o m E l e m e n t . g e t E l e m e n t s B y T a g N a m e ( " u l " ) [ 0 ] ; 
 t h i s . S t a t e F i e l d = d o c u m e n t . g e t E l e m e n t B y I d ( _ 6 . i d + " _ H i d d e n " ) ; 
 t h i s . I t e m s = [ ] ; 
 t h i s . A l l I t e m s = [ ] ; 
 t h i s . O p e n e d I t e m = n u l l ; 
 t h i s . L a s t E x p a n d e d I t e m = n u l l ; 
 t h i s . E x p a n d A n i m a t i o n = { } ; 
 t h i s . C o l l a p s e A n i m a t i o n = { } ; 
 t h i s . C o l l a p s e D e l a y = 5 0 0 ; 
 t h i s . E x p a n d D e l a y = 1 0 0 ; 
 t h i s . I D = _ 6 . i d ; 
 t h i s . S k i n = " D e f a u l t " ; 
 t h i s . R i g h t T o L e f t = f a l s e ; 
 t h i s . E n a b l e S c r e e n B o u n d a r y D e t e c t i o n = t r u e ; 
 t h i s . I n U p d a t e = f a l s e ; 
 t h i s . I n i t i a l i z e d = f a l s e ; 
 t h i s . S t a t e = { } ; 
 t h i s . I t e m S t a t e = { } ; 
 t h i s . C a u s e s V a l i d a t i o n = t r u e ; 
 t h i s . F l o w = R a d M e n u N a m e s p a c e . I t e m F l o w . H o r i z o n t a l ; 
 t h i s . C l i c k T o O p e n = f a l s e ; 
 t h i s . E n a b l e d = t r u e ; 
 t h i s . E n a b l e A u t o S c r o l l = f a l s e ; 
 t h i s . C l i c k e d = f a l s e ; 
 t h i s . O r i g i n a l Z I n d e x = t h i s . D o m E l e m e n t . s t y l e . z I n d e x ; 
 t h i s . A t t r i b u t e s = { } ; 
 R a d C o n t r o l s N a m e s p a c e . E v e n t M i x i n . I n i t i a l i z e ( t h i s ) ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t M i x i n . I n i t i a l i z e ( t h i s ) ; 
 } 
 R a d M e n u . C r e a t e = f u n c t i o n ( ) { 
 v a r   _ 7 = a r g u m e n t s [ 0 ] ; 
 v a r   _ 8 = w i n d o w [ _ 7 ] ; 
 i f ( _ 8 ! = n u l l & & _ 8 . D i s p o s e ) { 
 _ 8 . D i s p o s e ( ) ; 
 } 
 v a r   _ 9 = d o c u m e n t . g e t E l e m e n t B y I d ( _ 7 ) ; 
 r e t u r n   n e w   t h i s ( _ 9 ) ; 
 } ; 
 R a d M e n u . J S O N I n c l u d e D e e p = { " A t t r i b u t e s " : t r u e } ; 
 R a d M e n u . C r e a t e S t a t e = f u n c t i o n ( _ a ) { 
 _ a . I n i t i a l S t a t e = { } ; 
 f o r ( v a r   i   i n   _ a ) { 
 v a r   _ c = t y p e o f   _ a [ i ] ; 
 i f ( _ c = = " n u m b e r " | | _ c = = " s t r i n g " | | _ c = = " b o o l e a n " ) { 
 _ a . I n i t i a l S t a t e [ i ] = _ a [ i ] ; 
 } 
 } 
 } ; 
 R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e = f u n c t i o n ( _ d , _ e ) { 
 v a r   _ f = _ d . g e t E l e m e n t s B y T a g N a m e ( _ e ) [ 0 ] ; 
 i f ( _ f & & _ f . p a r e n t N o d e = = _ d ) { 
 r e t u r n   _ f ; 
 } 
 r e t u r n   n u l l ; 
 } ; 
 R a d M e n u . p r o t o t y p e . R e n d e r I n P r o g r e s s = f u n c t i o n ( ) { 
 r e t u r n   t h i s . D o m E l e m e n t . o f f s e t W i d t h = = 0 & & R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E ; 
 } ; 
 R a d M e n u . p r o t o t y p e . D e t a c h = f u n c t i o n ( e ) { 
 i f ( ! ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E ) | | d o c u m e n t . r e a d y S t a t e = = " c o m p l e t e " ) { 
 d o c u m e n t . f o r m s [ 0 ] . i n s e r t B e f o r e ( t h i s . D o m E l e m e n t , d o c u m e n t . f o r m s [ 0 ] . f i r s t C h i l d ) ; 
 t h i s . D o m E l e m e n t . s t y l e . p o s i t i o n = " a b s o l u t e " ; 
 t h i s . D e t a c h e d = t r u e ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . S h o w = f u n c t i o n ( e ) { 
 i f ( ! t h i s . I s C o n t e x t ) { 
 r e t u r n ; 
 } 
 i f ( ! t h i s . R a i s e E v e n t ( " O n C l i e n t C o n t e x t S h o w i n g " ) ) { 
 r e t u r n   R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 } 
 f o r ( v a r   i   i n   R a d M e n u N a m e s p a c e . C o n t e x t M e n u s ) { 
 R a d M e n u N a m e s p a c e . C o n t e x t M e n u s [ i ] . H i d e ( ) ; 
 } 
 v a r   x = t h i s . M o u s e E v e n t X ( e ) ; 
 v a r   y = t h i s . M o u s e E v e n t Y ( e ) ; 
 i f ( t h i s . R i g h t T o L e f t ) { 
 t h i s . S h o w A t ( x , y ) ; 
 r e t u r n   t h i s . S h o w A t ( x - t h i s . C h i l d I t e m L i s t . o f f s e t W i d t h , y ) ; 
 } 
 r e t u r n   t h i s . S h o w A t ( x , y ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . C r e a t e R u n t i m e S c r o l l = f u n c t i o n ( _ 1 5 ) { 
 i f ( t h i s . S c r o l l ) { 
 t h i s . S c r o l l . S e t H e i g h t ( _ 1 5 ) ; 
 r e t u r n ; 
 } 
 t h i s . B u i l d S c r o l l O b j e c t ( t r u e ) ; 
 t h i s . S c r o l l . I n i t i a l i z e ( ) ; 
 t h i s . S c r o l l W r a p = t h i s . C h i l d I t e m L i s t . p a r e n t N o d e ; 
 t h i s . E a s e . E l e m e n t = t h i s . S c r o l l W r a p ; 
 t h i s . E a s e . O v e r l a y . E l e m e n t = t h i s . S c r o l l W r a p ; 
 t h i s . S c r o l l W r a p . c l a s s N a m e = " s c r o l l W r a p " + t h i s . C h i l d I t e m L i s t . c l a s s N a m e ; 
 t h i s . C h i l d I t e m L i s t . c l a s s N a m e = " a c t i v e   v e r t i c a l " ; 
 t h i s . S c r o l l . S e t H e i g h t ( _ 1 5 ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . S h o w A t = f u n c t i o n ( x , y ) { 
 i f ( ! t h i s . I s C o n t e x t ) { 
 r e t u r n ; 
 } 
 i f ( ! t h i s . D e t a c h e d ) { 
 t h i s . D e t a c h ( ) ; 
 } 
 t h i s . S h o w n A s C o n t e x t = t r u e ; 
 t h i s . E a s e . S h o w E l e m e n t s ( ) ; 
 v a r   _ 1 8 = R a d C o n t r o l s N a m e s p a c e . S c r e e n . G e t V i e w P o r t S i z e ( ) ; 
 i f ( t h i s . E n a b l e A u t o S c r o l l & & y + t h i s . C h i l d I t e m L i s t . o f f s e t H e i g h t > _ 1 8 . h e i g h t ) { 
 t h i s . E a s e . S h o w E l e m e n t s ( ) ; 
 t h i s . E a s e . U p d a t e C o n t a i n e r S i z e ( ) ; 
 t h i s . C r e a t e R u n t i m e S c r o l l ( _ 1 8 . h e i g h t - y + " p x " ) ; 
 } 
 i f ( t h i s . S c r o l l W r a p ) { 
 t h i s . S c r o l l W r a p . s t y l e . w i d t h = t h i s . C h i l d I t e m L i s t . o f f s e t W i d t h + " p x " ; 
 t h i s . S c r o l l . I n i t i a l i z e ( ) ; 
 } 
 t h i s . E a s e . U p d a t e C o n t a i n e r S i z e ( ) ; 
 i f ( ! t h i s . W i d t h F i x e d ) { 
 t h i s . W i d t h F i x e d = t r u e ; 
 t h i s . F i x I t e m W i d t h ( t h i s ) ; 
 } 
 t h i s . P o s i t i o n ( x , y ) ; 
 t h i s . E a s e . I n ( ) ; 
 t h i s . R a i s e E v e n t ( " O n C l i e n t C o n t e x t S h o w n " , n u l l ) ; 
 r e t u r n   f a l s e ; 
 } ; 
 R a d M e n u . p r o t o t y p e . P o s i t i o n = f u n c t i o n ( x , y ) { 
 v a r   _ 1 b = R a d C o n t r o l s N a m e s p a c e . S c r e e n . G e t V i e w P o r t S i z e ( ) ; 
 x = M a t h . m i n ( x , _ 1 b . w i d t h - t h i s . D o m E l e m e n t . o f f s e t W i d t h ) ; 
 y = M a t h . m i n ( y , _ 1 b . h e i g h t - t h i s . D o m E l e m e n t . o f f s e t H e i g h t ) ; 
 i f ( i s N a N ( x ) ) { 
 x = 0 ; 
 } 
 i f ( i s N a N ( y ) ) { 
 y = 0 ; 
 } 
 t h i s . D o m E l e m e n t . s t y l e . l e f t = x + " p x " ; 
 t h i s . D o m E l e m e n t . s t y l e . t o p = y + " p x " ; 
 } ; 
 R a d M e n u . p r o t o t y p e . M o u s e E v e n t X = f u n c t i o n ( e ) { 
 i f ( e . p a g e X ) { 
 r e t u r n   e . p a g e X ; 
 } e l s e { 
 i f ( e . c l i e n t X ) { 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . S t a n d a r d s M o d e ) { 
 r e t u r n   ( e . c l i e n t X + d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l L e f t ) ; 
 } 
 r e t u r n   ( e . c l i e n t X + d o c u m e n t . b o d y . s c r o l l L e f t ) ; 
 } 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . M o u s e E v e n t Y = f u n c t i o n ( e ) { 
 i f ( e . p a g e Y ) { 
 r e t u r n   e . p a g e Y ; 
 } e l s e { 
 i f ( e . c l i e n t Y ) { 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . S t a n d a r d s M o d e ) { 
 r e t u r n   ( e . c l i e n t Y + d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p ) ; 
 } 
 r e t u r n   ( e . c l i e n t Y + d o c u m e n t . b o d y . s c r o l l T o p ) ; 
 } 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . E v e n t S o u r c e = f u n c t i o n ( e ) { 
 r e t u r n   R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t T a r g e t ( e ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . H i d e = f u n c t i o n ( ) { 
 i f ( t h i s . S h o w n A s C o n t e x t ) { 
 t h i s . E a s e . O u t ( ) ; 
 t h i s . S h o w n A s C o n t e x t = f a l s e ; 
 t h i s . R a i s e E v e n t ( " O n C l i e n t C o n t e x t H i d d e n " , n u l l ) ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . I n i t i a l i z e = f u n c t i o n ( _ 1 f , _ 2 0 ) { 
 t h i s . L o a d C o n f i g u r a t i o n ( _ 1 f ) ; 
 t h i s . I t e m D a t a = _ 2 0 ; 
 t h i s . D e t e r m i n e D i r e c t i o n ( ) ; 
 t h i s . A p p l y R T L ( ) ; 
 i f ( t h i s . I s C o n t e x t ) { 
 t h i s . I n i t C o n t e x t M e n u ( ) ; 
 } 
 t h i s . C r e a t e C o n t r o l H i e r a r c h y ( t h i s , 0 ) ; 
 i f ( ! t h i s . E n a b l e d ) { 
 t h i s . D i s a b l e ( ) ; 
 } 
 i f ( t h i s . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 t h i s . F i x R o o t I t e m W i d t h ( ) ; 
 } 
 t h i s . A t t a c h E v e n t H a n d l e r s ( ) ; 
 t h i s . I n i t i a l i z e d = t r u e ; 
 R a d M e n u . C r e a t e S t a t e ( t h i s ) ; 
 t h i s . R a i s e E v e n t ( " O n C l i e n t L o a d " , n u l l ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . A t t a c h E v e n t H a n d l e r s = f u n c t i o n ( ) { 
 v a r   _ 2 1 = t h i s ; 
 t h i s . D o m E l e m e n t . R a d S h o w = f u n c t i o n ( ) { 
 i f ( _ 2 1 . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 _ 2 1 . F i x R o o t I t e m W i d t h ( ) ; 
 } 
 } ; 
 t h i s . A t t a c h D o m E v e n t ( w i n d o w , " u n l o a d " , " D i s p o s e " ) ; 
 i f ( ! t h i s . C l i c k T o O p e n & & R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E ) { 
 t h i s . A t t a c h D o m E v e n t ( d o c u m e n t , " m o u s e o u t " , " M o u s e O u t H a n d l e r " ) ; 
 } 
 i f ( t h i s . C l i c k T o O p e n ) { 
 t h i s . A t t a c h D o m E v e n t ( d o c u m e n t , " c l i c k " , " C l o s e O p e n e d I t e m s " ) ; 
 } 
 t h i s . A t t a c h D o m E v e n t ( w i n d o w , " r e s i z e " , " R e f r e s h P o s i t i o n " ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . R e f r e s h P o s i t i o n = f u n c t i o n ( e ) { 
 i f ( ! t h i s . I s C o n t e x t ) { 
 t h i s . D o m E l e m e n t . s t y l e . c s s T e x t = t h i s . D o m E l e m e n t . s t y l e . c s s T e x t ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . M o u s e O u t H a n d l e r = f u n c t i o n ( e ) { 
 v a r   _ 2 4 = R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t T a r g e t ( e ) ; 
 v a r   _ 2 5 = R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t R e l a t e d T a r g e t ( e ) ; 
 i f ( ! _ 2 5 & & ! t h i s . I s C h i l d O f ( t h i s . D o m E l e m e n t , _ 2 4 ) ) { 
 v a r   _ 2 6 = t h i s ; 
 s e t T i m e o u t ( f u n c t i o n ( ) { 
 _ 2 6 . C l o s e ( ) ; 
 } , t h i s . C o l l a p s e D e l a y ) ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . C l o s e O p e n e d I t e m s = f u n c t i o n ( e ) { 
 v a r   _ 2 8 = t h i s . E v e n t S o u r c e ( e ) ; 
 i f ( ! t h i s . I s C h i l d O f ( t h i s . D o m E l e m e n t , _ 2 8 ) ) { 
 t h i s . C l o s e ( ) ; 
 t h i s . C l i c k e d = f a l s e ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . D e t e r m i n e D i r e c t i o n = f u n c t i o n ( ) { 
 v a r   e l = t h i s . D o m E l e m e n t ; 
 w h i l e ( e l . t a g N a m e . t o L o w e r C a s e ( ) ! = " h t m l " ) { 
 i f ( e l . d i r ) { 
 t h i s . R i g h t T o L e f t = ( e l . d i r . t o L o w e r C a s e ( ) = = " r t l " ) ; 
 r e t u r n ; 
 } 
 e l = e l . p a r e n t N o d e ; 
 } 
 t h i s . R i g h t T o L e f t = f a l s e ; 
 } ; 
 R a d M e n u . p r o t o t y p e . A p p l y R T L = f u n c t i o n ( ) { 
 i f ( ! t h i s . R i g h t T o L e f t ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . R e n d e r I n P r o g r e s s ( ) ) { 
 t h i s . A t t a c h D o m E v e n t ( w i n d o w , " l o a d " , " A p p l y R T L " ) ; 
 r e t u r n ; 
 } 
 t h i s . F i x I t e m W i d t h I n R T L ( ) ; 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E ) { 
 t h i s . D o m E l e m e n t . d i r = " l t r " ; 
 } 
 i f ( ! t h i s . I s C o n t e x t ) { 
 t h i s . D o m E l e m e n t . c l a s s N a m e + = "   r t l   R a d M e n u _ " + t h i s . S k i n + " _ r t l " ; 
 } e l s e { 
 t h i s . D o m E l e m e n t . c l a s s N a m e + = "   r t l c o n t e x t   R a d M e n u _ " + t h i s . S k i n + " _ r t l " ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . B u i l d S c r o l l O b j e c t = f u n c t i o n ( _ 2 a ) { 
 v a r   _ 2 b = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l = = t h i s . F l o w ; 
 v a r   _ 2 c = { P e r T a b S c r o l l i n g : f a l s e , S c r o l l B u t t o n s P o s i t i o n : 1 , S c r o l l P o s i t i o n : 0 } ; 
 t h i s . S c r o l l = n e w   R a d C o n t r o l s N a m e s p a c e . S c r o l l ( t h i s . C h i l d I t e m L i s t , _ 2 b , _ 2 c ) ; 
 t h i s . S c r o l l . S c r o l l O n H o v e r = t r u e ; 
 t h i s . S c r o l l . L e a v e G a p s F o r A r r o w s = f a l s e ; 
 t h i s . S c r o l l . W r a p N e e d e d = _ 2 a ; 
 i f ( _ 2 b ) { 
 t h i s . S c r o l l . L e f t A r r o w C l a s s = " t o p A r r o w " ; 
 t h i s . S c r o l l . L e f t A r r o w C l a s s D i s a b l e d = " t o p A r r o w D i s a b l e d " ; 
 t h i s . S c r o l l . R i g h t A r r o w C l a s s = " b o t t o m A r r o w " ; 
 t h i s . S c r o l l . R i g h t A r r o w C l a s s D i s a b l e d = " b o t t o m A r r o w D i s a b l e d " ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . I n i t C o n t e x t M e n u = f u n c t i o n ( ) { 
 i f ( t h i s . C h i l d I t e m L i s t . p a r e n t N o d e ! = t h i s . D o m E l e m e n t ) { 
 t h i s . S c r o l l W r a p = t h i s . C h i l d I t e m L i s t . p a r e n t N o d e ; 
 t h i s . B u i l d S c r o l l O b j e c t ( f a l s e ) ; 
 } 
 t h i s . E a s e = n e w   R a d C o n t r o l s N a m e s p a c e . E a s e ( t h i s . S c r o l l W r a p | | t h i s . C h i l d I t e m L i s t , t h i s , 0 , 0 , n u l l , t r u e ) ; 
 i f ( t h i s . E a s e . O v e r l a y . S h i m ) { 
 t h i s . E a s e . O v e r l a y . S h i m . i d = t h i s . D o m E l e m e n t . i d + " I f r a m e O v e r l a y " ; 
 } 
 t h i s . F l o w = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ; 
 t h i s . E a s e . S e t S i d e ( " t o p " ) ; 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s O p e r a ) { 
 t h i s . A t t a c h D o m E v e n t ( d o c u m e n t , " m o u s e d o w n " , " O n C o n t e x t M e n u " ) ; 
 } e l s e { 
 t h i s . A t t a c h D o m E v e n t ( d o c u m e n t , " c o n t e x t m e n u " , " O n C o n t e x t M e n u " ) ; 
 } 
 t h i s . A t t a c h D o m E v e n t ( d o c u m e n t , " c l i c k " , " O n D o c u m e n t C l i c k " ) ; 
 i f ( ! R a d M e n u N a m e s p a c e . C o n t e x t M e n u s ) { 
 R a d M e n u N a m e s p a c e . C o n t e x t M e n u s = { } ; 
 } 
 i f ( ! R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s ) { 
 R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s = { } ; 
 } 
 i f ( t h i s . C o n t e x t M e n u E l e m e n t I D ) { 
 R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s [ t h i s . C o n t e x t M e n u E l e m e n t I D ] = t r u e ; 
 } 
 R a d M e n u N a m e s p a c e . C o n t e x t M e n u s [ t h i s . I D ] = t h i s ; 
 } ; 
 R a d M e n u . p r o t o t y p e . O n C o n t e x t M e n u = f u n c t i o n ( e ) { 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s O p e r a ) { 
 i f ( e . b u t t o n ! = 2 ) { 
 r e t u r n ; 
 } 
 } 
 t h i s . C o n t e x t E l e m e n t = d o c u m e n t . g e t E l e m e n t B y I d ( t h i s . C o n t e x t M e n u E l e m e n t I D ) ; 
 i f ( t h i s . C o n t e x t M e n u E l e m e n t I D & & ! t h i s . C o n t e x t E l e m e n t ) { 
 r e t u r n ; 
 } 
 v a r   _ 2 e = t h i s . E v e n t S o u r c e ( e ) ; 
 i f ( t h i s . C o n t e x t E l e m e n t ) { 
 i f ( _ 2 e = = t h i s . C o n t e x t E l e m e n t | | t h i s . I s C h i l d O f ( t h i s . C o n t e x t E l e m e n t , _ 2 e ) ) { 
 t h i s . S h o w ( e ) ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . S t o p P r o p a g a t i o n ( e ) ; 
 } 
 } e l s e { 
 i f ( ! R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s [ _ 2 e . i d ] ) { 
 t h i s . S h o w ( e ) ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . S t o p P r o p a g a t i o n ( e ) ; 
 } 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . I s C h i l d O f = f u n c t i o n ( _ 2 f , _ 3 0 ) { 
 i f ( _ 3 0 = = _ 2 f ) { 
 r e t u r n   f a l s e ; 
 } 
 w h i l e ( _ 3 0 & & ( _ 3 0 ! = d o c u m e n t . b o d y ) ) { 
 i f ( _ 3 0 = = _ 2 f ) { 
 r e t u r n   t r u e ; 
 } 
 t r y { 
 _ 3 0 = _ 3 0 . p a r e n t N o d e ; 
 } 
 c a t c h ( e ) { 
 r e t u r n   f a l s e ; 
 } 
 } 
 r e t u r n   f a l s e ; 
 } ; 
 R a d M e n u . p r o t o t y p e . O n D o c u m e n t C l i c k = f u n c t i o n ( e ) { 
 v a r   _ 3 2 = t h i s . E v e n t S o u r c e ( e ) ; 
 i f ( t h i s . I s C h i l d O f ( t h i s . D o m E l e m e n t , _ 3 2 ) ) { 
 i f ( t h i s . C l i c k T o O p e n ) { 
 r e t u r n ; 
 } 
 i f ( ! t h i s . I s C h i l d O f M e n u I t e m ( _ 3 2 ) ) { 
 r e t u r n ; 
 } 
 } 
 t h i s . H i d e ( ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . I s C h i l d O f M e n u I t e m = f u n c t i o n ( _ 3 3 ) { 
 v a r   _ 3 4 = _ 3 3 . t a g N a m e . t o L o w e r C a s e ( ) ; 
 v a r   _ 3 5 = _ 3 3 . c l a s s N a m e ; 
 i f ( _ 3 4 = = " s p a n " & & _ 3 5 . i n d e x O f ( " t e x t " ) > - 1 ) { 
 r e t u r n   t r u e ; 
 } 
 i f ( _ 3 4 = = " a " & & _ 3 5 . i n d e x O f ( " l i n k " ) > - 1 ) { 
 r e t u r n   t r u e ; 
 } 
 i f ( _ 3 4 = = " i m g " & & _ 3 5 = = " l e f t I m a g e " ) { 
 r e t u r n   t r u e ; 
 } 
 r e t u r n   f a l s e ; 
 } ; 
 R a d M e n u . p r o t o t y p e . E n a b l e = f u n c t i o n ( ) { 
 t h i s . E n a b l e d = t r u e ; 
 t h i s . D o m E l e m e n t . d i s a b l e d = " " ; 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 t h i s . A l l I t e m s [ i ] . E n a b l e ( ) ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . D i s a b l e = f u n c t i o n ( ) { 
 t h i s . E n a b l e d = f a l s e ; 
 t h i s . D o m E l e m e n t . d i s a b l e d = " d i s a b l e d " ; 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 t h i s . A l l I t e m s [ i ] . D i s a b l e ( ) ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . F o c u s = f u n c t i o n ( ) { 
 t h i s . D o m E l e m e n t . f o c u s ( ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . D i s p o s e = f u n c t i o n ( ) { 
 i f ( t h i s . D i s p o s e d ) { 
 r e t u r n ; 
 } 
 t h i s . D i s p o s e d = t r u e ; 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 t h i s . A l l I t e m s [ i ] . D i s p o s e ( ) ; 
 } 
 i f ( t h i s . D e t a c h e d & & t h i s . D o m E l e m e n t ) { 
 i f ( t h i s . D o m E l e m e n t . p a r e n t N o d e ) { 
 t h i s . D o m E l e m e n t . p a r e n t N o d e . r e m o v e C h i l d ( t h i s . D o m E l e m e n t ) ; 
 } 
 } 
 i f ( t h i s . D o m E l e m e n t ) { 
 t h i s . D o m E l e m e n t . R a d S h o w = n u l l ; 
 } 
 t h i s . D o m E l e m e n t = n u l l ; 
 t h i s . C h i l d I t e m L i s t = n u l l ; 
 t h i s . S t a t e F i e l d = n u l l ; 
 t h i s . D i s p o s e D o m E v e n t H a n d l e r s ( ) ; 
 i f ( t h i s . I s C o n t e x t & & R a d M e n u N a m e s p a c e . C o n t e x t M e n u s ) { 
 R a d M e n u N a m e s p a c e . C o n t e x t M e n u s [ t h i s . I D ] = n u l l ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . C r e a t e M e n u I t e m = f u n c t i o n ( _ 3 9 , _ 3 a ) { 
 v a r   _ 3 b = n e w   R a d M e n u I t e m ( _ 3 a ) ; 
 t h i s . A d d I t e m T o P a r e n t ( _ 3 9 , _ 3 b ) ; 
 r e t u r n   _ 3 b ; 
 } ; 
 R a d M e n u . p r o t o t y p e . A d d I t e m T o P a r e n t = f u n c t i o n ( _ 3 c , _ 3 d ) { 
 _ 3 d . I n d e x = _ 3 c . I t e m s . l e n g t h ; 
 _ 3 c . I t e m s [ _ 3 c . I t e m s . l e n g t h ] = _ 3 d ; 
 _ 3 d . G l o b a l I n d e x = t h i s . A l l I t e m s . l e n g t h ; 
 t h i s . A l l I t e m s [ t h i s . A l l I t e m s . l e n g t h ] = _ 3 d ; 
 _ 3 d . P a r e n t = _ 3 c ; 
 _ 3 d . M e n u = t h i s ; 
 } ; 
 R a d M e n u . p r o t o t y p e . C r e a t e C o n t r o l H i e r a r c h y = f u n c t i o n ( _ 3 e , _ 3 f ) { 
 _ 3 e . L e v e l = _ 3 f ; 
 v a r   _ 4 0 = _ 3 e . C h i l d I t e m L i s t ; 
 i f ( ! _ 4 0 ) { 
 r e t u r n ; 
 } 
 f o r ( v a r   i = 0 ; i < _ 4 0 . c h i l d N o d e s . l e n g t h ; i + + ) { 
 v a r   _ 4 2 = _ 4 0 . c h i l d N o d e s [ i ] ; 
 i f ( _ 4 2 . n o d e T y p e = = 3 ) { 
 c o n t i n u e ; 
 } 
 v a r   _ 4 3 = t h i s . C r e a t e M e n u I t e m ( _ 3 e , _ 4 2 ) ; 
 _ 4 3 . I n i t i a l i z e ( ) ; 
 i f ( _ 3 f = = 0 ) { 
 _ 4 3 . P o s t I n i t i a l i z e ( ) ; 
 } 
 t h i s . C r e a t e C o n t r o l H i e r a r c h y ( _ 4 3 , _ 3 f + 1 ) ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . F i x I t e m W i d t h I n R T L = f u n c t i o n ( ) { 
 v a r   _ 4 4 = 0 ; 
 v a r   _ 4 5 = 0 ; 
 v a r   u l = t h i s . C h i l d I t e m L i s t ; 
 f o r ( v a r   i = 0 ; i < u l . c h i l d N o d e s . l e n g t h ; i + + ) { 
 v a r   l i = u l . c h i l d N o d e s [ i ] ; 
 i f ( l i . n o d e T y p e = = 3 ) { 
 c o n t i n u e ; 
 } 
 v a r   _ 4 9 = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( l i , " a " ) ; 
 i f ( ! _ 4 9 ) { 
 c o n t i n u e ; 
 } 
 i f ( t h i s . R i g h t T o L e f t ) { 
 v a r   _ 4 a = _ 4 9 . g e t E l e m e n t s B y T a g N a m e ( " i m g " ) [ 0 ] ; 
 i f ( _ 4 a ) { 
 _ 4 a . s t y l e . s t y l e F l o a t = " l e f t " ; 
 } 
 } 
 _ 4 4 = M a t h . m a x ( R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r W i d t h ( _ 4 9 ) , _ 4 4 ) ; 
 i f ( t h i s . R i g h t T o L e f t ) { 
 v a r   _ 4 a = _ 4 9 . g e t E l e m e n t s B y T a g N a m e ( " i m g " ) [ 0 ] ; 
 i f ( _ 4 a ) { 
 _ 4 a . s t y l e . s t y l e F l o a t = " r i g h t " ; 
 } 
 } 
 } 
 f o r ( v a r   i = 0 ; i < u l . c h i l d N o d e s . l e n g t h ; i + + ) { 
 v a r   l i = u l . c h i l d N o d e s [ i ] ; 
 i f ( l i . n o d e T y p e = = 3 ) { 
 c o n t i n u e ; 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s O p e r a ) { 
 l i . s t y l e . c s s F l o a t = " n o n e " ; 
 } 
 v a r   a = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( l i , " a " ) ; 
 i f ( ! a ) { 
 c o n t i n u e ; 
 } 
 v a r   _ 4 c = ! R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( a , " s p a n " ) . f i r s t C h i l d ; 
 i f ( ! R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E | | ! _ 4 c ) { 
 R a d C o n t r o l s N a m e s p a c e . B o x . S e t O u t e r W i d t h ( a , R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r W i d t h ( a ) ) ; 
 } 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s S a f a r i ) { 
 u l . s t y l e . w i d t h = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( u l , " l i " ) . o f f s e t W i d t h + " p x " ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . F i x I t e m W i d t h = f u n c t i o n ( _ 4 d ) { 
 v a r   _ 4 e = 0 ; 
 v a r   u l = _ 4 d . C h i l d I t e m L i s t ; 
 v a r   _ 5 0 = n u l l ; 
 f o r ( v a r   i = 0 ; i < u l . c h i l d N o d e s . l e n g t h ; i + + ) { 
 v a r   l i = u l . c h i l d N o d e s [ i ] ; 
 i f ( l i . n o d e T y p e = = 3 ) { 
 c o n t i n u e ; 
 } 
 v a r   _ 5 3 = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( l i , " a " ) ; 
 i f ( ! _ 5 3 ) { 
 _ 5 3 = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( l i , " d i v " ) ; 
 i f ( ! _ 5 3 ) { 
 c o n t i n u e ; 
 } 
 } 
 i f ( t h i s . R i g h t T o L e f t ) { 
 v a r   _ 5 4 = _ 5 3 . g e t E l e m e n t s B y T a g N a m e ( " i m g " ) [ 0 ] ; 
 i f ( _ 5 4 ) { 
 _ 5 4 . s t y l e . s t y l e F l o a t = " l e f t " ; 
 _ 5 4 . s t y l e . c s s F l o a t = " l e f t " ; 
 } 
 } 
 v a r   _ 5 5 = R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r W i d t h ( _ 5 3 ) ; 
 i f ( i s N a N ( _ 5 5 ) ) { 
 c o n t i n u e ; 
 } 
 i f ( _ 5 5 > _ 4 e ) { 
 _ 4 e = _ 5 5 ; 
 _ 5 0 = l i ; 
 } 
 i f ( t h i s . R i g h t T o L e f t ) { 
 v a r   _ 5 4 = _ 5 3 . g e t E l e m e n t s B y T a g N a m e ( " i m g " ) [ 0 ] ; 
 i f ( _ 5 4 ) { 
 _ 5 4 . s t y l e . s t y l e F l o a t = " r i g h t " ; 
 _ 5 4 . s t y l e . c s s F l o a t = " r i g h t " ; 
 } 
 } 
 } 
 v a r   _ 5 6 = 0 ; 
 f o r ( v a r   i = 0 ; i < u l . c h i l d N o d e s . l e n g t h ; i + + ) { 
 v a r   l i = u l . c h i l d N o d e s [ i ] ; 
 i f ( l i . n o d e T y p e = = 3 ) { 
 c o n t i n u e ; 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s O p e r a ) { 
 l i . s t y l e . c s s F l o a t = " n o n e " ; 
 } 
 v a r   a = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( l i , " a " ) ; 
 i f ( a ) { 
 v a r   _ 5 8 = ! R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( a , " s p a n " ) . f i r s t C h i l d ; 
 i f ( ! R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E | | ! _ 5 8 ) { 
 i f ( a . s t y l e . d i s p l a y ! = " n o n e " ) { 
 i f ( _ 5 6 > 0 ) { 
 a . s t y l e . w i d t h = _ 5 6 + " p x " ; 
 } e l s e { 
 _ 5 6 = R a d C o n t r o l s N a m e s p a c e . B o x . S e t O u t e r W i d t h ( a , _ 4 e ) ; 
 } 
 } 
 } 
 } e l s e { 
 l i . s t y l e . w i d t h = _ 4 e + " p x " ; 
 } 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s S a f a r i ) { 
 i f ( _ 5 0 ) { 
 u l . s t y l e . w i d t h = _ 5 0 . o f f s e t W i d t h + " p x " ; 
 } 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . F i x R o o t I t e m W i d t h = f u n c t i o n ( ) { 
 v a r   _ 5 9 = t h i s ; 
 v a r   _ 5 a = f u n c t i o n ( ) { 
 _ 5 9 . F i x I t e m W i d t h ( _ 5 9 ) ; 
 } ; 
 i f ( t h i s . R e n d e r I n P r o g r e s s ( ) | | R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s O p e r a | | R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s S a f a r i ) { 
 i f ( w i n d o w . a d d E v e n t L i s t e n e r ) { 
 w i n d o w . a d d E v e n t L i s t e n e r ( " l o a d " , _ 5 a , f a l s e ) ; 
 } e l s e { 
 w i n d o w . a t t a c h E v e n t ( " o n l o a d " , _ 5 a ) ; 
 } 
 } e l s e { 
 _ 5 a ( ) ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . F i x L i s t W i d t h = f u n c t i o n ( _ 5 b ) { 
 i f ( t h i s . R i g h t T o L e f t ) { 
 t h i s . F i x I t e m W i d t h ( _ 5 b ) ; 
 } 
 v a r   _ 5 c = 0 ; 
 v a r   u l = _ 5 b . C h i l d I t e m L i s t ; 
 f o r ( v a r   i = 0 ; i < u l . c h i l d N o d e s . l e n g t h ; i + + ) { 
 v a r   _ 5 f = u l . c h i l d N o d e s [ i ] ; 
 i f ( _ 5 f . n o d e T y p e = = 3 ) { 
 c o n t i n u e ; 
 } 
 _ 5 c + = _ 5 f . o f f s e t W i d t h ; 
 _ 5 f . s t y l e . c l e a r = " n o n e " ; 
 } 
 u l . s t y l e . w i d t h = _ 5 c + " p x " ; 
 } ; 
 R a d M e n u . p r o t o t y p e . L o a d C o n f i g u r a t i o n = f u n c t i o n ( _ 6 0 ) { 
 f o r ( v a r   _ 6 1   i n   _ 6 0 ) { 
 t h i s [ _ 6 1 ] = _ 6 0 [ _ 6 1 ] ; 
 } 
 i f ( ! t h i s . D e f a u l t G r o u p S e t t i n g s ) { 
 t h i s . D e f a u l t G r o u p S e t t i n g s = { } ; 
 } 
 i f ( t y p e o f   t h i s . D e f a u l t G r o u p S e t t i n g s . F l o w = = " u n d e f i n e d " ) { 
 t h i s . D e f a u l t G r o u p S e t t i n g s . F l o w = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ; 
 } 
 i f ( t y p e o f   t h i s . D e f a u l t G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = = " u n d e f i n e d " ) { 
 t h i s . D e f a u l t G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . A u t o ; 
 } 
 i f ( t y p e o f   t h i s . D e f a u l t G r o u p S e t t i n g s . O f f s e t X = = " u n d e f i n e d " ) { 
 t h i s . D e f a u l t G r o u p S e t t i n g s . O f f s e t X = 0 ; 
 } 
 i f ( t y p e o f   t h i s . D e f a u l t G r o u p S e t t i n g s . O f f s e t Y = = " u n d e f i n e d " ) { 
 t h i s . D e f a u l t G r o u p S e t t i n g s . O f f s e t Y = 0 ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . C l o s e = f u n c t i o n ( _ 6 2 ) { 
 i f ( t h i s . O p e n e d I t e m ) { 
 t h i s . O p e n e d I t e m . C l o s e ( ) ; 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . F i n d I t e m B y T e x t = f u n c t i o n ( _ 6 3 ) { 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 i f ( t h i s . A l l I t e m s [ i ] . T e x t = = _ 6 3 ) { 
 r e t u r n   t h i s . A l l I t e m s [ i ] ; 
 } 
 } 
 r e t u r n   n u l l ; 
 } ; 
 R a d M e n u . p r o t o t y p e . F i n d I t e m B y I d = f u n c t i o n ( i d ) { 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 i f ( t h i s . A l l I t e m s [ i ] . I D = = i d ) { 
 r e t u r n   t h i s . A l l I t e m s [ i ] ; 
 } 
 } 
 r e t u r n   n u l l ; 
 } ; 
 R a d M e n u . p r o t o t y p e . F i n d I t e m B y V a l u e = f u n c t i o n ( _ 6 7 ) { 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 i f ( t h i s . A l l I t e m s [ i ] . V a l u e = = _ 6 7 ) { 
 r e t u r n   t h i s . A l l I t e m s [ i ] ; 
 } 
 } 
 r e t u r n   n u l l ; 
 } ; 
 R a d M e n u . p r o t o t y p e . F i n d I t e m B y U r l = f u n c t i o n ( u r l ) { 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 i f ( t h i s . A l l I t e m s [ i ] . N a v i g a t e U r l = = u r l ) { 
 r e t u r n   t h i s . A l l I t e m s [ i ] ; 
 } 
 } 
 r e t u r n   n u l l ; 
 } ; 
 R a d M e n u . p r o t o t y p e . S e t C o n t e x t E l e m e n t I D = f u n c t i o n ( i d ) { 
 i f ( ! R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s ) { 
 R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s = { } ; 
 } 
 i f ( t h i s . C o n t e x t M e n u E l e m e n t I D ) { 
 R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s [ t h i s . C o n t e x t M e n u E l e m e n t I D ] = f a l s e ; 
 } 
 t h i s . C o n t e x t M e n u E l e m e n t I D = i d ; 
 R a d M e n u N a m e s p a c e . C o n t e x t E l e m e n t s [ t h i s . C o n t e x t M e n u E l e m e n t I D ] = f a l s e ; 
 } ; 
 R a d M e n u . p r o t o t y p e . R e c o r d S t a t e = f u n c t i o n ( ) { 
 i f ( t h i s . I n U p d a t e | | ! t h i s . I n i t i a l i z e d ) { 
 r e t u r n ; 
 } 
 v a r   _ 6 c = R a d C o n t r o l s N a m e s p a c e . J S O N . s t r i n g i f y ( t h i s , t h i s . I n i t i a l S t a t e , R a d M e n u . J S O N I n c l u d e D e e p ) ; 
 v a r   _ 6 d = [ ] ; 
 f o r ( v a r   i   i n   t h i s . I t e m S t a t e ) { 
 i f ( t h i s . I t e m S t a t e [ i ] = = " " ) { 
 c o n t i n u e ; 
 } 
 i f ( t y p e o f   t h i s . I t e m S t a t e [ i ] = = " f u n c t i o n " ) { 
 c o n t i n u e ; 
 } 
 _ 6 d [ _ 6 d . l e n g t h ] = t h i s . I t e m S t a t e [ i ] ; 
 } 
 t h i s . S t a t e F i e l d . v a l u e = " { \ " S t a t e \ " : " + _ 6 c + " , \ " I t e m S t a t e \ " : { " + _ 6 d . j o i n ( " , " ) + " } } " ; 
 } ; 
 R a d M e n u . p r o t o t y p e . P e r s i s t C l i e n t S i d e I t e m s = f u n c t i o n ( ) { 
 f o r ( v a r   i = 0 ; i < t h i s . A l l I t e m s . l e n g t h ; i + + ) { 
 v a r   _ 7 0 = t h i s . A l l I t e m s [ i ] ; 
 i f ( _ 7 0 . C l i e n t S i d e ) { 
 _ 7 0 . R e c o r d S t a t e ( t r u e ) ; 
 } 
 } 
 } ; 
 R a d M e n u . p r o t o t y p e . S e t A t t r i b u t e = f u n c t i o n ( _ 7 1 , _ 7 2 ) { 
 t h i s . A t t r i b u t e s [ _ 7 1 ] = _ 7 2 ; 
 t h i s . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . G e t A t t r i b u t e = f u n c t i o n ( _ 7 3 ) { 
 r e t u r n   t h i s . A t t r i b u t e s [ _ 7 3 ] ; 
 } ; 
 R a d M e n u . C r e a t e C h i l d I t e m C o n t a i n e r = f u n c t i o n ( _ 7 4 ) { 
 v a r   _ 7 5 = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ; 
 _ 7 5 . c l a s s N a m e = " s l i d e " ; 
 _ 7 4 . D o m E l e m e n t . a p p e n d C h i l d ( _ 7 5 ) ; 
 v a r   _ 7 6 = d o c u m e n t . c r e a t e E l e m e n t ( " u l " ) ; 
 i f ( _ 7 4 . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . H o r i z o n t a l ) { 
 _ 7 6 . c l a s s N a m e = " h o r i z o n t a l   g r o u p   l e v e l " + _ 7 4 . L e v e l ; 
 } e l s e { 
 _ 7 6 . c l a s s N a m e = " v e r t i c a l   g r o u p   l e v e l " + _ 7 4 . L e v e l ; 
 } 
 _ 7 5 . a p p e n d C h i l d ( _ 7 6 ) ; 
 } ; 
 R a d M e n u . p r o t o t y p e . A d d I t e m = f u n c t i o n ( _ 7 7 ) { 
 v a r   _ 7 8 = d o c u m e n t . c r e a t e E l e m e n t ( " l i " ) ; 
 _ 7 8 . c l a s s N a m e = " i t e m   l a s t " ; 
 v a r   _ 7 9 = d o c u m e n t . c r e a t e E l e m e n t ( " a " ) ; 
 _ 7 9 . c l a s s N a m e = " l i n k " ; 
 v a r   _ 7 a = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ; 
 _ 7 a . c l a s s N a m e = " t e x t " ; 
 _ 7 9 . a p p e n d C h i l d ( _ 7 a ) ; 
 _ 7 8 . a p p e n d C h i l d ( _ 7 9 ) ; 
 _ 7 7 . S e t D o m E l e m e n t ( _ 7 8 ) ; 
 v a r   _ 7 b = t h i s . M e n u | | t h i s ; 
 i f ( _ 7 b ! = t h i s & & t h i s . I t e m s . l e n g t h = = 0 ) { 
 R a d M e n u . C r e a t e C h i l d I t e m C o n t a i n e r ( t h i s ) ; 
 t h i s . I n i t i a l i z e D o m E l e m e n t s ( ) ; 
 t h i s . I n i t i a l i z e A n i m a t i o n ( ) ; 
 } 
 t h i s . C h i l d I t e m L i s t . a p p e n d C h i l d ( _ 7 8 ) ; 
 _ 7 b . A d d I t e m T o P a r e n t ( t h i s , _ 7 7 ) ; 
 _ 7 7 . L e v e l = t h i s . L e v e l + 1 ; 
 v a r   _ 7 c = _ 7 7 . T e x t ; 
 _ 7 7 . T e x t = " " ; 
 _ 7 7 . I D = t h i s . I D + " _ m " + ( t h i s . I t e m s . l e n g t h - 1 ) ; 
 _ 7 7 . I n i t i a l i z e ( ) ; 
 _ 7 7 . S e t T e x t ( _ 7 c ) ; 
 i f ( t h i s . M e n u ) { 
 _ 7 7 . P a r e n t C l i e n t I D = t h i s . I D ; 
 } 
 _ 7 9 . h r e f = " # " ; 
 i f ( t h i s . I t e m s . l e n g t h > 1 ) { 
 v a r   _ 7 d = t h i s . I t e m s [ t h i s . I t e m s . l e n g t h - 2 ] . D o m E l e m e n t ; 
 _ 7 d . c l a s s N a m e = _ 7 d . c l a s s N a m e . r e p l a c e ( "   l a s t " , " " ) ; 
 } 
 } ; ; f u n c t i o n   R a d M e n u I t e m ( _ 1 ) { 
 i f ( _ 1 ) { 
 t h i s . S e t D o m E l e m e n t ( _ 1 ) ; 
 } e l s e { 
 t h i s . C l i e n t S i d e = t r u e ; 
 } 
 t h i s . I s S e p a r a t o r = f a l s e ; 
 t h i s . A n i m a t i o n C o n t a i n e r = n u l l ; 
 t h i s . O p e n e d I t e m = n u l l ; 
 t h i s . F o c u s e d I t e m = n u l l ; 
 t h i s . I t e m s = [ ] ; 
 t h i s . A t t r i b u t e s = { } ; 
 t h i s . I n d e x = - 1 ; 
 t h i s . L e v e l = - 1 ; 
 t h i s . P a r e n t = n u l l ; 
 t h i s . M e n u = n u l l ; 
 t h i s . G r o u p S e t t i n g s = { } ; 
 t h i s . T i m e o u t P o i n t e r = n u l l ; 
 t h i s . T e m p l a t e d = f a l s e ; 
 t h i s . N a v i g a t e A f t e r C l i c k = t r u e ; 
 t h i s . F o c u s e d C s s C l a s s = " f o c u s e d " ; 
 t h i s . C l i c k e d C s s C l a s s = " c l i c k e d " ; 
 t h i s . E x p a n d e d C s s C l a s s = " e x p a n d e d " ; 
 t h i s . D i s a b l e d C s s C l a s s = " d i s a b l e d " ; 
 t h i s . C s s C l a s s = " " ; 
 t h i s . S t a t e = R a d M e n u I t e m S t a t e . C l o s e d ; 
 t h i s . F o c u s e d = f a l s e ; 
 t h i s . C l i c k e d = f a l s e ; 
 t h i s . E n a b l e d = t r u e ; 
 t h i s . I n i t i a l i z e d = f a l s e ; 
 } 
 R a d M e n u I t e m . p r o t o t y p e . S e t D o m E l e m e n t = f u n c t i o n ( _ 2 ) { 
 t h i s . D o m E l e m e n t = _ 2 ; 
 t h i s . L i n k E l e m e n t = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( t h i s . D o m E l e m e n t , " a " ) ; 
 i f ( t h i s . L i n k E l e m e n t = = n u l l ) { 
 t h i s . I D = t h i s . D o m E l e m e n t . i d ; 
 t h i s . T e x t E l e m e n t = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( t h i s . D o m E l e m e n t , " s p a n " ) ; 
 t h i s . N a v i g a t e U r l = " " ; 
 } e l s e { 
 t h i s . I D = t h i s . L i n k E l e m e n t . i d ; 
 t h i s . T e x t E l e m e n t = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( t h i s . L i n k E l e m e n t , " s p a n " ) ; 
 t h i s . N a v i g a t e U r l = t h i s . L i n k E l e m e n t . h r e f ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . P o s t I n i t i a l i z e I t e m s = f u n c t i o n ( ) { 
 f o r ( v a r   i = 0 ; i < t h i s . I t e m s . l e n g t h ; i + + ) { 
 t h i s . I t e m s [ i ] . P o s t I n i t i a l i z e ( ) ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t T e x t = f u n c t i o n ( _ 4 ) { 
 t h i s . P o s t I n i t i a l i z e ( ) ; 
 t h i s . T e x t E l e m e n t . i n n e r H T M L = _ 4 ; 
 t h i s . T e x t = _ 4 ; 
 t h i s . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t N a v i g a t e U r l = f u n c t i o n ( _ 5 ) { 
 t h i s . P o s t I n i t i a l i z e ( ) ; 
 t h i s . L i n k E l e m e n t . s e t A t t r i b u t e ( " h r e f " , _ 5 ) ; 
 t h i s . N a v i g a t e U r l = _ 5 ; 
 t h i s . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t V a l u e = f u n c t i o n ( _ 6 ) { 
 t h i s . P o s t I n i t i a l i z e ( ) ; 
 t h i s . V a l u e = _ 6 ; 
 t h i s . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . I n i t i a l i z e D o m E l e m e n t s = f u n c t i o n ( ) { 
 i f ( ! t h i s . T e m p l a t e d ) { 
 t h i s . A n i m a t i o n C o n t a i n e r = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( t h i s . D o m E l e m e n t , " d i v " ) ; 
 t h i s . I m a g e E l e m e n t = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( t h i s . L i n k E l e m e n t | | t h i s . D o m E l e m e n t , " i m g " ) ; 
 i f ( t h i s . I m a g e E l e m e n t ) { 
 t h i s . I m a g e U r l = t h i s . I m a g e E l e m e n t . s r c ; 
 } 
 } e l s e { 
 t h i s . T e x t E l e m e n t = R a d M e n u . G e t F i r s t C h i l d B y T a g N a m e ( t h i s . D o m E l e m e n t , " d i v " ) ; 
 t h i s . A n i m a t i o n C o n t a i n e r = t h i s . T e x t E l e m e n t . n e x t S i b l i n g ; 
 } 
 i f ( t h i s . A n i m a t i o n C o n t a i n e r ) { 
 v a r   u l = t h i s . A n i m a t i o n C o n t a i n e r . g e t E l e m e n t s B y T a g N a m e ( " u l " ) [ 0 ] ; 
 t h i s . C h i l d I t e m L i s t = u l ; 
 i f ( t h i s . C h i l d I t e m L i s t . p a r e n t N o d e ! = t h i s . A n i m a t i o n C o n t a i n e r ) { 
 t h i s . S c r o l l W r a p = t h i s . C h i l d I t e m L i s t . p a r e n t N o d e ; 
 } 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . I n i t i a l i z e A n i m a t i o n = f u n c t i o n ( ) { 
 t h i s . D e t e r m i n e E x p a n d D i r e c t i o n ( ) ; 
 i f ( ! t h i s . A n i m a t i o n C o n t a i n e r ) { 
 r e t u r n ; 
 } 
 t h i s . E a s e = n e w   R a d C o n t r o l s N a m e s p a c e . E a s e ( t h i s . S c r o l l W r a p | | t h i s . C h i l d I t e m L i s t , t h i s . M e n u , t h i s . G r o u p S e t t i n g s . O f f s e t X , t h i s . G r o u p S e t t i n g s . O f f s e t Y , t h i s , t r u e ) ; 
 i f ( t h i s . E a s e . O v e r l a y . S h i m & & t h i s . L i n k E l e m e n t ) { 
 t h i s . E a s e . O v e r l a y . S h i m . i d = t h i s . L i n k E l e m e n t . i d + " I f r a m e O v e r l a y " ; 
 } 
 v a r   _ 8 = t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n ; 
 v a r   _ 9 = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n P r o p e r t y N a m e [ _ 8 ] ; 
 t h i s . E a s e . S e t S i d e ( _ 9 ) ; 
 t h i s . T e x t E l e m e n t . c l a s s N a m e = " t e x t   e x p a n d " + t h i s . E a s e . G e t S i d e ( ) ; 
 t h i s . A n i m a t i o n C o n t a i n e r . s t y l e . z I n d e x = t h i s . G l o b a l I n d e x + 1 0 ; 
 t h i s . C h i l d I t e m L i s t . s t y l e . z I n d e x = t h i s . G l o b a l I n d e x + 1 0 ; 
 i f ( t h i s . S c r o l l W r a p ) { 
 t h i s . C r e a t e S c r o l l ( ) ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . I n i t i a l i z e = f u n c t i o n ( ) { 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t M i x i n . I n i t i a l i z e ( t h i s ) ; 
 t h i s . L o a d C o n f i g u r a t i o n ( ) ; 
 t h i s . I n i t i a l i z e D o m E l e m e n t s ( ) ; 
 i f ( t h i s . T e x t E l e m e n t & & t h i s . T e x t E l e m e n t . f i r s t C h i l d ) { 
 t h i s . T e x t = t h i s . T e x t E l e m e n t . f i r s t C h i l d . n o d e V a l u e ; 
 } 
 t h i s . O r i g i n a l Z I n d e x = M a t h . m a x ( t h i s . D o m E l e m e n t . s t y l e . z I n d e x , t h i s . M e n u . O r i g i n a l Z I n d e x ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . P o s t I n i t i a l i z e = f u n c t i o n ( ) { 
 i f ( t h i s . I n i t i a l i z e d ) { 
 r e t u r n ; 
 } 
 t h i s . I n i t i a l i z e A n i m a t i o n ( ) ; 
 t h i s . A t t a c h E v e n t H a n d l e r s ( ) ; 
 t h i s . R e n d e r A c c e s s K e y ( ) ; 
 R a d M e n u . C r e a t e S t a t e ( t h i s ) ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 t h i s . I n i t i a l i z e d = t r u e ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . R e n d e r A c c e s s K e y = f u n c t i o n ( ) { 
 i f ( t h i s . I s S e p a r a t o r | | t h i s . T e m p l a t e d ) { 
 r e t u r n ; 
 } 
 v a r   _ a = t h i s . L i n k E l e m e n t . a c c e s s K e y . t o L o w e r C a s e ( ) ; 
 i f ( ! _ a ) { 
 r e t u r n ; 
 } 
 v a r   _ b = t h i s . T e x t E l e m e n t . f i r s t C h i l d . n o d e V a l u e ; 
 v a r   _ c = _ b . t o L o w e r C a s e ( ) . i n d e x O f ( _ a ) ; 
 i f ( _ c = = - 1 ) { 
 r e t u r n ; 
 } 
 t h i s . T e x t E l e m e n t . i n n e r H T M L = _ b . s u b s t r ( 0 , _ c ) + " < u > " + _ b . s u b s t r ( _ c , 1 ) + " < / u > " + _ b . s u b s t r ( _ c + 1 , _ b . l e n g t h ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . C r e a t e S c r o l l = f u n c t i o n ( ) { 
 t h i s . S c r o l l W r a p . s t y l e . z I n d e x = t h i s . G l o b a l I n d e x + 1 0 ; 
 t h i s . B u i l d S c r o l l O b j e c t ( f a l s e ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . B u i l d S c r o l l O b j e c t = f u n c t i o n ( _ d ) { 
 v a r   _ e = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l = = t h i s . G r o u p S e t t i n g s . F l o w ; 
 v a r   _ f = { P e r T a b S c r o l l i n g : f a l s e , S c r o l l B u t t o n s P o s i t i o n : 1 , S c r o l l P o s i t i o n : 0 } ; 
 t h i s . S c r o l l = n e w   R a d C o n t r o l s N a m e s p a c e . S c r o l l ( t h i s . C h i l d I t e m L i s t , _ e , _ f ) ; 
 t h i s . S c r o l l . S c r o l l O n H o v e r = t r u e ; 
 t h i s . S c r o l l . L e a v e G a p s F o r A r r o w s = f a l s e ; 
 t h i s . S c r o l l . W r a p N e e d e d = _ d ; 
 i f ( t h i s . G r o u p S e t t i n g s . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 t h i s . S c r o l l . L e f t A r r o w C l a s s = " t o p A r r o w " ; 
 t h i s . S c r o l l . L e f t A r r o w C l a s s D i s a b l e d = " t o p A r r o w D i s a b l e d " ; 
 t h i s . S c r o l l . R i g h t A r r o w C l a s s = " b o t t o m A r r o w " ; 
 t h i s . S c r o l l . R i g h t A r r o w C l a s s D i s a b l e d = " b o t t o m A r r o w D i s a b l e d " ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . C r e a t e R u n t i m e S c r o l l = f u n c t i o n ( _ 1 0 ) { 
 i f ( t h i s . S c r o l l ) { 
 t h i s . S c r o l l . S e t H e i g h t ( _ 1 0 ) ; 
 r e t u r n ; 
 } 
 t h i s . B u i l d S c r o l l O b j e c t ( t r u e ) ; 
 t h i s . S c r o l l . I n i t i a l i z e ( ) ; 
 t h i s . S c r o l l W r a p = t h i s . C h i l d I t e m L i s t . p a r e n t N o d e ; 
 t h i s . E a s e . E l e m e n t = t h i s . S c r o l l W r a p ; 
 t h i s . E a s e . O v e r l a y . E l e m e n t = t h i s . S c r o l l W r a p ; 
 t h i s . S c r o l l W r a p . c l a s s N a m e = " s c r o l l W r a p " ; 
 t h i s . S c r o l l . S e t H e i g h t ( _ 1 0 ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . D i s p o s e = f u n c t i o n ( ) { 
 i f ( ! t h i s . I n i t i a l i z e d ) { 
 r e t u r n ; 
 } 
 t h i s . D i s p o s e D o m E v e n t H a n d l e r s ( ) ; 
 i f ( t h i s . E a s e ) { 
 t h i s . E a s e . D i s p o s e ( ) ; 
 } 
 t h i s . D o m E l e m e n t = n u l l ; 
 t h i s . L i n k E l e m e n t = n u l l ; 
 t h i s . A n i m a t i o n C o n t a i n e r = n u l l ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . F o c u s = f u n c t i o n ( ) { 
 i f ( ! t h i s . C a n F o c u s ( ) ) { 
 r e t u r n ; 
 } 
 t h i s . P o s t I n i t i a l i z e I t e m s ( ) ; 
 i f ( t h i s . P a r e n t . O p e n e d I t e m & & t h i s . P a r e n t . O p e n e d I t e m ! = t h i s ) { 
 t h i s . P a r e n t . O p e n e d I t e m . C l o s e ( ) ; 
 } 
 i f ( t h i s . P a r e n t . S t a t e ! = R a d M e n u I t e m S t a t e . O p e n & & t h i s . P a r e n t . O p e n ) { 
 t h i s . P a r e n t . O p e n ( ) ; 
 } 
 t h i s . P a r e n t . F o c u s e d I t e m = t h i s ; 
 i f ( ! t h i s . F o c u s e d & & t h i s . L i n k E l e m e n t ) { 
 t h i s . L i n k E l e m e n t . f o c u s ( ) ; 
 } 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 t h i s . R a i s e E v e n t ( " O n C l i e n t I t e m F o c u s " ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H i d e = f u n c t i o n ( ) { 
 i f ( t h i s . L i n k E l e m e n t ) { 
 t h i s . L i n k E l e m e n t . s t y l e . d i s p l a y = " n o n e " ; 
 } e l s e { 
 t h i s . T e x t E l e m e n t . s t y l e . d i s p l a y = " n o n e " ; 
 } 
 i f ( t h i s . P a r e n t . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 v a r   _ 1 1 = t h i s . P a r e n t . I t e m s ; 
 f o r ( v a r   i = 0 ; i < _ 1 1 . l e n g t h ; i + + ) { 
 i f ( _ 1 1 [ i ] ! = t h i s ) { 
 i f ( _ 1 1 [ i ] . L i n k E l e m e n t ) { 
 _ 1 1 [ i ] . L i n k E l e m e n t . s t y l e . w i d t h = " a u t o " ; 
 } 
 } 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s S a f a r i ) { 
 t h i s . P a r e n t . C h i l d I t e m L i s t . s t y l e . w i d t h = " a u t o " ; 
 } 
 t h i s . M e n u . W i d t h F i x e d = f a l s e ; 
 i f ( t h i s . P a r e n t . D o m E l e m e n t . o f f s e t W i d t h > 0 ) { 
 t h i s . M e n u . F i x I t e m W i d t h ( t h i s . P a r e n t ) ; 
 } 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . I s V i s i b l e = f u n c t i o n ( ) { 
 i f ( ! t h i s . L i n k E l e m e n t ) { 
 r e t u r n   t h i s . T e x t E l e m e n t . s t y l e . d i s p l a y ! = " n o n e " ; 
 } 
 r e t u r n   t h i s . L i n k E l e m e n t . s t y l e . d i s p l a y ! = " n o n e " ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S h o w = f u n c t i o n ( ) { 
 i f ( t h i s . L i n k E l e m e n t ) { 
 t h i s . L i n k E l e m e n t . s t y l e . d i s p l a y = " " ; 
 } e l s e { 
 t h i s . T e x t E l e m e n t . s t y l e . d i s p l a y = " " ; 
 } 
 i f ( t h i s . P a r e n t . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 t h i s . M e n u . W i d t h F i x e d = f a l s e ; 
 i f ( t h i s . P a r e n t . D o m E l e m e n t . o f f s e t W i d t h > 0 ) { 
 t h i s . M e n u . F i x I t e m W i d t h ( t h i s . P a r e n t ) ; 
 } 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . B l u r = f u n c t i o n ( ) { 
 i f ( t h i s . I s S e p a r a t o r ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . F o c u s e d ) { 
 t h i s . L i n k E l e m e n t . b l u r ( ) ; 
 } 
 t h i s . P a r e n t . F o c u s e d I t e m = n u l l ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 t h i s . R a i s e E v e n t ( " O n C l i e n t I t e m B l u r " ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . G e t E a s e S i d e = f u n c t i o n ( ) { 
 v a r   _ 1 3 = t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n ; 
 r e t u r n   R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n P r o p e r t y N a m e [ _ 1 3 ] ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . R a i s e E v e n t = f u n c t i o n ( _ 1 4 ) { 
 r e t u r n   t h i s . M e n u . R a i s e E v e n t ( _ 1 4 , { I t e m : t h i s } ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . U p d a t e C s s C l a s s = f u n c t i o n ( ) { 
 i f ( t h i s . I s S e p a r a t o r | | t h i s . T e m p l a t e d ) { 
 r e t u r n ; 
 } 
 v a r   _ 1 5 = " l i n k   " + t h i s . C s s C l a s s ; 
 i f ( t h i s . F o c u s e d ) { 
 _ 1 5 = _ 1 5 + "   " + t h i s . F o c u s e d C s s C l a s s ; 
 } 
 i f ( t h i s . S t a t e = = R a d M e n u I t e m S t a t e . O p e n ) { 
 _ 1 5 = _ 1 5 + "   " + t h i s . E x p a n d e d C s s C l a s s ; 
 } 
 i f ( t h i s . C l i c k e d ) { 
 _ 1 5 = _ 1 5 + "   " + t h i s . C l i c k e d C s s C l a s s ; 
 } 
 i f ( ! t h i s . E n a b l e d ) { 
 _ 1 5 = _ 1 5 + "   " + t h i s . D i s a b l e d C s s C l a s s ; 
 } 
 t h i s . L i n k E l e m e n t . c l a s s N a m e = _ 1 5 ; 
 t h i s . U p d a t e I m a g e U r l ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . U p d a t e I m a g e U r l = f u n c t i o n ( ) { 
 i f ( ! t h i s . I m a g e E l e m e n t ) { 
 r e t u r n ; 
 } 
 v a r   _ 1 6 = t h i s . I m a g e U r l ; 
 i f ( t h i s . H o v e r e d & & t h i s . I m a g e O v e r U r l ) { 
 _ 1 6 = t h i s . I m a g e O v e r U r l ; 
 } 
 i f ( t h i s . S t a t e = = R a d M e n u I t e m S t a t e . O p e n & & t h i s . E x p a n d e d I m a g e U r l ) { 
 _ 1 6 = t h i s . E x p a n d e d I m a g e U r l ; 
 } 
 i f ( ! t h i s . E n a b l e d & & t h i s . D i s a b l e d I m a g e U r l ) { 
 _ 1 6 = t h i s . D i s a b l e d I m a g e U r l ; 
 } 
 i f ( t h i s . C l i c k e d & & t h i s . I m a g e C l i c k e d U r l ) { 
 _ 1 6 = t h i s . I m a g e C l i c k e d U r l ; 
 } 
 _ 1 6 = _ 1 6 . r e p l a c e ( / & a m p ; / i g , " & " ) ; 
 i f ( _ 1 6 ! = t h i s . I m a g e E l e m e n t . s r c ) { 
 t h i s . I m a g e E l e m e n t . s r c = _ 1 6 ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . E n a b l e = f u n c t i o n ( ) { 
 i f ( t h i s . I s S e p a r a t o r | | t h i s . T e m p l a t e d ) { 
 r e t u r n ; 
 } 
 t h i s . L i n k E l e m e n t . d i s a b l e d = " " ; 
 i f ( t h i s . I m a g e E l e m e n t ) { 
 t h i s . I m a g e E l e m e n t . d i s a b l e d = " " ; 
 } 
 t h i s . E n a b l e d = t r u e ; 
 t h i s . E n a b l e D o m E v e n t H a n d l i n g ( ) ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . D i s a b l e = f u n c t i o n ( ) { 
 i f ( t h i s . I s S e p a r a t o r | | t h i s . T e m p l a t e d ) { 
 r e t u r n ; 
 } 
 t h i s . L i n k E l e m e n t . d i s a b l e d = " d i s a b l e d " ; 
 i f ( t h i s . I m a g e E l e m e n t ) { 
 t h i s . I m a g e E l e m e n t . d i s a b l e d = " d i s a b l e d " ; 
 } 
 t h i s . E n a b l e d = f a l s e ; 
 t h i s . D i s a b l e D o m E v e n t H a n d l i n g ( ) ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . O n C o l l a p s e C o m p l e t e = f u n c t i o n ( ) { 
 t h i s . R a i s e E v e n t ( " O n C l i e n t I t e m C l o s e " ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H i d e C h i l d r e n = f u n c t i o n ( ) { 
 f o r ( v a r   i = 0 ; i < t h i s . I t e m s . l e n g t h ; i + + ) { 
 i f ( t h i s . I t e m s [ i ] . A n i m a t i o n C o n t a i n e r ) { 
 t h i s . I t e m s [ i ] . A n i m a t i o n C o n t a i n e r . s t y l e . d i s p l a y = " n o n e " ; 
 } 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . C a l c u l a t e S c r o l l W r a p S i z e = f u n c t i o n ( ) { 
 i f ( ! t h i s . S c r o l l W r a p ) { 
 r e t u r n ; 
 } 
 i f ( ! t h i s . S c r o l l W r a p . s t y l e . h e i g h t ) { 
 t h i s . S c r o l l W r a p . s t y l e . h e i g h t = t h i s . C h i l d I t e m L i s t . o f f s e t H e i g h t + " p x " ; 
 } 
 v a r   _ 1 8 = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l = = t h i s . F l o w ; 
 i f ( _ 1 8 ) { 
 t h i s . S c r o l l W r a p . s t y l e . w i d t h = t h i s . C h i l d I t e m L i s t . o f f s e t W i d t h + " p x " ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . O n E a s e = f u n c t i o n ( _ 1 9 ) { 
 v a r   _ 1 a = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l = = t h i s . F l o w ; 
 i f ( ! _ 1 a ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . C h i l d r e n D e t a c h e d & & t h i s . S c r o l l ) { 
 t h i s . S c r o l l . R i g h t A r r o w . s t y l e . c s s T e x t = t h i s . S c r o l l . R i g h t A r r o w . s t y l e . c s s T e x t ; 
 t h i s . S c r o l l . L e f t A r r o w . s t y l e . c s s T e x t = t h i s . S c r o l l . L e f t A r r o w . s t y l e . c s s T e x t ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . A t t a c h E v e n t H a n d l e r s = f u n c t i o n ( ) { 
 t h i s . A t t a c h D o m E v e n t ( t h i s . D o m E l e m e n t , " m o u s e o v e r " , " M o u s e O v e r H a n d l e r " ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . D o m E l e m e n t , " m o u s e o u t " , " M o u s e O u t H a n d l e r " ) ; 
 i f ( t h i s . I s S e p a r a t o r | | t h i s . T e m p l a t e d ) { 
 r e t u r n ; 
 } 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " c l i c k " , " C l i c k H a n d l e r " , t r u e ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " m o u s e o u t " , " H R e f M o u s e O u t H a n d l e r " ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " m o u s e o v e r " , " H R e f M o u s e O v e r H a n d l e r " ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " m o u s e d o w n " , " M o u s e D o w n H a n d l e r " ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " m o u s e u p " , " M o u s e U p H a n d l e r " ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " b l u r " , " B l u r H a n d l e r " ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " f o c u s " , " F o c u s H a n d l e r " ) ; 
 t h i s . A t t a c h D o m E v e n t ( t h i s . L i n k E l e m e n t , " k e y d o w n " , " K e y D o w n H a n d l e r " ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . M o u s e D o w n H a n d l e r = f u n c t i o n ( e ) { 
 t h i s . C l i c k e d = t r u e ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . M o u s e U p H a n d l e r = f u n c t i o n ( e ) { 
 t h i s . C l i c k e d = f a l s e ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H R e f M o u s e O u t H a n d l e r = f u n c t i o n ( e ) { 
 v a r   t o = R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t R e l a t e d T a r g e t ( e ) ; 
 i f ( t h i s . M e n u . I s C h i l d O f ( t h i s . L i n k E l e m e n t , t o ) | | t o = = t h i s . L i n k E l e m e n t ) { 
 r e t u r n ; 
 } 
 t h i s . H o v e r e d = f a l s e ; 
 t h i s . U p d a t e I m a g e U r l ( ) ; 
 t h i s . R a i s e E v e n t ( " O n C l i e n t M o u s e O u t " ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H R e f M o u s e O v e r H a n d l e r = f u n c t i o n ( e ) { 
 v a r   _ 2 0 = R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t R e l a t e d T a r g e t ( e ) ; 
 i f ( t h i s . M e n u . I s C h i l d O f ( t h i s . L i n k E l e m e n t , _ 2 0 ) | | t h i s . L i n k E l e m e n t = = _ 2 0 ) { 
 r e t u r n ; 
 } 
 t h i s . H o v e r e d = t r u e ; 
 t h i s . U p d a t e I m a g e U r l ( ) ; 
 t h i s . R a i s e E v e n t ( " O n C l i e n t M o u s e O v e r " ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . K e y D o w n H a n d l e r = f u n c t i o n ( e ) { 
 v a r   _ 2 2 = { l e f t : 3 7 , u p : 3 8 , r i g h t : 3 9 , d o w n : 4 0 , e s c : 2 7 } ; 
 v a r   _ 2 3 = R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t K e y C o d e ( e ) ; 
 i f ( _ 2 3 = = _ 2 2 . r i g h t ) { 
 i f ( t h i s . M e n u . R i g h t T o L e f t ) { 
 t h i s . H a n d l e L e f t A r r o w ( ) ; 
 } e l s e { 
 t h i s . H a n d l e R i g h t A r r o w ( ) ; 
 } 
 } e l s e { 
 i f ( _ 2 3 = = _ 2 2 . l e f t ) { 
 i f ( t h i s . M e n u . R i g h t T o L e f t ) { 
 t h i s . H a n d l e R i g h t A r r o w ( ) ; 
 } e l s e { 
 t h i s . H a n d l e L e f t A r r o w ( ) ; 
 } 
 } e l s e { 
 i f ( _ 2 3 = = _ 2 2 . u p ) { 
 t h i s . H a n d l e U p A r r o w ( ) ; 
 } e l s e { 
 i f ( _ 2 3 = = _ 2 2 . d o w n ) { 
 t h i s . H a n d l e D o w n A r r o w ( ) ; 
 } e l s e { 
 i f ( _ 2 3 = = _ 2 2 . e s c ) { 
 i f ( t h i s . P a r e n t = = t h i s . M e n u ) { 
 t h i s . B l u r ( ) ; 
 } e l s e { 
 t h i s . P a r e n t . C l o s e ( ) ; 
 t h i s . P a r e n t . F o c u s ( ) ; 
 } 
 } e l s e { 
 r e t u r n ; 
 } 
 } 
 } 
 } 
 } 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . F o c u s H a n d l e r = f u n c t i o n ( e ) { 
 t h i s . F o c u s e d = t r u e ; 
 t h i s . F o c u s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . B l u r H a n d l e r = f u n c t i o n ( e ) { 
 t h i s . F o c u s e d = f a l s e ; 
 t h i s . B l u r ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . N a v i g a t e s T o U R L = f u n c t i o n ( ) { 
 i f ( l o c a t i o n . h r e f + " # " = = t h i s . N a v i g a t e U r l | | l o c a t i o n . h r e f = = t h i s . N a v i g a t e U r l ) { 
 r e t u r n   f a l s e ; 
 } 
 r e t u r n   ( n e w   R e g E x p ( " / / " ) ) . t e s t ( t h i s . L i n k E l e m e n t . h r e f ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . V a l i d a t e = f u n c t i o n ( ) { 
 i f ( ! t h i s . M e n u . C a u s e s V a l i d a t i o n | | t h i s . N a v i g a t e s T o U R L ( ) ) { 
 r e t u r n   t r u e ; 
 } 
 i f ( t y p e o f   ( P a g e _ C l i e n t V a l i d a t e ) ! = " f u n c t i o n " ) { 
 r e t u r n   t r u e ; 
 } 
 r e t u r n   P a g e _ C l i e n t V a l i d a t e ( t h i s . M e n u . V a l i d a t i o n G r o u p ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . C l i c k H a n d l e r = f u n c t i o n ( e ) { 
 i f ( ! t h i s . E n a b l e d ) { 
 r e t u r n   R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 } 
 i f ( ! t h i s . R a i s e E v e n t ( " O n C l i e n t I t e m C l i c k i n g " ) ) { 
 r e t u r n   R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 } 
 i f ( ! t h i s . V a l i d a t e ( ) ) { 
 r e t u r n   R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 } 
 v a r   _ 2 7 = t r u e ; 
 i f ( ! t h i s . M e n u . C l i c k T o O p e n ) { 
 _ 2 7 = t r u e ; 
 } e l s e { 
 i f ( t h i s . L e v e l > 1 ) { 
 _ 2 7 = t r u e ; 
 } e l s e { 
 i f ( ! t h i s . M e n u . C l i c k e d ) { 
 t h i s . O p e n ( ) ; 
 } e l s e { 
 t h i s . C l o s e ( ) ; 
 } 
 t h i s . M e n u . C l i c k e d = ! t h i s . M e n u . C l i c k e d ; 
 } 
 } 
 t h i s . R a i s e E v e n t ( " O n C l i e n t I t e m C l i c k e d " ) ; 
 i f ( ! t h i s . N a v i g a t e A f t e r C l i c k | | ! _ 2 7 ) { 
 R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . P r e v e n t D e f a u l t ( e ) ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . P r e v e n t C l o s e = f u n c t i o n ( ) { 
 i f ( t h i s . S t a t e = = R a d M e n u I t e m S t a t e . A b o u t T o C l o s e ) { 
 t h i s . C l e a r T i m e o u t ( ) ; 
 t h i s . S t a t e = R a d M e n u I t e m S t a t e . O p e n ; 
 t h i s . P a r e n t . O p e n e d I t e m = t h i s ; 
 } 
 i f ( t h i s . P a r e n t . P r e v e n t C l o s e ) { 
 t h i s . P a r e n t . P r e v e n t C l o s e ( ) ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . O p e n = f u n c t i o n ( ) { 
 t h i s . P o s t I n i t i a l i z e I t e m s ( ) ; 
 t h i s . M e n u . A b o u t T o C o l l a p s e = f a l s e ; 
 i f ( t h i s . P a r e n t ! = t h i s . M e n u & & t h i s . P a r e n t . S t a t e ! = R a d M e n u I t e m S t a t e . O p e n ) { 
 t h i s . P a r e n t . O p e n ( ) ; 
 } 
 i f ( ! t h i s . A n i m a t i o n C o n t a i n e r ) { 
 r e t u r n ; 
 } 
 t h i s . P a r e n t . O p e n e d I t e m = t h i s ; 
 t h i s . S t a t e = R a d M e n u I t e m S t a t e . O p e n ; 
 v a r   _ 2 8 = R a d C o n t r o l s N a m e s p a c e . S c r e e n . G e t V i e w P o r t S i z e ( ) ; 
 t h i s . C h i l d I t e m L i s t . s t y l e . d i s p l a y = " b l o c k " ; 
 t h i s . E a s e . S h o w E l e m e n t s ( ) ; 
 i f ( t h i s . G r o u p S e t t i n g s . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 t h i s . M e n u . F i x I t e m W i d t h ( t h i s ) ; 
 } e l s e { 
 t h i s . M e n u . F i x L i s t W i d t h ( t h i s ) ; 
 } 
 i f ( t h i s . M e n u . E n a b l e A u t o S c r o l l & & t h i s . C h i l d I t e m L i s t . o f f s e t H e i g h t > _ 2 8 . h e i g h t ) { 
 i f ( ! t h i s . S c r o l l W r a p | | t h i s . S c r o l l W r a p . o f f s e t H e i g h t > _ 2 8 . h e i g h t ) { 
 t h i s . C r e a t e R u n t i m e S c r o l l ( _ 2 8 . h e i g h t + " p x " ) ; 
 t h i s . E a s e . S h o w E l e m e n t s ( ) ; 
 t h i s . E a s e . U p d a t e C o n t a i n e r S i z e ( ) ; 
 } 
 } 
 t h i s . E a s e . S e t S i d e ( t h i s . G e t E a s e S i d e ( ) ) ; 
 t h i s . E a s e . U p d a t e C o n t a i n e r S i z e ( ) ; 
 i f ( t h i s . S c r o l l ) { 
 t h i s . C a l c u l a t e S c r o l l W r a p S i z e ( ) ; 
 t h i s . S c r o l l . I n i t i a l i z e ( ) ; 
 } 
 t h i s . P o s i t i o n C h i l d C o n t a i n e r ( _ 2 8 ) ; 
 t h i s . E a s e . I n ( ) ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 t h i s . D o m E l e m e n t . s t y l e . z I n d e x = t h i s . O r i g i n a l Z I n d e x + 1 0 0 0 ; 
 i f ( ! R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s N e t s c a p e ) { 
 t h i s . M e n u . D o m E l e m e n t . s t y l e . z I n d e x = t h i s . M e n u . O r i g i n a l Z I n d e x + 1 0 0 0 ; 
 } 
 t h i s . R a i s e E v e n t ( " O n C l i e n t I t e m O p e n " ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . M o u s e O v e r H a n d l e r = f u n c t i o n ( e ) { 
 t h i s . P r e v e n t C l o s e ( ) ; 
 i f ( t h i s . M e n u . C l i c k T o O p e n & & ! t h i s . M e n u . C l i c k e d ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . S t a t e = = R a d M e n u I t e m S t a t e . O p e n | | t h i s . S t a t e = = R a d M e n u I t e m S t a t e . A b o u t T o O p e n ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . P a r e n t . O p e n e d I t e m ! = t h i s & & t h i s . P a r e n t . O p e n e d I t e m ) { 
 v a r   _ 2 a = t h i s . P a r e n t . O p e n e d I t e m ; 
 i f ( _ 2 a . T i m e o u t P o i n t e r ) { 
 _ 2 a . C l e a r T i m e o u t ( ) ; 
 } 
 _ 2 a . S t a t e = R a d M e n u I t e m S t a t e . A b o u t T o C l o s e ; 
 _ 2 a . S e t T i m e o u t ( f u n c t i o n ( ) { 
 _ 2 a . C l o s e ( ) ; 
 _ 2 a . T i m e o u t P o i n t e r = n u l l ; 
 } , t h i s . M e n u . E x p a n d D e l a y ) ; 
 } 
 i f ( t h i s . I t e m s . l e n g t h < 1 ) { 
 r e t u r n ; 
 } 
 t h i s . M e n u . L a s t O p e n e d I t e m = t h i s ; 
 t h i s . S t a t e = R a d M e n u I t e m S t a t e . A b o u t T o O p e n ; 
 v a r   _ 2 b = t h i s ; 
 t h i s . S e t T i m e o u t ( f u n c t i o n ( ) { 
 _ 2 b . O p e n ( ) ; 
 _ 2 b . T i m e o u t P o i n t e r = n u l l ; 
 } , t h i s . M e n u . E x p a n d D e l a y ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . C l o s e = f u n c t i o n ( ) { 
 i f ( t h i s . I s S e p a r a t o r ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . S t a t e = = R a d M e n u I t e m S t a t e . C l o s e d ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . O p e n e d I t e m ) { 
 t h i s . O p e n e d I t e m . C l o s e ( ) ; 
 } 
 t h i s . P a r e n t . O p e n e d I t e m = n u l l ; 
 i f ( ! t h i s . A n i m a t i o n C o n t a i n e r ) { 
 r e t u r n ; 
 } 
 t h i s . S t a t e = R a d M e n u I t e m S t a t e . C l o s e d ; 
 i f ( t h i s . L e v e l = = 1 ) { 
 t h i s . M e n u . A b o u t T o C o l l a p s e = t r u e ; 
 } 
 t h i s . E a s e . O u t ( ) ; 
 t h i s . U p d a t e C s s C l a s s ( ) ; 
 t h i s . D o m E l e m e n t . s t y l e . z I n d e x = t h i s . O r i g i n a l Z I n d e x ; 
 i f ( ! R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s N e t s c a p e ) { 
 i f ( t h i s . L e v e l = = 1 ) { 
 t h i s . M e n u . D o m E l e m e n t . s t y l e . z I n d e x = t h i s . M e n u . O r i g i n a l Z I n d e x ; 
 } 
 } 
 t h i s . H i d e C h i l d r e n ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . M o u s e O u t H a n d l e r = f u n c t i o n ( e ) { 
 v a r   t o = R a d C o n t r o l s N a m e s p a c e . D o m E v e n t . G e t R e l a t e d T a r g e t ( e ) ; 
 i f ( ( ! t o ) | | t h i s . M e n u . I s C h i l d O f ( t h i s . D o m E l e m e n t , t o ) | | t o = = t h i s . D o m E l e m e n t ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . C h i l d r e n D e t a c h e d ) { 
 i f ( t h i s . M e n u . I s C h i l d O f ( t h i s . P a r e n t . A n i m a t i o n C o n t a i n e r , t o ) ) { 
 r e t u r n ; 
 } 
 } 
 t r y { 
 v a r   _ 2 e = t o . p a r e n t N o d e ; 
 } 
 c a t c h ( e ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . S t a t e = = R a d M e n u I t e m S t a t e . C l o s e d | | t h i s . S t a t e = = R a d M e n u I t e m S t a t e . A b o u t T o C l o s e ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . S t a t e = = R a d M e n u I t e m S t a t e . A b o u t T o O p e n ) { 
 t h i s . C l e a r T i m e o u t ( ) ; 
 t h i s . S t a t e = R a d M e n u I t e m S t a t e . C l o s e d ; 
 t h i s . P a r e n t . O p e n e d I t e m = n u l l ; 
 r e t u r n ; 
 } 
 i f ( t h i s . M e n u . C l i c k T o O p e n ) { 
 r e t u r n ; 
 } 
 t h i s . S t a t e = R a d M e n u I t e m S t a t e . A b o u t T o C l o s e ; 
 v a r   _ 2 f = t h i s ; 
 t h i s . S e t T i m e o u t ( f u n c t i o n ( ) { 
 _ 2 f . C l o s e ( ) ; 
 _ 2 f . T i m e o u t P o i n t e r = n u l l ; 
 } , t h i s . M e n u . C o l l a p s e D e l a y ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t T i m e o u t = f u n c t i o n ( _ 3 0 , _ 3 1 ) { 
 t h i s . T i m e o u t P o i n t e r = s e t T i m e o u t ( _ 3 0 , _ 3 1 ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . C l e a r T i m e o u t = f u n c t i o n ( ) { 
 i f ( t h i s . T i m e o u t P o i n t e r ) { 
 c l e a r T i m e o u t ( t h i s . T i m e o u t P o i n t e r ) ; 
 t h i s . T i m e o u t P o i n t e r = n u l l ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . P o s i t i o n C h i l d C o n t a i n e r = f u n c t i o n ( _ 3 2 ) { 
 v a r   t o p = 0 ; 
 v a r   _ 3 4 = 0 ; 
 v a r   _ 3 5 = t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n ; 
 v a r   _ 3 6 = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n P r o p e r t y N a m e [ _ 3 5 ] ; 
 v a r   _ 3 7 = t h i s . D o m E l e m e n t ; 
 v a r   _ 3 8 = R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r H e i g h t ( _ 3 7 ) ; 
 v a r   _ 3 9 = R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r W i d t h ( _ 3 7 ) ; 
 v a r   _ 3 a = t h i s . A n i m a t i o n C o n t a i n e r ; 
 v a r   _ 3 b = R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r H e i g h t ( _ 3 a ) ; 
 v a r   _ 3 c = R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r W i d t h ( _ 3 a ) ; 
 i f ( _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . D o w n ) { 
 t o p = _ 3 8 ; 
 } e l s e { 
 i f ( _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . R i g h t ) { 
 _ 3 4 = _ 3 9 ; 
 } 
 } 
 t h i s . S e t C o n t a i n e r P o s i t i o n ( _ 3 4 , t o p ) ; 
 v a r   _ 3 d = R a d C o n t r o l s N a m e s p a c e . S c r e e n . G e t E l e m e n t P o s i t i o n ( _ 3 a ) ; 
 i f ( t h i s . M e n u . R i g h t T o L e f t ) { 
 _ 3 4 = _ 3 9 - _ 3 c ; 
 } 
 i f ( ! t h i s . M e n u . E n a b l e S c r e e n B o u n d a r y D e t e c t i o n ) { 
 t h i s . E a s e . S e t S i d e ( _ 3 6 ) ; 
 t h i s . T e x t E l e m e n t . c l a s s N a m e = " t e x t   e x p a n d " + t h i s . E a s e . G e t S i d e ( ) ; 
 r e t u r n ; 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . S c r e e n . E l e m e n t O v e r f l o w s R i g h t ( _ 3 2 , _ 3 a ) & & _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . R i g h t ) { 
 _ 3 5 = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . L e f t ; 
 _ 3 6 = " r i g h t " ; 
 _ 3 4 = 0 ; 
 } e l s e { 
 i f ( _ 3 d . x - _ 3 c < 0 & & _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . L e f t ) { 
 _ 3 5 = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . R i g h t ; 
 _ 3 6 = " l e f t " ; 
 _ 3 4 = _ 3 9 ; 
 } e l s e { 
 i f ( _ 3 d . y - _ 3 b < 0 & & _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . U p ) { 
 _ 3 5 = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . D o w n ; 
 _ 3 6 = " t o p " ; 
 t o p = _ 3 8 ; 
 } e l s e { 
 i f ( R a d C o n t r o l s N a m e s p a c e . S c r e e n . E l e m e n t O v e r f l o w s B o t t o m ( _ 3 2 , _ 3 a ) & & _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . D o w n ) { 
 v a r   _ 3 a = R a d C o n t r o l s N a m e s p a c e . S c r e e n . G e t E l e m e n t P o s i t i o n ( t h i s . D o m E l e m e n t ) ; 
 i f ( _ 3 a . y > t h i s . A n i m a t i o n C o n t a i n e r . o f f s e t H e i g h t ) { 
 _ 3 5 = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . U p ; 
 _ 3 6 = " b o t t o m " ; 
 t o p = _ 3 8 ; 
 } 
 } 
 } 
 } 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . S c r e e n . E l e m e n t O v e r f l o w s R i g h t ( _ 3 2 , _ 3 a ) & & ( _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . D o w n | | _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . U p ) ) { 
 i f ( ! t h i s . M e n u . R i g h t T o L e f t ) { 
 _ 3 4 = _ 3 2 . w i d t h - ( _ 3 d . x + _ 3 c ) ; 
 } 
 } e l s e { 
 i f ( R a d C o n t r o l s N a m e s p a c e . S c r e e n . E l e m e n t O v e r f l o w s B o t t o m ( _ 3 2 , _ 3 a ) ) { 
 i f ( _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . L e f t | | _ 3 5 = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . R i g h t ) { 
 t o p = _ 3 2 . h e i g h t - ( _ 3 d . y + _ 3 b ) ; 
 } 
 } 
 } 
 t h i s . S e t C o n t a i n e r P o s i t i o n ( _ 3 4 , t o p ) ; 
 t h i s . E a s e . S e t S i d e ( _ 3 6 ) ; 
 t h i s . T e x t E l e m e n t . c l a s s N a m e = " t e x t   e x p a n d " + t h i s . E a s e . G e t S i d e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t C o n t a i n e r P o s i t i o n = f u n c t i o n ( _ 3 e , t o p ) { 
 v a r   y = t o p + t h i s . G r o u p S e t t i n g s . O f f s e t Y ; 
 i f ( t h i s . P a r e n t . S c r o l l W r a p ) { 
 i f ( t h i s . P a r e n t . A n i m a t i o n C o n t a i n e r ) { 
 t h i s . C h i l d r e n D e t a c h e d = t r u e ; 
 t h i s . P a r e n t . A n i m a t i o n C o n t a i n e r . a p p e n d C h i l d ( t h i s . A n i m a t i o n C o n t a i n e r ) ; 
 } 
 y + = t h i s . D o m E l e m e n t . o f f s e t T o p ; 
 v a r   _ 4 1 = p a r s e I n t ( t h i s . P a r e n t . C h i l d I t e m L i s t . s t y l e . t o p ) ; 
 i f ( i s N a N ( _ 4 1 ) ) { 
 _ 4 1 = 0 ; 
 } 
 y + = _ 4 1 ; 
 } 
 t h i s . A n i m a t i o n C o n t a i n e r . s t y l e . t o p = y + " p x " ; 
 t h i s . A n i m a t i o n C o n t a i n e r . s t y l e . l e f t = ( _ 3 e + t h i s . G r o u p S e t t i n g s . O f f s e t X ) + " p x " ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t A t t r i b u t e = f u n c t i o n ( _ 4 2 , _ 4 3 ) { 
 t h i s . P o s t I n i t i a l i z e ( ) ; 
 t h i s . A t t r i b u t e s [ _ 4 2 ] = _ 4 3 ; 
 t h i s . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t I m a g e U r l = f u n c t i o n ( s r c ) { 
 t h i s . P o s t I n i t i a l i z e ( ) ; 
 t h i s . I m a g e U r l = s r c ; 
 t h i s . I m a g e E l e m e n t . s r c = s r c ; 
 t h i s . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . S e t I m a g e O v e r U r l = f u n c t i o n ( s r c ) { 
 t h i s . P o s t I n i t i a l i z e ( ) ; 
 t h i s . I m a g e O v e r U r l = s r c ; 
 t h i s . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . G e t A t t r i b u t e = f u n c t i o n ( _ 4 6 ) { 
 r e t u r n   t h i s . A t t r i b u t e s [ _ 4 6 ] ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . D e t e r m i n e E x p a n d D i r e c t i o n = f u n c t i o n ( ) { 
 i f ( t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n ! = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . A u t o ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . P a r e n t . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 i f ( t h i s . M e n u . R i g h t T o L e f t ) { 
 t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . L e f t ; 
 } e l s e { 
 t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . R i g h t ; 
 } 
 } e l s e { 
 t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . D o w n ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . L o a d C o n f i g u r a t i o n = f u n c t i o n ( ) { 
 i f ( t h i s . M e n u . I t e m D a t a [ t h i s . I D ] ) { 
 f o r ( v a r   _ 4 7   i n   t h i s . M e n u . I t e m D a t a [ t h i s . I D ] ) { 
 t h i s [ _ 4 7 ] = t h i s . M e n u . I t e m D a t a [ t h i s . I D ] [ _ 4 7 ] ; 
 } 
 } 
 v a r   _ 4 8 = t h i s . M e n u . D e f a u l t G r o u p S e t t i n g s ; 
 i f ( t y p e o f   t h i s . G r o u p S e t t i n g s . F l o w = = " u n d e f i n e d " ) { 
 t h i s . G r o u p S e t t i n g s . F l o w = _ 4 8 . F l o w ; 
 } 
 t h i s . F l o w = t h i s . G r o u p S e t t i n g s . F l o w ; 
 i f ( t y p e o f   t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = = " u n d e f i n e d " ) { 
 t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = _ 4 8 . E x p a n d D i r e c t i o n ; 
 } 
 i f ( t y p e o f   t h i s . G r o u p S e t t i n g s . O f f s e t X = = " u n d e f i n e d " ) { 
 t h i s . G r o u p S e t t i n g s . O f f s e t X = _ 4 8 . O f f s e t X ; 
 } 
 i f ( t y p e o f   t h i s . G r o u p S e t t i n g s . O f f s e t Y = = " u n d e f i n e d " ) { 
 t h i s . G r o u p S e t t i n g s . O f f s e t Y = _ 4 8 . O f f s e t Y ; 
 } 
 i f ( ! t h i s . E n a b l e d ) { 
 t h i s . D i s a b l e ( ) ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H a n d l e R i g h t A r r o w = f u n c t i o n ( ) { 
 i f ( t h i s . P a r e n t . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . H o r i z o n t a l ) { 
 t h i s . F o c u s N e x t I t e m ( ) ; 
 } e l s e { 
 i f ( t h i s . I t e m s . l e n g t h & & t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . R i g h t ) { 
 t h i s . F o c u s F i r s t C h i l d ( ) ; 
 } e l s e { 
 i f ( t h i s . P a r e n t . G r o u p S e t t i n g s & & t h i s . P a r e n t . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . L e f t ) { 
 t h i s . P a r e n t . F o c u s ( ) ; 
 } e l s e { 
 i f ( t h i s . M e n u . O p e n e d I t e m ) { 
 t h i s . M e n u . O p e n e d I t e m . G e t N e x t I t e m ( ) . F o c u s ( ) ; 
 } 
 } 
 } 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H a n d l e L e f t A r r o w = f u n c t i o n ( ) { 
 i f ( t h i s . P a r e n t . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . H o r i z o n t a l ) { 
 t h i s . F o c u s P r e v i o u s I t e m ( ) ; 
 } e l s e { 
 i f ( t h i s . I t e m s . l e n g t h & & t h i s . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . L e f t ) { 
 t h i s . F o c u s F i r s t C h i l d ( ) ; 
 } e l s e { 
 i f ( t h i s . P a r e n t . G r o u p S e t t i n g s & & t h i s . P a r e n t . G r o u p S e t t i n g s . E x p a n d D i r e c t i o n = = R a d M e n u N a m e s p a c e . E x p a n d D i r e c t i o n . R i g h t ) { 
 t h i s . P a r e n t . F o c u s ( ) ; 
 } e l s e { 
 i f ( t h i s . M e n u . O p e n e d I t e m ) { 
 t h i s . M e n u . O p e n e d I t e m . G e t P r e v i o u s I t e m ( ) . F o c u s ( ) ; 
 } 
 } 
 } 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H a n d l e U p A r r o w = f u n c t i o n ( ) { 
 i f ( t h i s . P a r e n t . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 t h i s . F o c u s P r e v i o u s I t e m ( ) ; 
 } e l s e { 
 t h i s . F o c u s L a s t C h i l d ( ) ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . H a n d l e D o w n A r r o w = f u n c t i o n ( ) { 
 i f ( t h i s . P a r e n t . F l o w = = R a d M e n u N a m e s p a c e . I t e m F l o w . V e r t i c a l ) { 
 t h i s . F o c u s N e x t I t e m ( ) ; 
 } e l s e { 
 t h i s . F o c u s F i r s t C h i l d ( ) ; 
 } 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . G e t N e x t I t e m = f u n c t i o n ( ) { 
 i f ( t h i s . I n d e x = = t h i s . P a r e n t . I t e m s . l e n g t h - 1 ) { 
 r e t u r n   t h i s . P a r e n t . I t e m s [ 0 ] ; 
 } 
 r e t u r n   t h i s . P a r e n t . I t e m s [ t h i s . I n d e x + 1 ] ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . G e t P r e v i o u s I t e m = f u n c t i o n ( ) { 
 i f ( t h i s . I n d e x = = 0 ) { 
 r e t u r n   t h i s . P a r e n t . I t e m s [ t h i s . P a r e n t . I t e m s . l e n g t h - 1 ] ; 
 } 
 r e t u r n   t h i s . P a r e n t . I t e m s [ t h i s . I n d e x - 1 ] ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . C a n F o c u s = f u n c t i o n ( ) { 
 r e t u r n   ( ! t h i s . I s S e p a r a t o r ) & & t h i s . E n a b l e d ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . F o c u s F i r s t C h i l d = f u n c t i o n ( ) { 
 i f ( ! t h i s . I t e m s . l e n g t h ) { 
 r e t u r n ; 
 } 
 v a r   _ 4 9 = t h i s . I t e m s [ 0 ] ; 
 w h i l e ( ! _ 4 9 . C a n F o c u s ( ) ) { 
 _ 4 9 = _ 4 9 . G e t N e x t I t e m ( ) ; 
 i f ( _ 4 9 = = t h i s . I t e m s [ 0 ] ) { 
 r e t u r n ; 
 } 
 } 
 _ 4 9 . F o c u s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . F o c u s L a s t C h i l d = f u n c t i o n ( ) { 
 i f ( ! t h i s . I t e m s . l e n g t h ) { 
 r e t u r n ; 
 } 
 v a r   _ 4 a = t h i s . I t e m s [ t h i s . I t e m s . l e n g t h - 1 ] ; 
 w h i l e ( ! _ 4 a . C a n F o c u s ( ) ) { 
 _ 4 a = _ 4 a . G e t P r e v i o u s I t e m ( ) ; 
 i f ( t h i s . I t e m s . l e n g t h - 1 ) { 
 r e t u r n ; 
 } 
 } 
 _ 4 a . F o c u s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . F o c u s N e x t I t e m = f u n c t i o n ( ) { 
 v a r   _ 4 b = t h i s . G e t N e x t I t e m ( ) ; 
 w h i l e ( ! _ 4 b . C a n F o c u s ( ) ) { 
 _ 4 b = _ 4 b . G e t N e x t I t e m ( ) ; 
 } 
 _ 4 b . F o c u s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . F o c u s P r e v i o u s I t e m = f u n c t i o n ( ) { 
 v a r   _ 4 c = t h i s . G e t P r e v i o u s I t e m ( ) ; 
 w h i l e ( ! _ 4 c . C a n F o c u s ( ) ) { 
 _ 4 c = _ 4 c . G e t P r e v i o u s I t e m ( ) ; 
 } 
 _ 4 c . F o c u s ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . R e c o r d S t a t e = f u n c t i o n ( _ 4 d ) { 
 i f ( t h i s . C l i e n t S i d e & & ! _ 4 d ) { 
 r e t u r n ; 
 } 
 v a r   _ 4 e = R a d C o n t r o l s N a m e s p a c e . J S O N . s t r i n g i f y ( t h i s , t h i s . I n i t i a l S t a t e , R a d M e n u . J S O N I n c l u d e D e e p ) ; 
 i f ( _ 4 e = = " { } " ) { 
 t h i s . M e n u . I t e m S t a t e [ t h i s . I D ] = " " ; 
 } e l s e { 
 t h i s . M e n u . I t e m S t a t e [ t h i s . I D ] = " \ " " + t h i s . I D + " \ " : " + _ 4 e ; 
 } 
 t h i s . M e n u . R e c o r d S t a t e ( ) ; 
 } ; 
 R a d M e n u I t e m . p r o t o t y p e . A d d I t e m = f u n c t i o n ( ) { 
 t h i s . M e n u . A d d I t e m . a p p l y ( t h i s , a r g u m e n t s ) ; 
 t h i s . M e n u . F i x I t e m W i d t h ( t h i s ) ; 
 } ; ; f u n c t i o n   R a d M e n u I t e m S t a t e ( ) { 
 } 
 R a d M e n u I t e m S t a t e = { C l o s e d : 0 , O p e n : 1 , A b o u t T o C l o s e : 2 , A b o u t T o O p e n : 3 } ; ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 i f ( t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . S c r e e n ) = = " u n d e f i n e d " | | t y p e o f   ( w i n d o w . R a d C o n t r o l s N a m e s p a c e . S c r e e n . V e r s i o n ) = = n u l l | | w i n d o w . R a d C o n t r o l s N a m e s p a c e . S c r e e n . V e r s i o n < 1 . 1 ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e . S c r e e n = { V e r s i o n : 1 . 1 , G e t V i e w P o r t S i z e : f u n c t i o n ( ) { 
 v a r   _ 1 = 0 ; 
 v a r   _ 2 = 0 ; 
 v a r   _ 3 = d o c u m e n t . b o d y ; 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . S t a n d a r d s M o d e & & ! R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s S a f a r i ) { 
 _ 3 = d o c u m e n t . d o c u m e n t E l e m e n t ; 
 } 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s M o z i l l a & & d o c u m e n t . c o m p a t M o d e ! = " C S S 1 C o m p a t " ) { 
 _ 3 = d o c u m e n t . b o d y ; 
 } 
 i f ( w i n d o w . i n n e r W i d t h ) { 
 _ 1 = w i n d o w . i n n e r W i d t h ; 
 _ 2 = w i n d o w . i n n e r H e i g h t ; 
 } e l s e { 
 _ 1 = _ 3 . c l i e n t W i d t h ; 
 _ 2 = _ 3 . c l i e n t H e i g h t ; 
 } 
 _ 1 + = _ 3 . s c r o l l L e f t ; 
 _ 2 + = _ 3 . s c r o l l T o p ; 
 r e t u r n   { w i d t h : _ 1 - 6 , h e i g h t : _ 2 - 6 } ; 
 } , G e t E l e m e n t P o s i t i o n : f u n c t i o n ( e l ) { 
 v a r   _ 5 = n u l l ; 
 v a r   _ 6 = { x : 0 , y : 0 } ; 
 v a r   _ 7 ; 
 i f ( e l . g e t B o u n d i n g C l i e n t R e c t ) { 
 _ 7 = e l . g e t B o u n d i n g C l i e n t R e c t ( ) ; 
 v a r   _ 8 = d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p | | d o c u m e n t . b o d y . s c r o l l T o p ; 
 v a r   _ 9 = d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l L e f t | | d o c u m e n t . b o d y . s c r o l l L e f t ; 
 _ 6 . x = _ 7 . l e f t + _ 9 - 2 ; 
 _ 6 . y = _ 7 . t o p + _ 8 - 2 ; 
 r e t u r n   _ 6 ; 
 } e l s e { 
 i f ( d o c u m e n t . g e t B o x O b j e c t F o r ) { 
 t r y { 
 _ 7 = d o c u m e n t . g e t B o x O b j e c t F o r ( e l ) ; 
 _ 6 . x = _ 7 . x - 2 ; 
 _ 6 . y = _ 7 . y - 2 ; 
 } 
 c a t c h ( e ) { 
 } 
 } e l s e { 
 _ 6 . x = e l . o f f s e t L e f t ; 
 _ 6 . y = e l . o f f s e t T o p ; 
 _ 5 = e l . o f f s e t P a r e n t ; 
 i f ( _ 5 ! = e l ) { 
 w h i l e ( _ 5 ) { 
 _ 6 . x + = _ 5 . o f f s e t L e f t ; 
 _ 6 . y + = _ 5 . o f f s e t T o p ; 
 _ 5 = _ 5 . o f f s e t P a r e n t ; 
 } 
 } 
 } 
 } 
 i f ( w i n d o w . o p e r a ) { 
 _ 5 = e l . o f f s e t P a r e n t ; 
 w h i l e ( _ 5 & & _ 5 . t a g N a m e . t o L o w e r C a s e ( ) ! = " b o d y " & & _ 5 . t a g N a m e . t o L o w e r C a s e ( ) ! = " h t m l " ) { 
 _ 6 . x - = _ 5 . s c r o l l L e f t ; 
 _ 6 . y - = _ 5 . s c r o l l T o p ; 
 _ 5 = _ 5 . o f f s e t P a r e n t ; 
 } 
 } e l s e { 
 _ 5 = e l . p a r e n t N o d e ; 
 w h i l e ( _ 5 & & _ 5 . t a g N a m e . t o L o w e r C a s e ( ) ! = " b o d y " & & _ 5 . t a g N a m e . t o L o w e r C a s e ( ) ! = " h t m l " ) { 
 _ 6 . x - = _ 5 . s c r o l l L e f t ; 
 _ 6 . y - = _ 5 . s c r o l l T o p ; 
 _ 5 = _ 5 . p a r e n t N o d e ; 
 } 
 } 
 r e t u r n   _ 6 ; 
 } , E l e m e n t O v e r f l o w s T o p : f u n c t i o n ( _ a ) { 
 r e t u r n   t h i s . G e t E l e m e n t P o s i t i o n ( _ a ) . y < 0 ; 
 } , E l e m e n t O v e r f l o w s L e f t : f u n c t i o n ( _ b ) { 
 r e t u r n   t h i s . G e t E l e m e n t P o s i t i o n ( _ b ) . x < 0 ; 
 } , E l e m e n t O v e r f l o w s B o t t o m : f u n c t i o n ( _ c , _ d ) { 
 v a r   _ e = t h i s . G e t E l e m e n t P o s i t i o n ( _ d ) . y + R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r H e i g h t ( _ d ) ; 
 r e t u r n   _ e > _ c . h e i g h t ; 
 } , E l e m e n t O v e r f l o w s R i g h t : f u n c t i o n ( _ f , _ 1 0 ) { 
 v a r   _ 1 1 = t h i s . G e t E l e m e n t P o s i t i o n ( _ 1 0 ) . x + R a d C o n t r o l s N a m e s p a c e . B o x . G e t O u t e r W i d t h ( _ 1 0 ) ; 
 r e t u r n   _ 1 1 > _ f . w i d t h ; 
 } } ; 
 } ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l B u t t o n s P o s i t i o n = { L e f t : 0 , M i d d l e : 1 , R i g h t : 2 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l = f u n c t i o n ( _ 1 , _ 2 , _ 3 ) { 
 t h i s . O w n e r = _ 3 ; 
 t h i s . E l e m e n t = _ 1 ; 
 t h i s . I s V e r t i c a l = _ 2 ; 
 t h i s . S c r o l l B u t t o n s P o s i t i o n = _ 3 . S c r o l l B u t t o n s P o s i t i o n ; 
 t h i s . S c r o l l P o s i t i o n = _ 3 . S c r o l l P o s i t i o n ; 
 t h i s . P e r T a b S c r o l l i n g = _ 3 . P e r T a b S c r o l l i n g ; 
 t h i s . S c r o l l O n H o v e r = f a l s e ; 
 t h i s . W r a p N e e d e d = f a l s e ; 
 t h i s . L e a v e G a p s F o r A r r o w s = t r u e ; 
 t h i s . L e f t A r r o w C l a s s = " l e f t A r r o w " ; 
 t h i s . L e f t A r r o w C l a s s D i s a b l e d = " l e f t A r r o w D i s a b l e d " ; 
 t h i s . R i g h t A r r o w C l a s s = " r i g h t A r r o w " ; 
 t h i s . R i g h t A r r o w C l a s s D i s a b l e d = " r i g h t A r r o w D i s a b l e d " ; 
 t h i s . I n i t i a l i z e d = f a l s e ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . C r e a t e = f u n c t i o n ( _ 4 , _ 5 , _ 6 ) { 
 r e t u r n   n e w   R a d C o n t r o l s N a m e s p a c e . S c r o l l ( _ 4 , _ 5 , _ 6 ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . I n i t i a l i z e = f u n c t i o n ( ) { 
 i f ( t h i s . I n i t i a l i z e d ) { 
 t h i s . A p p l y O v e r f l o w ( ) ; 
 t h i s . C a l c u l a t e M i n M a x P o s i t i o n ( ) ; 
 t h i s . E v a l u a t e A r r o w S t a t u s ( ) ; 
 r e t u r n   f a l s e ; 
 } 
 i f ( ( t h i s . E l e m e n t . o f f s e t W i d t h = = 0 & & ! t h i s . I s V e r t i c a l ) | | ( t h i s . E l e m e n t . o f f s e t H e i g h t = = 0 & & t h i s . I s V e r t i c a l ) ) { 
 r e t u r n   f a l s e ; 
 } 
 t h i s . I n i t i a l i z e d = t r u e ; 
 t h i s . S c r o l l A m o u n t = 2 ; 
 t h i s . D i r e c t i o n = 0 ; 
 i f ( t h i s . W r a p N e e d e d ) { 
 v a r   _ 7 = t h i s . C r e a t e S c r o l l W r a p ( ) ; 
 } 
 t h i s . A p p l y O v e r f l o w ( ) ; 
 t h i s . E l e m e n t . s t y l e . p o s i t i o n = " r e l a t i v e " ; 
 t h i s . A t t a c h A r r o w s ( ) ; 
 t h i s . C a l c u l a t e M i n M a x P o s i t i o n ( ) ; 
 i f ( t h i s . P e r T a b S c r o l l i n g ) { 
 t h i s . C a l c u l a t e I n i t i a l T a b ( ) ; 
 } 
 t h i s . A t t a c h S c r o l l M e t h o d s ( ) ; 
 t h i s . E v a l u a t e A r r o w S t a t u s ( ) ; 
 t h i s . A t t a c h E v e n t H a n d l e r s ( ) ; 
 t h i s . S c r o l l T o ( t h i s . S c r o l l P o s i t i o n ) ; 
 t h i s . A p p l y O v e r f l o w ( ) ; 
 r e t u r n   _ 7 ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . A p p l y O v e r f l o w = f u n c t i o n ( ) { 
 i f ( R a d C o n t r o l s N a m e s p a c e . B r o w s e r . I s I E ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w = " v i s i b l e " ; 
 i f ( t h i s . I s V e r t i c a l ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w X = " " ; 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w Y = " h i d d e n " ; 
 } e l s e { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w X = " h i d d e n " ; 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w Y = " h i d d e n " ; 
 } 
 } e l s e { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w = " h i d d e n " ; 
 } 
 i f ( ! t h i s . S c r o l l N e e d e d ( ) ) { 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w = " v i s i b l e " ; 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w X = " v i s i b l e " ; 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . o v e r f l o w Y = " v i s i b l e " ; 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . R e s i z e H a n d l e r = f u n c t i o n ( ) { 
 i f ( t h i s . D i s p o s e d ) { 
 r e t u r n ; 
 } 
 i f ( ! t h i s . I n i t i a l i z e d ) { 
 t h i s . I n i t i a l i z e ( ) ; 
 } 
 i f ( ! t h i s . I n i t i a l i z e d ) { 
 r e t u r n ; 
 } 
 i f ( ! t h i s . E l e m e n t . o f f s e t H e i g h t | | ! t h i s . E l e m e n t . o f f s e t W i d t h ) { 
 r e t u r n ; 
 } 
 t h i s . C a l c u l a t e M i n M a x P o s i t i o n ( ) ; 
 i f ( t h i s . E l e m e n t . o f f s e t W i d t h < t h i s . E l e m e n t . p a r e n t N o d e . o f f s e t W i d t h ) { 
 t h i s . S c r o l l T o ( 0 ) ; 
 } 
 v a r   _ 8 = p a r s e I n t ( t h i s . I s V e r t i c a l ? t h i s . E l e m e n t . s t y l e . t o p : t h i s . E l e m e n t . s t y l e . l e f t ) ; 
 i f ( i s N a N ( _ 8 ) ) { 
 _ 8 = 0 ; 
 } 
 v a r   _ 9 = t h i s ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . A t t a c h E v e n t H a n d l e r s = f u n c t i o n ( ) { 
 v a r   _ a = t h i s . E l e m e n t ; 
 v a r   _ b = t h i s ; 
 t h i s . r e s i z e C l o s u r e = f u n c t i o n ( ) { 
 _ b . R e s i z e H a n d l e r ( ) ; 
 } ; 
 i f ( w i n d o w . a d d E v e n t L i s t e n e r ) { 
 w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . r e s i z e C l o s u r e , f a l s e ) ; 
 } e l s e { 
 w i n d o w . a t t a c h E v e n t ( " o n r e s i z e " , t h i s . r e s i z e C l o s u r e ) ; 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . D i s p o s e = f u n c t i o n ( ) { 
 t h i s . D i s p o s e d = t r u e ; 
 t h i s . E l e m e n t = n u l l ; 
 c l e a r T i m e o u t ( t h i s . i n t e r v a l P o i n t e r ) ; 
 i f ( w i n d o w . r e m o v e E v e n t L i s t e n e r ) { 
 w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . r e s i z e C l o s u r e , f a l s e ) ; 
 } e l s e { 
 w i n d o w . d e t a c h E v e n t ( " o n r e s i z e " , t h i s . r e s i z e C l o s u r e ) ; 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . A t t a c h A r r o w s = f u n c t i o n ( ) { 
 v a r   _ c = t h i s . C r e a t e A r r o w ( " & l a q u o ; " , 1 , t h i s . L e f t A r r o w C l a s s ) ; 
 v a r   _ d = t h i s . C r e a t e A r r o w ( " & r a q u o ; " , - 1 , t h i s . R i g h t A r r o w C l a s s ) ; 
 t h i s . L e f t A r r o w = _ c ; 
 t h i s . R i g h t A r r o w = _ d ; 
 i f ( t h i s . I s V e r t i c a l ) { 
 _ c . s t y l e . l e f t = " 0 p x " ; 
 _ d . s t y l e . l e f t = " 0 p x " ; 
 i f ( t h i s . S c r o l l B u t t o n s P o s i t i o n = = R a d C o n t r o l s N a m e s p a c e . S c r o l l B u t t o n s P o s i t i o n . M i d d l e ) { 
 _ c . s t y l e . t o p = " 0 p x " ; 
 _ d . s t y l e . b o t t o m = " 0 p x " ; 
 } e l s e { 
 i f ( t h i s . S c r o l l B u t t o n s P o s i t i o n = = R a d C o n t r o l s N a m e s p a c e . S c r o l l B u t t o n s P o s i t i o n . L e f t ) { 
 _ c . s t y l e . t o p = " 0 p x " ; 
 _ d . s t y l e . t o p = _ c . o f f s e t H e i g h t + " p x " ; 
 } e l s e { 
 _ d . s t y l e . b o t t o m = " 0 p x " ; 
 _ c . s t y l e . b o t t o m = _ c . o f f s e t H e i g h t + " p x " ; 
 } 
 } 
 } e l s e { 
 _ c . s t y l e . t o p = " 0 p x " ; 
 _ d . s t y l e . t o p = " 0 p x " ; 
 i f ( t h i s . S c r o l l B u t t o n s P o s i t i o n = = R a d C o n t r o l s N a m e s p a c e . S c r o l l B u t t o n s P o s i t i o n . M i d d l e ) { 
 _ c . s t y l e . l e f t = " - 1 p x " ; 
 _ d . s t y l e . r i g h t = " - 1 p x " ; 
 } e l s e { 
 i f ( t h i s . S c r o l l B u t t o n s P o s i t i o n = = R a d C o n t r o l s N a m e s p a c e . S c r o l l B u t t o n s P o s i t i o n . L e f t ) { 
 _ c . s t y l e . l e f t = " - 1 p x " ; 
 _ d . s t y l e . l e f t = ( _ c . o f f s e t W i d t h - 1 ) + " p x " ; 
 } e l s e { 
 _ d . s t y l e . r i g h t = " - 1 p x " ; 
 _ c . s t y l e . r i g h t = ( _ d . o f f s e t W i d t h - 1 ) + " p x " ; 
 } 
 } 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . C r e a t e A r r o w = f u n c t i o n ( _ e , _ f , _ 1 0 ) { 
 v a r   _ 1 1 = d o c u m e n t . c r e a t e E l e m e n t ( " a " ) ; 
 _ 1 1 . h r e f = " # " ; 
 _ 1 1 . c l a s s N a m e = _ 1 0 ; 
 _ 1 1 . s t y l e . z I n d e x = " 2 0 0 0 " ; 
 _ 1 1 . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( " & n b s p ; " ) ) ; 
 t h i s . E l e m e n t . p a r e n t N o d e . a p p e n d C h i l d ( _ 1 1 ) ; 
 v a r   _ 1 2 = t h i s ; 
 _ 1 1 . S c r o l l D i r e c t i o n = _ f ; 
 i f ( t h i s . S c r o l l O n H o v e r ) { 
 _ 1 1 . o n m o u s e d o w n = f u n c t i o n ( ) { 
 i f ( t h i s . d i s a b l e d ) { 
 r e t u r n   f a l s e ; 
 } 
 _ 1 2 . S c r o l l A m o u n t = 3 ; 
 r e t u r n   t r u e ; 
 } ; 
 _ 1 1 . o n m o u s e u p = f u n c t i o n ( ) { 
 _ 1 2 . S c r o l l A m o u n t = 1 ; 
 } ; 
 _ 1 1 . o n m o u s e o v e r = f u n c t i o n ( ) { 
 i f ( t h i s . d i s a b l e d ) { 
 r e t u r n   f a l s e ; 
 } 
 _ 1 2 . S c r o l l A m o u n t = 1 ; 
 _ 1 2 . S c r o l l ( t h i s . S c r o l l D i r e c t i o n ) ; 
 r e t u r n   t r u e ; 
 } ; 
 _ 1 1 . o n m o u s e o u t = f u n c t i o n ( ) { 
 _ 1 2 . s c r o l l A m o u n t = 0 ; 
 _ 1 2 . S t o p ( ) ; 
 r e t u r n   f a l s e ; 
 } ; 
 } e l s e { 
 _ 1 1 . o n m o u s e d o w n = f u n c t i o n ( ) { 
 _ 1 2 . S c r o l l ( t h i s . S c r o l l D i r e c t i o n ) ; 
 } ; 
 _ 1 1 . o n m o u s e u p = f u n c t i o n ( ) { 
 _ 1 2 . S t o p ( ) ; 
 } ; 
 } 
 _ 1 1 . o n c l i c k = f u n c t i o n ( ) { 
 r e t u r n   f a l s e ; 
 } ; 
 r e t u r n   _ 1 1 ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . S e t H e i g h t = f u n c t i o n ( _ 1 3 ) { 
 i f ( p a r s e I n t ( _ 1 3 ) = = 0 ) { 
 r e t u r n ; 
 } 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . h e i g h t = _ 1 3 ; 
 t h i s . I n i t i a l i z e ( ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . S e t W i d t h = f u n c t i o n ( _ 1 4 ) { 
 i f ( p a r s e I n t ( _ 1 4 ) = = 0 ) { 
 r e t u r n ; 
 } 
 t h i s . E l e m e n t . p a r e n t N o d e . s t y l e . w i d t h = _ 1 4 ; 
 t h i s . I n i t i a l i z e ( ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . C r e a t e S c r o l l W r a p = f u n c t i o n ( ) { 
 v a r   _ 1 5 = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ; 
 v a r   _ 1 6 = t h i s . E l e m e n t . p a r e n t N o d e ; 
 _ 1 5 . a p p e n d C h i l d ( t h i s . E l e m e n t ) ; 
 _ 1 5 . s t y l e . p o s i t i o n = " r e l a t i v e " ; 
 _ 1 5 . a l i g n = " l e f t " ; 
 _ 1 6 . a p p e n d C h i l d ( _ 1 5 ) ; 
 i f ( t h i s . I s V e r t i c a l ) { 
 _ 1 5 . s t y l e . s t y l e F l o a t = " l e f t " ; 
 _ 1 5 . s t y l e . c s s F l o a t = " l e f t " ; 
 t h i s . E l e m e n t . s t y l e . d i s p l a y = " n o n e " ; 
 _ 1 5 . s t y l e . h e i g h t = _ 1 5 . p a r e n t N o d e . p a r e n t N o d e . o f f s e t H e i g h t + " p x " ; 
 t h i s . E l e m e n t . s t y l e . d i s p l a y = " b l o c k " ; 
 } e l s e { 
 v a r   _ 1 7 = 0 ; 
 f o r ( v a r   i = 0 ; i < t h i s . E l e m e n t . c h i l d N o d e s . l e n g t h ; i + + ) { 
 v a r   _ 1 9 = t h i s . E l e m e n t . c h i l d N o d e s [ i ] ; 
 i f ( ! _ 1 9 . t a g N a m e ) { 
 c o n t i n u e ; 
 } 
 _ 1 7 + = _ 1 9 . o f f s e t W i d t h ; 
 } 
 t h i s . E l e m e n t . s t y l e . w i d t h = ( _ 1 7 + 3 ) + " p x " ; 
 } 
 r e t u r n   _ 1 5 ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . C a l c u l a t e M i n M a x P o s i t i o n = f u n c t i o n ( ) { 
 i f ( ! t h i s . I n i t i a l i z e d ) { 
 r e t u r n ; 
 } 
 i f ( t h i s . I s V e r t i c a l ) { 
 v a r   _ 1 a = t h i s . E l e m e n t . p a r e n t N o d e . o f f s e t H e i g h t - t h i s . E l e m e n t . o f f s e t H e i g h t ; 
 v a r   _ 1 b = t h i s . L e f t A r r o w . o f f s e t H e i g h t ; 
 v a r   _ 1 c = t h i s . R i g h t A r r o w . o f f s e t H e i g h t ; 
 } e l s e { 
 v a r   _ 1 a = t h i s . E l e m e n t . p a r e n t N o d e . o f f s e t W i d t h - t h i s . E l e m e n t . o f f s e t W i d t h ; 
 v a r   _ 1 b = t h i s . L e f t A r r o w . o f f s e t W i d t h ; 
 v a r   _ 1 c = t h i s . R i g h t A r r o w . o f f s e t W i d t h ; 
 } 
 i f ( ! t h i s . L e a v e G a p s F o r A r r o w s ) { 
 _ 1 b = 0 ; 
 _ 1 c = 0 ; 
 } 
 t h i s . M a x S c r o l l P o s i t i o n = 0 ; 
 t h i s . M i n S c r o l l P o s i t i o n = _ 1 a - _ 1 c - _ 1 b ; 
 i f ( t h i s . S c r o l l B u t t o n s P o s i t i o n = = R a d C o n t r o l s N a m e s p a c e . S c r o l l B u t t o n s P o s i t i o n . M i d d l e ) { 
 t h i s . O f f s e t = _ 1 b ; 
 } e l s e { 
 i f ( t h i s . S c r o l l B u t t o n s P o s i t i o n = = R a d C o n t r o l s N a m e s p a c e . S c r o l l B u t t o n s P o s i t i o n . L e f t ) { 
 t h i s . O f f s e t = _ 1 b + _ 1 c ; 
 } e l s e { 
 t h i s . O f f s e t = 0 ; 
 } 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . C a l c u l a t e I n i t i a l T a b = f u n c t i o n ( ) { 
 v a r   l i s = t h i s . E l e m e n t . g e t E l e m e n t s B y T a g N a m e ( " l i " ) ; 
 i f ( l i s . l e n g t h > 0 ) { 
 v a r   i = 0 ; 
 w h i l e ( t h i s . S c r o l l P o s i t i o n < - ( t h i s . I s V e r t i c a l ? l i s [ i ] . o f f s e t T o p : l i s [ i ] . o f f s e t L e f t ) ) { 
 i + + ; 
 } 
 t h i s . C u r r e n t T a b = i ; 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . A t t a c h S c r o l l M e t h o d s = f u n c t i o n ( ) { 
 i f ( t h i s . P e r T a b S c r o l l i n g ) { 
 t h i s . S c r o l l = R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t a r t P e r T a b S c r o l l ; 
 t h i s . S t o p = R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t o p P e r T a b S c r o l l ; 
 } e l s e { 
 t h i s . S c r o l l = R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t a r t S m o o t h S c r o l l ; 
 t h i s . S t o p = R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t o p S m o o t h S c r o l l ; 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . E v a l u a t e A r r o w S t a t u s = f u n c t i o n ( ) { 
 v a r   _ 1 f = ! ( t h i s . S c r o l l P o s i t i o n > t h i s . M i n S c r o l l P o s i t i o n ) ; 
 v a r   _ 2 0 = ! ( t h i s . S c r o l l P o s i t i o n < t h i s . M a x S c r o l l P o s i t i o n ) ; 
 t h i s . R i g h t A r r o w . d i s a b l e d = _ 1 f ; 
 t h i s . L e f t A r r o w . d i s a b l e d = _ 2 0 ; 
 i f ( _ 2 0 ) { 
 i f ( t h i s . L e f t A r r o w . c l a s s N a m e ! = t h i s . L e f t A r r o w C l a s s D i s a b l e d ) { 
 t h i s . L e f t A r r o w . c l a s s N a m e = t h i s . L e f t A r r o w C l a s s D i s a b l e d ; 
 } 
 } e l s e { 
 i f ( t h i s . L e f t A r r o w . c l a s s N a m e ! = t h i s . L e f t A r r o w C l a s s ) { 
 t h i s . L e f t A r r o w . c l a s s N a m e = t h i s . L e f t A r r o w C l a s s ; 
 } 
 } 
 i f ( _ 1 f ) { 
 i f ( t h i s . R i g h t A r r o w . c l a s s N a m e ! = t h i s . R i g h t A r r o w C l a s s D i s a b l e d ) { 
 t h i s . R i g h t A r r o w . c l a s s N a m e = t h i s . R i g h t A r r o w C l a s s D i s a b l e d ; 
 } 
 } e l s e { 
 i f ( t h i s . R i g h t A r r o w . c l a s s N a m e ! = t h i s . R i g h t A r r o w C l a s s ) { 
 t h i s . R i g h t A r r o w . c l a s s N a m e = t h i s . R i g h t A r r o w C l a s s ; 
 } 
 } 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t a r t S m o o t h S c r o l l = f u n c t i o n ( _ 2 1 ) { 
 t h i s . S t o p ( ) ; 
 t h i s . D i r e c t i o n = _ 2 1 ; 
 v a r   _ 2 2 = t h i s ; 
 v a r   _ 2 3 = f u n c t i o n ( ) { 
 _ 2 2 . S c r o l l B y ( _ 2 2 . D i r e c t i o n * _ 2 2 . S c r o l l A m o u n t ) ; 
 } ; 
 _ 2 3 ( ) ; 
 t h i s . s c r o l l I n t e r v a l = s e t I n t e r v a l ( _ 2 3 , 1 0 ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . S c r o l l T o = f u n c t i o n ( _ 2 4 ) { 
 _ 2 4 = M a t h . m a x ( _ 2 4 , t h i s . M i n S c r o l l P o s i t i o n ) ; 
 _ 2 4 = M a t h . m i n ( _ 2 4 , t h i s . M a x S c r o l l P o s i t i o n ) ; 
 _ 2 4 + = t h i s . O f f s e t ; 
 i f ( t h i s . I s V e r t i c a l ) { 
 t h i s . E l e m e n t . s t y l e . t o p = _ 2 4 + " p x " ; 
 } e l s e { 
 t h i s . E l e m e n t . s t y l e . l e f t = _ 2 4 + " p x " ; 
 } 
 t h i s . O w n e r . S c r o l l P o s i t i o n = t h i s . S c r o l l P o s i t i o n = _ 2 4 - t h i s . O f f s e t ; 
 t h i s . E v a l u a t e A r r o w S t a t u s ( ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . S c r o l l B y = f u n c t i o n ( _ 2 5 ) { 
 v a r   _ 2 6 = t h i s . S c r o l l P o s i t i o n ; 
 t h i s . S c r o l l T o ( _ 2 6 + _ 2 5 ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t a r t P e r T a b S c r o l l = f u n c t i o n ( _ 2 7 ) { 
 t h i s . S t o p ( ) ; 
 v a r   l i s = t h i s . E l e m e n t . g e t E l e m e n t s B y T a g N a m e ( " l i " ) ; 
 v a r   _ 2 9 = t h i s . C u r r e n t T a b - _ 2 7 ; 
 i f ( _ 2 9 < 0 | | _ 2 9 > l i s . l e n g t h ) { 
 r e t u r n ; 
 } 
 v a r   _ 2 a = _ 2 7 = = - 1 ? t h i s . C u r r e n t T a b : _ 2 9 ; 
 t h i s . C u r r e n t T a b = _ 2 9 ; 
 i f ( t h i s . I s V e r t i c a l ) { 
 v a r   _ 2 b = l i s [ _ 2 a ] . o f f s e t H e i g h t ; 
 } e l s e { 
 v a r   _ 2 b = l i s [ _ 2 a ] . o f f s e t W i d t h ; 
 } 
 t h i s . S c r o l l B y ( _ 2 b * _ 2 7 ) ; 
 t h i s . E v a l u a t e A r r o w S t a t u s ( ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . p r o t o t y p e . S c r o l l N e e d e d = f u n c t i o n ( ) { 
 r e t u r n   t r u e ; 
 i f ( t h i s . I s V e r t i c a l ) { 
 r e t u r n   t h i s . E l e m e n t . o f f s e t H e i g h t > t h i s . E l e m e n t . p a r e n t N o d e . o f f s e t H e i g h t ; 
 } 
 r e t u r n   t h i s . E l e m e n t . o f f s e t W i d t h > t h i s . E l e m e n t . p a r e n t N o d e . o f f s e t W i d t h ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t o p S m o o t h S c r o l l = f u n c t i o n ( _ 2 c ) { 
 i f ( t h i s . O n S c r o l l S t o p ) { 
 t h i s . O n S c r o l l S t o p ( ) ; 
 } 
 c l e a r I n t e r v a l ( t h i s . s c r o l l I n t e r v a l ) ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . S c r o l l . S t o p P e r T a b S c r o l l = f u n c t i o n ( _ 2 d ) { 
 i f ( t h i s . O n S c r o l l S t o p ) { 
 t h i s . O n S c r o l l S t o p ( ) ; 
 } 
 } ; ; i f ( t y p e o f   w i n d o w . R a d C o n t r o l s N a m e s p a c e = = " u n d e f i n e d " ) { 
 w i n d o w . R a d C o n t r o l s N a m e s p a c e = { } ; 
 } 
 R a d C o n t r o l s N a m e s p a c e . T i c k e r = f u n c t i o n ( _ 1 ) { 
 t h i s . L i s t e n e r = _ 1 ; 
 t h i s . I n t e r v a l P o i n t e r = n u l l ; 
 } ; 
 R a d C o n t r o l s N a m e s p a c e . T i c k e r . p r o t o t y p e = { C o n f i g u r e : f u n c t i o n ( _ 2 ) { 
 t h i s . D u r a t i o n = _ 2 . D u r a t i o n ; 
 t h i s . I n t e r v a l = 1 6 ; 
 } , S t a r t : 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 . I n t e r v a l P o i n t e r ) ; 
 t h i s . T i m e E l a p s e d = 0 ; 
 v a r   _ 3 = t h i s ; 
 v a r   _ 4 = f u n c t i o n ( ) { 
 _ 3 . T i c k ( ) ; 
 } ; 
 t h i s . T i c k ( ) ; 
 t h i s . I n t e r v a l P o i n t e r = s e t I n t e r v a l ( _ 4 , t h i s . I n t e r v a l ) ; 
 } , T i c k : f u n c t i o n ( ) { 
 t h i s . T i m e E l a p s e d + = t h i s . I n t e r v a l ; 
 t h i s . L i s t e n e r . O n T i c k ( t h i s . T i m e E l a p s e d ) ; 
 i f ( t h i s . T i m e E l a p s e d > = t h i s . D u r a t i o n ) { 
 t h i s . S t o p ( ) ; 
 } 
 } , S t o p : f u n c t i o n ( ) { 
 i f ( t h i s . I n t e r v a l P o i n t e r ) { 
 t h i s . L i s t e n e r . O n T i c k E n d ( ) ; 
 c l e a r I n t e r v a l ( t h i s . I n t e r v a l P o i n t e r ) ; 
 t h i s . I n t e r v a l P o i n t e r = n u l l ; 
 } 
 } } ; ; 
