ÿþ/ /   A j a x   g ü n c e l l e m e  
 f u n c t i o n   i u p d a t e ( s a y f a , n e r e s i ) {  
 d o c u m e n t . g e t E l e m e n t B y I d ( n e r e s i ) . i n n e r H T M L   =   " < t a b l e   b o r d e r = ' 0 '   w i d t h = ' 1 0 0 % '   c e l l s p a c i n g = ' 0 '   c e l l p a d d i n g = ' 0 '   h e i g h t = ' 1 0 0 % ' > < t r > < t d   a l i g n = ' c e n t e r ' > < i m g   s r c = ' i m a g e s / l o a d i n g s . g i f ' > < / t d > < / t r > < / t a b l e > " ;  
           x m l h t t p . o p e n ( ' G E T ' ,   s a y f a ,   t r u e ) ;  
           x m l h t t p . o n r e a d y s t a t e c h a n g e   =   f u n c t i o n   ( ) {  
               i f (   x m l h t t p . r e a d y S t a t e   = =   4   ) {  
                   v a r   i c e r i k   =   x m l h t t p . r e s p o n s e T e x t ;  
                       d o c u m e n t . g e t E l e m e n t B y I d ( n e r e s i ) . i n n e r H T M L   =   x m l h t t p . r e s p o n s e T e x t ;  
               }  
           }  
           x m l h t t p . s e n d ( n u l l ) ;  
 }  
 / /   A j a x   g ü n c e l l e m e   s o n u  
  
 / /   X M L H T T P   N e s n e s i   o l u þ t u r u l u y o r  
       t r y   {  
         x m l h t t p   =   n e w   A c t i v e X O b j e c t ( " M s x m l 2 . X M L H T T P " ) ;  
       }   c a t c h   ( e )   {  
             t r y   {  
               x m l h t t p   =   n e w   A c t i v e X O b j e c t ( " M i c r o s o f t . X M L H T T P " ) ;  
             }   c a t c h   ( e )   {  
               x m l h t t p   =   f a l s e ;  
           }  
     }  
       i f   (   ! x m l h t t p   & &   t y p e o f   X M L H t t p R e q u e s t   ! =   ' u n d e f i n e d '   )   {  
           t r y {  
                 x m l h t t p   =   n e w   X M L H t t p R e q u e s t ( ) ;  
           } c a t c h ( e )   {  
                 x m l h t t p   =   f a l s e ;  
           }  
       }  
       i f   (   ! x m l h t t p   & &   w i n d o w . c r e a t e R e q u e s t   )   {  
           t r y {  
                 x m l h t t p   =   w i n d o w . c r e a t e R e q u e s t ( ) ;  
           } c a t c h ( e )   {  
                 x m l h t t p   =   f a l s e ;  
           }  
     }  
 / /   X M H T T P   N e s n e s i   s o n u  
 
