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