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