ÿþ	 	 f u n c t i o n   t r i m ( s t r )  
 	 	 {  
 	 	 v a r   l e n ;  
 	 	 f o r ( i = 0 ; i < = l e n ; i + + )  
 	 	 {  
 	 	 i f ( s t r . i n d e x O f ( '   ' ) = = 0 )  
 	 	 {  
 	 	 s t r = s t r . s u b s t r i n g ( 1 , l e n ) ;  
 	 	 }  
 	 	 }  
 	 	 r e t u r n   s t r ;  
 	 	 } 	 	  
  
 	 	 f u n c t i o n   v a l ( )  
 	 	 {  
 	 	 	 	  
 	 	  
 	 	 i f   ( t r i m ( d o c u m e n t . f r m n o m . f u l l n a m e . v a l u e = = " " ) )  
 	 	 	 {  
 	 	         a l e r t   ( ' EF  A6DC  #/.D  (J'F'*C' ) ;  
 	 	         d o c u m e n t . f r m n o m . f u l l n a m e . v a l u e = ' ' ;  
 	 	         d o c u m e n t . f r m n o m . f u l l n a m e . f o c u s ( ) ;  
 	 	         r e t u r n   f a l s e ;  
 	 	         }  
 	 	 	  
 	 	 i f   ( t r i m ( d o c u m e n t . f r m n o m . p h o n e . v a l u e = = " " ) )  
 	 	 	 {  
 	 	         a l e r t   ( ' J1,I  %/.'D  1BE  'DG'*A' ) ;  
 	 	         d o c u m e n t . f r m n o m . p h o n e . v a l u e = ' ' ;  
 	 	         d o c u m e n t . f r m n o m . p h o n e . f o c u s ( ) ;  
 	 	         r e t u r n   f a l s e ;  
 	 	         } 	  
  
 	 	 i f   ( t r i m ( d o c u m e n t . f r m n o m . f a x . v a l u e = = " " ) )  
 	 	 	 {  
 	 	         a l e r t   ( ' #/.D  1BE  'DA'C3' ) ;  
 	 	         d o c u m e n t . f r m n o m . f a x . v a l u e = ' ' ;  
 	 	         d o c u m e n t . f r m n o m . f a x . f o c u s ( ) ;  
 	 	         r e t u r n   f a l s e ;  
 	 	         }  
 	 	    
 	 	 v a r   a = d o c u m e n t . f r m n o m . e m a i l . v a l u e ;  
 	 	   v a r   b = a . i n d e x O f ( ' @ ' ) ;  
 	 	   v a r   c = a . i n d e x O f ( ' . ' , b ) ;  
 	 	   v a r   d = a . s u b s t r ( c + 1 , 4 ) ;  
 	 	   v a r   e =   d . l e n g t h ;  
 	 	   v a r   f =   a . i n d e x O f ( '   ' ) ;  
 	 	   v a r   g = a . i n d e x O f ( ' @ ' ) ;  
 	 	   v a r   g 1 = a . i n d e x O f ( ' . ' , g ) ;  
 	 	   v a r   g 2 = g + 1 ;  
 	 	    
 	 	 i f ( b   = =   - 1   | |   b   = =   0   | |   b   = =   1   | | c     = =   - 1   | |   e   < = 1   | |   f   ! =   - 1   | |   g 1 = = g 2   )  
 	 	 {     a l e r t ( ' J1,I  'D*#C/  EF  (1J/C  'D%DC*1HFJ' ) ;  
 	 	       d o c u m e n t . f r m n o m . e m a i l . f o c u s ( ) ;  
 	 	       r e t u r n   f a l s e ;  
 	 	 }  
  
 	 	 i f   ( t r i m ( d o c u m e n t . f r m n o m . a d d r e s s . v a l u e = = " " ) )  
 	 	 	 {  
 	 	         a l e r t   ( ' #/.D  (J'F'*  9FH'FC' ) ;  
 	 	         d o c u m e n t . f r m n o m . a d d r e s s . v a l u e = ' ' ;  
 	 	         d o c u m e n t . f r m n o m . a d d r e s s . f o c u s ( ) ;  
 	 	         r e t u r n   f a l s e ;  
 	 	         }  
  
 	 	 i f   ( t r i m ( d o c u m e n t . f r m n o m . p o b o x . v a l u e = = " " ) )  
 	 	 	 {  
 	 	         a l e r t   ( ' J1,I  %/.'D  1BE  'D5F/HB  'D(1J/J' ) ;  
 	 	         d o c u m e n t . f r m n o m . p o b o x . v a l u e = ' ' ;  
 	 	         d o c u m e n t . f r m n o m . p o b o x . f o c u s ( ) ;  
 	 	         r e t u r n   f a l s e ;  
 	 	         }  
  
 	 	 i f   ( t r i m ( d o c u m e n t . f r m n o m . c o u n t r y . v a l u e = = " " ) )  
 	 	         {  
 	 	         a l e r t   ( ' '.*1  'D(D/' ) ;  
 	 	 	 / /   d o c u m e n t . f r m n o m . c o u n t r y . v a l u e = ' ' ;  
 	 	         d o c u m e n t . f r m n o m . c o u n t r y . f o c u s ( ) ;  
 	 	         r e t u r n   f a l s e ;  
 	 	         }  
 	 	 }  
 	 	 - - > 
