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