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