ÿþ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 . c a t i d . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   S c r i p t i n i z e   u y g u n   k a t e g o r i y i   s e c i n i z . " ) ;  
         t h e F o r m . c a t i d . f o c u s ( ) ;  
         r e t u r n   ( f a l s e ) ;  
     }  
    
   {    
 T o C h e c k   =   d o c u m e n t . F r o n t P a g e _ F o r m 1 . a c i k l a m a s i . v a l u e ;  
 C h e c k e d   =   D e l ( T o C h e c k ) ;  
 d o c u m e n t . F r o n t P a g e _ F o r m 1 . a c i k l a m a s i . v a l u e   =   C h e c k e d ;  
  
 }  
  
         i f   ( t h e F o r m . s c r i p t t u r u . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   S c r i p t   T ü r ü n ü   s e c i n i z . " ) ;  
         t h e F o r m . s c r i p t t u r u . 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 . k o d l a m a d i l i . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   S c r i p t   K o d l a m a   D i l i n i   s e c i n i z . " ) ;  
         t h e F o r m . k o d l a m a d i l i . 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 . a d i . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   S c r i p t   A d i n i   y a z i n i z . " ) ;  
         t h e F o r m . a d i . 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 . a c i k l a m a s i v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   S c r i p t i n i z i   d e t a y l i   s e k i l d e   t a n i t i n   ,   a n l a t i n . " ) ;  
           t h e F o r m . a c i k l a m a s i . 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 i f . v a l u e   = =   " " )  
     {  
         a l e r t ( " S c r i p t i   y a z a n   F i r m a   y a   d a   S a h i s   i s e   T e l i f   e   a d i n i z i   y a z a b i l i r s i n i z . " ) ;  
         t h e F o r m . t e l i f . 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 . f i y a t . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n   S c r i p t   F i y a t i n i   G i r i n i z   E g e r   Ü c r e t s i z   o l a r a k   s u n m a k   i s t i y o r s a n i z   s a d e c e   0   y a z i n i z . " ) ;  
         t h e F o r m . f i y a t . 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 . a d . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n     \ " A d   A l a n i n i \ "     d o l d u r m a y i   u n u t m a y i n i 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 i n i z \ "   A l a n i n i   d o l d u r m a y i   u n u t m a y i n i 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 . 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 l a n i n i   d o l d u r m a y i   u n u t m a y i n i 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  
     }  
      
         i f   ( F r o n t P a g e _ F o r m 1 . e m a i l . v a l u e   ! =   F r o n t P a g e _ F o r m 1 . e m a i l 2 . v a l u e )  
   {  
       a l e r t ( " E m a i l l e r   B i r b i r i   i l e   a y n i   d e g i l ! " ) ;  
       r e t u r n   ( f a l s e ) ;  
         }  
      
             i f   ( t h e F o r m . s i f r e . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n     \ " S i f r e \ "   A l a n i n i   d o l d u r m a y i   u n u t m a y i n i z . " ) ;  
         t h e F o r m . s i f r e . 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 t r C A P T C H A . v a l u e   = =   " " )  
     {  
         a l e r t ( " L ü t f e n     \ " R e s i m d e k i   K o d u   \ "   A l a n a   y a z i n i z . " ) ;  
         t h e F o r m . s t r C A P T C H A . 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 ) ;  
 }  
  
  
  
 
