ÿþ/ *   j Q u e r y   l a b e l i z e   p l u g i n   * /  
 ( f u n c t i o n ( $ )   {  
 	 $ . f n . l a b e l i z e   =   f u n c t i o n ( n o V a l u e C l a s s )   {  
 	 	 n o V a l u e C l a s s   =   n o V a l u e C l a s s   | |   " n o V a l u e " ;  
 	 	 r e t u r n   $ ( t h i s ) . e a c h ( f u n c t i o n ( )   {  
 	 	 	 $ ( t h i s ) . h i d e ( ) ;  
 	 	 	 v a r   t e x t   =   $ ( t h i s ) . t e x t ( ) ;   / / l a b e l   t e x t  
 	 	 	 v a r   f i e l d   =   $ ( ' # '   +   $ ( t h i s ) . a t t r ( " f o r " ) ) ;   / / i n p u t   f i e l d   t h e   l a b e l   i s   f o r  
 	 	 	 i f   ( ! f i e l d )   {  
 	 	 	 	 r e t u r n ;   / /   c o u l d   n o t   f i n d   a   f i e l d   t o   a t t a c h   t o  
 	 	 	 }  
 	 	 	 / / s e t   t h e   l a b e l   t e x t ,   i f   a t t r i b u l e   v a l u e   h a s   n o   v a l u e   y e t  
 	 	 	 i f   ( f i e l d . v a l ( )   = = =   ' '   | |   f i e l d . v a l ( )   = = =   t e x t )   {  
 	 	 	 	 f i e l d . v a l ( t e x t ) . a d d C l a s s ( " n o V a l u e " ) ;  
 	 	 	 }  
 	 	 	 f i e l d . f o c u s ( f u n c t i o n ( )   {  
 	 	 	 	 / / o n   f o c u s   c l e a r   t h e   d e f a u l t   l a b e l  
 	 	 	 	 i f   ( $ ( t h i s ) . v a l ( )   = = =   t e x t )   {  
 	 	 	 	 	 $ ( t h i s ) . v a l ( ' ' ) . r e m o v e C l a s s ( n o V a l u e C l a s s ) ;  
 	 	 	 	 }  
 	 	 	 } ) . b l u r ( f u n c t i o n ( )   {  
 	 	 	 	 / / o n   b l u r ,   r e t u r n   t h e   d e f a u l t   v a l u e   i f   f i e l d   s t i l l   e m p t y  
 	 	 	 	 i f   ( $ ( t h i s ) . v a l ( )   = = =   ' ' )   {  
 	 	 	 	 	 $ ( t h i s ) . v a l ( t e x t ) . a d d C l a s s ( n o V a l u e C l a s s ) ;  
 	 	 	 	 }  
 	 	 	 } ) ;  
 	 	 	 f u n c t i o n   e m p t y D e f a u l t V a l u e ( )   {  
 	 	 	 	 i f   ( ! f i e l d )   {  
 	 	 	 	 	 r e t u r n ;  
 	 	 	 	 }  
 	 	 	 	 i f   ( f i e l d . v a l ( )   = = =   t e x t )   {  
 	 	 	 	 	 f i e l d . v a l ( ' ' ) ;  
 	 	 	 	 }  
 	 	 	 }  
 	 	 	 / / r e m o v e   d e f a u l t   v a l u e s   o n   f o r m   s u b m i t  
 	 	 	 $ ( t h i s ) . p a r e n t s ( " f o r m " ) . s u b m i t ( e m p t y D e f a u l t V a l u e ) ;  
 	 	 	 / / h a c k   f o r   t h e   a s p . n e t   w e b   f o r m s   m a d n e s s  
 	 	 	 $ ( ' a [ h r e f * = _ _ d o P o s t B a c k ] ' ) . c l i c k ( e m p t y D e f a u l t V a l u e ) ;  
 	 	 } ) ;  
 	 } ;  
 } ) ( j Q u e r y ) ;  
  
 ( f u n c t i o n ( $ )   {  
 	 $ . f n . i n t e r n a l L i n k s   =   f u n c t i o n ( )   {  
 	 $ ( t h i s ) . f i n d ( ' a : n o t ( : h a s ( i m g ) ) ' ) . n o t ( ' h 2   a ' ) . f i l t e r ( f u n c t i o n ( )   {  
 	 	 	 i f   ( $ ( t h i s ) . a t t r ( ' h r e f ' )   ! =   n u l l )   {  
 	 	 	 	 r e t u r n   $ ( t h i s ) . a t t r ( ' h r e f ' ) . i n d e x O f ( ' m a i l t o ' )   = = =   - 1   & &   ( ! t h i s . h o s t n a m e   | |   t h i s . h o s t n a m e   = = =   l o c a t i o n . h o s t n a m e ) ;  
 	 	 	 }  
 	 	 } ) . a f t e r ( '   < s p a n   c l a s s = " i n t e r n a l L i n k " > º%< / s p a n > ' ) ;  
 	 } ;  
 } ) ( j Q u e r y ) ;  
  
 ( f u n c t i o n ( $ )   {  
 	 $ . f n . e x t e r n a l L i n k s   =   f u n c t i o n ( )   {  
 	 	 $ ( t h i s ) . f i n d ( ' a : n o t ( : h a s ( i m g ) ) ' ) . n o t ( ' h 2   a ' ) . f i l t e r ( f u n c t i o n ( )   {  
 	 	 	 r e t u r n   t h i s . h o s t n a m e   & &   t h i s . h o s t n a m e   ! = =   l o c a t i o n . h o s t n a m e ;  
 	 	 } ) . a f t e r ( '   < s p a n   c l a s s = " e x t e r n a l L i n k " > ’!< / s p a n > ' ) ;  
 	 } ;  
 } ) ( j Q u e r y ) ;  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( $ )   {  
 	 $ ( ' . n o s c r i p t ' ) . h i d e ( ) ;  
 	 $ ( ' . s c r i p t ' ) . s h o w ( ) ;  
 	 $ ( ' * [ c l a s s ~ = i n i t i a l V a l u e ] ' ) . l a b e l i z e ( ) ;  
 	 $ ( ' # m a i n   . h i g h l i g h t ,   # m a i n   . a n n o u n c e m e n t G r o u p   . f u n c t i o n ' ) . i n t e r n a l L i n k s ( ) ;  
 	 $ ( ' # m a i n ,   # f o o t e r   . s o c i a l M e d i a L i n k s ' ) . e x t e r n a l L i n k s ( ) ;  
 	 $ ( " # m a i n   . g r i d _ 3   i m g " ) . e a c h ( f u n c t i o n ( )   {  
 	 	 $ ( t h i s ) . b e f o r e ( " < s p a n   c l a s s = \ " i m a g e A l t C o n t a i n e r \ " > "   +   t h i s . a l t   +   " < / s p a n > " ) ;  
 	 } ) ;  
 } ) ; 
