ÿþ( f u n c t i o n ( $ )   {  
 	 $ . f n . c l e a r O n F o c u s   =   f u n c t i o n ( )   {  
 	 	  
 	 	 f u n c t i o n   c l e a r O n F o c u s F o c u s ( e v e n t )  
 	 	 {  
 	 	 	 i f ( $ ( t h i s ) . v a l ( )   = =   $ ( t h i s ) . d a t a ( ' c l e a r O n F o c u s ' ) )  
 	 	 	 {  
 	 	 	 	 $ ( t h i s ) . v a l ( ' ' ) ;  
 	 	 	 }  
 	 	 }  
 	 	  
 	 	 f u n c t i o n   c l e a r O n F o c u s B l u r ( e v e n t )  
 	 	 {  
 	 	 	 i f ( $ . t r i m ( $ ( t h i s ) . v a l ( ) )   = =   ' ' )  
 	 	 	 {  
 	 	 	 	 $ ( t h i s ) . v a l ( $ ( t h i s ) . d a t a ( ' c l e a r O n F o c u s ' ) ) ;  
 	 	 	 }  
 	 	 }  
 	 	  
 	 	 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 ) . d a t a ( ' c l e a r O n F o c u s ' ,   $ ( t h i s ) . a t t r ( ' v a l u e ' ) ) ;  
 	 	 	 	  
 	 	 	 	 / / 	 u n b i n d   a n y   p r e v i o u s   l i s t e n e r s  
 	 	 	 	 $ ( t h i s ) . u n b i n d ( ' f o c u s ' ,   c l e a r O n F o c u s F o c u s ) ;  
 	 	 	 	 $ ( t h i s ) . u n b i n d ( ' b l u r ' ,   c l e a r O n F o c u s B l u r ) ;  
 	 	 	 	  
 	 	 	 	 / / 	 b i n d   l i s t e n e r s   t o   t h e   f u n c t i o n s  
 	 	 	 	 $ ( t h i s ) . b i n d ( ' f o c u s ' ,   c l e a r O n F o c u s F o c u s ) ;  
 	 	 	 	 $ ( t h i s ) . b i n d ( ' b l u r ' ,   c l e a r O n F o c u s B l u r ) ;  
 	 	 	 }  
 	 	 ) ;  
 	 } ;  
 } ) ( j Q u e r y ) ; 
