ÿþ< ! - -  
 / / a d d   l i n k   f o r m   f u n c t i o n  
 f u n c t i o n   F o r m A d d L i n k _ V a l i d a t o r ( t h e F o r m )  
 {  
  
 / / c h e c k   t o   s e e   I f   t h e   n a m e   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t N a m e . v a l u e = = " " )  
 {  
 a l e r t ( " B A S L I K   g i r m e n i z   g e r e k i y o r . " ) ;  
 t h e F o r m . t x t N a m e . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   U R L   f i e l d   i s   j u s t   h t t p : / /  
 i f ( t h e F o r m . t x t U R L . v a l u e = = " h t t p : / / w w w . " )  
 {  
 a l e r t ( " W E B   a d r e s i n i z i   g i r m e n i z   g e r e k i y o r " ) ;  
 t h e F o r m . t x t U R L . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   U R L   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t U R L . v a l u e = = " " )  
 {  
 a l e r t ( " U R L n i z i   g i r m e n i z   g e r e k i y o r " ) ;  
 t h e F o r m . t x t U R L . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   d e s c r i p t i o n   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t D e s c r i p t i o n . v a l u e = = " " )  
 {  
 a l e r t ( " S i t e n i z   h a k k i n d a   A Ç I K L A M A   g i r m e l i n i z . " ) ;  
 t h e F o r m . t x t D e s c r i p t i o n . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
  
 / / c h e c k   t o   s e e   I f   t h e   d e s c r i p t i o n   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t K E Y W O R D S . v a l u e = = " " )  
 {  
 a l e r t ( " S i t e n i z   i ç i n   A N A H T A R   K E L I M E L E R   g i r i n i z . " ) ;  
 t h e F o r m . t x t K E Y W O R D S . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
  
  
 / / c h e c k   t o   s e e   I f   t h e   c a t e g o r y   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . i d . v a l u e = = " " )  
 {  
 a l e r t ( " L ü t f e n   s i t e n i z   i ç i m   u y g u n   b i r   K A T E G O R I   s e ç i n i z . " ) ;  
 t h e F o r m . i d . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   c o n t a c t   n a m e   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t C o n t a c t N a m e . v a l u e = = " " )  
 {  
 a l e r t ( " L ü t f e n   A D I N I Z I   v e   S O Y A D I N I Z I   y a z i n i z . " ) ;  
 t h e F o r m . t x t C o n t a c t N a m e . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
  
  
 / / c h e c k   t o   s e e   I f   t h e   c o n t a c t   e m a i l   f i e l d   i s   b l a n k  
  
 i f ( ! t h e F o r m . t x t C o n t a c t E m a i l . v a l u e . m a t c h ( / ^ [ \ d \ w \ - \ . ] + \ @ ( \ [ ? ) [ \ d \ w \ - \ . ] + \ . ( [ a - z ] { 2 , 3 } | [ \ d ] { 1 , 3 } ) ( \ ] ? ) $ / i ) )  
 {   a l e r t ( " L ü t f e n   g e ç e r l i   b i r   E M A I L   a d r e s i   y a z i n i z . " ) ;  
 t h e F o r m . t x t C o n t a c t E m a i l . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
  
 / / c h e c k   t o   s e e   I f   t h e   u s e r   f i e l d   i s   e m p t y  
 i f ( t h e F o r m . t x t U s e r . v a l u e = = " " )  
 {  
 a l e r t ( " L ü t f e n   b i r   k u l l a n 1c 1  a d 1  y a z 1n .   ( L i n k i n i z i   g ü n c e l l e m e k   i ç i n   k u l l a n a c a k s 1n 1z . ) " ) ;  
 t h e F o r m . t x t U s e r . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
  
  
 / / c h e c k   t o   s e e   I f   t h e   p a s s w o r d   f i e l d   i s   e m p t y  
 i f ( t h e F o r m . t x t P a s s . v a l u e = = " " )  
 {  
 a l e r t ( " L ü t f e n   b i r   _i f r e   y a z 1n 1z .   ( L i n k i n i z i   g ü n c e l l e m e k   i ç i n   k u l l a n a c a k s 1n 1z . ) " ) ;  
 t h e F o r m . t x t P a s s . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
  
  
  
 / / c h e c k   t o   s e e   I f   t h e   i m a g e   c o d e   i s   c o r r e c t  
 i f ( t h e F o r m . s e c u r i t y C o d e . v a l u e = = " " )  
 {  
 a l e r t ( " L ü t f e n   R E S I M   D O G R U L A M A   K O D U n u z u   g i r i n i z . " ) ;  
 t h e F o r m . s e c u r i t y C o d e . 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 ) ;  
 }  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 f u n c t i o n   F o r m R a t e _ V a l i d a t o r ( t h e F o r m )  
 {  
 / / c h e c k   t h a t   t h e   u s e r   p i c k s   a   r a d i o   b u t t o n  
 r a t i n g _ c h e c k = - 1  
 f o r ( i = 0 ; i < t h e F o r m . t x t R a t i n g . l e n g t h ; i + + )  
 {  
 i f ( t h e F o r m . t x t R a t i n g [ i ] . c h e c k e d )  
 {  
 r a t i n g _ c h e c k = i ;  
 }  
 }  
 i f ( r a t i n g _ c h e c k = = - 1 )  
 {  
 a l e r t ( " P o p ü l e r l i k   s e ç m e n i z   g e r e k . " ) ;  
 r e t u r n ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   e m a i l   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t E m a i l . v a l u e = = " " )  
 {  
 a l e r t ( " E m a i l   a d r e s i n i z i   y a z m a n i z   g e r e k i y o r " ) ;  
 t h e F o r m . t x t E m a i l . 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 x t E m a i l . v a l u e . i n d e x O f ( " @ " )   = =   - 1   | |   t h e F o r m . t x t E m a i l . v a l u e . i n d e x O f ( " . " )   = =   - 1 )    
 {  
 a l e r t   ( " L ü t f e n   g e ç e r l i   b i r   e m a i l   a d r e s i   y a z i n i z " ) ;  
 t h e F o r m . t x t E m a i l . 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 ) ;  
 }  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 f u n c t i o n   F o r m R e v i e w L i n k _ V a l i d a t o r ( t h e F o r m )  
 {  
 / / c h e c k   t o   s e e   I f   t h e   e m a i l   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t E m a i l . v a l u e = = " " )  
 {  
 a l e r t ( " E m a i l   a d r e s i   y a z m a k   z o r u n l u d u r . " ) ;  
 t h e F o r m . t x t E m a i l . 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 x t E m a i l . v a l u e . i n d e x O f ( " @ " )   = =   - 1   | |   t h e F o r m . t x t E m a i l . v a l u e . i n d e x O f ( " . " )   = =   - 1 )    
 {  
 a l e r t   ( " L ü t f e n   g e ç e r l i   b i r   e m a i l   a d r e s i   y a z i n i z " ) ;  
 t h e F o r m . t x t E m a i l . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   n a m e   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t N a m e . v a l u e = = " " )  
 {  
 a l e r t ( " l ü t f e n   A D I N I Z I   v e   S O Y A D I N I Z I   y a z i n i z . " ) ;  
 t h e F o r m . t x t N a m e . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
 / / c h e c k   t o   s e e   I f   t h e   t i t l e   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t T i t l e . v a l u e = = " " )  
 {  
 a l e r t ( " Y o r u m u n u z a   b i r   b a s l i k   y a z i n i z . " ) ;  
 t h e F o r m . t x t T i t l e . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
 / / c h e c k   t o   s e e   I f   t h e   t i t l e   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t R e v i e w . v a l u e = = " " )  
 {  
 a l e r t ( " Y o r u m   y a z m a d i n i z   ?   " ) ;  
 t h e F o r m . t x t R e v i e w . 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 ) ;  
 }  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 f u n c t i o n   F o r m A d d L i n k A d m i n _ V a l i d a t o r ( t h e F o r m )  
 {  
  
 / / c h e c k   t o   s e e   I f   t h e   n a m e   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t N a m e . v a l u e = = " " )  
 {  
 a l e r t ( " B a s l i k   y a z m a n i z   g e r e k i y o r . " ) ;  
 t h e F o r m . t x t N a m e . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   U R L   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t U R L . v a l u e = = " h t t p : / / " )  
 {  
 a l e r t ( " U R L   n i z i   y a z m a n i z   g e r e k i y o r . " ) ;  
 t h e F o r m . t x t U R L . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   d e s c r i p t i o n   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . t x t D e s c r i p t i o n . v a l u e = = " " )  
 {  
 a l e r t ( " B i r   a ç i k l a m a   y a z m a n i z   g e r e k i y o r " ) ;  
 t h e F o r m . t x t D e s c r i p t i o n . f o c u s ( ) ;  
 r e t u r n   ( f a l s e ) ;  
 }  
  
 / / c h e c k   t o   s e e   I f   t h e   t i t l e   f i e l d   i s   b l a n k  
 i f ( t h e F o r m . i d . v a l u e = = " " )  
 {  
 a l e r t ( " B i r   k a t e g o r i   s e ç i n i z . " ) ;  
 t h e F o r m . 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 ) ;  
 }  
  
  
  
 f u n c t i o n   o p e n r a t e l i n k ( U R L )  
 {  
 w i n d o w . o p e n  
 ( U R L , " o p e n r a t e l i n k " , " w i d t h = 4 0 0 , h e i g h t = 3 3 0 , l o c a t i o n = 0 , m e n u b a r = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 , s t a t u s = 1 , t i t l e b a r = 1 , t o o l b a r = 1 , s c r e e n X = 1 0 0 , l e f t = 1 0 0 , s c r e e n Y = 3 0 , t o p = 6 0 " ) ;  
 }  
  
  
 f u n c t i o n   o p e n r e v i e w l i n k ( U R L )  
 {  
 w i n d o w . o p e n  
 ( U R L , " o p e n r e v i e w l i n k " , " w i d t h = 4 0 0 , h e i g h t = 3 3 0 , l o c a t i o n = 0 , m e n u b a r = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 , s t a t u s = 1 , t i t l e b a r = 1 , t o o l b a r = 1 , s c r e e n X = 2 0 , l e f t = 2 0 , s c r e e n Y = 1 0 , t o p = 1 0 " ) ;  
 }  
  
  
 f u n c t i o n   o p e n r e v i e w s ( U R L )  
 {  
 w i n d o w . o p e n  
 ( U R L , " o p e n r e v i e w s " , " w i d t h = 4 0 0 , h e i g h t = 3 3 0 , l o c a t i o n = 0 , m e n u b a r = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 , s t a t u s = 1 , t i t l e b a r = 1 , t o o l b a r = 1 , s c r e e n X = 2 0 , l e f t = 2 0 , s c r e e n Y = 1 0 , t o p = 1 0 " ) ;  
 }  
  
  
 f u n c t i o n   b r o k e n l i n k ( U R L )  
 {  
 w i n d o w . o p e n  
 ( U R L , " b r o k e n l i n k " , " w i d t h = 4 0 0 , h e i g h t = 3 5 0 , l o c a t i o n = 0 , m e n u b a r = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 , s t a t u s = 1 , t i t l e b a r = 1 , t o o l b a r = 1 , s c r e e n X = 2 0 , l e f t = 2 0 , s c r e e n Y = 1 0 , t o p = 1 0 " ) ;  
 }  
  
  
 f u n c t i o n   o p e n c o n t a c t f o r m ( U R L )  
 {  
 w i n d o w . o p e n  
 ( U R L , " o p e n r e v i e w l i n k " , " w i d t h = 4 0 0 , h e i g h t = 3 3 0 , l o c a t i o n = 0 , m e n u b a r = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 , s t a t u s = 1 , t i t l e b a r = 1 , t o o l b a r = 1 , s c r e e n X = 2 0 , l e f t = 2 0 , s c r e e n Y = 1 0 , t o p = 1 0 " ) ;  
 }  
  
  
 f u n c t i o n   o p e n s e n d t o f r i e n d ( U R L )  
 {  
 w i n d o w . o p e n  
 ( U R L , " o p e n s e n d t o f r i e n d " , " w i d t h = 4 2 0 , h e i g h t = 4 2 0 , l o c a t i o n = 0 , m e n u b a r = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 , s t a t u s = 1 , t i t l e b a r = 1 , t o o l b a r = 1 , s c r e e n X = 2 0 , l e f t = 2 0 , s c r e e n Y = 1 0 , t o p = 1 0 " ) ;  
 }  
  
  
 f u n c t i o n   c o n f i r m e d u r l ( U R L )  
 {  
 w i n d o w . o p e n  
 ( U R L , " c o n f i r m e d u r l " , " w i d t h = 6 0 0 , h e i g h t = 6 3 0 , l o c a t i o n = 0 , m e n u b a r = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 , s t a t u s = 1 , t i t l e b a r = 1 , t o o l b a r = 1 , s c r e e n X = 2 0 , l e f t = 2 0 , s c r e e n Y = 1 0 , t o p = 1 0 " ) ;  
 }  
  
  
 / / - - > 
