ÿþf u n c t i o n   g i r i s _ k o n t r o l ( )    
 {  
   i f   ( d o c u m e n t . g i r i s . u y e m a i l . v a l u e . i n d e x O f ( ' @ ' )   = =   - 1 )   {      
     a l e r t ( " E - m a i l i n i z i   h a t a l 1  y a z d 1n 1z   ! " ) ;  
     d o c u m e n t . g i r i s . u y e m a i l . f o c u s ( ) ;  
     r e t u r n   f a l s e ;  
  
   }    
   i f   ( d o c u m e n t . g i r i s . u y e m a i l . v a l u e . i n d e x O f ( ' . ' )   = =   - 1 )   {  
     a l e r t ( " E - m a i l i n i z i   h a t a l 1  y a z d 1n 1z   ! " ) ;  
     d o c u m e n t . g i r i s . u y e m a i l . f o c u s ( ) ;  
     r e t u r n   f a l s e ;  
   }  
 i f   ( d o c u m e n t . g i r i s . u y e m a i l . v a l u e . l e n g t h   < = 0 )   {  
     a l e r t ( " L ü t f e n   e - m a i l i n i z i   y a z 1n 1z   ! " ) ;  
     d o c u m e n t . g i r i s . u y e m a i l . f o c u s ( ) ;  
     r e t u r n   f a l s e ;  
   }  
 i f   ( d o c u m e n t . g i r i s . u y e s i f . v a l u e . l e n g t h   < = 0 )   {  
     a l e r t ( " L ü t f e n   _i f r e n i z i   y a z 1n 1z   ! " ) ;  
     d o c u m e n t . g i r i s . u y e s i f . f o c u s ( ) ;  
     r e t u r n   f a l s e ;  
   }  
   }  
  
 f u n c t i o n   a r a m a _ k o n t r o l ( )    
 {  
 i f   ( d o c u m e n t . a r a m a . k e l i m e . v a l u e . l e n g t h   < = 0 )   {  
     a l e r t ( " L ü t f e n   a r a m a k   i s t e d i i n i z   k e l i m e y i   y a z 1n 1z   ! " ) ;  
     d o c u m e n t . a r a m a . k e l i m e . f o c u s ( ) ;  
     r e t u r n   f a l s e ;  
   }  
 }  
  
 f u n c t i o n   s e p e t _ k o n t r o l ( )   {  
 f o r   ( x x   =   0 ;   x x   <   d o c u m e n t . s e p e t . e l e m e n t s . l e n g t h - 1 ;   x x + + )   {  
 i f   ( d o c u m e n t . s e p e t . e l e m e n t s [ x x ] . t y p e   ! =   " c h e c k b o x " )   {  
     i f   ( ( d o c u m e n t . s e p e t . e l e m e n t s [ x x ] . v a l u e   = =   " " ) | | ( d o c u m e n t . s e p e t . e l e m e n t s [ x x ] . v a l u e   < =   0 ) )   {  
         a l e r t ( d o c u m e n t . s e p e t . e l e m e n t s [ x x ] ) ;  
         a l e r t ( " L ü t f e n   g e r e k l i   a l a n l a r 1  d o l d u r u n u z   ! " ) ;  
         d o c u m e n t . s e p e t . e l e m e n t s [ x x ] . f o c u s ( ) ;  
         r e t u r n   f a l s e ;  
           }  
       }  
 }  
 }  
  
 f u n c t i o n   s i l m e ( f o r m )   {  
 i f   (   c o n f i r m ( " A l 1_v e r i _  s e p e t i n i z   b o _a l t 1l a c a k t 1r ,   o n a y l 1y o r   m u s u n u z ? " )   )  
       r e t u r n   t r u e ;  
 e l s e  
   r e t u r n   f a l s e ;  
 }    
 
