ÿþv a r   x m l P o s t ;  
 f u n c t i o n   x m l P o s t ( u r l , t e x t )  
 {  
 	 v a r   x m l s p a n   =   d o c u m e n t . g e t E l e m e n t B y I d ( t e x t ) ;  
 	 v a r   x m l h t t p   =   n e w _ x m l h t t p ( ) ;  
 	 x m l h t t p . o p e n ( " g e t " , u r l , t r u e ) ;  
 	 x m l h t t p . s e t R e q u e s t H e a d e r ( " C o n t e n t - t y p e " ,   " a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e d ; c h a r s e t = i s o - 8 8 5 9 - 9 " ) ;  
 	 x m l h t t p . s e n d ( t e x t ) ;  
 	 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   & &   x m l h t t p . s t a t u s   = =   2 0 0 )   {  
 	 	 	 s e t T i m e o u t ( " r e f r e s h ( ) " ,   7 0 0 0 ) ;    
 	 	 	 s e t T i m e o u t ( " l o a d i n g ( ) " ,   2 5 0 0 ) ;    
 	 	 	 x m l s p a n . 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  
 	 	 	 	 i f   ( x m l s p a n . i n n e r H T M L   = =   ' ' )   {  
 	 	 	 	 	  
 	 	 	 	 	 r a t i n g . s t y l e . d i s p l a y   =   " b l o c k "  
 	 	 	 	 	 r a t i n g s . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 	 	 	 	  
 	 	 	 	 	 }  
 	 	 	 	 e l s e   {  
 	 	 	 	 	 r a t i n g . s t y l e . d i s p l a y   =   " n o n e " ;  
 	 	 	 	 	 r a t i n g s . s t y l e . d i s p l a y   =   " b l o c k " ;  
 	 	 	 	 }  
 	 	 }  
 	 	 e l s e  
 	 	 {  
 	 	 	 x m l s p a n . i n n e r H T M L   =   ' < f o n t   c l a s s = o r t a > H a t a l 1  0s t e k < / f o n t > ' ;  
 	 	 }  
 	 }  
 	 r e t u r n   f a l s e ;  
 }  
 f u n c t i o n   r e f r e s h ( ) {  
       w i n d o w . l o c a t i o n . r e l o a d (   f a l s e   ) ;  
 }  
 f u n c t i o n   l o a d i n g ( ) {  
 x m l s p a n . i n n e r H T M L   =   ' < i m g   s r c = t e m a / i m a g e s / l o a d i n g . g i f   / > < f o n t   c l a s s = o r t a >   Y ü k l e n i y o r . . . < / f o n t > ' ;  
 }  
 
