ÿþf u n c t i o n   D e l ( W o r d )   {  
 a   =   W o r d . i n d e x O f ( " < " ) ;  
 b   =   W o r d . i n d e x O f ( " > " ) ;  
 l e n   =   W o r d . l e n g t h ;  
 c   =   W o r d . s u b s t r i n g ( 0 ,   a ) ;  
 i f ( b   = =   - 1 )  
 b   =   a ;  
 d   =   W o r d . s u b s t r i n g ( ( b   +   1 ) ,   l e n ) ;  
 W o r d   =   c   +   d ;  
 t a g C h e c k   =   W o r d . i n d e x O f ( " < " ) ;  
 i f ( t a g C h e c k   ! =   - 1 )  
 W o r d   =   D e l ( W o r d ) ;  
 r e t u r n   W o r d ;  
 }  
  
  
 f u n c t i o n   e c h e c k ( s t r )   {  
     v a r   a t = " @ "  
     v a r   d o t = " . "  
     v a r   l a t = s t r . i n d e x O f ( a t )  
     v a r   l s t r = s t r . l e n g t h  
     v a r   l d o t = s t r . i n d e x O f ( d o t )  
     i f   ( s t r . i n d e x O f ( a t ) = = - 1 ) {  
           a l e r t ( " G e ç e r s i z   E m a i l   A d r e s i " )  
           r e t u r n   f a l s e  
     }  
     i f   ( s t r . i n d e x O f ( a t ) = = - 1   | |   s t r . i n d e x O f ( a t ) = = 0   | |   s t r . i n d e x O f ( a t ) = = l s t r ) {  
           a l e r t ( " G e ç e r s i z   E m a i l   A d r e s i " )  
           r e t u r n   f a l s e  
     }  
     i f   ( s t r . i n d e x O f ( d o t ) = = - 1   | |   s t r . i n d e x O f ( d o t ) = = 0   | |   s t r . i n d e x O f ( d o t ) = = l s t r ) {  
             a l e r t ( " G e ç e r s i z   E m a i l   A d r e s i " )  
             r e t u r n   f a l s e  
     }  
       i f   ( s t r . i n d e x O f ( a t , ( l a t + 1 ) ) ! = - 1 ) {  
             a l e r t ( " G e ç e r s i z   E m a i l   A d r e s i " )  
             r e t u r n   f a l s e  
       }  
       i f   ( s t r . s u b s t r i n g ( l a t - 1 , l a t ) = = d o t   | |   s t r . s u b s t r i n g ( l a t + 1 , l a t + 2 ) = = d o t ) {  
             a l e r t ( " G e ç e r s i z   E m a i l   A d r e s i " )  
             r e t u r n   f a l s e  
       }  
       i f   ( s t r . i n d e x O f ( d o t , ( l a t + 2 ) ) = = - 1 ) {  
             a l e r t ( " G e ç e r s i z   E m a i l   A d r e s i " )  
             r e t u r n   f a l s e  
       }  
       i f   ( s t r . i n d e x O f ( "   " ) ! = - 1 ) {  
             a l e r t ( " G e ç e r s i z   E m a i l   A d r e s i " )  
             r e t u r n   f a l s e  
       }  
       r e t u r n   t r u e                      
 }  
  
  
 f u n c t i o n   F r o n t P a g e _ F o r m 1 _ V a l i d a t o r ( t h e F o r m )  
 {  
  
  
  
     i f   ( t h e F o r m . a d . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   A d 1n 1z 1  y a z 1n 1z . " ) ;  
         t h e F o r m . a d . f o c u s ( ) ;  
         r e t u r n   ( f a l s e ) ;  
     }  
  
     i f   ( t h e F o r m . s o y a d . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   S o y a d 1n 1z 1  y a z 1n 1z . " ) ;  
         t h e F o r m . s o y a d . f o c u s ( ) ;  
         r e t u r n   ( f a l s e ) ;  
     }  
  
     i f   ( t h e F o r m . t e l 1 . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   T e l e f o n   N u m a r a n 1z 1  y a z 1n 1z . " ) ;  
         t h e F o r m . t e l 1 . f o c u s ( ) ;  
         r e t u r n   ( f a l s e ) ;  
     }  
      
  
         i f   ( t h e F o r m . e m a i l . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   E - m a i l   a d r e s i n i z i   y a z 1n 1z . " ) ;  
         t h e F o r m . e m a i l . f o c u s ( ) ;  
         r e t u r n   ( f a l s e ) ;  
     }  
      
      
      
  
  
      
      
         v a r   e m a i l I D = d o c u m e n t . F r o n t P a g e _ F o r m 1 . e m a i l  
      
  
     i f   ( e c h e c k ( e m a i l I D . v a l u e ) = = f a l s e ) {  
         e m a i l I D . v a l u e = " "  
         e m a i l I D . f o c u s ( )  
         r e t u r n   ( f a l s e ) ;  
     }  
      
  
  
  
  
  
  
     r e t u r n   ( t r u e ) ;  
 } 
