ÿþv a r   C u r r e n t A r t i c l e I d = - 1 ;  
 v a r   C u r r e n t A r t i c l e B l o c k I d = - 1 ;  
  
 f u n c t i o n   d i s p l a y A r t i c l e ( A r t i c l e I d , A r t i c l e L i n k I d )   {  
 	 v a r   A r t i c l e B l o c k I d = A r t i c l e I d  
 	 i f ( C u r r e n t A r t i c l e I d > = 0 )   {  
 	 	 $ ( " a r t i c l e i m a g e " + C u r r e n t A r t i c l e I d ) . r e m o v e C l a s s N a m e ( ' a c t i v e ' ) ;  
 	 	 n e w   E f f e c t . B l i n d U p ( " a r t i c l e c o n t e n t b l o c k " + C u r r e n t A r t i c l e B l o c k I d , {   d u r a t i o n : 0 . 4 , q u e u e : " e n d "   } ) ;  
 	 	 i f ( C u r r e n t A r t i c l e I d = = A r t i c l e I d )   {  
 	 	 	 A r t i c l e I d = - 1 ;  
 	 	 	 A r t i c l e B l o c k I d = - 1 ;  
 	 	 }  
 	 }  
 	  
 	 i f ( ( C u r r e n t A r t i c l e I d ! = A r t i c l e I d )   & &   ( A r t i c l e I d > = 0 ) )   {  
 	 	 $ ( " a r t i c l e i m a g e " + A r t i c l e I d ) . a d d C l a s s N a m e ( ' a c t i v e ' ) ;  
 	 	 n e w   A j a x . R e q u e s t ( " . / i n d e x . p h p ? a r t i c l e _ i d = " + A r t i c l e L i n k I d + " & s l i c e _ i d = " + A r t i c l e I d ,   {  
 	 	 	 m e t h o d :   ' g e t ' ,  
 	 	 	 o n S u c c e s s :   f u n c t i o n ( t r a n s p o r t )   {  
 	 	 	 	 v a r   R e s p o n s e T e x t P a r t s = ( t r a n s p o r t . r e s p o n s e T e x t ) . s p l i t ( " | " , 2 ) ;  
 	 	 	 	 i f ( ( N u m b e r ( R e s p o n s e T e x t P a r t s [ 0 ] ) = = C u r r e n t A r t i c l e I d )   & &   ( R e s p o n s e T e x t P a r t s [ 1 ] ! = " " ) )   {  
 	 	 	 	 	 $ ( " a r t i c l e c o n t e n t b l o c k " + A r t i c l e B l o c k I d ) . d o w n ( 0 ) . u p d a t e ( R e s p o n s e T e x t P a r t s [ 1 ] ) ;  
 	 	 	 	 	 n e w   E f f e c t . B l i n d D o w n ( " a r t i c l e c o n t e n t b l o c k " + A r t i c l e B l o c k I d , {   d u r a t i o n : 0 . 4 , q u e u e : " e n d "   } ) ;  
 	 	 	 	 }  
 	 	 	 }  
 	 	 } ) ;    
 	 }  
 	  
 	 C u r r e n t A r t i c l e I d = A r t i c l e I d ;  
 	 C u r r e n t A r t i c l e B l o c k I d = A r t i c l e B l o c k I d ;  
 } 
