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